yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10515
[Bug 1287839] Re: vmware store backend causes traceback
To answer my own question, I think I have a stale oslo.vmware.
The latest code doesn't import logging from oslo/vmware/openstack/common
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1287839
Title:
vmware store backend causes traceback
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
If known_stores is not specified then I suspect a recent change to the vmware store
might have caused a regression which shows up in devtest for tripleo.
(when known_stores is not specified if possible all stores are initialised)
2014-03-04 18:15:29.971 4352 DEBUG glance.store [-] Attempting to import store glance.store.vmware_datastore.Store _get_store_class /opt/stack/venvs/glance/local/lib/python2.7/site-packages/glance/store/__init__.py:161
2014-03-04 18:15:29.982 4352 CRITICAL glance [-] ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
2014-03-04 18:15:29.982 4352 TRACE glance Traceback (most recent call last):
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/bin/glance-api", line 10, in <module>
2014-03-04 18:15:29.982 4352 TRACE glance sys.exit(main())
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/glance/cmd/api.py", line 57, in main
2014-03-04 18:15:29.982 4352 TRACE glance glance.store.create_stores()
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/glance/store/__init__.py", line 181, in create_stores
2014-03-04 18:15:29.982 4352 TRACE glance store_cls = _get_store_class(store_entry)
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/glance/store/__init__.py", line 162, in _get_store_class
2014-03-04 18:15:29.982 4352 TRACE glance store_cls = importutils.import_class(store_entry)
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/glance/openstack/common/importutils.py", line 28, in import_class
2014-03-04 18:15:29.982 4352 TRACE glance __import__(mod_str)
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/glance/store/vmware_datastore.py", line 23, in <module>
2014-03-04 18:15:29.982 4352 TRACE glance from oslo.vmware import api
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/oslo/vmware/api.py", line 24, in <module>
2014-03-04 18:15:29.982 4352 TRACE glance from oslo.vmware import exceptions
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/oslo/vmware/exceptions.py", line 23, in <module>
2014-03-04 18:15:29.982 4352 TRACE glance from oslo.vmware.openstack.common import log as logging
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/oslo/vmware/openstack/common/log.py", line 191, in <module>
2014-03-04 18:15:29.982 4352 TRACE glance CONF.register_cli_opts(common_cli_opts)
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1579, in __inner
2014-03-04 18:15:29.982 4352 TRACE glance result = f(self, *args, **kwargs)
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1739, in register_cli_opts
2014-03-04 18:15:29.982 4352 TRACE glance self.register_cli_opt(opt, group, clear_cache=False)
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1583, in __inner
2014-03-04 18:15:29.982 4352 TRACE glance return f(self, *args, **kwargs)
2014-03-04 18:15:29.982 4352 TRACE glance File "/opt/stack/venvs/glance/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1731, in register_cli_opt
2014-03-04 18:15:29.982 4352 TRACE glance raise ArgsAlreadyParsedError("cannot register CLI option")
2014-03-04 18:15:29.982 4352 TRACE glance ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
2014-03-04 18:15:29.982 4352 TRACE glance
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1287839/+subscriptions
References