Я установил среду для openstack:
cat ~/.openstack/openrc.sh
export OS_CLOUD=mycloud
export OS_USERNAME=myuser
export OS_PASSWORD=mypass
Определить OS_CLOUD
так как:
mycloud:
identity_api_version: "3"
region_name: RegionOne
verify: False
auth:
auth_url: https://[IP]:5000/v3
user_domain_name: "Default"
project_name: "myproject"
project_domain_name: "default"
Исходный код openrc.sh:
$ source ~/.openstack/openrc.sh
$ cinder list
ERROR: You must provide a tenant_name, tenant_id, project_id or project_name (with project_domain_name or project_domain_id) via --os-tenant-name (env[OS_TENANT_NAME]), --os-tenant-id (env[OS_TENANT_ID]), --os-project-id (env[OS_PROJECT_ID]) --os-project-name (env[OS_PROJECT_NAME]), --os-project-domain-id (env[OS_PROJECT_DOMAIN_ID]) --os-project-domain-name (env[OS_PROJECT_DOMAIN_NAME])
Он по-прежнему просит меня предоставить tenant_name, tenant_id, project_id или project_name. Зачем?