Error: /Stage[main]/Nova::Compute/Nova::Generic_service[compute]/Service[nova-compute]: Failed to call refresh: Could not restart Service[nova-compute]: Execution of '/usr/bin/systemctl restart openstack-nova-compute' returned 1: Job for openstack-nova-compute.service failed because the control process exited with error code. See "systemctl status openstack-nova-compute.service" and "journalctl -xe" for details.
Error: /Stage[main]/Nova::Compute/Nova::Generic_service[compute]/Service[nova-compute]: Could not restart Service[nova-compute]: Execution of '/usr/bin/systemctl restart openstack-nova-compute' returned 1: Job for openstack-nova-compute.service failed because the control process exited with error code. See "systemctl status openstack-nova-compute.service" and "journalctl -xe" for details.
I assume this is an ordering issue, we must apply the rabbit password change and then restart nova before the config has been applied with the new password?
Ok so I can confirm the problems described in comment #2 are now fixed, I did the following:
1. Deploy an overcloud with a custom environment file specifying passwords (I got these by grepping in the tht tree so probably incomplete):
[stack@instack ~]$ cat password_env.yaml sword: fooxyz gIfmapUserPassw ord: fooxyz olIfmapUserPass word: fooxyz assword: fooxyz inAdminPassword : fooxyz assword: fooxyz InstancePasswor d: fooxyz bitPassword: fooxyz heckPassword: fooxyz word: fooxyz SDPassword: fooxyz assword: fooxyz ewayPassword: fooxyz UserPassword: fooxyz
parameter_defaults:
AdminPassword: fooxyz
AodhPassword: fooxyz
BarbicanPassword: fooxyz
CeilometerPas
CinderPassword: fooxyz
ContrailConfi
ContrailContr
GlancePassword: fooxyz
GnocchiPassword: fooxyz
HAProxyStatsP
HeatPassword: fooxyz
HeatStackDoma
IronicPassword: fooxyz
ManilaNetappP
ManilaPassword: fooxyz
ManilaService
MistralPassword: fooxyz
MonitoringRab
MysqlClusterc
MysqlRootPass
NeutronNuageV
NeutronPassword: fooxyz
NovaPassword: fooxyz
OpenDaylightP
PcsdPassword: fooxyz
PLUMgridL2Gat
PLUMgridPassword: fooxyz
RabbitPassword: fooxyz
RedisPassword: fooxyz
SaharaPassword: fooxyz
SnmpdReadonly
SwiftPassword: fooxyz
openstack overcloud deploy --templates /tmp/tripleo- heat-templates/ -e password_env.yaml
We can see that the password is now set as expected on the nodes:
[root@overcloud -controller- 0 etc]# grep fooxyz heat/heat.conf admin_password = fooxyz //heat: fooxyz@ 192.0.2. 8/heat -controller- 0 etc]# grep fooxyz nova/nova.conf mysql+pymysql: //nova_ api:fooxyz@ 192.0.2. 8/nova_ api password= fooxyz mysql+pymysql: //nova: fooxyz@ 192.0.2. 8/nova
stack_domain_
connection = mysql+pymysql:
rabbit_password = fooxyz
password = fooxyz
password=fooxyz
[root@overcloud
password=fooxyz
password=fooxyz
connection=
rabbit_
connection=
However, if I s/xyz/abc in the password environment, and deploy again to update the existing stack:
openstack overcloud deploy --templates /tmp/tripleo- heat-templates/ -e password_env.yaml
We then see:
Error: /Stage[ main]/Nova: :Compute/ Nova::Generic_ service[ compute] /Service[ nova-compute] : Failed to call refresh: Could not restart Service[ nova-compute] : Execution of '/usr/bin/systemctl restart openstack- nova-compute' returned 1: Job for openstack- nova-compute. service failed because the control process exited with error code. See "systemctl status openstack- nova-compute. service" and "journalctl -xe" for details. main]/Nova: :Compute/ Nova::Generic_ service[ compute] /Service[ nova-compute] : Could not restart Service[ nova-compute] : Execution of '/usr/bin/systemctl restart openstack- nova-compute' returned 1: Job for openstack- nova-compute. service failed because the control process exited with error code. See "systemctl status openstack- nova-compute. service" and "journalctl -xe" for details.
Error: /Stage[
I assume this is an ordering issue, we must apply the rabbit password change and then restart nova before the config has been applied with the new password?