--template <path-to-tht> is broken for standaone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
High
|
Unassigned |
Bug Description
sudo openstack tripleo deploy \
--templates /home/stack/
--local-
--control-
-e /usr/share/
-r /usr/share/
-e /home/stack/
-e /home/stack/
--output-dir /home/stack \
--standalone
jinja2 rendering network template port_from_
jinja2 rendering networks
jinja2 rendering network template port_v6.
jinja2 rendering networks
jinja2 rendering role template role.role.j2.yaml
jinja2 rendering roles Standalone
rendering j2 template to file: /home/stack/
Not cleaning working directory /home/stack/
Not cleaning ansible directory /home/stack/
Install artifact is located at /home/stack/
!!!!!!!
Deployment Failed!
ERROR: Heat log files: /var/log/
!!!!!!!
Exception: Could not fetch contents for file://
Traceback (most recent call last):
File "/usr/lib64/
stats = os.stat(localfile)
FileNotFoundError: [Errno 2] No such file or directory: '/home/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
content = request.
File "/usr/lib64/
return opener.open(url, data, timeout)
File "/usr/lib64/
response = self._open(req, data)
File "/usr/lib64/
'_open', req)
File "/usr/lib64/
result = func(*args)
File "/usr/lib64/
return self.open_
File "/usr/lib64/
raise URLError(exp)
urllib.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
env_
File "/usr/lib/
env_base_url)
File "/usr/lib/
is_
File "/usr/lib/
file_content = utils.read_
File "/usr/lib/
raise exc.CommandErro
heatclient.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/
stats = os.stat(localfile)
FileNotFoundError: [Errno 2] No such file or directory: '/home/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
content = request.
File "/usr/lib64/
return opener.open(url, data, timeout)
File "/usr/lib64/
response = self._open(req, data)
File "/usr/lib64/
'_open', req)
File "/usr/lib64/
result = func(*args)
File "/usr/lib64/
return self.open_
File "/usr/lib64/
raise URLError(exp)
urllib.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
parsed_args)
File "/usr/lib/
cleanup=
File "/usr/lib/
env_
File "/usr/lib/
env_base_url)
File "/usr/lib/
is_
File "/usr/lib/
file_content = utils.read_
File "/usr/lib/
raise exc.CommandErro
heatclient.
None
Could not fetch contents for file://
Changed in tripleo: | |
milestone: | wallaby-3 → wallaby-rc1 |
Changed in tripleo: | |
milestone: | wallaby-rc1 → xena-1 |
Changed in tripleo: | |
milestone: | xena-1 → xena-2 |
Changed in tripleo: | |
milestone: | xena-2 → xena-3 |
Can you pass the path for these 2 files from the rendered templates directory and retry ? openstack- tripleo- heat-templates/ environments/ standalone/ standalone- tripleo. yaml \ openstack- tripleo- heat-templates/ roles/Standalon e.yaml \
~~~
-e /usr/share/
-r /usr/share/
~~~
Also, did you passed the standalone role file to the ./tools/ process- templates. py command while rendering templates ?