[rdo-users] Tripleo Undercloud deploy failes on rsyslogd centos 7

Pradeep Pal pspal83 at gmail.com
Sun Jul 19 16:33:03 UTC 2020


Hi,

I have tried to install OpenStack via TripleO (Rocky), but always getting
the error below.

Please help me to solve this problem, I have read many docs but how to fix
it No idea found.

TASK [Restart rsyslogd service after logging conf change]
***************************************************************************************************
fatal: [mgmt01]: FAILED! => {"msg": "The conditional check
'logconfig|changed' failed. The error was: template error while templating
string: no filter named 'changed'. String: {% if logconfig|changed %} True
{% else %} False {% endif %}\n\nThe error appears to be in
'/home/stack/undercloud-ansible-ibPUGS/Undercloud/host_prep_tasks.yaml':
line 664, column 5, but may\nbe elsewhere in the file depending on the
exact syntax problem.\n\nThe offending line appears to be:\n\n    register:
logconfig\n  - name: Restart rsyslogd service after logging conf change\n
 ^ here\n"}

NO MORE HOSTS LEFT
******************************************************************************************************************************************

PLAY RECAP
**************************************************************************************************************************************************
mgmt01                     : ok=185  changed=53   unreachable=0    failed=1
   skipped=164  rescued=0    ignored=1

Sunday 19 July 2020  21:45:12 +0530 (0:00:00.031)       0:01:34.752
***********
===============================================================================
Ensure system is NTP time synced
---------------------------------------------------------------------------------------------------------------------
7.47s
Run async deployment NetworkDeployment
---------------------------------------------------------------------------------------------------------------
4.05s
Run deployment UndercloudAllNodesDeployment
----------------------------------------------------------------------------------------------------------
2.11s
Run deployment UndercloudDeployment
------------------------------------------------------------------------------------------------------------------
2.09s
Run deployment InstanceIdDeployment
------------------------------------------------------------------------------------------------------------------
2.08s
Run deployment UndercloudAllNodesValidationDeployment
------------------------------------------------------------------------------------------------
1.92s
Run deployment HostsEntryDeployment
------------------------------------------------------------------------------------------------------------------
1.71s
Run deployment UndercloudPreDeployment
---------------------------------------------------------------------------------------------------------------
1.68s
Run deployment UndercloudHostsDeployment
-------------------------------------------------------------------------------------------------------------
1.68s
Run deployment UndercloudArtifactsDeploy
-------------------------------------------------------------------------------------------------------------
1.67s
tripleo-bootstrap : Deploy required packages to bootstrap TripleO
------------------------------------------------------------------------------------
1.59s
Remove dracut-config-generic
-------------------------------------------------------------------------------------------------------------------------
1.15s
container-registry : Install Docker
------------------------------------------------------------------------------------------------------------------
1.13s
Install ntpdate
--------------------------------------------------------------------------------------------------------------------------------------
1.13s
container-registry : ensure docker-distribution is installed
-----------------------------------------------------------------------------------------
1.10s
Render deployment file for UndercloudDeployment
------------------------------------------------------------------------------------------------------
0.97s
container-registry : Start Docker daemon
-------------------------------------------------------------------------------------------------------------
0.89s
tripleo-bootstrap : Check required packages are installed
--------------------------------------------------------------------------------------------
0.82s
allow logrotate to read inside containers
------------------------------------------------------------------------------------------------------------
0.78s
tripleo-ssh-known-hosts : Write temporary file
-------------------------------------------------------------------------------------------------------
0.76s
Exception: Deployment failed
Traceback (most recent call last):
  File
"/usr/lib/python2.7/site-packages/tripleoclient/v1/tripleo_deploy.py", line
1217, in _standalone_deploy
    raise exceptions.DeploymentError('Deployment failed')
DeploymentError: Deployment failed
None
Install artifact is located at
/home/stack/undercloud-install-20200719161512.tar.bzip2

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Deployment Failed!

ERROR: Heat log files: /var/log/heat-launcher/undercloud_deploy-mzrbrN

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Deployment failed.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

An error has occured while deploying the Undercloud.

See the previous output for details about what went wrong.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Command '['sudo', '--preserve-env', 'openstack', 'tripleo', 'deploy',
'--standalone', '--standalone-role', 'Undercloud', '--stack', 'undercloud',
'--local-domain=localdomain', '--local-ip=172.31.50.11/24',
'--templates=/usr/share/openstack-tripleo-heat-templates/',
'--heat-native', '-e',
'/usr/share/openstack-tripleo-heat-templates/environments/docker.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/undercloud.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/use-dns-for-vips.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/masquerade-networks.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/ironic-inspector.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/mistral.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/zaqar-swift-backend.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/disable-telemetry.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/tripleo-ui.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/tempest.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/public-tls-undercloud.yaml',
'--public-virtual-ip', '172.31.50.12', '--control-virtual-ip',
'172.31.50.13', '-e',
'/usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-haproxy.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-keepalived.yaml',
'--deployment-user', 'stack', '--output-dir=/home/stack', '--cleanup',
'-e',
'/home/stack/tripleo-config-generated-env-files/undercloud_parameters.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/tripleo-validations.yaml',
'--log-file=install-undercloud.log', '-e',
'/usr/share/openstack-tripleo-heat-templates/undercloud-stack-vstate-dropin.yaml']'
returned non-zero exit status 1
Command '['sudo', '--preserve-env', 'openstack', 'tripleo', 'deploy',
'--standalone', '--standalone-role', 'Undercloud', '--stack', 'undercloud',
'--local-domain=localdomain', '--local-ip=172.31.50.11/24',
'--templates=/usr/share/openstack-tripleo-heat-templates/',
'--heat-native', '-e',
'/usr/share/openstack-tripleo-heat-templates/environments/docker.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/undercloud.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/use-dns-for-vips.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/masquerade-networks.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/ironic-inspector.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/mistral.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/zaqar-swift-backend.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/disable-telemetry.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/tripleo-ui.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/tempest.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/public-tls-undercloud.yaml',
'--public-virtual-ip', '172.31.50.12', '--control-virtual-ip',
'172.31.50.13', '-e',
'/usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-haproxy.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-keepalived.yaml',
'--deployment-user', 'stack', '--output-dir=/home/stack', '--cleanup',
'-e',
'/home/stack/tripleo-config-generated-env-files/undercloud_parameters.yaml',
'-e',
'/usr/share/openstack-tripleo-heat-templates/environments/tripleo-validations.yaml',
'--log-file=install-undercloud.log', '-e',
'/usr/share/openstack-tripleo-heat-templates/undercloud-stack-vstate-dropin.yaml']'
returned non-zero exit status 1

-- 
Thanks & Regards
Pradeep Pal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20200719/8fc04eff/attachment.html>


More information about the users mailing list