Setup rabbit user/pass for keystone
It is defaulting to guest/guest, and we are removing the guest user in rabbit. So we need to create the user in rabbit as we do for other services as well. Please see: https://git.openstack.org/cgit/openstack/puppet-keystone/tree/manifests/init.pp?h=stable/kilo#n177 Change-Id: I9582d68ca93f2f7b5742523e273ebf6b5a9c0c13
This commit is contained in:
parent
ca91efc958
commit
e55f119ce5
@ -1,5 +1,7 @@
|
|||||||
# class: OpenStack Infra Cloud
|
# class: OpenStack Infra Cloud
|
||||||
class infracloud::controller(
|
class infracloud::controller(
|
||||||
|
# TODO (yolanda): Set this to mandatory. But needs to be optional for tests to pass now
|
||||||
|
$keystone_rabbit_password = 'dummy_pass',
|
||||||
$neutron_rabbit_password,
|
$neutron_rabbit_password,
|
||||||
$nova_rabbit_password,
|
$nova_rabbit_password,
|
||||||
$root_mysql_password,
|
$root_mysql_password,
|
||||||
@ -80,6 +82,10 @@ class infracloud::controller(
|
|||||||
password => $keystone_mysql_password,
|
password => $keystone_mysql_password,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
infracloud::rabbitmq_user { 'keystone':
|
||||||
|
password => $keystone_rabbit_password,
|
||||||
|
}
|
||||||
|
|
||||||
# keystone.conf
|
# keystone.conf
|
||||||
class { '::keystone':
|
class { '::keystone':
|
||||||
database_connection => "mysql://keystone:${keystone_mysql_password}@127.0.0.1/keystone",
|
database_connection => "mysql://keystone:${keystone_mysql_password}@127.0.0.1/keystone",
|
||||||
@ -88,6 +94,9 @@ class infracloud::controller(
|
|||||||
service_name => 'httpd',
|
service_name => 'httpd',
|
||||||
enable_ssl => true,
|
enable_ssl => true,
|
||||||
admin_bind_host => $controller_public_address,
|
admin_bind_host => $controller_public_address,
|
||||||
|
rabbit_userid => 'keystone',
|
||||||
|
rabbit_password => $keystone_rabbit_password,
|
||||||
|
rabbit_host => $controller_management_address,
|
||||||
}
|
}
|
||||||
|
|
||||||
# keystone admin user, projects
|
# keystone admin user, projects
|
||||||
|
Loading…
x
Reference in New Issue
Block a user