[Bug 1518016] Re: Nova kilo requires concurrency 1.8.2 or better
James Page
james.page at ubuntu.com
Fri Nov 20 10:04:56 UTC 2015
concurrency 1.8.2 uploaded to vivid-proposed for SRU team review; as
soon as its accepted into proposed well get it into the UCA for kilo as
well for testing.
** Changed in: nova
Status: Incomplete => Invalid
** Changed in: python-oslo.concurrency (Ubuntu)
Status: Fix Released => Invalid
** Changed in: python-oslo.concurrency (Ubuntu)
Importance: Critical => Undecided
** Changed in: python-oslo.concurrency (Ubuntu)
Assignee: Corey Bryant (corey.bryant) => (unassigned)
** Changed in: python-oslo.concurrency (Ubuntu Vivid)
Assignee: Corey Bryant (corey.bryant) => (unassigned)
** Changed in: cloud-archive/kilo
Importance: High => Critical
** Summary changed:
- Nova kilo requires concurrency 1.8.2 or better
+ [SRU] Nova kilo requires concurrency 1.8.2 or better
** Description changed:
- OpenStack Nova Kilo release requires 1.8.2 or higher, this is due to the
- addition of on_execute and on_completion to the execute(..) function.
- The latest Ubuntu OpenStack Kilo packages currently have code that
- depend on this new updated release. This results in a crash in some
- operations like resizes or migrations.
+ [Impact]
+ Some operations on instances will fail due to missing functions in oslo-concurrency 1.8.0 that the latest Nova stable release requires.
+
+ [Test Case]
+ Resize or migrate an instance on the latest stable kilo updates
+
+ [Regression Potential]
+ Minimal - this is recommended and tested upstream already.
+
+ [Original Bug Report]
+ OpenStack Nova Kilo release requires 1.8.2 or higher, this is due to the addition of on_execute and on_completion to the execute(..) function. The latest Ubuntu OpenStack Kilo packages currently have code that depend on this new updated release. This results in a crash in some operations like resizes or migrations.
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] Traceback (most recent call last):
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 6459, in _error_out_instance_on_exception
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] yield
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4054, in resize_instance
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] timeout, retry_interval)
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 6353, in migrate_disk_and_power_off
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] shared_storage)
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] six.reraise(self.type_, self.value, self.tb)
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 6342, in migrate_disk_and_power_off
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] on_completion=on_completion)
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line 329, in copy_image
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] on_execute=on_execute, on_completion=on_completion)
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line 55, in execute
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] return utils.execute(*args, **kwargs)
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 207, in execute
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] return processutils.execute(*cmd, **kwargs)
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] File "/usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 174, in execute
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] raise UnknownArgumentError(_('Got unknown keyword args: %r') % kwargs)
2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24] UnknownArgumentError: Got unknown keyword args: {'on_execute': <function <lambda> at 0x7f3a64527050>, 'on_completion': <function <lambda> at 0x7f39ff6ddf50>}
- 2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24]
+ 2015-11-19 16:26:24.103 7779 TRACE nova.compute.manager [instance: c04c1cf3-fbd9-40fd-be2e-e7dc06eb9f24]
https://github.com/openstack/requirements/commit/2fd00d00db5fce57d9589643801942d0332b1670
This commit above shows that OpenStack now requires 1.8.2 instead of
1.8.0. We would appreciate if the 1.8.2 upstream release can be brought
in to resolve this bug.
Thank you.
** Changed in: python-oslo.concurrency (Ubuntu Vivid)
Status: Triaged => In Progress
** Changed in: cloud-archive/kilo
Status: Triaged => In Progress
** Changed in: python-oslo.concurrency (Ubuntu Vivid)
Assignee: (unassigned) => James Page (james-page)
** Changed in: cloud-archive/kilo
Assignee: (unassigned) => James Page (james-page)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-oslo.concurrency in Ubuntu.
https://bugs.launchpad.net/bugs/1518016
Title:
[SRU] Nova kilo requires concurrency 1.8.2 or better
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1518016/+subscriptions
More information about the Ubuntu-server-bugs
mailing list