[fuel-main] /etc/fuel_build_id should be created during iso build without any conditions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Sergey Kulanov | ||
Mitaka |
Fix Committed
|
High
|
Sergey Kulanov |
Bug Description
We use file /etc/fuel_build_id as the flag for pre-provisioned master node (CentOS) during master node bootstrapping, eg.:
1)
# Disable online base MOS repo if we run an ISO installation
[ -f /etc/fuel_build_id ] && yum-config-manager --disable mos${FUEL_RELEASE}* --save
2)
if [ ! -f /etc/fuel_build_id ]; then
sed -i "s|127.
ln -s ${wwwdir}
This logic always works, because building with jenkins we have defined BUILD_ID variable:
ifdef BUILD_ID
$(BUILD_
$(ISOROOT)
echo "$(BUILD_ID)" > $@
endif
In case if we are building ISO without jenkins or variable BUILD_ID is not defined we are "switching" to online repo usage (preprovisioned master node deployment), which is wrong.
We must always create file fuel_build_id during ISO build
no longer affects: | fuel/mitaka |
no longer affects: | fuel/newton |
Fix proposed to branch: master /review. openstack. org/312874
Review: https:/