failed to Bootstraping the mongodb replication set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi Guys:
I met the following error when deploy after destroy previous deployment with no clean image.
TASK [mongodb : include] *******
included: /opt/kolla-
TASK [mongodb : Starting mongodb bootstrap container] *******
changed: [kode1]
changed: [kode0]
changed: [kode2]
TASK [mongodb : include] *******
included: /opt/kolla-
TASK [mongodb : Starting mongodb container] *******
changed: [kode1]
changed: [kode2]
changed: [kode0]
TASK [mongodb : Waiting for the mongodb startup] *******
ok: [kode0]
ok: [kode1]
ok: [kode2]
TASK [mongodb : Checking current replication status] *******
ok: [kode0 -> kode0]
TASK [mongodb : include] *******
included: /opt/kolla-
TASK [mongodb : Copying the mongodb replication set bootstrap script] **********
changed: [kode0 -> localhost]
TASK [mongodb : Bootstraping the mongodb replication set] *******
fatal: [kode0 -> kode0]: FAILED! => {"changed": true, "cmd": ["docker", "exec", "-t", "mongodb", "mongo", "192.168.102.20", "--quiet", "--eval", "printjson(
NO MORE HOSTS LEFT *******
to retry, use: --limit @/opt/kolla-
PLAY RECAP *******
kode0 : ok=181 changed=103 unreachable=0 failed=1
kode1 : ok=201 changed=118 unreachable=0 failed=0
kode2 : ok=154 changed=83 unreachable=0 failed=0
kode3 : ok=66 changed=44 unreachable=0 failed=0
kode4 : ok=85 changed=56 unreachable=0 failed=0
kode5 : ok=57 changed=35 unreachable=0 failed=0
Changed in kolla: | |
status: | New → Invalid |
my destroy operation is as following:
[root@kola bgi]# ./07-destroy.sh ansible/ inventory/ openstack -e @/etc/kolla/ globals. yml -e @/etc/kolla/ passwords. yml -e CONFIG_ DIR=/etc/ kolla /opt/kolla- openstack/ kolla-ansible/ ansible/ destroy. yml
Destroy Kolla containers, volumes and host configuration : ansible-playbook -i /etc/kolla/
PLAY [Apply role destroy] ******* ******* ******* ******* ******* ******* ******* *****
TASK [setup] ******* ******* ******* ******* ******* ******* ******* ******* ******* ****
ok: [kode0]
ok: [kode4]
ok: [kode5]
ok: [kode3]
ok: [kode2]
ok: [kode1]
TASK [destroy : Creating /kolla- cleanup/ tools directory on node] ***************
ok: [kode4]
ok: [kode1]
ok: [kode0]
ok: [kode5]
ok: [kode3]
ok: [kode2]
TASK [destroy : Copying validate- docker- execute. sh file] ******* ******* ******* **
ok: [kode2]
ok: [kode0]
ok: [kode1]
ok: [kode4]
ok: [kode5]
ok: [kode3]
TASK [destroy : Copying cleanup-containers file] ******* ******* ******* ******* ***
ok: [kode1]
ok: [kode2]
ok: [kode4]
ok: [kode0]
ok: [kode5]
ok: [kode3]
TASK [destroy : Copying cleanup-host file] ******* ******* ******* ******* ******* **
ok: [kode2]
ok: [kode1]
ok: [kode4]
ok: [kode5]
ok: [kode0]
ok: [kode3]
TASK [destroy : Copying cleanup-images file] ******* ******* ******* ******* *******
skipping: [kode1]
skipping: [kode0]
skipping: [kode2]
skipping: [kode4]
skipping: [kode5]
skipping: [kode3]
TASK [destroy : Destroying all Kolla containers and volumes] *******************
changed: [kode5]
changed: [kode3]
changed: [kode4]
changed: [kode2]
changed: [kode0]
changed: [kode1]
TASK [destroy : Removing Kolla images] ******* ******* ******* ******* ******* ******
skipping: [kode0]
skipping: [kode1]
skipping: [kode2]
skipping: [kode4]
skipping: [kode5]
skipping: [kode3]
TASK [destroy : Destroying Kolla host configuration] ******* ******* ******* ******
changed: [kode0]
changed: [kode1]
changed: [kode2]
changed: [kode5]
changed: [kode4]
changed: [kode3]
TASK [destroy : Destroying kolla-cleanup folder] ******* ******* ******* ******* ***
changed: [kode2]
changed: [kode0]
changed: [kode4]
changed: [kode1]
changed: [kode5]
changed: [kode3]
PLAY RECAP ******* ******* ******* ******* ******* ******* ******* ******* ******* ******
kode0 : ok=8 changed=3 unreachable=0 failed=0
kode1 : ok=8 changed=3 unreachable=0 failed=0
kode2 : ok=8 changed=3 unreachable=0 failed=0
kode3 : ok=8 changed=3 unreachable=0 failed=0
kode4 : ok=8 changed=3 unreachable=0 failed=0
kode5 : ok=8 changed=3 unreachable=0 failed=0