Bug 1633034 - OSP14: VM_Reconfigure is broken
Summary: OSP14: VM_Reconfigure is broken
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.10.2
Assignee: Scott Seago
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-26 06:02 UTC by Jad Haj Yahya
Modified: 2018-11-08 19:48 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-08 19:48:46 UTC
Category: Bug
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
evm.log (8.96 KB, text/plain)
2018-09-26 06:02 UTC, Jad Haj Yahya
no flags Details

Description Jad Haj Yahya 2018-09-26 06:02:11 UTC
Created attachment 1487006 [details]
evm.log

Description of problem:

Reconfiguring a VM to a different flavor is not working though operation is completed without errors
Version-Release number of selected component (if applicable):
5.10.0.16 with osp 14

How reproducible:
Always

Steps to Reproduce:
1. Create an instance with m1.tiny flavor
2. Reconfigure Instance to different flavor, for instance m1.large
3. 

Actual results:
flavor of instance was not changed to new one after reconfiguration

Expected results:
flavor of instance should be changed to new one after reconfiguration


Additional info:
See attached excerpt from log

Comment 3 Jad Haj Yahya 2018-09-26 12:44:26 UTC
Bug is also relevant for 5.9 on top of OSP 14

Comment 5 Scott Seago 2018-10-30 17:17:54 UTC
After attempting reconfigure, does the request succeed? Look under Services -> Requests -- you should see a VM Cloud Reconfigure request. As a first attempt to reproduce this, I tried running reconfigure on a newly-created OSP14 provider, and the reconfigure failed. My task has an Error status, with a Last Message of " Error: No valid host was found. No valid host found for resize." It was a legitimate OpenStack operation failure, as I only have one compute node and I have not yet enabled allow_resize_to_same_host -- if I attempt resize via OpenStack CLI, I get the same error.

Next step on my end is to enable same-host resize on my OSP14 install and try again -- if resize works via CLI but fails via MIQ, we've got a bug to fix, but if the case that led to entering this bug was an OpenStack error, reported back to MIQ via the Request, then this is working as designed.

Comment 6 Scott Seago 2018-10-30 18:27:10 UTC
One more update. After reconfiguring my OSP14 provider to actually allow resize to work properly, resize via MIQ UI is working fine for me.

Comment 7 Jad Haj Yahya 2018-11-06 16:38:52 UTC
Hi,

Could you please share how to configure osp14 provider to allow resize

Comment 8 Scott Seago 2018-11-06 17:12:07 UTC
nova.conf needs to have this config setting changed from false to true:

allow_migrate_to_same_host=True

Update nova.conf on compute and controller nodes and restart nova.

Comment 9 Jad Haj Yahya 2018-11-06 21:40:35 UTC
Also works for me without changing allow_migrate_to_same_host=True settings because i already have 2 compute nodes

I followed same steps to reproduce and it is working now


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