Description of problem: Cinder --help still lists cinder credentials as a valid command. As this command has already been deprecated we should cleanup cinder client's --help as well. $ cinder credentials /usr/lib/python3.6/site-packages/cinderclient/v2/shell.py:940: UserWarning: ``cinder credentials`` is deprecated, use ``openstack token issue`` indead. "``cinder credentials`` is deprecated, use ``openstack token issue`` " Version-Release number of selected component (if applicable): puppet-cinder-14.4.1-0.20190420083336.1cf0604.el8ost.noarch python3-cinderclient-4.2.0-0.20190520060354.953243d.el8ost.noarch How reproducible: Every time Steps to Reproduce: 1. Issue cinder --help see cinder credentials command. 2. Try to issue a cinder credentials get above error. 3. Actual results: Fail to run a deprecated command, which is fine. Expected results: Cinder help shouldn't list deprecated commands once they were removed. Additional info:
The cinder community needs to decide on when the deprecated v2 API will be removed. Until then, this bz behavior may be annoying, but doesn't cause a problem.
FWIW, this is on the list for the next major version bump of cinderclient: https://review.opendev.org/#/c/653841/