Config fuel_bootstrap_cli.yaml should be updated along with
fuel-bootstrap-cli package update. This config will be modified
later when master node will be configured: http://goo.gl/W36lG4
Change-Id: I4861e429a121b45aa864ec63fe164a03cf2ed74b
Closes-bug: #1620301
Add files required to build Xenial based
bootstrap image. This is for switching to Xenial
in the nearest feature.
blueprint: mos-xenial
Change-Id: I06ee5a036d49c989e977af77dcebd4be01ee7dcd
genisoimage isn't needed anymore since fuel-agent started to produce
non ISO9660 config drive image.
Change-Id: I19beac5a253aa2db5eeb39c018c5bd90ebcefcd6
Related-Bug: #1544818
The fix for the renaming interface used on PXE boot of Ubuntu
bootstrap is in the live-boot_4.0.2-1~u14.04+mos2 package.
We don't need this work-around any more. Related to the
LP #1529631 and LP #1528275.
Depends-On: I7ddc1ac41813747ae0285900a3540f39b89161cb
Change-Id: I4eaca76175e6df308b819c7f06ff057318f3115b
Related-Bug: #1529631
Related-Bug: #1528275
Passing kernel parameters biosdevname=0 and net.ifnames=1 enable
persistant interface naming schema and disable 75-persistent-net-generator.rules
The interface is used for PXE booting is eth0 interface (because it becomes up
the very first).
Since Ubuntu uses Upstart-udev-bridge to communicate to udev the udev events
(renaming interfaces) are processed quite later, when the eth0 interface is
in the UP state and /etc/network/interfaces (config file) has been created.
When udev attempts to rename the eth0 interface it receives "device busy"
message (because eth0 is in UP state).
To let the eth0 interface be renamed the following steps are used in
the /usr/bin/let-rename script:
1. Scan the interfaces to figure out which one is in the active (UP) state and
has not been renamed. Because we have just one PXE interface, we are looking
for that interface (all others in the down state).
2. The state of the found interface is changed to DOWN (release DHCP leases) by the
command:
ifdown $intf
3. The current interface name ($oldname) and MAC address ($macaddr) of the
interface are saved and will be handy later.
4. The udev event (for subsystem net, action add) is issued, which forces
renaming of the eth0 to a new name by the commands:
udevadm trigger --subsystem-match=net --action=add
udevadm settle
5. At that point interface's name (eth0) has been changed and we are looking
for interface which MAC address is equal to the remembered MAC address of
the former eth0. Found new name (of the renamed eth0 interface) is saved in
the $newname variable.
6. Update /etc/network/interfaces (config file) by substituting all $oldname
of the interface to the $newname by the command:
sed -i -e "s/$oldname/$newname/g" /etc/network/interfaces
7. Enabling the renamed interface by the command
ifup $newname
Change-Id: I80d65ba597f4b6361d67a629c4627739afd37116
Implements: blueprint network-interfaces-naming-schema
Closes-Bug: #1524303
* Sync fix-configs-on-startup with fuel-main/bootstrap
* Due wrong permission for trusty/etc\usr folders, after
rsync's files into chroot system - ntp fails to run due Access Denied
error
* fix ubuntu cloud-init hook for ntp.drift
* nailgun-agent runs only from cron
* fix file permission for trusty bootstrap
* add 'psmisc' for fuel-agent requirements
Centos7 don't install it by default, otherwise mcollective
container - which used for IBP
Change-Id: Ifecbc4220df8ae77f7373d4b342aa1e72deb9059
Closes-Bug: #1522406
Move all fuel_bootstrap files under one folder-logic naming
Partially implements: blueprint dynamically-build-bootstrap
Change-Id: I79cecaa006c37207149e5ae9cf85c9aad3da71c0
Since we are not going to deploy OpenStack under CentOS for now,
we can remove ironic-fa-deploy RPM package from repo
Related-bug: #1460480
Change-Id: Ifa133feada71bd4a5334180e1985b478abed762a
* In liberty oslo.config 2.4.0 is packaged which doesn't
contain oslo.config namespace
Change-Id: Ia4a1972d81fb0a2b21ee7f94353946aef9351605
Closes-Bug: #1505138
This patch adds config files and scripts which are required for
Ubuntu bootstrap system with Fuel Agent for deploy with Ironic.
Change-Id: I0f6ef54b4e5f987a48a6d6c0d246c777de32ccb1
Co-Authored-By: Vasyl Saienko <vsaienko@mirantis.com>