Overcloud Deployment fails with Device or resource busy: '/etc/ hosts'
Issue
Overcloud Deployment fails with Device or resource busy: '/etc/ hosts'
2017-12-12 13:14:23Z [overcloud]: CREATE_FAILED Resource CREATE failed: Error: resources.AllNodesDeploySteps.resources.ControllerDeployment_Step1.resources[1]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 2
Stack overcloud CREATE_FAILED
overcloud.AllNodesDeploySteps.ControllerDeployment_Step1.1:
resource_type: OS::Heat::StructuredDeployment
physical_resource_id: f45d29ae-661b-4fa6-8bc7-991460dc58d5
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: |
...
"OSError: [Errno 16] Device or resource busy: '/etc/hosts'",
"stdout: fde4396267aec31110c472de8e49aa483c19136922ac86637815d53add905a1a"
],
"failed_when_result": true
}
to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/cfe332b2-c550-4348-b46d-917acb140897_playbook.retry
PLAY RECAP *********************************************************************
localhost : ok=9 changed=2 unreachable=0 failed=1
Environment
Red Hat OpenStack Platform 12
Red Hat OpenStack Platform 13
Red Hat OpenStack Platform 14
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.