Problems building Rocky from Ansible (Horizon Error)

asked 2019-02-27 05:48:19 -0500

obz gravatar image

Hi All,

So I am in the process of building Rocky openstack using openstack-ansible (Latest HEAD revision from stable/rocky branch), with the openstack RDO repo, and following the openstack ansible docs.

I have set the config to match my system setup, and am using "distro" packages rather than the source ones. The first two builds (setup-hosts, and setup-infrastructure) go fine, but the final ansible file (setup-openstack) fails with these errors:

failed: [infra1_horizon_container-8f3a8a28] (item={u'src': u'/usr/share/openstack-dashboard/heat_dashboard/local_settings.d/_1699_orchestration_settings.py', u'state': u'file', u'path': u'/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py'}) => {"changed": false, "item": {"path": "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py", "src": "/usr/share/openstack-dashboard/heat_dashboard/local_settings.d/_1699_orchestration_settings.py", "state": "file"}, "msg": "file (/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py) is absent, cannot continue", "path": "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py", "state": "absent"}
failed: [infra2_horizon_container-7cc6f760] (item={u'src': u'/usr/share/openstack-dashboard/heat_dashboard/local_settings.d/_1699_orchestration_settings.py', u'state': u'file', u'path': u'/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py'}) => {"changed": false, "item": {"path": "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py", "src": "/usr/share/openstack-dashboard/heat_dashboard/local_settings.d/_1699_orchestration_settings.py", "state": "file"}, "msg": "file (/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py) is absent, cannot continue", "path": "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py", "state": "absent"}
failed: [infra3_horizon_container-c0c76f85] (item={u'src': u'/usr/share/openstack-dashboard/heat_dashboard/local_settings.d/_1699_orchestration_settings.py', u'state': u'file', u'path': u'/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py'}) => {"changed": false, "item": {"path": "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py", "src": "/usr/share/openstack-dashboard/heat_dashboard/local_settings.d/_1699_orchestration_settings.py", "state": "file"}, "msg": "file (/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py) is absent, cannot continue", "path": "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py", "state": "absent"}
failed: [infra1_horizon_container-8f3a8a28] (item={u'src': u'/usr/share/openstack-dashboard/heat_dashboard/conf/heat_policy.json', u'state': u'file', u'path': u'/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json'}) => {"changed": false, "item": {"path": "/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json", "src": "/usr/share/openstack-dashboard/heat_dashboard/conf/heat_policy.json", "state": "file"}, "msg": "file (/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json) is absent, cannot continue", "path": "/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json", "state": "absent"}
failed: [infra3_horizon_container-c0c76f85] (item={u'src': u'/usr/share/openstack-dashboard/heat_dashboard/conf/heat_policy.json', u'state': u'file', u'path': u'/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json'}) => {"changed": false, "item": {"path": "/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json", "src": "/usr/share/openstack-dashboard/heat_dashboard/conf/heat_policy.json", "state": "file"}, "msg": "file (/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json) is absent, cannot continue", "path": "/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json", "state": "absent"}
failed: [infra2_horizon_container-7cc6f760] (item={u'src': u'/usr/share/openstack-dashboard/heat_dashboard/conf/heat_policy.json', u'state': u'file', u'path': u'/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json'}) => {"changed": false, "item": {"path": "/usr/share/openstack-dashboard/openstack_dashboard/conf/heat_policy.json", "src": "/usr/share/openstack-dashboard/heat_dashboard/conf ...
(more)
edit retag flag offensive close merge delete