InstanceLocality filter use result in AttributeError: 'Client' object has no attribute 'list_extensions'

Bug #1950134 reported by György Szombathelyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Incomplete
Low
Unassigned

Bug Description

Using InstanceLocality filter result in an exception when cinder tries to figure out the supported nova extensions:
.
.
.
2021-11-08 08:48:01.514 3120 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/filters/instance_locality_filter.py", line 98, in backend_passes
2021-11-08 08:48:01.514 3120 ERROR oslo_messaging.rpc.server if not self._nova_has_extended_server_attributes(context):
2021-11-08 08:48:01.514 3120 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/filters/instance_locality_filter.py", line 67, in _nova_has_extended_server_attributes
2021-11-08 08:48:01.514 3120 ERROR oslo_messaging.rpc.server self._nova_ext_srv_attr = nova.API().has_extension(
2021-11-08 08:48:01.514 3120 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/compute/nova.py", line 178, in has_extension
2021-11-08 08:48:01.514 3120 ERROR oslo_messaging.rpc.server nova_exts = novaclient(context).list_extensions.show_all()
2021-11-08 08:48:01.514 3120 ERROR oslo_messaging.rpc.server AttributeError: 'Client' object has no attribute 'list_extensions'

Something has changed in novaclient?

Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :

Greetings György Szombathelyi
> Something has changed in novaclient?
I did a quick search and the only cinder changes related to this are from queens (~2017).
I think the quickest way to find out is for you to contact the nova team on IRC.
If you are still interested in this bug, please provide the next information:
- cinder version
- steps to reproduce this.
- cinder driver
- The logs you proved are from c-vol?
Thanks in advance
Sofia

Changed in cinder:
importance: Undecided → Low
status: New → Incomplete
tags: added: api client instance-locality list-extensions
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.