VMware vSphere

 View Only
  • 1.  OVFTOOL on macos broken?

    Posted 19 days ago

    I am trying a simple export on a VM with the latest ovftool on MacOS (latest). 

    ./ovftool "vi://hypervisor.me.com/windowsvm" /Users/me/Downloads/

    I enter the root credentials when prompted and it just keeps prompting. the credentials work because I can login the vsphere client them. I see some events in the vcenter managing this that say bad username, etc. but it is absotley correct. there is a "." in the password. 

    I have heard lots of ovtools have problems. Is macOS one of them?



  • 2.  RE: OVFTOOL on macos broken?

    Posted 10 days ago

    I don't think this is a macOS-specific issue. The latest OVF Tool works correctly on recent macOS releases, so repeated authentication prompts usually indicate an authentication or command parsing issue rather than a platform bug.

    One thing that stands out is that your password contains a ". Depending on how the shell interprets the command or how the password is entered when prompted, special characters can sometimes cause unexpected behavior. As a quick test, try logging in with another account that has the same privileges but a password containing only alphanumeric characters. If that works, you've narrowed the issue down considerably.

    I'd also verify whether you're authenticating directly against an ESXi host or through vCenter. If you're using vCenter with SSO, specify the username in the appropriate format (for example administrator@vsphere.local or DOMAIN\user, depending on your identity source) instead of simply root, unless you're intentionally connecting to an ESXi host.