DCLI 2.9.1 Release Notes

Released 14 May 2018

Build 8519610 is the 2.9.1 release of the Data Center CLI (DCLI).

Release notes last updated on 7 Jun 2018.

Check frequently for additions and updates to these release notes.

DCLI 2.9.1 Release Notes

Welcome to the DCLI 2.9.1 release notes. Version numbers referenced in this document are placeholders and do not represent any commitment by VMware to have any features included in specific software versions.

This document contains the following information:

About DCLI

DCLI allows you to work with a simplified command-line interface that you can use to run common system administration commands against VMware Cloud on AWS and vCenter Server systems.

What's New

DCLI 2.9.1 introduces the following changes and improvements.

  • DCLI is now hosted on the PyPI repository and you can install it by using the pip install dcli command.
  • DCLI now securely logs sensitive information, such as secret field or password values that are passed explicitly.
  • If there is missing metamodel data for a given structure, DCLI does not crash.
  • The default CSP authentication URL, used for establishing connections to VMware Cloud on AWS, is updated.
  • There is a new internal env about get command for retrieving DCLI version information.

Known Issues

  • DCLI 2.9.1 does not work with Python Prompt Toolkit 2.0 and later

    If you have prompt_toolkit 2.0 or later installed on your system, you receive an error message of type Error: 'NoneType' object has no attribute 'run' when you try to use DCLI in interactive mode.

    Workaround: Install an earlier version of prompt_toolkit by running the following command.

    pip install --upgrade prompt_toolkit==1.0.15

  • The +password option does not accept explicit passwords

    If you use the +password option to provide your password explicitly, the value is not saved and you need to provide the password again to the DCLI password prompt.

  • The +credstore-add option does not save credentials if no command is provided

    If you use the +credstore-add option, but do not provide a command, the login credentials are not added to the DCLI credential store file.

  • Interactive mode does not work with multiple spaces

    If you type more than one space between words in interactive mode, DCLI stops providing suggestions.

  • In interactive mode, DCLI uses previously entered credentials even if authorization failed with those

    If you run DCLI in interactive mode and invoke a command that requires authentication, DCLI prompts for credentials. If you enter credentials for a user who does not have permissions to perform the operation, you receive an Unauthorized error message. If you try to invoke the same command again, DCLI does not prompt you to enter new credentials and uses the credentials that you previously entered instead.

    Workaround: Either pass +username to specify different credentials, or save the correct credentials in the credential store.

  • The +more option works only with a table formatter

    If you try to use the +more option with any formatter different from table, the option does not work.

  • DCLI internal commands require connection to a server

    If DCLI is not connected to a VMware Cloud on AWS server or a vCenter Server system and you try to use a DCLI internal command, you receive an error message.