Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cinder queries require multiple client instances #14

Open
rochaporto opened this issue Jul 25, 2014 · 0 comments
Open

cinder queries require multiple client instances #14

rochaporto opened this issue Jul 25, 2014 · 0 comments

Comments

@rochaporto
Copy link
Owner

This is problematic as we end up with many keystone calls.

Issue is with the limits.get() call in cinderclient not taking the tenant.id.

A workaround that worked for the novaclient was to set the client.tenant_id variable after instantiating the client:
client = NovaClient('2', self.username, self.password, self.tenant, self.auth_url)
for tenant in tenant_list:
# FIX: nasty but works for now (tenant.id not being taken below :()
client.tenant_id = tenant.id

Might work here too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant