-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
2
-
False
-
-
False
-
?
-
rhos-ops-day1day2-migrations
-
None
-
-
-
-
Moderate
To Reproduce Steps to reproduce the behavior:
- Configure in the vars file the parameter:
os_migrate_virt_v2v: true
- Fill the vddk_thumbprint:
- Launch the migration
- Error in the log:
virt-v2v: error: the ‘openstack’ program is not available. It is needed to communicate with OpenStack
Expected behavior
- Vm migrated successfully
https://github.com/os-migrate/vmware-migration-kit/issues/149
Known workaround
User cloud-user has openstack, but root hasn't:
[cloud-user@vmware-conv-host-3 ~]$ openstack (openstack) [cloud-user@vmware-conv-host-3 ~]$ sudo su [root@vmware-conv-host-3 cloud-user]# openstack bash: openstack: command not found
Variable $PATH was the problem:
[cloud-user@vmware-conv-host-3 ~]$ which openstack /usr/local/bin/openstack [cloud-user@vmware-conv-host-3 ~]$ sudo su [root@vmware-conv-host-3 cloud-user]# echo $PATH /root/.local/bin:/root/bin:/sbin:/bin:/usr/sbin:/usr/bin
Additional context
Actual fix
- install openstack client for the root user