经查看日志
cobbler_web安装后无法访问,提示500_第1张图片

解决方法

[root@cobbler ~]# rpm -qa | grep "python2-django"
python2-django-1.11.20-1.el7.noarch
[root@cobbler ~]# rpm -e --nodeps python2-django-1.11.20-1.el7.noarch
[root@cobbler ~]# yum install python2-pip
[root@cobbler ~]# pip install --upgrade pip
[root@cobbler ~]# pip install Django==1.8.17

这个包只要在1.8以上,就有问题
TEMPLATE_CONTEXT_PROCESSORS was deprecated in Django 1.8 and removed in Django 1.10. It's not possible to import it anymore.