nova-manage image_property show throws unexpected keyword

Bug #2016346 reported by Robert Breker
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Status tracked in 2024.2
2024.1
Fix Committed
Undecided
Unassigned
2024.2
Fix Released
Undecided
Robert Breker
Antelope
In Progress
Undecided
Unassigned
Bobcat
In Progress
Undecided
Unassigned
Zed
In Progress
Undecided
Unassigned

Bug Description

Description
===========
The `nova-manage image_property show` CLI command passes in an invalid parameter.
It passes in `property` while `image_property` is expected by the method.

Steps to reproduce
==================
1. Execute: nova-manage image_property show 23fb2a96-2739-4dda-8f05-aa543bbc305f hw_vif_multiqueue_enabled
2. Observe:
  An error has occurred:
  Traceback (most recent call last):
    File "/var/lib/kolla/venv/lib/python3.9/site-packages/nova/cmd/manage.py", line 3394, in main
      ret = fn(*fn_args, **fn_kwargs)
  TypeError: show() got an unexpected keyword argument 'property'

Environment
===========
Zed - nova.26.0.1

Robert Breker (rbreker)
Changed in nova:
assignee: nobody → Robert (rbreker)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/880557

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.opendev.org/c/openstack/nova/+/880557
Committed: https://opendev.org/openstack/nova/commit/1c02c0da1702ab1f58e930782a8866ed683c3c7d
Submitter: "Zuul (22348)"
Branch: master

commit 1c02c0da1702ab1f58e930782a8866ed683c3c7d
Author: Robert Breker <email address hidden>
Date: Fri Apr 14 23:24:02 2023 +0100

    Fix nova-manage image_property show unexpected keyword

    Reproduction steps:
    1. Execute: nova-manage image_property show <vm_uuid> \
                                hw_vif_multiqueue_enabled
    2. Observe:
      An error has occurred:
      Traceback (most recent call last):
        File "/var/lib/kolla/venv/lib/python3.9/
              site-packages/nova/cmd/manage.py", line 3394, in main
          ret = fn(*fn_args, **fn_kwargs)
      TypeError: show() got an unexpected keyword argument 'property'

    Change-Id: I1349b880934ad9f44a943cf7de324d7338619d2e
    Closes-Bug: #2016346

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/2024.1)

Fix proposed to branch: stable/2024.1
Review: https://review.opendev.org/c/openstack/nova/+/914671

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/nova/+/914765

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/nova/+/914766

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/nova/+/914767

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/2024.1)

Reviewed: https://review.opendev.org/c/openstack/nova/+/914671
Committed: https://opendev.org/openstack/nova/commit/fc4b592d557cc92b7887ddb18fe2eb7588263e90
Submitter: "Zuul (22348)"
Branch: stable/2024.1

commit fc4b592d557cc92b7887ddb18fe2eb7588263e90
Author: Robert Breker <email address hidden>
Date: Fri Apr 14 23:24:02 2023 +0100

    Fix nova-manage image_property show unexpected keyword

    Reproduction steps:
    1. Execute: nova-manage image_property show <vm_uuid> \
                                hw_vif_multiqueue_enabled
    2. Observe:
      An error has occurred:
      Traceback (most recent call last):
        File "/var/lib/kolla/venv/lib/python3.9/
              site-packages/nova/cmd/manage.py", line 3394, in main
          ret = fn(*fn_args, **fn_kwargs)
      TypeError: show() got an unexpected keyword argument 'property'

    Change-Id: I1349b880934ad9f44a943cf7de324d7338619d2e
    Closes-Bug: #2016346
    (cherry picked from commit 1c02c0da1702ab1f58e930782a8866ed683c3c7d)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/nova/+/914765
Committed: https://opendev.org/openstack/nova/commit/1bbd44e16e51660eb4fea9d3c970a5aee99225a5
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit 1bbd44e16e51660eb4fea9d3c970a5aee99225a5
Author: Robert Breker <email address hidden>
Date: Fri Apr 14 23:24:02 2023 +0100

    Fix nova-manage image_property show unexpected keyword

    Reproduction steps:
    1. Execute: nova-manage image_property show <vm_uuid> \
                                hw_vif_multiqueue_enabled
    2. Observe:
      An error has occurred:
      Traceback (most recent call last):
        File "/var/lib/kolla/venv/lib/python3.9/
              site-packages/nova/cmd/manage.py", line 3394, in main
          ret = fn(*fn_args, **fn_kwargs)
      TypeError: show() got an unexpected keyword argument 'property'

    Change-Id: I1349b880934ad9f44a943cf7de324d7338619d2e
    Closes-Bug: #2016346
    (cherry picked from commit 1c02c0da1702ab1f58e930782a8866ed683c3c7d)
    (cherry picked from commit fc4b592d557cc92b7887ddb18fe2eb7588263e90)

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.