Reviewed: https://review.opendev.org/c/openstack/nova/+/933107 Committed: https://opendev.org/openstack/nova/commit/8c2df0035d16df8b41e98eb4ed748ddeda9a5d62 Submitter: "Zuul (22348)" Branch: master
commit 8c2df0035d16df8b41e98eb4ed748ddeda9a5d62 Author: Rajesh Tailor <ratai...@redhat.com> Date: Wed Oct 23 18:58:14 2024 +0530 Fix case sensitive comparison As of now, if flavor has 'hw:virtio_packed_ring' extra-spec set to True and image has 'hw_virtio_packed_ring' set to 'true', if fails the comparison and throws exception. This change makes the comparison case-insensitive by adding another condition for image_value to change it from str to bool if its not None. Closes-Bug: #2085124 Change-Id: Ie1af94b216f10cad592f38037875744927c4f18a ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/2085124 Title: HTTP exception thrown: Flavor has hw:virtio_packed_ring extra spec explicitly set to True, conflicting with image which has hw_virtio_packed_ring explicitly set to true. Status in OpenStack Compute (nova): Fix Released Bug description: the flavor image conflict check for the virtio packed ring format is not correctly converting the values to booleans when comparing them as a result, the comparison is case sensitive when it should not be. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/2085124/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp