When performing a deployment using rhel-registration SoftwareDeployment to register the nodes viah rhsm an error is occurring:
clean_up DeployOvercloud: Action tripleo.parameters.update execution failed: 400 Client Error: Bad Request for url: https://192.168.24.2:13808/usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/scripts/rhel-unregistration
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 25, in run
super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 973, in take_action
self._deploy_tripleo_heat_templates_tmpdir(stack, parsed_args)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 428, in _deploy_tripleo_heat_templates_tmpdir
new_tht_root, tht_root)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 521, in _deploy_tripleo_heat_templates
parsed_args.plan_environment_file)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 536, in _try_overcloud_deploy_with_compat_yaml
plan_env_file)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 285, in _heat_deploy
stack_name, env, moved_files, tht_root)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 361, in _process_and_upload_environment
parameters=params)
File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/parameters.py", line 20, in update_parameters
**input_)
File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/base.py", line 31, in call_action
raise exceptions.WorkflowActionError(action, output)
WorkflowActionError: Action tripleo.parameters.update execution failed: 400 Client Error: Bad Request for url: https://192.168.24.2:13808/usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/scripts/rhel-unregistration
END return value: 1
This seems to be caused by this patch:
https://review.openstack.org/#/c/609456/1
Fix proposed to branch: stable/queens /review. openstack. org/625877
Review: https:/