Your message dated Tue, 12 Jul 2016 13:20:47 +0200 with message-id <[email protected]> and subject line Re: [PKG-Openstack-devel] Bug#830838: nova-api does not start has caused the Debian Bug report #830838, regarding nova-api does not start to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 830838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830838 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: nova-api Version: 2:13.1.0-1~bpo8+1 Severity: grave Justification: renders package unusable Dear Maintainer, Nova becames unusable after upgrade from backports to Mitaka. Previous backported version 'Liberty' was working fine. Seems like something wrong with python modules names. This is a nova-api.log: 2016-07-12 06:25:32.917 4672 WARNING oslo_reports.guru_meditation_report [-] Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 2016-07-12 06:25:32.941 4672 CRITICAL nova [-] ImportError: No module named oslo.middleware 2016-07-12 06:25:32.941 4672 ERROR nova Traceback (most recent call last): 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/bin/nova-api", line 10, in <module> 2016-07-12 06:25:32.941 4672 ERROR nova sys.exit(main()) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/cmd/api.py", line 57, in main 2016-07-12 06:25:32.941 4672 ERROR nova server = service.WSGIService(api, use_ssl=should_use_ssl) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 366, in __init__ 2016-07-12 06:25:32.941 4672 ERROR nova self.app = self.loader.load_app(name) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 497, in load_app 2016-07-12 06:25:32.941 4672 ERROR nova return deploy.loadapp("config:%s" % self.config_path, name=name) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp 2016-07-12 06:25:32.941 4672 ERROR nova return loadobj(APP, uri, name=name, **kw) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj 2016-07-12 06:25:32.941 4672 ERROR nova return context.create() 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create 2016-07-12 06:25:32.941 4672 ERROR nova return self.object_type.invoke(self) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke 2016-07-12 06:25:32.941 4672 ERROR nova **context.local_conf) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call 2016-07-12 06:25:32.941 4672 ERROR nova val = callable(*args, **kw) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/openstack/urlmap.py", line 160, in urlmap_factory 2016-07-12 06:25:32.941 4672 ERROR nova app = loader.get_app(app_name, global_conf=global_conf) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app 2016-07-12 06:25:32.941 4672 ERROR nova name=name, global_conf=global_conf).create() 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create 2016-07-12 06:25:32.941 4672 ERROR nova return self.object_type.invoke(self) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke 2016-07-12 06:25:32.941 4672 ERROR nova **context.local_conf) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call 2016-07-12 06:25:32.941 4672 ERROR nova val = callable(*args, **kw) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/auth.py", line 74, in pipeline_factory 2016-07-12 06:25:32.941 4672 ERROR nova return _load_pipeline(loader, pipeline) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/api/auth.py", line 58, in _load_pipeline 2016-07-12 06:25:32.941 4672 ERROR nova filters = [loader.get_filter(n) for n in pipeline[:-1]] 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 354, in get_filter 2016-07-12 06:25:32.941 4672 ERROR nova name=name, global_conf=global_conf).create() 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 366, in filter_context 2016-07-12 06:25:32.941 4672 ERROR nova FILTER, name=name, global_conf=global_conf) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 458, in get_context 2016-07-12 06:25:32.941 4672 ERROR nova section) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit 2016-07-12 06:25:32.941 4672 ERROR nova value = import_string(found_expr) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 22, in import_string 2016-07-12 06:25:32.941 4672 ERROR nova return pkg_resources.EntryPoint.parse("x=" + s).load(False) 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2229, in load 2016-07-12 06:25:32.941 4672 ERROR nova return self.resolve() 2016-07-12 06:25:32.941 4672 ERROR nova File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve 2016-07-12 06:25:32.941 4672 ERROR nova module = __import__(self.module_name, fromlist=['__name__'], level=0) 2016-07-12 06:25:32.941 4672 ERROR nova ImportError: No module named oslo.middleware 2016-07-12 06:25:32.941 4672 ERROR nova -- System Information: Debian Release: 8.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.6.0-0.bpo.1-amd64 (SMP w/4 CPU cores) Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages nova-api depends on: ii adduser 3.113+nmu3 ii dbconfig-common 2.0.4~bpo8+1 ii debconf [debconf-2.0] 1.5.56 ii init-system-helpers 1.22 ii iptables 1.4.21-2+b1 ii lsb-base 4.1+Debian13+nmu1 ii nova-common 2:13.1.0-1~bpo8+1 ii python 2.7.9-1 ii python-openstackclient 2.3.0-2~bpo8+1 ii python-q-text-as-data [q-text-as-data] 1.4.0-1~bpo8+1 Versions of packages nova-api recommends: ii python-keystone 2:9.0.0-2~bpo8+1 nova-api suggests no packages. -- Configuration Files: /etc/nova/rootwrap.d/api-metadata.filters [Errno 13] Відмовлено у доступі: u'/etc/nova/rootwrap.d/api-metadata.filters' -- debconf information: nova-api/missing-db-package-error: abort nova-api/internal/skip-preseed: false * nova-api/mysql/admin-user: debian-sys-maint nova-api/pgsql/authmethod-admin: ident nova-api/db/basepath: /var/lib/novaapi nova-api/pgsql/authmethod-user: password nova-api/pgsql/admin-user: postgres nova-api/internal/reconfiguring: false nova/keystone-admin-name: admin nova/keystone-project-name: admin nova-api/remote/host: localhost nova-api/passwords-do-not-match: nova/region-name: regionOne nova-api/upgrade-error: abort nova-api/dbconfig-upgrade: true nova-api/dbconfig-remove: true nova-api/pgsql/no-empty-passwords: nova-api/install-error: abort * nova-api/dbconfig-install: true nova/endpoint-ip: 91.208.138.5 nova-api/db/dbname: novaapidb * nova/register-endpoint: false * novaapi/configure_db: true nova-api/pgsql/method: TCP/IP nova-api/remote/newhost: nova-api/remote/port: nova-api/mysql/method: Unix socket nova-api/dbconfig-reinstall: false nova-api/pgsql/changeconf: false nova-api/remove-error: abort nova-api/pgsql/manualconf: nova-api/upgrade-backup: true nova-api/db/app-user: novaapidb nova/keystone-ip: 127.0.0.1 * nova-api/database-type: mysql nova-api/purge: false
--- End Message ---
--- Begin Message ---On 07/12/2016 06:10 AM, Serhii Yehorov wrote: > Package: nova-api > Version: 2:13.1.0-1~bpo8+1 > Severity: grave > Justification: renders package unusable > > Dear Maintainer, > > Nova becames unusable after upgrade from backports to Mitaka. > Previous backported version 'Liberty' was working fine. > Seems like something wrong with python modules names. This is a nova-api.log: > > 2016-07-12 06:25:32.917 4672 WARNING oslo_reports.guru_meditation_report [-] > Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward > compatibility. SIGUSR1 will no longer be registered in a future release, so > please use SIGUSR2 to generate reports. > 2016-07-12 06:25:32.941 4672 CRITICAL nova [-] ImportError: No module named > oslo.middleware Hi, To me, this looks like a configuration issue. Here, you're trying to load oslo.middleware (ie: that thing that does the WSGI handling for nova-api). This Python module has been renamed as oslo_middlware a long long time ago, and probably the compatibility layer that was also accepting the dot instead of the underscore went away, rendering your configuration as broken. I can however assure you that a fresh install works 100%, as I do run a full all-in-one node install on which all Tempest functional tests are working. For this reason, I am closing this bug, as I know that there's no such breakage. Maybe we could fix the upgrade though, but that's another story, and never the OpenStack packages made the promise of smooth upgrade without configuration tweaking (I just don't have enough time to work on that, even though I'd love to do so...). Could you grep your /etc for "oslo.middleware" and report here, in this bug, where you have such a thing with dot instead of underscore? BTW, feel free to join #debian-openstack on irc.debian.org (aka: OFTC). Cheers, Thomas Goirand (zigo)
--- End Message ---

