Openstack Overcloud Deployment Fails: "cannot load such file -- facter"
Issue
- OSP 13 overcloud deployment fails on Step 1 with the following error:
TASK [Debug output for task: Run puppet host configuration for step 1] *********
fatal: [localhost]: FAILED! => {
"failed_when_result": true,
"outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([]))": [
"cannot load such file -- facter"
]
}
(undercloud) [stack@director ~]$ openstack stack failures list cloud
cloud.AllNodesDeploySteps.ComputeDeployment_Step1.1:
resource_type: OS::Heat::StructuredDeployment
physical_resource_id: 3eddf3f5-5c1f-494f-bdf2-69af583e358a
status: CREATE_FAILED
status_reason: |
Error: resources[1]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
deploy_stdout: |
...
fatal: [localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
...ignoring
TASK [Sync cached facts] *******************************************************
fatal: [localhost -> localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --out-format=<<CHANGED>>%i %n%L /opt/puppetlabs/ /var/lib/container-puppet/puppetlabs/", "msg": "rsync: change_dir \"/opt/puppetlabs\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]\n", "rc": 23}
to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/b068b9ec-8798-4153-9b00-b7c3635505a2_playbook.retry
PLAY RECAP *********************************************************************
localhost : ok=30 changed=13 unreachable=0 failed=1
(truncated, view all with --long)
deploy_stderr: |
cloud.AllNodesDeploySteps.ComputeDeployment_Step1.0:
resource_type: OS::Heat::StructuredDeployment
physical_resource_id: 5b6be144-da8c-4f4f-bc4e-a75f4f9db733
status: CREATE_FAILED
status_reason: |
Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
deploy_stdout: |
...
fatal: [localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
...ignoring
TASK [Sync cached facts] *******************************************************
fatal: [localhost -> localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --out-format=<<CHANGED>>%i %n%L /opt/puppetlabs/ /var/lib/container-puppet/puppetlabs/", "msg": "rsync: change_dir \"/opt/puppetlabs\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]\n", "rc": 23}
to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/11d6ccab-3b1e-4928-9352-753cb0a3b504_playbook.retry
PLAY RECAP *********************************************************************
localhost : ok=30 changed=13 unreachable=0 failed=1
(truncated, view all with --long)
deploy_stderr: |
cloud.AllNodesDeploySteps.ControllerDeployment_Step1.0:
resource_type: OS::Heat::StructuredDeployment
physical_resource_id: 2810922e-1aca-4fdf-aa77-eea6f62c9ad1
status: CREATE_FAILED
status_reason: |
Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
deploy_stdout: |
...
fatal: [localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
...ignoring
TASK [Sync cached facts] *******************************************************
fatal: [localhost -> localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --out-format=<<CHANGED>>%i %n%L /opt/puppetlabs/ /var/lib/container-puppet/puppetlabs/", "msg": "rsync: change_dir \"/opt/puppetlabs\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]\n", "rc": 23}
to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/02398ed4-07af-4ae3-aaf9-5ec332a7b504_playbook.retry
PLAY RECAP *********************************************************************
localhost : ok=32 changed=13 unreachable=0 failed=1
(truncated, view all with --long)
deploy_stderr: |
Environment
- Red Hat Openstack Platform 13
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.