Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When migrating VMware to OSP if there is a post migration playbook to be executed, it does not fetch the IP address of migrated VM, and runs against localhost. Version-Release number of selected component (if applicable): 5.10.0.27 How reproducible: Believe 100% Steps to Reproduce: 1.Add VMware and OSP providers and configure for migration 2.Add ansible repo, machine credentials to use, and create Catalog Item that can act as post migration playbook 3.Create infra map and migration plan with ansible post migration playbook 4.Execute migration plan Actual results: Plan fails to execute post migration playbook correctly. Runs it against localhost instead of IP addr of migrated VM. Expected results: It should fetch IP address and execute against migrated VM instead of localhost(miq appliance) Additional info: PLAY [Simple playbook ran against CFME/ManageIQ in Ansible Services - retirement playbook] *** TASK [Gathering Facts] ********************************************************* fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?\\n", "module_stdout": "", "msg": "MODULE FAILURE\\nSee stdout/stderr for the exact error", "rc": 1} PLAY RECAP ********************************************************************* localhost : ok=0 changed=0 unreachable=0 failed=1
I was able to successfully execute post migration playbook against migrated VMs. This is no more an issue on CFME 5.10.0.29