rhel-8, ansible-playbook-3 fails to import python3-jinja2 in tripleo deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
Critical
|
Unassigned |
Bug Description
2019-07-18 20:44:22Z [standalone.
2019-07-18 20:44:22Z [standalone.
2019-07-18 20:44:22Z [standalone]: CREATE_COMPLETE Stack CREATE completed successfully
Generating default ansible config file /home/zuul/
** Running ansible deploy tasks **
Traceback (most recent call last):
File "/bin/ansible-
import ansible.constants as C
File "/usr/lib/
from jinja2 import Template
ModuleNotFoundE
Exception: Deployment failed
Traceback (most recent call last):
File "/usr/lib/
raise exceptions.
tripleoclient.
None
Not cleaning working directory /home/zuul/
Not cleaning ansible directory /home/zuul/
Install artifact is located at /home/zuul/
!!!!!!!
Deployment Failed!
ERROR: Heat log files: /var/log/
!!!!!!!
Deployment failed.
[zuul@dhcp-
Python 3.6.8 (default, Jan 11 2019, 02:17:16)
[GCC 8.2.1 20180905 (Red Hat 8.2.1-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from jinja2 import Template
>>> dir(Template)
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_
>>>
[zuul@dhcp-
python3-
[zuul@dhcp-
ansible-
ansible-
ansible-
tripleo-
ansible-
ansible-
ansible-
ansible-
python3-
ceph-ansible-
ansible-
ansible-
attempted w/ some internal updated rpms..
019-07-18 21:14:56Z [standalone. AllNodesDeployS teps.Standalone ExtraConfigPost ]: CREATE_COMPLETE Stack CREATE completed successfully** Downloading standalone ansible.. **
2019-07-18 21:14:57Z [standalone. AllNodesDeployS teps.Standalone ExtraConfigPost ]: CREATE_COMPLETE state changed AllNodesDeployS teps.Standalone PostConfig] : CREATE_IN_PROGRESS state changed AllNodesDeployS teps.Standalone PostConfig] : CREATE_COMPLETE state changed AllNodesDeployS teps]: CREATE_COMPLETE Stack CREATE completed successfully AllNodesDeployS teps]: CREATE_COMPLETE state changed ansible. cfg playbook- 3", line 60, in <module> python3. 6/site- packages/ ansible/ constants. py", line 12, in <module> python3. 6/site- packages/ jinja2/ __init_ _.py", line 33, in <module> python3. 6/site- packages/ jinja2/ environment. py", line 15, in <module> python3. 6/site- packages/ jinja2/ nodes.py" , line 19, in <module> python3. 6/site- packages/ jinja2/ utils.py" , line 647, in <module> rror: No module named 'markupsafe' python3. 6/site- packages/ tripleoclient/ v1/tripleo_ deploy. py", line 1287, in _standalone_deploy DeploymentError ('Deployment failed') exceptions. DeploymentError : Deployment failed tripleo- heat-installer- templates undercloud- ansible- je_v5hfh undercloud- install- 20190718211523. tar.bzip2
2019-07-18 21:14:57Z [standalone.
2019-07-18 21:14:57Z [standalone.
2019-07-18 21:14:57Z [standalone.
2019-07-18 21:14:57Z [standalone.
2019-07-18 21:14:57Z [standalone]: CREATE_COMPLETE Stack CREATE completed successfully
Generating default ansible config file /home/zuul/
** Running ansible deploy tasks **
Traceback (most recent call last):
File "/bin/ansible-
import ansible.constants as C
File "/usr/lib/
from jinja2 import Template
File "/usr/lib/
from jinja2.environment import Environment, Template
File "/usr/lib/
from jinja2 import nodes
File "/usr/lib/
from jinja2.utils import Markup
File "/usr/lib/
from markupsafe import Markup, escape, soft_unicode
ModuleNotFoundE
Exception: Deployment failed
Traceback (most recent call last):
File "/usr/lib/
raise exceptions.
tripleoclient.
None
Not cleaning working directory /home/zuul/
Not cleaning ansible directory /home/zuul/
Install artifact is located at /home/zuul/
!!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!
Deployment Failed!
ERROR: Heat log files: /var/log/ heat-launcher/ undercloud_ deploy- _kvfax0v
!!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!!!!!! !!
Deployment failed. 9-114-101 ~]$ rpm -qa | grep python3-jinja2 jinja2- 2.10-9. el8ost. noarch 9-114-101 ~]$ rpm -qa | grep ansible role-container- registry- 1.0.1-0. 20190625233542. 54526cc. el8.noarch role-chrony- 0.0.1-0. 20190510140854. 494f3c4. el8.noarch role-openstack- operations- 0.0.1-0. 20190531000407. b5debee. el8.noarch ansible- 0.1.1-0. 20190702230730. 1f2a301. el8.noarch role-tripleo- modify- image-1. 0.1-0.201906211 60641.1415b04. el8.noarch 2.8.2-1. el8ae.noarch pacemaker- 1.0.4-0. 20190510134605. 0e4d7c0. el8.noarch role-atos- hsm-0.1. 1-0.20190510140 636.90bb6f6. el8.noarch heat-agent- ansible- 1.9.0-0. 20190625010502. a6b1984. el8.noarch
[zuul@dhcp-
python3-
[zuul@dhcp-
ansible-
ansible-
ansible-
tripleo-
ansible-
ansible-
ansible-
ansible-
python3-
ceph-ans...