need to provide tenant with option --os-tenant-name
Created by: mariojmdavid
in the example given for the cli one should not need to provide the tenant with --os-tenant-name but I got the error
nova --os-auth-system voms --x509-user-proxy /tmp/x509up_u1000 credentials ERROR (CommandError): You must provide a tenant name or tenant id via --os-tenant-name, --os-tenant-id, env[OS_TENANT_NAME] or env[OS_TENANT_ID]
nova --version 2.20.0 python-novaclient (2.20.0) voms-auth-system-openstack (1.0)
but providing the 'correct' tenant nova --debug --os-auth-system voms --os-tenant-name fedcloud --x509-user-proxy /tmp/x509up_u1000 credentials REQ: curl -i 'https://aurora.ncg.ingrid.pt:5000/v2.0/tokens' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"voms": true, "tenantName": "fedcloud"}}' RESP: [200] {'content-length': '8591', 'vary': 'X-Auth-Token', 'server': 'Apache/2.2.15 (CentOS)', 'connection': 'close', 'date': 'Tue, 21 Oct 2014 15:07:09 GMT', 'content-type': 'application/json'} RESP BODY: {"access": {"token": {"issued_at": "2014-10-21T15:07:09.549914"......
using OS_AUTH_URL=https://aurora.ncg.ingrid.pt:5000/v2.0/ with openstack 2013.2.2-1
Is providing the tenant the correct behaviour? although I don't think so!!
best Mario