This change will setup stringify_facts to false for the puppet.
Also, we need the tools to manage configuration files from the
bash scripts, as we widely use augeas bindings in the puppet, lets
use the same tools in the bash scripts.
DocImpact
Change-Id: I6c447f4a006825dd2dcdd8597f63f84eb2670556
Closes-Bug: #1602774
Closes-Bug: #1593207
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
After Fuel Master builds the bootstrap image at first boot,
internet connectivity is tested using the URL for the CentOS
updates repository.
bootstrap_admin_node.sh script parses the output of `yum repolist`,
looking for entries like 'Repo-baseurl: http://...'.
However, in Fuel 9.0, <updates> points to a mirrorlist file (a text
file containing a list of possible mirror URLs) instead of being
a single, direct link to the repository.
For now, we only test that we can access the mirrorlist file,
while the check should be performed against the mirror(s).
Old (Fuel 8) repo entry format:
Repo-baseurl: http://mirror.fuel-infra.org/.../updates/x86_64/
New (Fuel 9) mirrorlist format:
Repo-mirrors: http://mirror.fuel-infra.org/.../mos-mirrors-updates.txt
Closes-Bug: #1596981
Change-Id: I21268dd8aa8cd633f09f921b4a9e1c057a4b8ed3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Since now Packetary is a recommended tool to build/clone
rpm/deb repositories and Fuel client is to be used
to modify default repository settings.
Change-Id: Ifd4ee718e70ff7dc8b4724c2a00f2aaeb3813b7f
In fuel (nailgun) and fuelmenu we have hardcoded
default repos which we should be able to change
mostly for test purposes.
Default ISO build flow uses fuel packages rebuild
approach, which modifies ubuntu suit as well, eg:
sync(mos-master) --> (iso)mos10.0 --> deploy(mos10.0)
To use this feature one must use BUILD_PACKAGES=0,
this flag turns off:
* fuel packages building and
* ubuntu suit update.
so We consume the same suit as we use during
debmirroring, eg:
sync(mos-master) --> iso(mos-master) --> deploy(mos-master)
DocImpact
Change-Id: Ia3cefa7c87e35ecd9244a4026b86e772bf569ca9
Closes-bug: #1556125
In case of ISO deployment there is a folders structure
created from kickstart. On a pre-provisioned server we
need to replocate some parts of this structure to
maintain backward compatibility.
Change-Id: Ie297aab0e088be3f752edca1e27e3a851bdb2073
Closes-Bug: #1572861
CentOS bootstrap was removed, so we need to align
bootstrap_admin_node script as well
Change-Id: I23de9ef8763194cb6f644c49a5a8a171b34ff874
Related-bug: #1534178
In case of deploying Fuel Master node on a pre-provisioned
server, we should use online repositories instead of local
ones, to build the Ubuntu bootstrap.
Change-Id: If4a5d8d715740289e85f8004a5655b35c25c9c6b
Closes-Bug: #1570747
Deployment of Fuel Master should halt immediately if fuelmenu fails
to make it simpler to understand the reason of failure.
Change-Id: I4a9b712c8fdf9cccb87a02500cdbf43793a63bf8
Closes-Bug: #1569014
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
In Fuel 7.0 we dropped classical provisioning mode,
fully switching to IBP. Since then, placeholders
created for Ubuntu cobbler profile, are no longer
needed. Also, remove 'fuel' package dependency for
the 'fuel-provisioning-scripts' which contains
debian-installer download script.
Related-Bug: #1549346
Change-Id: I36ff56c1e4a0437b33fc8e31da3df6f311607307
We need to align package order installation during
master node deployment:
* Online repos should be disabled ASAP during ISO
installation
* Security and Updates repos should be enabled
after network configuration is done
Change-Id: I194aedf894dd2fb36da5ee209e07709f2bb0a6cc
Closes-bug: #1564350
* Change the wording in the bootstrap warning message from
* 'Please reboot failed to discover nodes after bootstrap image
* become available' to 'After bootstrap image becomes available,
* reboot nodes that failed to be discovered'
* to clarify meaning and be more clear.
Closes-Bug: #1560985
Change-Id: Ic25c99f461b4e58bac33211da7aabb30076b3ff5
This covers the scenario where a user changes the admin password,
but fails to update /etc/fuel/astute.yaml and
/root/.config/fuel/fuel_client.yaml. These files need to be
updated to re-run bootstrap_admin_node for simple patching.
This fix is partial because it should include string updates
in fuel-ui, docs, and fuelclient.
Change-Id: I23f362524eab9649b58a8ba722e6fd6cb1d6b1ab
Partial-Bug: #1555262
Currently a mass of debug\error\etc messages from drivers errors\etc
spam to tty* - this totally blocks possibility to connect and debug with
tty*
We should set console_loglevel to a lower value, so the screen isn't
littered by kernel messages. Also these messages break the look of
fuelmenu (which, currently, has own printk setting code).
Change-Id: I765367e641f9b773701e9e0d1470b3a166a9e91a
Closes-Bug: #1535419
We don't need to create any backup with e SUFFIX so let's just
remove -e flag since:
the first non-option argument is taken as the sed
script to interpret
Change-Id: I69d658254ebe75b07c818e8aa6fb405ff33db549
Closes-bug: #1553154
We need to install fuel-openstack-metadata which provides
definition for $OPENSTACK_VERSION in bootstrap_admin_node
Change-Id: I6f7a1e7bee74191f7a7b51ede8f04361f4d318d4
Closes-bug: #1551659
Though build packages during ISO build is going to depracate
we still need to align all fuel packages build flow
Change-Id: Ic4c3917a608dbdc955263dd13871012a8f498dee
Partial-Bug: #1471763
Implements: blueprint separate-fuel-ui-repo
This package installs the following Yum configuration
entries for Fuel Admin node:
* base, updates and security MOS repos (enabled by default)
* repos configuration includes online mirrorlists
* GPG key for MOS packages (verification is enabled)
Also remove Fuel packages that directly depend on
the 'fuel' package from the FUEL_PACKAGES var
Change-Id: I20c2c53d823372b44a6c9409f0ee46c1d1910782
Blueprint: separate-fuel-node-provisioning
Move configuration steps related to the Fuel master node
deployment from kickstart to deployment script.
Change-Id: Iaef1dd3fe9dce17d8030630b7fbcc5c8a225d69c
Blueprint: separate-fuel-node-provisioning
Partial-Bug: #1534586
As filename parsing is a fragile way, change it to use 'ip' utility
output for when finding interfaces with ip addresses equal to admin
interface ip address.
Change-Id: I4ad586b8964c600ad80f055707bca49b50506d1b
Closes-Bug: #1524686
We got rid of using docker containers
on the master node. Now we deploy all
Fuel service directly on the host.
Implements blueprint: get-rid-docker-containers
Change-Id: Ie636d33d091a95fb0ff8fbd71e49cbccf1cb34fa
This patch does not remove docker related files, but
instead it introduces alternative master node
deployment script which is used by default.
Depends-On: I0139cad1c2ebb0cc846c8bca560533b0ac6489cf
Implements blueprint: get-rid-docker-containers
Change-Id: I9c2a3b1f988ba9bb937546eab2a0dbe84d19b18b
Fuelmenu may not generate astute.yaml for some reason.
It may be crushing of fuelmenu or etc. To protect us of
this problem additional check has been introduced.
Change-Id: If661f27c5116e60fb7ded1fa5ed33bf396ef1a9f
Related-Bug: #1534517
Our old artifact concept does contradict to our
current delivery approach of wrapping every single
Fuel component into rpm/deb packages. So, all
artifacts (that we did not use anyway except version.yaml)
should be deprecated.
Change-Id: Id7c49097ab18f5df455b8af3785effc90b808f62
Closes-Bug: #1515517
Closes-Bug: #1525286
DocImpact
This patch's mission is to wipe out unnecessary import from fuelmenu
module, in other case, these lines may be failed due to changes in
fuelmenu module and it will take a lot of effort to fast identify it.
Change-Id: Ib696846892fa3661c25d7e779392688c1240c553
Related-Bug: #1502110
* Backup ifcfg-* files, not remove
* Backup ifcfg-* file only if its really needed
* Check for existing ID_NET_NAME_ONBOARD, ID_NET_NAME_SLOT, ID_NET_NAME_PATH
(in order) in sys net class, and chose first one.
In case of real hardware, anaconda can spawn dracut with ID_NET_NAME_ONBOARD
nic naming. Otherwise, our "Advanced install" logic fetch nic.name by another
key. Its totally brake "Advanced install" feature
Closes-bug: #1533652
Partial-bug: #1533239
Change-Id: I18d8a8350f134c73dc7a83202facf6ee7b4fc6f9