Activity log for bug #1847429

Date Who What changed Old value New value Message
2019-10-09 07:19:29 Edvinas Sulzickis bug added bug
2019-10-09 07:19:56 Edvinas Sulzickis description I tried to install zun-ui plugin for horizon dashboard using this (https://docs.openstack.org/zun-ui/latest/install/index.html. After restarting apache2 service I got Internal server error 500 on horizon web page and this error in /var/log/apache2/error.log: [Wed Oct 09 07:14:17.226396 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] Traceback (most recent call last): [Wed Oct 09 07:14:17.226430 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 35, in <module> [Wed Oct 09 07:14:17.226525 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] application = get_wsgi_application() [Wed Oct 09 07:14:17.226550 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] File "/usr/local/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application [Wed Oct 09 07:14:17.226604 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] return WSGIHandler() [Wed Oct 09 07:14:17.226640 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 151, in __init__ [Wed Oct 09 07:14:17.226752 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] self.load_middleware() [Wed Oct 09 07:14:17.226774 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 58, in load_middleware [Wed Oct 09 07:14:17.226896 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] mw_instance = mw_class() [Wed Oct 09 07:14:17.226929 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] TypeError: __init__() takes exactly 2 arguments (1 given) Openstack version- Stein I am informed that some people get this error, because of wrong Django versionm but in my case horizon requirements are met (https://github.com/openstack/horizon/blob/stable/stein/requirements.txt) My pip list command output is: Package Version ---------------------------- ----------- amqp 2.2.2 anyjson 0.3.3 appdirs 1.4.3 asn1crypto 0.24.0 Babel 2.7.0 backports.ssl-match-hostname 3.7.0.1 beautifulsoup4 4.6.0 blinker 1.4 cachetools 2.0.0 certifi 2018.1.18 chardet 3.0.4 cliff 2.11.0 cmd2 0.7.9 contextlib2 0.5.5 cryptography 2.1.4 csscompressor 0.9.4 debtcollector 1.13.0 decorator 4.1.2 deprecation 1.0.1 designate-dashboard 6.0.0 Django 1.11.24 django-appconf 1.0.2 django-babel 0.6.2 django-compressor 2.2 django-debreach 1.5.2 django-pyscss 2.0.2 dnspython 1.15.0 docker 4.1.0 docutils 0.14 dogpile.cache 0.6.2 enum34 1.1.6 eventlet 0.20.0 extras 1.0.0 fasteners 0.12.0 fixtures 3.0.0 FormEncode 1.3.0 funcsigs 1.0.2 functools32 3.2.3.post2 futures 3.2.0 futurist 1.6.0 greenlet 0.4.12 heat-dashboard 1.0.2 horizon 16.0.0.0rc1 html5lib 0.999999999 idna 2.6 ipaddress 1.0.17 iso8601 0.1.11 Jinja2 2.10 jmespath 0.9.3 jsonpatch 1.16 jsonpointer 1.10 jsonschema 2.6.0 keyring 10.6.0 keyrings.alt 3.0 keystoneauth1 3.4.0 kombu 4.1.0 linecache2 1.0.0 lxml 4.2.1 MarkupSafe 1.0 mock 2.0.0 monotonic 1.0 msgpack 0.5.6 munch 2.2.0 netaddr 0.7.19 netifaces 0.10.4 neutron-fwaas-dashboard 1.3.0 neutron-lbaas-dashboard 4.0.0 oauthlib 2.0.6 olefile 0.45.1 openstacksdk 0.36.0 os-client-config 1.29.0 os-service-types 1.7.0 osc-lib 1.9.0 oslo.concurrency 3.30.0 oslo.config 5.2.0 oslo.context 2.20.0 oslo.i18n 3.19.0 oslo.log 3.36.0 oslo.messaging 5.35.0 oslo.middleware 3.34.0 oslo.policy 1.33.1 oslo.serialization 2.24.0 oslo.service 1.29.0 oslo.upgradecheck 0.3.2 oslo.utils 3.35.0 osprofiler 2.8.2 Paste 2.0.3 PasteDeploy 1.5.2 PasteScript 2.0.2 pathlib 1.0.1 pbr 3.1.1 pika 0.11.0 pika-pool 0.1.3 Pillow 5.1.0 Pint 0.8.1 pip 19.2.3 positional 1.1.1 posix-ipc 0.9.8 prettytable 0.7.2 pycrypto 2.6.1 Pygments 2.2.0 pygobject 3.26.1 pyinotify 0.9.6 PyJWT 1.5.3 pymongo 3.6.1 PyMySQL 0.8.0 pyOpenSSL 17.5.0 pyparsing 2.2.0 pyperclip 1.6.0 pyScss 1.3.4 python-apt 1.6.4 python-barbicanclient 4.6.0 python-ceilometerclient 2.9.0 python-cinderclient 5.0.0 python-dateutil 2.6.1 python-designateclient 2.9.0 python-glanceclient 2.9.1 python-heatclient 1.14.0 python-keystoneclient 3.15.0 python-memcached 1.53 python-mimeparse 0.1.4 I did try to run version from 1.11 till 1.25 and it still didn't do any effect I tried to install zun-ui plugin for horizon dashboard using this (https://docs.openstack.org/zun-ui/latest/install/index.html. After restarting apache2 service I got Internal server error 500 on horizon web page and this error in /var/log/apache2/error.log: [Wed Oct 09 07:14:17.226396 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] Traceback (most recent call last): [Wed Oct 09 07:14:17.226430 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 35, in <module> [Wed Oct 09 07:14:17.226525 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] application = get_wsgi_application() [Wed Oct 09 07:14:17.226550 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] File "/usr/local/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application [Wed Oct 09 07:14:17.226604 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] return WSGIHandler() [Wed Oct 09 07:14:17.226640 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 151, in __init__ [Wed Oct 09 07:14:17.226752 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] self.load_middleware() [Wed Oct 09 07:14:17.226774 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 58, in load_middleware [Wed Oct 09 07:14:17.226896 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] mw_instance = mw_class() [Wed Oct 09 07:14:17.226929 2019] [wsgi:error] [pid 8232:tid 140555800524544] [remote 10.1.1.67:34196] TypeError: __init__() takes exactly 2 arguments (1 given) Openstack version- Stein I am informed that some people get this error, because of wrong Django versionm but in my case horizon requirements are met (https://github.com/openstack/horizon/blob/stable/stein/requirements.txt) My pip list command output is: Package Version ---------------------------- ----------- amqp 2.2.2 anyjson 0.3.3 appdirs 1.4.3 asn1crypto 0.24.0 Babel 2.7.0 backports.ssl-match-hostname 3.7.0.1 beautifulsoup4 4.6.0 blinker 1.4 cachetools 2.0.0 certifi 2018.1.18 chardet 3.0.4 cliff 2.11.0 cmd2 0.7.9 contextlib2 0.5.5 cryptography 2.1.4 csscompressor 0.9.4 debtcollector 1.13.0 decorator 4.1.2 deprecation 1.0.1 designate-dashboard 6.0.0 Django 1.11.24 django-appconf 1.0.2 django-babel 0.6.2 django-compressor 2.2 django-debreach 1.5.2 django-pyscss 2.0.2 dnspython 1.15.0 docker 4.1.0 docutils 0.14 dogpile.cache 0.6.2 enum34 1.1.6 eventlet 0.20.0 extras 1.0.0 fasteners 0.12.0 fixtures 3.0.0 FormEncode 1.3.0 funcsigs 1.0.2 functools32 3.2.3.post2 futures 3.2.0 futurist 1.6.0 greenlet 0.4.12 heat-dashboard 1.0.2 horizon 16.0.0.0rc1 html5lib 0.999999999 idna 2.6 ipaddress 1.0.17 iso8601 0.1.11 Jinja2 2.10 jmespath 0.9.3 jsonpatch 1.16 jsonpointer 1.10 jsonschema 2.6.0 keyring 10.6.0 keyrings.alt 3.0 keystoneauth1 3.4.0 kombu 4.1.0 linecache2 1.0.0 lxml 4.2.1 MarkupSafe 1.0 mock 2.0.0 monotonic 1.0 msgpack 0.5.6 munch 2.2.0 netaddr 0.7.19 netifaces 0.10.4 neutron-fwaas-dashboard 1.3.0 neutron-lbaas-dashboard 4.0.0 oauthlib 2.0.6 olefile 0.45.1 openstacksdk 0.36.0 os-client-config 1.29.0 os-service-types 1.7.0 osc-lib 1.9.0 oslo.concurrency 3.30.0 oslo.config 5.2.0 oslo.context 2.20.0 oslo.i18n 3.19.0 oslo.log 3.36.0 oslo.messaging 5.35.0 oslo.middleware 3.34.0 oslo.policy 1.33.1 oslo.serialization 2.24.0 oslo.service 1.29.0 oslo.upgradecheck 0.3.2 oslo.utils 3.35.0 osprofiler 2.8.2 Paste 2.0.3 PasteDeploy 1.5.2 PasteScript 2.0.2 pathlib 1.0.1 pbr 3.1.1 pika 0.11.0 pika-pool 0.1.3 Pillow 5.1.0 Pint 0.8.1 pip 19.2.3 positional 1.1.1 posix-ipc 0.9.8 prettytable 0.7.2 pycrypto 2.6.1 Pygments 2.2.0 pygobject 3.26.1 pyinotify 0.9.6 PyJWT 1.5.3 pymongo 3.6.1 PyMySQL 0.8.0 pyOpenSSL 17.5.0 pyparsing 2.2.0 pyperclip 1.6.0 pyScss 1.3.4 python-apt 1.6.4 python-barbicanclient 4.6.0 python-ceilometerclient 2.9.0 python-cinderclient 5.0.0 python-dateutil 2.6.1 python-designateclient 2.9.0 python-glanceclient 2.9.1 python-heatclient 1.14.0 python-keystoneclient 3.15.0 python-memcached 1.53 python-mimeparse 0.1.4 I did try to run Django version from 1.11 till 1.25 and it still didn't do any effect