diff options
| author | Rohit Jaiswal <rohit.jaiswal@hp.com> | 2015-07-31 05:24:39 +0000 |
|---|---|---|
| committer | Rohit Jaiswal <rohit.jaiswal@hp.com> | 2015-07-31 20:35:20 +0000 |
| commit | 803c59fbc7682dbfbd8f32c191c3e5e45d9fb8ca (patch) | |
| tree | 75147d12b4afa45f22169de7910268489682aa29 /ceilometerclient/shell.py | |
| parent | 09bfc70de417595e3026b0a0e5258de4f7df56fe (diff) | |
| download | python-ceilometerclient-803c59fbc7682dbfbd8f32c191c3e5e45d9fb8ca.tar.gz | |
tenant_id not required with keystone v3
Ceilometer-client requires tenant_id when
authenticating with keystone v3.
This fix removes this requirement.
Change-Id: I36bf3f7a75713976c56dd95b4fd22da4e64d01df
Closes-Bug: 1440463
Diffstat (limited to 'ceilometerclient/shell.py')
| -rw-r--r-- | ceilometerclient/shell.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ceilometerclient/shell.py b/ceilometerclient/shell.py index 23a9dc1..565bd45 100644 --- a/ceilometerclient/shell.py +++ b/ceilometerclient/shell.py @@ -228,12 +228,6 @@ class CeilometerShell(object): "--os-user-domain-id or via " "env[OS_USER_DOMAIN_ID]") - if not (self.auth_plugin.opts['tenant_id'] - or self.auth_plugin.opts['tenant_name']): - raise exc.CommandError("You must provide a tenant_id via " - "either --os-tenant-id or via " - "env[OS_TENANT_ID]") - if not self.auth_plugin.opts['auth_url']: raise exc.CommandError("You must provide an auth url via " "either --os-auth-url or via " |
