From 817cf8070236e931904bc37a64ff406ffd38d25a Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Sat, 22 Aug 2020 23:02:30 +0800 Subject: [PATCH] replace os-tenant-name with os-project-name in openstackclient openstackclient doesn't supoort os-temant-name parameter use os-project-name instead of os-tenant-name https://docs.openstack.org/python-openstackclient/ussuri/cli/man/openstack.html Change-Id: Ibf17424c49118b4c3b7e621e04b43c8cdcf308a4 --- ansible/roles/nova-cell/tasks/discover_computes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/nova-cell/tasks/discover_computes.yml b/ansible/roles/nova-cell/tasks/discover_computes.yml index 1f0122ad8f..7a65cbf908 100644 --- a/ansible/roles/nova-cell/tasks/discover_computes.yml +++ b/ansible/roles/nova-cell/tasks/discover_computes.yml @@ -31,7 +31,7 @@ --os-auth-url {{ keystone_admin_url }} --os-identity-api-version 3 --os-project-domain-name {{ openstack_auth.domain_name }} - --os-tenant-name {{ openstack_auth.project_name }} + --os-project-name {{ openstack_auth.project_name }} --os-username {{ openstack_auth.username }} --os-password {{ keystone_admin_password }} --os-user-domain-name {{ openstack_auth.domain_name }}