Nova: Enable service token
Now service token is required so that nova can update volume attachments in cinder. Resolves: rhbz#2228733 Change-Id: I2e873f82245ff4b1e64f2d3fbb2589e03abda8d9
This commit is contained in:
parent
6b2c4c9899
commit
953e020ed1
|
@ -7,6 +7,7 @@ class packstack::keystone::nova ()
|
|||
|
||||
|
||||
class { 'nova::keystone::auth':
|
||||
roles => ['admin', 'service'],
|
||||
region => lookup('CONFIG_KEYSTONE_REGION'),
|
||||
password => lookup('CONFIG_NOVA_KS_PW'),
|
||||
public_url => $nova_url,
|
||||
|
|
|
@ -84,4 +84,12 @@ class packstack::nova ()
|
|||
key => $key,
|
||||
}
|
||||
|
||||
$admin_password = lookup('CONFIG_NOVA_KS_PW')
|
||||
|
||||
class { 'nova::keystone::service_user':
|
||||
send_service_user_token => true,
|
||||
password => $admin_password,
|
||||
auth_url => lookup('CONFIG_KEYSTONE_ADMIN_URL'),
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue