openstack overcloud deploy --plan-environment-file override is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
John Fulton |
Bug Description
Deployment fails when using the --plan-
If you deploy with:
openstack overcloud -v deploy \
-p /usr/share/
Then the deployment will fail with the message below complaining it cannot find the file
/usr/
It looks like the default THT path has been appended even in cases where it shouldn't be.
Omiting the default THT path is not a option to workaround this because if you use -p without /usr/share/
This option is necessary to support derived paramters.
PLAYBOOK: cli-create-
1 plays in /usr/share/
PLAY [Create Deployment Plan] *******
2020-09-01 19:17:16.812980 | 2442011c-
m environment
2020-09-01 19:17:16.848304 | 2442011c-
m environment | localhost | result={
"censored": "the output has been hidden due to the fact that 'no_log: true' was specified
for this result",
"changed": false
}
...
2020-09-01 19:17:16.996533 | 2442011c-
nvironment if does not exit
2020-09-01 19:17:16.997035 | 2442011c-
t templates | 0:00:00.238 | 0.03s
Using module file /usr/lib/
y
Pipelining is enabled.
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: stack
<127.0.0.1> EXEC /bin/sh -c '/usr/libexec/
The full traceback is:
Traceback (most recent call last):
File "<stdin>", line 102, in <module>
File "<stdin>", line 94, in _ansiballz_main
File "<stdin>", line 40, in invoke_module
File "/usr/lib64/
return _run_module_
File "/usr/lib64/
mod_name, mod_spec, pkg_name, script_name)
File "/usr/lib64/
exec(code, run_globals)
File "/tmp/ansible_
cloud/openstack
File "/tmp/ansible_
cloud/openstack
File "/tmp/ansible_
cloud/openstack
File "/usr/lib/
ject_stale
(file_md5, file_sha256) = self._get_
File "/usr/lib/
file_hashes
mtime=
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/
plates/
s.yaml'
2020-09-01 19:17:18.423153 | 2442011c-
nvironment if does not exit | localhost | error={
"changed": false,
"module_
dule>\n File \"<stdin>\", line 94, in _ansiballz_main\n File \"<stdin>\", line 40, in invoke
_module\n File \"/usr/
dule_code(code, init_globals, run_name, mod_spec)\n File \"/usr/
ine 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File \"/usr/lib
64/python3.
ible_os_
os_object.py\", line 125, in <module>\n File \"/tmp/
e_os_object_
ile \"/tmp/
oud/openstack/
kages/openstack
a256) = self._get_
loud/_object_
nFileNotFoundError: [Errno 2] No such file or directory: '/usr/share/
mplates/
ms.yaml'\n",
"module_
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
Changed in tripleo: | |
assignee: | John Fulton (jfulton-org) → Alex Schultz (alex-schultz) |
Changed in tripleo: | |
assignee: | Alex Schultz (alex-schultz) → John Fulton (jfulton-org) |
Fix proposed to branch: master /review. opendev. org/749416
Review: https:/