Deployment fails when MongoDB runs on a different node than controller with missing bootstrap_nodeid hiera
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Emilien Macchi |
Bug Description
Deployment fails when MongoDB runs on a different node than controller with missing bootstrap_nodeid hiera:
[stack@undercloud ~]$ cat templates/
source ~/stackrc
#export THT=/usr/
export THT=~/templates
openstack overcloud deploy --templates $THT \
-e $THT/environmen
-e $THT/environmen
-e ~/templates/
-e $THT/environmen
-e ~/templates/
--control-scale 3 \
--control-flavor controller \
--compute-scale 1 \
--compute-flavor compute \
--block-
--block-
--ntp-server clock.redhat.com
[stack@undercloud ~]$ cat templates/
parameter_defaults:
ControllerSer
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::Tripleo:
- OS::TripleO:
- OS::TripleO:
BlockStorageS
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::Tripleo:
- OS::Tripleo:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
Deployment fails with:
vercloud.
resource_type: OS::Heat:
physical_
status: CREATE_FAILED
status_reason: |
Error: resources[1]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 1
deploy_stdout: |
deploy_stderr: |
exception: connect failed
Error: Could not find data item bootstrap_nodeid in any Hiera data file and no default supplied at /etc/puppet/
Error: Could not find data item bootstrap_nodeid in any Hiera data file and no default supplied at /etc/puppet/
overcloud.
resource_type: OS::Heat:
physical_
status: CREATE_FAILED
status_reason: |
Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 1
deploy_stdout: |
deploy_stderr: |
exception: connect failed
Error: Could not find data item bootstrap_nodeid in any Hiera data file and no default supplied at /etc/puppet/
Error: Could not find data item bootstrap_nodeid in any Hiera data file and no default supplied at /etc/puppet/
overcloud.
resource_type: OS::Heat:
physical_
status: CREATE_FAILED
status_reason: |
Error: resources[2]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 1
deploy_stdout: |
deploy_stderr: |
exception: connect failed
Error: Could not find data item bootstrap_nodeid in any Hiera data file and no default supplied at /etc/puppet/
Error: Could not find data item bootstrap_nodeid in any Hiera data file and no default supplied at /etc/puppet/
overcloud.
resource_type: OS::Heat:
physical_
status: CREATE_FAILED
status_reason: |
CREATE aborted
deploy_stdout: |
None
deploy_stderr: |
None
Changed in tripleo: | |
assignee: | Steven Hardy (shardy) → Juan Antonio Osorio Robles (juan-osorio-robles) |
Changed in tripleo: | |
assignee: | Juan Antonio Osorio Robles (juan-osorio-robles) → Emilien Macchi (emilienm) |
The same error shows up for Heat:
Error: Could not find data item bootstrap_nodeid in any Hiera data file and no default supplied at /etc/puppet/ modules/ tripleo/ manifests/ profile/ base/heat. pp:43 on node overcloud- blockstorage- 2.localdomain