yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41931
[Bug 1520633] [NEW] Exception in compute log when booting an instance with max_concurrent_builds=0
Public bug reported:
The following exception appears in Nova's compute log when booting an
instance with the config parameter max_concurrent_builds set to 0:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/eventlet/queue.py", line 117, in switch
self.greenlet.switch(value)
File "/opt/stack/nova/nova/utils.py", line 1201, in context_wrapper
func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 271, in inner
return f(*args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 1850, in _locked_do_build_and_run_instance
self._do_build_and_run_instance(*args, **kwargs)
TypeError: __exit__() takes exactly 1 argument (4 given)
The instance boots fine, but it would be better to not have this
exception in the logs, as it could confuse someone debugging an
unrelated issue.
** Affects: nova
Importance: Undecided
Assignee: Artom Lifshitz (notartom)
Status: In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1520633
Title:
Exception in compute log when booting an instance with
max_concurrent_builds=0
Status in OpenStack Compute (nova):
In Progress
Bug description:
The following exception appears in Nova's compute log when booting an
instance with the config parameter max_concurrent_builds set to 0:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/eventlet/queue.py", line 117, in switch
self.greenlet.switch(value)
File "/opt/stack/nova/nova/utils.py", line 1201, in context_wrapper
func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 271, in inner
return f(*args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 1850, in _locked_do_build_and_run_instance
self._do_build_and_run_instance(*args, **kwargs)
TypeError: __exit__() takes exactly 1 argument (4 given)
The instance boots fine, but it would be better to not have this
exception in the logs, as it could confuse someone debugging an
unrelated issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1520633/+subscriptions
Follow ups