vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
165 stars 108 forks source link

Error: No such command "login". #512

Open SebSpiers opened 4 years ago

SebSpiers commented 4 years ago

Hi, so a weird one, I've installed vcd-cli as per the instructions. I'm on Windows 10, I've installed Python 38, and installed using pip3 without any errors. Everything appears to be installed correctly:

Name: vcd-cli Version: 22.0.1.dev3 Summary: VMware vCloud Director CLI Home-page: https://github.com/vmware/vcd-cli Author: Paco Gomez Author-email: pgomez@vmware.com License: Apache 2 Location: <c:\users****\appdata\roaming\python\python38\site-packages> Requires: unittest-xml-reporting, pycryptodome, tabulate, pypiwin32, keyring, pyvcloud, click, colorama Required-by:

However when I try and login to my vcloud I receive this error:

<c:\Users**\AppData\Roaming\Python\Python38\site-packages\vcd_cli>vcd login https://api.vcd.**********.com *** ***** -V 27.0 Usage: vcd.py [OPTIONS] COMMAND [ARGS]... Try "vcd.py -h" for help.

Error: No such command "login".

Is this a known issue? I've googled and not found anyone else reporting it.

I'm baffled.

rocknes commented 4 years ago

API v27.0 is not supported by pyvcloud/vcd-cli anymore.

What is the version of the vCD server that you are trying to login?