Import issue in nova_powervm which causes <email address hidden> service to fail in devstack

Bug #1831034 reported by Ankit Arora
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-powervm
Fix Released
Undecided
Ankit Arora

Bug Description

After installing devstack, n-cpu service does not start with PowerVM driver.

When the service log was checked using: journalctl -xea --unit <email address hidden>

The below error trace can be seen:

ERROR nova.virt.driver [None req-3bb6a98b-2039-465d-979d-b05727631183 None None] Unable to load the virtualization driver: ImportError:

May 29 01:31:47 devstack-vm2 nova-compute[29859]: ERROR nova.virt.driver File "/opt/stack/nova-powervm/nova_powervm/virt/powervm/driver.py", line 26, in <module>
May 29 01:31:47 devstack-vm2 nova-compute[29859]: ERROR nova.virt.driver from nova import rc_fields
May 29 01:31:47 devstack-vm2 nova-compute[29859]: ERROR nova.virt.driver ImportError: cannot import name rc_fields

The above import error is due to this change in nova: https://github.com/openstack/nova/commit/27617ee1931b3240dbd0ad4c7d8ffd64cc202bc9#diff-98d1a06e0feb7e5ff43a21433afd9f34

We need to put the correct import for the same.

Revision history for this message
Ankit Arora (aarora06) wrote :

Working on this.

Changed in nova-powervm:
assignee: nobody → Ankit Arora (aarora06)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-powervm (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/662180

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-powervm (master)

Fix proposed to branch: master
Review: https://review.opendev.org/662393

Changed in nova-powervm:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova-powervm (stable/stein)

Change abandoned by Ankit Arora (<email address hidden>) on branch: stable/stein
Review: https://review.opendev.org/662180
Reason: Abandoning this review since I need to commit on a different branch.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova-powervm (master)

Change abandoned by Divya K Konoor (<email address hidden>) on branch: master
Review: https://review.opendev.org/662393
Reason: Already covered as part of https://review.opendev.org/#/c/663868/

Revision history for this message
Ankit Arora (aarora06) wrote :
Changed in nova-powervm:
status: In Progress → Fix Released
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.