yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80452
[Bug 1849351] [NEW] horizon doesn't work with python-novaclient 16.0.0
Public bug reported:
Seen here for the requirements bump change
https://review.opendev.org/#/c/690097/:
https://storage.bhs1.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_2e3/690097/1/check
/cross-horizon-py36/2e36786/job-output.txt
2019-10-22 15:06:33.720990 | ubuntu-bionic | Traceback (most recent call last):
2019-10-22 15:06:33.721129 | ubuntu-bionic | File "./manage.py", line 23, in <module>
2019-10-22 15:06:33.721211 | ubuntu-bionic | execute_from_command_line(sys.argv)
2019-10-22 15:06:33.721457 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
2019-10-22 15:06:33.721513 | ubuntu-bionic | utility.execute()
2019-10-22 15:06:33.721733 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/__init__.py", line 365, in execute
2019-10-22 15:06:33.721855 | ubuntu-bionic | self.fetch_command(subcommand).run_from_argv(self.argv)
2019-10-22 15:06:33.722093 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/commands/test.py", line 26, in run_from_argv
2019-10-22 15:06:33.722163 | ubuntu-bionic | super().run_from_argv(argv)
2019-10-22 15:06:33.722385 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 288, in run_from_argv
2019-10-22 15:06:33.722463 | ubuntu-bionic | self.execute(*args, **cmd_options)
2019-10-22 15:06:33.722678 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 335, in execute
2019-10-22 15:06:33.722759 | ubuntu-bionic | output = self.handle(*args, **options)
2019-10-22 15:06:33.722983 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/commands/test.py", line 59, in handle
2019-10-22 15:06:33.723074 | ubuntu-bionic | failures = test_runner.run_tests(test_labels)
2019-10-22 15:06:33.723279 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/test/runner.py", line 602, in run_tests
2019-10-22 15:06:33.723333 | ubuntu-bionic | self.run_checks()
2019-10-22 15:06:33.723539 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/test/runner.py", line 564, in run_checks
2019-10-22 15:06:33.723633 | ubuntu-bionic | call_command('check', verbosity=self.verbosity)
2019-10-22 15:06:33.723888 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/__init__.py", line 141, in call_command
2019-10-22 15:06:33.723981 | ubuntu-bionic | return command.execute(*args, **defaults)
2019-10-22 15:06:33.724196 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 335, in execute
2019-10-22 15:06:33.724278 | ubuntu-bionic | output = self.handle(*args, **options)
2019-10-22 15:06:33.724502 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/commands/check.py", line 65, in handle
2019-10-22 15:06:33.724599 | ubuntu-bionic | fail_level=getattr(checks, options['fail_level']),
2019-10-22 15:06:33.724810 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 364, in check
2019-10-22 15:06:33.724910 | ubuntu-bionic | include_deployment_checks=include_deployment_checks,
2019-10-22 15:06:33.725129 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 351, in _run_checks
2019-10-22 15:06:33.725205 | ubuntu-bionic | return checks.run_checks(**kwargs)
2019-10-22 15:06:33.725421 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/checks/registry.py", line 73, in run_checks
2019-10-22 15:06:33.725509 | ubuntu-bionic | new_errors = check(app_configs=app_configs)
2019-10-22 15:06:33.725731 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/checks/urls.py", line 13, in check_url_config
2019-10-22 15:06:33.725804 | ubuntu-bionic | return check_resolver(resolver)
2019-10-22 15:06:33.726021 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/checks/urls.py", line 23, in check_resolver
2019-10-22 15:06:33.726081 | ubuntu-bionic | return check_method()
2019-10-22 15:06:33.726285 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/urls/resolvers.py", line 399, in check
2019-10-22 15:06:33.726360 | ubuntu-bionic | for pattern in self.url_patterns:
2019-10-22 15:06:33.726568 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__
2019-10-22 15:06:33.726673 | ubuntu-bionic | res = instance.__dict__[self.name] = self.func(instance)
2019-10-22 15:06:33.726893 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/urls/resolvers.py", line 540, in url_patterns
2019-10-22 15:06:33.727024 | ubuntu-bionic | patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2019-10-22 15:06:33.727233 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__
2019-10-22 15:06:33.727338 | ubuntu-bionic | res = instance.__dict__[self.name] = self.func(instance)
2019-10-22 15:06:33.727573 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/urls/resolvers.py", line 533, in urlconf_module
2019-10-22 15:06:33.727664 | ubuntu-bionic | return import_module(self.urlconf_name)
2019-10-22 15:06:33.727876 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/importlib/__init__.py", line 126, in import_module
2019-10-22 15:06:33.727991 | ubuntu-bionic | return _bootstrap._gcd_import(name[level:], package, level)
2019-10-22 15:06:33.728102 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 994, in _gcd_import
2019-10-22 15:06:33.728216 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 971, in _find_and_load
2019-10-22 15:06:33.728347 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
2019-10-22 15:06:33.728461 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
2019-10-22 15:06:33.728583 | ubuntu-bionic | File "<frozen importlib._bootstrap_external>", line 678, in exec_module
2019-10-22 15:06:33.728711 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2019-10-22 15:06:33.728878 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/test/urls.py", line 30, in <module>
2019-10-22 15:06:33.728967 | ubuntu-bionic | from openstack_dashboard.api import rest
2019-10-22 15:06:33.729140 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/api/__init__.py", line 38, in <module>
2019-10-22 15:06:33.729229 | ubuntu-bionic | from openstack_dashboard.api import network
2019-10-22 15:06:33.729399 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/api/network.py", line 23, in <module>
2019-10-22 15:06:33.729488 | ubuntu-bionic | from openstack_dashboard.api import neutron
2019-10-22 15:06:33.729658 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/api/neutron.py", line 39, in <module>
2019-10-22 15:06:33.729743 | ubuntu-bionic | from openstack_dashboard.api import nova
2019-10-22 15:06:33.729909 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/api/nova.py", line 33, in <module>
2019-10-22 15:06:33.730026 | ubuntu-bionic | from novaclient.v2 import list_extensions as nova_list_extensions
2019-10-22 15:06:33.730119 | ubuntu-bionic | ImportError: cannot import name 'list_extensions'
This is because in 16.0.0 the deprecated list_extensions code was
removed:
https://docs.openstack.org/releasenotes/python-
novaclient/unreleased.html#upgrade-notes
** Affects: horizon
Importance: Undecided
Status: Confirmed
** Changed in: horizon
Status: New => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1849351
Title:
horizon doesn't work with python-novaclient 16.0.0
Status in OpenStack Dashboard (Horizon):
Confirmed
Bug description:
Seen here for the requirements bump change
https://review.opendev.org/#/c/690097/:
https://storage.bhs1.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_2e3/690097/1/check
/cross-horizon-py36/2e36786/job-output.txt
2019-10-22 15:06:33.720990 | ubuntu-bionic | Traceback (most recent call last):
2019-10-22 15:06:33.721129 | ubuntu-bionic | File "./manage.py", line 23, in <module>
2019-10-22 15:06:33.721211 | ubuntu-bionic | execute_from_command_line(sys.argv)
2019-10-22 15:06:33.721457 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
2019-10-22 15:06:33.721513 | ubuntu-bionic | utility.execute()
2019-10-22 15:06:33.721733 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/__init__.py", line 365, in execute
2019-10-22 15:06:33.721855 | ubuntu-bionic | self.fetch_command(subcommand).run_from_argv(self.argv)
2019-10-22 15:06:33.722093 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/commands/test.py", line 26, in run_from_argv
2019-10-22 15:06:33.722163 | ubuntu-bionic | super().run_from_argv(argv)
2019-10-22 15:06:33.722385 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 288, in run_from_argv
2019-10-22 15:06:33.722463 | ubuntu-bionic | self.execute(*args, **cmd_options)
2019-10-22 15:06:33.722678 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 335, in execute
2019-10-22 15:06:33.722759 | ubuntu-bionic | output = self.handle(*args, **options)
2019-10-22 15:06:33.722983 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/commands/test.py", line 59, in handle
2019-10-22 15:06:33.723074 | ubuntu-bionic | failures = test_runner.run_tests(test_labels)
2019-10-22 15:06:33.723279 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/test/runner.py", line 602, in run_tests
2019-10-22 15:06:33.723333 | ubuntu-bionic | self.run_checks()
2019-10-22 15:06:33.723539 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/test/runner.py", line 564, in run_checks
2019-10-22 15:06:33.723633 | ubuntu-bionic | call_command('check', verbosity=self.verbosity)
2019-10-22 15:06:33.723888 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/__init__.py", line 141, in call_command
2019-10-22 15:06:33.723981 | ubuntu-bionic | return command.execute(*args, **defaults)
2019-10-22 15:06:33.724196 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 335, in execute
2019-10-22 15:06:33.724278 | ubuntu-bionic | output = self.handle(*args, **options)
2019-10-22 15:06:33.724502 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/commands/check.py", line 65, in handle
2019-10-22 15:06:33.724599 | ubuntu-bionic | fail_level=getattr(checks, options['fail_level']),
2019-10-22 15:06:33.724810 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 364, in check
2019-10-22 15:06:33.724910 | ubuntu-bionic | include_deployment_checks=include_deployment_checks,
2019-10-22 15:06:33.725129 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/management/base.py", line 351, in _run_checks
2019-10-22 15:06:33.725205 | ubuntu-bionic | return checks.run_checks(**kwargs)
2019-10-22 15:06:33.725421 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/checks/registry.py", line 73, in run_checks
2019-10-22 15:06:33.725509 | ubuntu-bionic | new_errors = check(app_configs=app_configs)
2019-10-22 15:06:33.725731 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/checks/urls.py", line 13, in check_url_config
2019-10-22 15:06:33.725804 | ubuntu-bionic | return check_resolver(resolver)
2019-10-22 15:06:33.726021 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/core/checks/urls.py", line 23, in check_resolver
2019-10-22 15:06:33.726081 | ubuntu-bionic | return check_method()
2019-10-22 15:06:33.726285 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/urls/resolvers.py", line 399, in check
2019-10-22 15:06:33.726360 | ubuntu-bionic | for pattern in self.url_patterns:
2019-10-22 15:06:33.726568 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__
2019-10-22 15:06:33.726673 | ubuntu-bionic | res = instance.__dict__[self.name] = self.func(instance)
2019-10-22 15:06:33.726893 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/urls/resolvers.py", line 540, in url_patterns
2019-10-22 15:06:33.727024 | ubuntu-bionic | patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2019-10-22 15:06:33.727233 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__
2019-10-22 15:06:33.727338 | ubuntu-bionic | res = instance.__dict__[self.name] = self.func(instance)
2019-10-22 15:06:33.727573 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/site-packages/django/urls/resolvers.py", line 533, in urlconf_module
2019-10-22 15:06:33.727664 | ubuntu-bionic | return import_module(self.urlconf_name)
2019-10-22 15:06:33.727876 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/.tox/py36/lib/python3.6/importlib/__init__.py", line 126, in import_module
2019-10-22 15:06:33.727991 | ubuntu-bionic | return _bootstrap._gcd_import(name[level:], package, level)
2019-10-22 15:06:33.728102 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 994, in _gcd_import
2019-10-22 15:06:33.728216 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 971, in _find_and_load
2019-10-22 15:06:33.728347 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
2019-10-22 15:06:33.728461 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
2019-10-22 15:06:33.728583 | ubuntu-bionic | File "<frozen importlib._bootstrap_external>", line 678, in exec_module
2019-10-22 15:06:33.728711 | ubuntu-bionic | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2019-10-22 15:06:33.728878 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/test/urls.py", line 30, in <module>
2019-10-22 15:06:33.728967 | ubuntu-bionic | from openstack_dashboard.api import rest
2019-10-22 15:06:33.729140 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/api/__init__.py", line 38, in <module>
2019-10-22 15:06:33.729229 | ubuntu-bionic | from openstack_dashboard.api import network
2019-10-22 15:06:33.729399 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/api/network.py", line 23, in <module>
2019-10-22 15:06:33.729488 | ubuntu-bionic | from openstack_dashboard.api import neutron
2019-10-22 15:06:33.729658 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/api/neutron.py", line 39, in <module>
2019-10-22 15:06:33.729743 | ubuntu-bionic | from openstack_dashboard.api import nova
2019-10-22 15:06:33.729909 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/horizon/openstack_dashboard/api/nova.py", line 33, in <module>
2019-10-22 15:06:33.730026 | ubuntu-bionic | from novaclient.v2 import list_extensions as nova_list_extensions
2019-10-22 15:06:33.730119 | ubuntu-bionic | ImportError: cannot import name 'list_extensions'
This is because in 16.0.0 the deprecated list_extensions code was
removed:
https://docs.openstack.org/releasenotes/python-
novaclient/unreleased.html#upgrade-notes
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1849351/+subscriptions