Description of problem: After creating a VM in RHV, and have it's IP address displayed in RHV UI, CFME for long minutes (at least) do not display it's ip addresses in the VM page. This is affecting v2v, since when we configure a conversion host VM from RHV, it uses the VM's ip address reported by CFME, and if this is missing it can fail the conversion host functionality. Version-Release number of selected component (if applicable): CFME-5.11.4.1 RHV-4.3.7 How reproducible: Happened for several different VMs on the same RHV. Additional info: VM refresh makes the ip addresses visible on VM page.
> CFME for long minutes (at least) do not display it's ip addresses in the VM page. Aprox how long does it take? I assume it is less about the time and more about when a refresh runs. Is it only visible after a full refresh or just the next targeted refresh? I assume the VM doesn't have an IP address immediately upon creation so is it something that isn't available when we first discover the VM? At what point is the IP address visible on the underlying RHV system? Do you have any logs? We need the evm.log for the system with the ems_inventory role and the vm name and times that this happened to start looking at this.
Martin, Roberto, Thanks for your inputs. We have a separate bug for v2v: Bug 1810135 - [v2v] Add a check that conversion host VM has least one IP address in the inventory which will fail the v2v configure conversion host VM, in case VM has no ip address in the CFME inventory. Fabien, Can we expand this v2v bug, to not just fail, if the VM has no ip address, but also to run VM refresh VM? Thanks.
The current implementation of the conversion host configuration is synchronous, so waiting for the targeted refresh task would require a big change in ConversionHost class. Also, what would be the limit otherwise? How many times should it check and re-queue a targeted refresh? Potentially, the IP is not reported by the guest-agent, and that's not an IMS thing. All in al, I'm not sure it's an IMS problem. Users should ensure that the IP address is reported in the CloudForms inventory, before configuring the VM as a conversion host.
This bug has been marked as blocked by this RHV RFE: Bug 1811523 - [RFE] Add audit log message when VM information (like IP address) changes
Lowering severity to medium and priority to low. Also moving the target release to cfme-future. There's an error generated when the VM IP is not available, and we add a note in the IMS Guide. And the blocking BZ (Bug 1811523) is unlikely to be fixed on the short term.