[tripleo] Unable to deploy Overcloud Nodes
Anirudh Gupta
anyrude10 at gmail.com
Wed Oct 13 08:02:02 UTC 2021
Hi Team,
As per the link below, While executing the command to deploy the overcloud
nodes
https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/install_overcloud.html#deploy-the-overcloud
I am executing the command
- openstack overcloud deploy --templates
On running this command, I am getting the following error
*ERROR: (pymysql.err.OperationalError) (1045, "Access denied for user
'heat'@'10.255.255.4' (using password: YES)")(Background on this error at:
http://sqlalche.me/e/e3q8 <http://sqlalche.me/e/e3q8>)*
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud [-] Exception occured
while running the command: subprocess.CalledProcessError: Command '['sudo',
'podman', 'run', '--rm', '--user', 'heat', '--volume',
'/home/stack/overcloud-deploy/overcloud/heat-launcher/heat.conf:/etc/heat/heat.conf:z',
'--volume',
'/home/stack/overcloud-deploy/overcloud/heat-launcher:/home/stack/overcloud-deploy/overcloud/heat-launcher:z',
'localhost/tripleo/openstack-heat-api:ephemeral', 'heat-manage',
'db_sync']' returned non-zero exit status 1.
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud Traceback (most recent
call last):
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud File
"/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 34, in run
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud super(Command,
self).run(parsed_args)
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud File
"/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 39, in
run
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud return super(Command,
self).run(parsed_args)
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud File
"/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud return_code =
self.take_action(parsed_args) or 0
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud File
"/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py",
line 1277, in take_action
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud
self.setup_ephemeral_heat(parsed_args)
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud File
"/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py",
line 767, in setup_ephemeral_heat
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud
utils.launch_heat(self.heat_launcher, restore_db=restore_db)
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud File
"/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 2706, in
launch_heat
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud
launcher.heat_db_sync(restore_db)
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud File
"/usr/lib/python3.6/site-packages/tripleoclient/heat_launcher.py", line
530, in heat_db_sync
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud
subprocess.check_call(cmd)
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud File
"/usr/lib64/python3.6/subprocess.py", line 311, in check_call
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud raise
CalledProcessError(retcode, cmd)
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud
subprocess.CalledProcessError: Command '['sudo', 'podman', 'run', '--rm',
'--user', 'heat', '--volume',
'/home/stack/overcloud-deploy/overcloud/heat-launcher/heat.conf:/etc/heat/heat.conf:z',
'--volume',
'/home/stack/overcloud-deploy/overcloud/heat-launcher:/home/stack/overcloud-deploy/overcloud/heat-launcher:z',
'localhost/tripleo/openstack-heat-api:ephemeral', 'heat-manage',
'db_sync']' returned non-zero exit status 1.
2021-10-13 05:46:28.390 183680 ERROR
tripleoclient.v1.overcloud_deploy.DeployOvercloud
2021-10-13 05:46:28.400 183680 ERROR openstack [-] Command '['sudo',
'podman', 'run', '--rm', '--user', 'heat', '--volume',
'/home/stack/overcloud-deploy/overcloud/heat-launcher/heat.conf:/etc/heat/heat.conf:z',
'--volume',
'/home/stack/overcloud-deploy/overcloud/heat-launcher:/home/stack/overcloud-deploy/overcloud/heat-launcher:z',
'localhost/tripleo/openstack-heat-api:ephemeral', 'heat-manage',
'db_sync']' returned non-zero exit status 1.:
subprocess.CalledProcessError: Command '['sudo', 'podman', 'run', '--rm',
'--user', 'heat', '--volume',
'/home/stack/overcloud-deploy/overcloud/heat-launcher/heat.conf:/etc/heat/heat.conf:z',
'--volume',
'/home/stack/overcloud-deploy/overcloud/heat-launcher:/home/stack/overcloud-deploy/overcloud/heat-launcher:z',
'localhost/tripleo/openstack-heat-api:ephemeral', 'heat-manage',
'db_sync']' returned non-zero exit status 1.
2021-10-13 05:46:28.401 183680 INFO osc_lib.shell [-] END return value: 1
Can someone please help in resolving this issue.
Are there any parameters, templates that need to be passed in order to make
it work.
Regards
Anirudh Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211013/3289cac8/attachment-0001.htm>
More information about the openstack-discuss
mailing list