Bug 1437587 - False negative: Unable to reconfigure Instance "xxx": When resizing, instances must change flavor!
Summary: False negative: Unable to reconfigure Instance "xxx": When resizing, instance...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Sam Lucidi
QA Contact: Ola Pavlenko
URL:
Whiteboard: openstack
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-30 15:29 UTC by Ronnie Rasouli
Modified: 2018-03-01 13:11 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:11:02 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
last 10000 lines of evm.log (650.97 KB, text/plain)
2017-03-30 15:29 UTC, Ronnie Rasouli
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description Ronnie Rasouli 2017-03-30 15:29:55 UTC
Created attachment 1267607 [details]
last 10000 lines of evm.log

Description of problem:

re configuring instance when there are 2 flavors fails with the error:
 Unable to reconfigure Instance "xxx": When resizing, instances must change flavor! 

However I have 2 flavors 
openstack flavor list
+--------------------------------------+-----------+-----+------+-----------+-------+-----------+
| ID                                   | Name      | RAM | Disk | Ephemeral | VCPUs | Is Public |
+--------------------------------------+-----------+-----+------+-----------+-------+-----------+
| 11aab097-525c-46da-9be4-81b49ea43b6b | m1.tiny   | 512 |    1 |         0 |     1 | True      |
| f7c2b430-1620-4812-8237-316def134651 | tiny_like | 768 |    1 |         0 |     1 | True      |
+--------------------------------------+-----------+-----+------+-----------+-------+-----------+
nova show erer
+--------------------------------------+----------------------------------------------------------------------------------+
| Property                             | Value                                                                            |
+--------------------------------------+----------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                                           |
| OS-EXT-AZ:availability_zone          | nova                                                                             |
| OS-EXT-SRV-ATTR:host                 | compute-2.localdomain                                                            |
| OS-EXT-SRV-ATTR:hostname             | erer                                                                             |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute-2.localdomain                                                            |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000001                                                                |
| OS-EXT-SRV-ATTR:kernel_id            |                                                                                  |
| OS-EXT-SRV-ATTR:launch_index         | 0                                                                                |
| OS-EXT-SRV-ATTR:ramdisk_id           |                                                                                  |
| OS-EXT-SRV-ATTR:reservation_id       | r-dcg7u651                                                                       |
| OS-EXT-SRV-ATTR:root_device_name     | /dev/vda                                                                         |
| OS-EXT-SRV-ATTR:user_data            | -                                                                                |
| OS-EXT-STS:power_state               | 1                                                                                |
| OS-EXT-STS:task_state                | -                                                                                |
| OS-EXT-STS:vm_state                  | active                                                                           |
| OS-SRV-USG:launched_at               | 2017-03-30T12:02:08.000000                                                       |
| OS-SRV-USG:terminated_at             | -                                                                                |
| accessIPv4                           |                                                                                  |
| accessIPv6                           |                                                                                  |
| config_drive                         |                                                                                  |
| created                              | 2017-03-30T07:14:31Z                                                             |
| description                          | erer                                                                             |
| flavor                               | m1.tiny (11aab097-525c-46da-9be4-81b49ea43b6b)                                   |
| hostId                               | b5703239ec5a43fd12a6ad64a3a992a1c16b4c3f4109691709130d13                         |
| host_status                          | UP                                                                               |
| id                                   | 08f456e0-a933-4ee1-b2a2-0260b311bdc7                                             |
| image                                | cirros (49f9541c-989d-4c16-9717-60c6329aeebc)                                    |
| key_name                             | -                                                                                |
| locked                               | False                                                                            |
| metadata                             | {}                                                                               |
| name                                 | erer                                                                             |
| os-extended-volumes:volumes_attached | [{"id": "96f5ab26-7759-4bf7-8136-55ea8505b61e", "delete_on_termination": false}] |
| progress                             | 0                                                                                |
| security_groups                      | default                                                                          |
| status                               | ACTIVE                                                                           |
| tags                                 | []                                                                               |
| tenant-net network                   | 192.168.0.5                                                                      |
| tenant_id                            | c4679663162b4edd8fcda3e968cbafd8                                                 |
| updated                              | 2017-03-30T12:02:08Z                                                             |
| user_id                              | 4b8a6892807840559d03af65704ff499                                                 |
+--------------------------------------+----------------------------------------------------------------------------------+




Version-Release number of selected component (if applicable):
5.7.2.0

How reproducible:
always

Steps to Reproduce:
1. login to cfme
2. navigate to compute --> cloud --> instances
3. click the desired instance
4. go to configuration re configure ...
5. click submit

Actual results:
Unable to reconfigure Instance "erer": When resizing, instances must change flavor! 

Expected results:
continue with image resize in case there is one flavor available

Additional info:

Comment 6 errata-xmlrpc 2018-03-01 13:11:02 UTC
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://access.redhat.com/errata/RHSA-2018:0380


Note You need to log in before you can comment on or make changes to this bug.