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
Bug is also relevant for 5.9 on top of OSP 14
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.
One more update. After reconfiguring my OSP14 provider to actually allow resize to work properly, resize via MIQ UI is working fine for me.
Hi, Could you please share how to configure osp14 provider to allow resize
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.
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