Fixup agent re-assignment code for https keystone
This commit is contained in:
parent
a42b2861b8
commit
a9cc57727a
@ -325,8 +325,7 @@ def reassign_agent_resources():
|
||||
''' Try to import neutronclient instead for havana+ '''
|
||||
from neutronclient.v2_0 import client
|
||||
|
||||
# TODO: Fixup for https keystone
|
||||
auth_url = 'http://%(keystone_host)s:%(auth_port)s/v2.0' % env
|
||||
auth_url = '%(auth_protocol)s://%(keystone_host)s:%(auth_port)s/v2.0' % env
|
||||
quantum = client.Client(username=env['service_username'],
|
||||
password=env['service_password'],
|
||||
tenant_name=env['service_tenant'],
|
||||
|
@ -251,7 +251,8 @@ network_context = {
|
||||
'service_tenant': 'baz',
|
||||
'region': 'foo-bar',
|
||||
'keystone_host': 'keystone',
|
||||
'auth_port': 5000
|
||||
'auth_port': 5000,
|
||||
'auth_protocol': 'https'
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user