Fuel 6.0 failed bootstrap admin node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
New
|
Undecided
|
Unassigned |
Bug Description
VERSION:
feature_groups:
- mirantis
- experimental
production: "docker"
release: "6.0"
api: "1.0"
build_number: "58"
We encountered bootstrap admin node failure, error reported in /var/log/
/////LOG/////
Error: Could not run: Could not find file /etc/puppet/
rmdir: failed to remove `/var/log/remote': No such file or directory
/usr/local/
ERROR: Fuel node deployment FAILED! Check /var/log/
/////////
Then we found in anaconda-
/////LOG/////
+ SOURCE=/tmp/source
+ FS=/tmp/fs
++ cat /tmp/source/
cat: /tmp/source/
+ OPENSTACK_VERSION=
/////////
ROOT CAUSE:
In ks.cfg starting from line 360, we found post configure script is trying to get 'OPENSTACK_VERSION' before mount usb stick.
/////////
SOURCE=/tmp/source
FS=/tmp/fs
OPENSTACK_
echo
mkdir -p ${SOURCE}
mkdir -p ${FS}
if test -e /dev/disk/
mount /dev/disk/
mount -o loop ${FS}/nailgun.iso ${SOURCE}
fi
/////////
So that 'OPENSTACK_VERSION' will be empty, then script will try to decompress puppet module file to non-exist folder incorrectly. This will leading to report error logs above and cause bootstrap failed.
/////////
mkdir -p /etc/puppet/
mkdir -p /etc/puppet/
rm -rf /etc/puppet/
# TODO(ikalnitsky): investigate why we need this
cp ${SOURCE}
# place modules and manifests
tar zxf ${SOURCE}
/////////