bootstrap of admin node fails sometimes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Vladimir Sharshov |
Bug Description
When running bootstrap of admin node sometimes admin node fails to bootstrap unable to load storage containers for some reason
look into /var/log/
VERSION:
mirantis: "yes"
production: "docker"
release: "5.0"
build_number: "179"
build_id: "2014-05-
astute_sha: "3cffebde1e5452
api: "1.0"
fuellib_sha: "c414bd7e49e7cf
api: "1.0"
ostf_sha: "134765fcb5a07d
api: "1.0"
nailgun_sha: "2de1dcf9fa3fc1
api: "1.0"
fuelmain_sha: "95c35c199c2efc
this bug was confirmed on at least 2 environments
the second run of puppet always succeeds
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Vladimir Sharshov (vsharshov) |
the problem seems to be in the fact that docker is not ready to accept build commands right after the command start.
logs show that three containers were not build due to docker daemon unavailability:
Notice: /Stage[ main]/Docker/ Exec[build docker containers] /returns: 2014/05/03 22:50:25 Cannot connect to the Docker daemon. Is 'docker -d' running on this host? main]/Docker/ Exec[build docker containers] /returns: 2014/05/03 22:50:25 Cannot connect to the Docker daemon. Is 'docker -d' running on this host? main]/Docker/ Exec[build docker containers] /returns: 2014/05/03 22:50:25 Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
Notice: /Stage[
Notice: /Stage[
and only the 4th one built successfully
the easiest way is to implement wait cycle using puppet exec and docker utility