| Summary: | Flavor %(id)d extra spec cannot be updated | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Martin Pavlásek <mpavlase> |
| Component: | openstack-nova | Assignee: | Diana Clarke <dclarke> |
| Status: | CLOSED ERRATA | QA Contact: | Prasanth Anbalagan <panbalag> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 (Kilo) | CC: | berrange, dasmith, dclarke, eglynn, jruzicka, kchamart, mwitt, sbauza, sferdjao, sgordon, srevivo, vromanso |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | 7.0 (Kilo) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-nova-2015.1.3-12.el7ost | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-26 16:54:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Martin Pavlásek
2016-04-04 11:07:34 UTC
Thanks for taking the time to report this, Martin.
The format string was fixed in OSP9/Mitaka:
https://bugs.launchpad.net/nova/+bug/1528250
I have also submitted an upstream patch to stable/liberty:
https://review.openstack.org/#/c/303558/
I'll see about backporting those changes downstream next week.
Have a great weekend!
--diana
Verified as follows,
************
VERSION
************
[root@cougar14 ~(keystone_admin)]# yum list installed | grep openstack-nova
openstack-nova-api.noarch 2015.1.3-12.el7ost @rhelosp-7.0-puddle
openstack-nova-cert.noarch 2015.1.3-12.el7ost @rhelosp-7.0-puddle
openstack-nova-common.noarch 2015.1.3-12.el7ost @rhelosp-7.0-puddle
openstack-nova-conductor.noarch 2015.1.3-12.el7ost @rhelosp-7.0-puddle
openstack-nova-console.noarch 2015.1.3-12.el7ost @rhelosp-7.0-puddle
openstack-nova-novncproxy.noarch 2015.1.3-12.el7ost @rhelosp-7.0-puddle
openstack-nova-scheduler.noarch 2015.1.3-12.el7ost @rhelosp-7.0-puddle
***********
LOGS
***********
[root@cougar14 ~(keystone_admin)]#
[root@cougar14 ~(keystone_admin)]#
[root@cougar14 ~(keystone_admin)]# nova flavor-key m1.tiny set RAM=100
[root@cougar14 ~(keystone_admin)]#
[root@cougar14 ~(keystone_admin)]# nova flavor-show m1.tiny
+----------------------------+----------------+
| Property | Value |
+----------------------------+----------------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| disk | 1 |
| extra_specs | {"RAM": "100"} |
| id | 1 |
| name | m1.tiny |
| os-flavor-access:is_public | True |
| ram | 512 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 1 |
+----------------------------+----------------+
[root@cougar14 ~(keystone_admin)]# nova flavor-key m1.tiny set RAM=200
[root@cougar14 ~(keystone_admin)]# nova flavor-show m1.tiny
+----------------------------+----------------+
| Property | Value |
+----------------------------+----------------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| disk | 1 |
| extra_specs | {"RAM": "200"} |
| id | 1 |
| name | m1.tiny |
| os-flavor-access:is_public | True |
| ram | 512 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 1 |
+----------------------------+----------------+
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0694.html |