ironic compute_driver should be ironic.IronicDriver

Bug #1934533 reported by Corey Bryant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Committed
Medium
Unassigned
Victoria
Fix Released
Medium
Unassigned
Wallaby
Fix Released
Medium
Unassigned
Xena
Fix Committed
Medium
Unassigned
nova (Ubuntu)
Fix Released
Medium
Unassigned
Groovy
Fix Released
Medium
Unassigned
Hirsute
Fix Released
Medium
Unassigned
Impish
Fix Released
Medium
Unassigned

Bug Description

2021-07-02 17:41:54.559 56835 INFO nova.virt.driver [req-f57f8765-efbe-4156-b22b-85f0a52d5fd2 - - - - -] Loading compute driver 'nova.virt.ironic.IronicDriver'
2021-07-02 17:41:54.560 56835 ERROR nova.virt.driver [req-f57f8765-efbe-4156-b22b-85f0a52d5fd2 - - - - -] Unable to load the virtualization driver: ModuleNotFoundError: No module named 'nova.virt.nova'
2021-07-02 17:41:54.560 56835 ERROR nova.virt.driver Traceback (most recent call last):
2021-07-02 17:41:54.560 56835 ERROR nova.virt.driver File "/usr/lib/python3/dist-packages/nova/virt/driver.py", line 1811, in load_compute_driver
2021-07-02 17:41:54.560 56835 ERROR nova.virt.driver driver = importutils.import_object(
2021-07-02 17:41:54.560 56835 ERROR nova.virt.driver File "/usr/lib/python3/dist-packages/oslo_utils/importutils.py", line 44, in import_object
2021-07-02 17:41:54.560 56835 ERROR nova.virt.driver return import_class(import_str)(*args, **kwargs)
2021-07-02 17:41:54.560 56835 ERROR nova.virt.driver File "/usr/lib/python3/dist-packages/oslo_utils/importutils.py", line 30, in import_class
2021-07-02 17:41:54.560 56835 ERROR nova.virt.driver __import__(mod_str)
2021-07-02 17:41:54.560 56835 ERROR nova.virt.driver ModuleNotFoundError: No module named 'nova.virt.nova'

The correct compute_driver for ironic is defined here:
https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.compute_driver

Revision history for this message
Corey Bryant (corey.bryant) wrote (last edit ):

I'll push this to stable git repos for now and it can get picked up in the next SRU upload.

no longer affects: nova
Changed in nova (Ubuntu Groovy):
status: New → Triaged
Changed in nova (Ubuntu Hirsute):
status: New → Triaged
Changed in nova (Ubuntu Impish):
status: New → Triaged
Changed in nova (Ubuntu Groovy):
importance: Undecided → Medium
Changed in nova (Ubuntu Hirsute):
importance: Undecided → Medium
Changed in nova (Ubuntu Impish):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 3:23.0.1+git2021061405.052cf96358-0ubuntu2

---------------
nova (3:23.0.1+git2021061405.052cf96358-0ubuntu2) impish; urgency=medium

  * d/nova-compute-ironic.conf: Use the correct compute_driver for
    ironic (LP: #1934533).
  * d/t/nova-compute-daemons: Add nova-compute-ironic to test.

 -- Corey Bryant <email address hidden> Fri, 02 Jul 2021 14:03:44 -0400

Changed in nova (Ubuntu Impish):
status: Triaged → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Corey, or anyone else affected,

Accepted nova into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nova/3:23.0.1-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in nova (Ubuntu Hirsute):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Changed in nova (Ubuntu Groovy):
status: Triaged → Fix Committed
tags: added: verification-needed-groovy
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Corey, or anyone else affected,

Accepted nova into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nova/2:22.2.1-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Corey, or anyone else affected,

Accepted nova into wallaby-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:wallaby-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-wallaby-needed to verification-wallaby-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-wallaby-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in cloud-archive:
status: Triaged → Fix Committed
tags: added: verification-wallaby-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Corey, or anyone else affected,

Accepted nova into victoria-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:victoria-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-victoria-needed to verification-victoria-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-victoria-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-victoria-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Verified successfully

tags: added: verification-done verification-done-groovy verification-done-hirsute verification-victoria-done verification-wallaby-done
removed: verification-needed verification-needed-groovy verification-needed-hirsute verification-victoria-needed verification-wallaby-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 2:22.2.1-0ubuntu1

---------------
nova (2:22.2.1-0ubuntu1) groovy; urgency=medium

  [ Corey Bryant ]
  * d/nova-compute-ironic.conf: Use the correct compute_driver for
    ironic (LP: #1934533).

  [ Chris MacNaughton ]
  * New stable point release for OpenStack Victoria (LP: #1935029).

 -- Chris MacNaughton <email address hidden> Thu, 08 Jul 2021 13:26:56 +0000

Changed in nova (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for nova has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 3:23.0.1-0ubuntu1

---------------
nova (3:23.0.1-0ubuntu1) hirsute; urgency=medium

  [ Corey Bryant ]
  * d/gbp.conf: Create stable/wallaby branch.
  * d/nova-compute-ironic.conf: Use the correct compute_driver for
    ironic (LP: #1934533).

  [ Chris MacNaughton ]
  * New stable point release for OpenStack Wallaby (LP: #1935027).

 -- Chris MacNaughton <email address hidden> Thu, 08 Jul 2021 13:05:21 +0000

Changed in nova (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote :

The verification of the Stable Release Update for nova has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package nova - 3:23.0.1-0ubuntu1~cloud0
---------------

 nova (3:23.0.1-0ubuntu1~cloud0) focal-wallaby; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 nova (3:23.0.1-0ubuntu1) hirsute; urgency=medium
 .
   [ Corey Bryant ]
   * d/gbp.conf: Create stable/wallaby branch.
   * d/nova-compute-ironic.conf: Use the correct compute_driver for
     ironic (LP: #1934533).
 .
   [ Chris MacNaughton ]
   * New stable point release for OpenStack Wallaby (LP: #1935027).

Revision history for this message
Corey Bryant (corey.bryant) wrote :

The verification of the Stable Release Update for nova has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package nova - 2:22.2.1-0ubuntu1~cloud0
---------------

 nova (2:22.2.1-0ubuntu1~cloud0) focal-victoria; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 nova (2:22.2.1-0ubuntu1) groovy; urgency=medium
 .
   [ Corey Bryant ]
   * d/nova-compute-ironic.conf: Use the correct compute_driver for
     ironic (LP: #1934533).
 .
   [ Chris MacNaughton ]
   * New stable point release for OpenStack Victoria (LP: #1935029).

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.