Add username parameter for rabbit
Username is currently assumed to be guest in the configuration files. This change makes it more explicit. Configuration files in tripleo-image-elements will be updated to use this parameter in an upcoming patch. Change-Id: Ia176f4d573a3a293560c72236a4181befa678301
This commit is contained in:
parent
5577ae61ec
commit
ff0959a200
@ -13,6 +13,9 @@ Parameters:
|
||||
RabbitHost:
|
||||
Type: String
|
||||
Default: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [notCompute0, networks]} ]} ] }
|
||||
RabbitUserName:
|
||||
Type: String
|
||||
Default: "guest"
|
||||
RabbitPassword:
|
||||
Type: String
|
||||
Default: "guest"
|
||||
@ -59,6 +62,7 @@ Resources:
|
||||
admin-password: {Ref: AdminPassword}
|
||||
rabbit:
|
||||
host: {Ref: RabbitHost}
|
||||
username: {Ref: RabbitUserName}
|
||||
password: {Ref: RabbitPassword}
|
||||
interfaces:
|
||||
control: {Ref: NeutronPublicInterface}
|
||||
|
@ -23,6 +23,7 @@ Resources:
|
||||
SubKey: Resources.NovaCompute0Config
|
||||
Parameters:
|
||||
ComputeImage: "123"
|
||||
RabbitUserName: "guest"
|
||||
RabbitPassword: "guest"
|
||||
NovaCompute0:
|
||||
Type: FileInclude
|
||||
|
@ -2,6 +2,8 @@ HeatTemplateFormatVersion: '2012-12-12'
|
||||
Parameters:
|
||||
ComputeImage:
|
||||
Type: String
|
||||
RabbitUserName:
|
||||
Type: String
|
||||
RabbitPassword:
|
||||
Type: String
|
||||
NoEcho: true
|
||||
@ -62,5 +64,6 @@ Resources:
|
||||
- NovaCompute0
|
||||
- networks
|
||||
rabbit:
|
||||
username: {Ref: RabbitUserName}
|
||||
password: {Ref: RabbitPassword}
|
||||
|
||||
|
@ -65,6 +65,8 @@ Parameters:
|
||||
Description: Password for RabbitMQ
|
||||
Type: String
|
||||
NoEcho: true
|
||||
RabbitUserName:
|
||||
Type: String
|
||||
RabbitPassword:
|
||||
Type: String
|
||||
NoEcho: true
|
||||
@ -180,10 +182,13 @@ Resources:
|
||||
rabbit:
|
||||
host:
|
||||
'127.0.0.1'
|
||||
username:
|
||||
Ref: RabbitUserName
|
||||
password:
|
||||
Ref: RabbitPassword
|
||||
users:
|
||||
username: guest
|
||||
username:
|
||||
Ref: RabbitUserName
|
||||
password:
|
||||
Ref: RabbitPassword
|
||||
service-password:
|
||||
|
@ -22,6 +22,8 @@ Parameters:
|
||||
Type: String
|
||||
RabbitHost:
|
||||
Type: String
|
||||
RabbitUserName:
|
||||
Type: String
|
||||
RabbitPassword:
|
||||
Type: String
|
||||
NoEcho: true
|
||||
@ -54,6 +56,7 @@ Resources:
|
||||
ServicePassword: {Ref: ServicePassword}
|
||||
NeutronHost: {Ref: NeutronHost}
|
||||
RabbitHost: {Ref: RabbitHost}
|
||||
RabbitUserName: {Ref: RabbitUserName}
|
||||
RabbitPassword: {Ref: RabbitPassword}
|
||||
NovaInterfaces: {Ref: NovaInterfaces}
|
||||
NovaComputeDriver: {Ref: NovaComputeDriver}
|
||||
|
@ -39,6 +39,8 @@ Parameters:
|
||||
Type: String
|
||||
RabbitHost:
|
||||
Type: String
|
||||
RabbitUserName:
|
||||
Type: String
|
||||
RabbitPassword:
|
||||
Type: String
|
||||
NoEcho: true
|
||||
@ -189,4 +191,5 @@ Resources:
|
||||
admin-password: {Ref: AdminPassword}
|
||||
rabbit:
|
||||
host: {Ref: RabbitHost}
|
||||
username: {Ref: RabbitUserName}
|
||||
password: {Ref: RabbitPassword}
|
||||
|
@ -115,6 +115,15 @@ Parameters:
|
||||
NtpServer:
|
||||
Type: String
|
||||
Default: ''
|
||||
RabbitUserName:
|
||||
Default: guest
|
||||
Description: The username for RabbitMQ
|
||||
Type: String
|
||||
RabbitPassword:
|
||||
Default: guest
|
||||
Description: The password for RabbitMQ
|
||||
Type: String
|
||||
NoEcho: true
|
||||
StaticHosts:
|
||||
Default:
|
||||
Fn::Join:
|
||||
@ -197,7 +206,6 @@ Resources:
|
||||
Ref: HypervisorNeutronPublicInterface
|
||||
NeutronBridgeMappings:
|
||||
Ref: NeutronBridgeMappings
|
||||
RabbitPassword: "guest"
|
||||
StaticHosts:
|
||||
Ref: StaticHosts
|
||||
NovaCompute0:
|
||||
@ -388,7 +396,10 @@ Resources:
|
||||
- Fn::GetAtt:
|
||||
- notCompute0
|
||||
- networks
|
||||
password: guest
|
||||
username:
|
||||
Ref: RabbitUserName
|
||||
password:
|
||||
Ref: RabbitPassword
|
||||
ntp:
|
||||
servers:
|
||||
- {server: {Ref: NtpServer}, fudge: "stratum 0"}
|
||||
|
@ -57,6 +57,15 @@ Parameters:
|
||||
Description: The password for the nova service account, used by nova-api.
|
||||
Type: String
|
||||
NoEcho: true
|
||||
RabbitUserName:
|
||||
Default: guest
|
||||
Description: The username for RabbitMQ
|
||||
Type: String
|
||||
RabbitPassword:
|
||||
Default: guest
|
||||
Description: The password for RabbitMQ
|
||||
Type: String
|
||||
NoEcho: true
|
||||
Resources:
|
||||
AccessPolicy:
|
||||
Properties:
|
||||
@ -165,7 +174,10 @@ Resources:
|
||||
Ref: NeutronPassword
|
||||
rabbit:
|
||||
host: 127.0.0.1
|
||||
password: guest
|
||||
username:
|
||||
Ref: RabbitUserName
|
||||
password:
|
||||
Ref: RabbitPassword
|
||||
undercloud:
|
||||
Type: OS::Nova::Server
|
||||
Properties:
|
||||
|
Loading…
Reference in New Issue
Block a user