impossible to create nova instances after upgrading to rocky
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Cloud Controller Charm |
Fix Released
|
Critical
|
Sahid Orentino | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Corey Bryant | ||
oslo.cache |
Invalid
|
Undecided
|
Herve Beraud | ||
nova (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
python-oslo.cache (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Hi,
I'm using bionic with 18.11 charms. I recently upgraded openstack from queens to rocky. After that, I was unable to create nova instances - they were stuck in BUILD state, without any error in nova-cloud-
While investigating, I noticed that "openstack compute service list" was empty, and this was generating an error in nova-api-
My investigations lead to https:/
Please advise.
Thanks !
nova-api-
2019-01-21 10:45:43.729 87283 ERROR nova.context Traceback (most recent call last):
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context conn = self.queue.
2019-01-21 10:45:43.729 87283 ERROR nova.context IndexError: pop from an empty deque
2019-01-21 10:45:43.729 87283 ERROR nova.context
2019-01-21 10:45:43.729 87283 ERROR nova.context During handling of the above exception, another exception occurred:
2019-01-21 10:45:43.729 87283 ERROR nova.context
2019-01-21 10:45:43.729 87283 ERROR nova.context Traceback (most recent call last):
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context result = fn(cctxt, *args, **kwargs)
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context result = fn(cls, context, *args, **kwargs)
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context context, db_services)
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context service['host'], az)
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context cache.delete(
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context return self.region.
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context self.backend.
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context self.client.
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context with self.client_
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context return next(self.gen)
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context conn = self.get(
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context return self._get()
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context conn = ConnectionPool.
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context conn = self._create_
2019-01-21 10:45:43.729 87283 ERROR nova.context File "/usr/lib/
2019-01-21 10:45:43.729 87283 ERROR nova.context return _MemcacheClient
2019-01-21 10:45:43.729 87283 ERROR nova.context TypeError: object() takes no parameters
2019-01-21 10:45:43.729 87283 ERROR nova.context
Changed in cloud-archive: | |
importance: | Undecided → Critical |
Changed in cloud-archive: | |
assignee: | nobody → James Page (james-page) |
assignee: | James Page (james-page) → nobody |
assignee: | nobody → Sahid Orentino (sahid-ferdjaoui) |
Changed in charm-nova-cloud-controller: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in cloud-archive: | |
status: | Triaged → Fix Committed |
Changed in charm-nova-cloud-controller: | |
assignee: | nobody → Sahid Orentino (sahid-ferdjaoui) |
Changed in cloud-archive: | |
assignee: | Sahid Orentino (sahid-ferdjaoui) → nobody |
assignee: | nobody → Corey Bryant (corey.bryant) |
Changed in charm-nova-cloud-controller: | |
status: | Triaged → In Progress |
Changed in oslo.cache: | |
status: | New → Confirmed |
assignee: | nobody → Herve Beraud (herveberaud) |
Changed in cloud-archive: | |
status: | Fix Committed → Fix Released |
tags: | added: py3 |
Note that I have not been able to reproduce this outside of the nova-api-os-compute context. The following works fine in python3 REPL :
$ python3 pool.MemcacheCl ientPool( urls="foo" , arguments={}, maxsize=10, unused_timeout=10) connection( ) _memcache_ pool._MemcacheC lient object at 0x7f3842588528>
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from oslo_cache import _memcache_pool
>>> a=_memcache_
>>> a._create_
<oslo_cache.