vexxhost / migratekit

Near-live migration toolkit for VMware to OpenStack
Apache License 2.0
76 stars 11 forks source link

Error: You must provide exactly one of DomainID or DomainName to authenticate by Username #29

Open gaoty133 opened 4 weeks ago

gaoty133 commented 4 weeks ago

I am keep getting DomainID or DomainName to authenticate by Username error. My Openstack is running 2023.2 Bobcat release.

I tried same env setting with standard ubuntu22.04 docker container and I am able to authenticate.

mnaser commented 4 weeks ago

can you try using OS_DOMAIN_NAME in your environment variables?

gaoty133 commented 4 weeks ago

adding OS_DOMAIN_NAME fixed the authenticate issue. But I am seeing new issue, it's complaining "/dev/disk/by-id/: no such file or directory". BTW, volume has been created on cinder:nfs backend.

INFO[0006] Attaching volume volume_id=82607aa9-2804-41e2-b86e-296c86a3c4cd Removing snapshot 100% [=====================================================================================================================================] (100/100) [0s:0s] Error: open /dev/disk/by-id/: no such file or directory

mnaser commented 4 weeks ago

What OS are you using on this?

gaoty133 commented 4 weeks ago

the server that running Docker is Ubuntu 22.04 LTS, Openstack computer node is running Rocky9 linux

mnaser commented 4 weeks ago

No I mean the VM which you're using to run migratekit, you should be on 22.04 and it should not be on a compute node, you should run this inside a VM.

gaoty133 commented 3 weeks ago

yes, the server that running migration is Ubuntu 22.04