Description of problem: After Openstack 10 triggers an "unknown" state on instances, when it recoveres Cloudforms duplicates vms instead of recovering them Version-Release number of selected component (if applicable): openstack 10 (virtualised controllers) Cloudforms 4.5.2 How reproducible: every day at customer site Steps to Reproduce: 1. get openstack to change instances to an unknwon state then back to normal 2. 3. Actual results: the instances affected get archived and then get re-discovered Expected results: cloudforms recovers and does either un-archive the instances or never archives them in the first place Additional info: this happens daily at the customer's.
Hey Marek, it looks like some servers were returned multiple times. Can you make a change to the openstack refresh_parser to unique the vms returned? Adding this to the vcr tests would be great, also to confirm that graph refresh isn't affected since this should already be handled internally by graph refresh.
Hi Marek, I need a clarification regarding step 2 above: 2. somehow filter some of VMs from Nova APIU output Thanks, Jad
Hi Jad, I think all you should have to do to test whether the duplication has been solved is to add the provider, let it collect inventory, and then remove the provider so that the instances remain but are disconnected. Then readd the provider with all the same details and refresh to see whether the disconnected instances are reenabled or duplicated. Sam
Verified on 5.10.0.27