openstacksdk 0.99.0 failure in compute.v2.server in Ansible

Bug #1975497 reported by Enrico Daglio
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
openstack i18n
Invalid
Undecided
Unassigned

Bug Description

When using Ansible with recent updates including openstacksdk 0.99.0 failures can be reproduced with Ansible, using the openstack.compute.v2.server.Server module in Playbooks.

Issue appears when trying to launch new instances in an OpenStack environment.

Detail message:
n exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'volumes is not found. openstack.compute.v2.server.Server objects do not support setting arbitrary keys through the dict interface.'

A role back to openstacksdk version 0.61 works as workaround.

Some details:
ansible [core 2.13.0]
  config file = /.../ansible.cfg
  configured module search path = ['/.../.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /.../.local/lib/python3.9/site-packages/ansible
  ansible collection location = /.../.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
  jinja version = 3.1.2
  libyaml = True

Revision history for this message
Akihiro Motoki (amotoki) wrote :

openstack i18n bug tracker is a project to report a translation bug, but it looks like unrelated to i18n.
Marking this as Invalid.

Changed in openstack-i18n:
status: New → Invalid
Revision history for this message
Varghese Jose (varghesekjose) wrote :

Can i know the where this issue is being tracked now? We are facing still this issue

Revision history for this message
Raynald de Lahondès (raynald) wrote :

I reported this issue here:
https://storyboard.openstack.org/#!/story/2010128

Uncertain it was the right place either. And I found this: http://lists.openstack.org/pipermail/openstack-i18n/2022-May.txt

Which gave me the solution: downgrade to openstacksdk 0.61

I did this:
pip3 install openstacksdk==0.61

And it solved the issue.

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.