Description of problem: Following "3.2. Upgrading the Director", it is asked to check for _member_ role using keystone role-list after the director upgrade. It currently return this: keystone role-list | grep _member_ /usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient. 'python-keystoneclient.', DeprecationWarning) /usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release. 'the 2.0.0 release.', DeprecationWarning) /usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead super(Client, self).__init__(**kwargs) /usr/lib/python2.7/site-packages/debtcollector/renames.py:45: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead return f(*args, **kwargs) /usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:371: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release. 'the 2.0.0 release.', DeprecationWarning) /usr/lib/python2.7/site-packages/keystoneclient/session.py:140: DeprecationWarning: keystoneclient.session.Session is deprecated as of the 2.1.0 release in favor of keystoneauth1.session.Session. It will be removed in future releases. DeprecationWarning) /usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py:56: DeprecationWarning: keystoneclient auth plugins are deprecated as of the 2.1.0 release in favor of keystoneauth1 plugins. They will be removed in future releases. 'in future releases.', DeprecationWarning) The command to use should be: openstack role list Version-Release number of selected component (if applicable): python-keystoneclient.noarch 1:2.3.1-3.el7ost @rhelosp-9.0-puddle python-openstackclient.noarch 2.2.0-1.el7ost @rhelosp-9.0-puddle How reproducible: always. Steps to Reproduce: 1. Follow the doc https://access.redhat.com/documentation/en/red-hat-openstack-platform/9/paged/upgrading-red-hat-openstack-platform/chapter-3-director-based-environments-performing-upgrades-to-major-versions
As a side note the: keystone role-create --name _member_ and keystone user-role-add --user admin --role _member_ --tenant admin return a stack trace as well, but actually work.
They all work (even the list), but as the output of the keystone role-list is empty, we only see the stacktrace which let the user think that something went bad.
Hi Sofer, I've removed the deprecated commands and replaced them with the unified openstack commands: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/9/html-single/upgrading_red_hat_openstack_platform/#sect-Major-Updating_Director_Packages Was there anything further you needed for this section? If not, I'll close this BZ.
Hi Dan, nothing else. You can close it. Thanks,
Thanks, Sofer!