Commit Graph

521 Commits

Author SHA1 Message Date
Andreas Jaeger 32ca1f64ab Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I274ce8f03b58ad770221219c197336055e263d38
2019-12-18 09:42:48 +01:00
Vladimir Kozhukalov 3aaacb211d Use mos and proposed repos during centos install
Base OS repository that we place on iso is not consistent
due to some packages that depend on other packages that we
put into mos end propsed repos.

Change-Id: I7d57afde6f87906e5b22f925595d7f941d72c66a
Closes-Bug: #1655922
(cherry picked from commit 642e1c0993)
2017-02-14 10:40:05 +00:00
Jenkins 542f98cfeb Merge "bootstrap_admin_node: Fix connectivity check." 2016-08-31 12:31:58 +00:00
Georgy Kibardin 6bad843b48 Add Timmy to the master node
Change-Id: If6dd02eff29368b7fca3d204d2dddf1a079a9198
Implements: blueprint shotgun-retirement
2016-08-25 17:36:29 +03:00
Vladimir Kozhukalov 08f1283db6 Change EFI fs label
If EFI partition does not have specific label
different from ISO label, then udev first creates
/dev/disk/by-label for 9660 file system and then
overrides this link with the link pointing to
EFI partition.

Change-Id: Id841c5b306940fd157aee527ad69b0995bcf9cd8
Closes-Bug: #1605740
2016-08-16 15:06:13 +03:00
Maksim Malchuk ead4998107 Setup stringify_facts for the puppet
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>
2016-07-13 17:57:23 +00:00
Maksim Malchuk acf0865eec Fix umount issue in the postinstall scripts
This change adds the workaround for unclean umounting the installation dirs.

Change-Id: Ifccb0f6b341b9315dc9ace500ab855728fcbc98f
Closes-Bug: #1602229
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
2016-07-12 16:43:56 +03:00
Alexandru Avadanii ab98c79af0 bootstrap_admin_node: Fix connectivity check.
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>
2016-06-28 17:34:06 +02:00
Vladimir Kozhukalov 629ca1f785 Remove fuel-mirror package
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
2016-06-27 16:23:28 +03:00
Ivan Suzdal 722bcb67df Add MASTER_NODE_EXTRA_PACKAGES processing
Each package from MASTER_NODE_EXTRA_PACKAGES
shall be installed from kickstart.

Related-Bug: #1526544

Change-Id: I569c15177ca8cd5f990a4ee1ae986654975919a1
2016-06-07 13:31:08 +03:00
Vladimir Kozhukalov e6b165748a Modify default repos for fuel and fuelmenu
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
2016-05-31 15:10:01 +03:00
Sergey Kulanov 656137de07 Always create /etc/fuel_build_id flag
We need always create /etc/fuel_build_id flag-file since
it's used for preprovisioned master node detection. The absence
of this file means that we are on clean CentOS and should use
online repos.

Change-Id: If614549621374cf4714f08152c914b85a448b534
Closes-bug: #1578548
2016-05-05 11:36:47 +00:00
Vitaly Parakhin 7db860b9e6 Create Ubuntu symlink for backward compatibility
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
2016-04-21 17:09:53 +03:00
Jenkins 7c04102f8e Merge "Remove debian-installer placeholders" 2016-04-21 13:45:48 +00:00
Jenkins 9ab29a11a6 Merge "Switch main bootstrap source repository to online one" 2016-04-19 13:34:50 +00:00
Sergey Kulanov 5407a693d3 Remove CentOS bootstrap code
CentOS bootstrap was removed, so we need to align
bootstrap_admin_node script as well

Change-Id: I23de9ef8763194cb6f644c49a5a8a171b34ff874
Related-bug: #1534178
2016-04-18 07:35:28 +00:00
Vitaly Parakhin 831ec8267e Switch main bootstrap source repository to online one
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
2016-04-15 18:01:10 +03:00
Jenkins 47515a0d27 Merge "Fix links to documentation" 2016-04-15 10:33:57 +00:00
Maksim Malchuk 603cff3dfa Abort the Fuel installation if the fuelmenu fails
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>
2016-04-14 13:19:30 +03:00
Sergey Kulanov 6eb407fa9e Fix links to documentation
Change-Id: I102b6583917c2996b8c85f5b181f11ecc6ea2997
Closes-bug: #1569288
2016-04-14 10:09:09 +00:00
Vitaly Parakhin 3839703dc5 Remove debian-installer placeholders
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
2016-04-11 14:07:10 +03:00
Sergey Kulanov 65eac31012 Fix installation packages order
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
2016-04-04 14:23:01 +00:00
Jenkins 4b08ee90f9 Merge "Fix IP address in /etc/issue" 2016-04-04 14:22:19 +00:00
Maciej Relewicz 1ad1dd16a2 Fix IP address in /etc/issue
We should create banner after user configures network via fuelmenu

Change-Id: I7d3e14863251e848c04fbeb47fc79e558751b7ad
Closes-Bug: #1564366
2016-04-04 12:09:59 +02:00
Jenkins aee5ad0cbf Merge "Delete link to reference architecture in motd on master node" 2016-04-04 09:00:12 +00:00
Jenkins 02cda68361 Merge "Fail bootstrap_admin_node if admin password is wrong" 2016-03-31 12:22:55 +00:00
Jenkins 60713a3341 Merge "Set console loglevel to a lower value to avoid tty spam" 2016-03-31 09:16:38 +00:00
Maciej Relewicz 3bd396a82d Delete link to reference architecture in motd on master node
Removal after consultation with docs team.

Change-Id: I73bf9f2af71b5d71fe8ee66742103a11e6e3ee8f
Closes-Bug: #1561531
2016-03-31 10:00:51 +02:00
Jenkins 4f4abf3c30 Merge "Fuel master deployment fails due to disk size" 2016-03-30 08:59:38 +00:00
Jenkins 73bd5d9a64 Merge "Fix typos in Fuel files" 2016-03-29 13:41:34 +00:00
Jenkins 2621cd4357 Merge "Bootstrap Warning Message Clarification" 2016-03-29 13:40:43 +00:00
ErikNeeley e78ad486d6 Bootstrap Warning Message Clarification
* 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
2016-03-28 08:45:31 -05:00
Nguyen Hung Phuong 735eef25ec Fix typos in Fuel files
TrivialFix

Change-Id: Ie3196a4b09ab46c67ea9316e6c048bbc69a10232
2016-03-28 10:34:59 +07:00
Sergey Kulanov 03b01bfe1a Ensure error message written in log on master node bootstrap
Log message from fail() function [1] doesn't appear in logs,
because of output stream buffering issue [2], so we need to
flush data explicitly using sed.

This patch aligns testflow for master node wait_bootstrap
function [3], since we need to fail deployment ASAP rather then
wait for timeout

[1]. https://github.com/openstack/fuel-main/blob/master/iso/bootstrap_admin_node.sh#L113
[2]. http://www.pixelbeat.org/programming/stdio_buffering/
[3]. https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/models/environment.py#L556

Closes-bug: #1551658
Related-bug #1549302

Change-Id: I3f0d48a8d5c3ce36dd01724f48d2a1180d2f5335
2016-03-24 15:21:08 +02:00
Matthew Mosesohn 6a29a71266 Fail bootstrap_admin_node if admin password is wrong
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
2016-03-23 18:55:03 +03:00
Vladimir Kozhukalov e38c44b62a Remove Mirantis related code
All vendor related things must be done in downstream repository.

Change-Id: I7d487134cc3b683707a3259615a530152c71a3a5
Closes-Bug: #1560915
2016-03-23 15:04:01 +03:00
Dmitry Bilunov 7456eb676a Set console loglevel to a lower value to avoid tty spam
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
2016-03-23 14:51:00 +03:00
Jenkins be7068e7d8 Merge "Fix anaconda boot parameters" 2016-03-18 12:47:36 +00:00
Sergey Kulanov 507fe9cbf1 Remove listing-build.txt from artifacts
We don't need listing-build.txt file and
listing-local-mirror.txt, since all required
imformation one can take from listing.txt

Change-Id: I8ddaa14e0122c5491de88f696b610a70ffd62088
Related-bug: #1556972
2016-03-17 09:07:00 +00:00
Jenkins 08780dfa6b Merge "Add missed fuel packages to changelog reporting" 2016-03-16 15:42:13 +00:00
Dmitry Teselkin 9114053378 Fix anaconda boot parameters
Anaconda boot parameters have been changed some time ago:
* 'repo' and 'ks' deprecated, use 'inst.repo' and 'inst.ks' instead
* 'harddrive' means "find and .iso file on partition and mount" and
  doesn't work correctly for USB boot

Because of these changes we should use 'inst.repo=cdrom:...' and
'inst.ks=cdrom:...' in 3rd boot option (USB boot). However, in that
case the 1st and 3rd boot options can be combined together. This
simplifies boot menu and QA framework.

Change-Id: I52aa93c605fbfcd2acdd5ef2bd343516254f615e
Closes-bug: #1540862
2016-03-16 14:05:36 +03:00
Marcellin Fom Tchassem 83feeb0615 Fuel master deployment fails due to disk size
From IRC, it has been reported that the 45gb messaged
 as part of the master install is not sufficient enough
to deploy 8.0 with docker containers.
The documentation specifies that the minimum size should
be 50gb
https://docs.mirantis.com/openstack/fuel/fuel-8.0/fuel-install-guide.html#

This patch will resolve this issue, will set the minimum
disk size requirement to 50gb and will change the related
error message.

Closes-Bug: #1557628

Change-Id: I634c42d2a8420a3ea35ce3fdae54ab499e9ea154
2016-03-15 18:01:44 +00:00
Maksim Malchuk a42059f528 Show fuelmenu by default
By default showmenu=yes should be used.

Change-Id: I1b4b3eb1e161dd2039b7d004afc20487c35a5a99
Closes-Bug: #1557245
2016-03-15 17:08:02 +03:00
Sergey Kulanov fe40462301 Add missed fuel packages to changelog reporting
We have several packages:
 - nailgun-agent
 - nailgun-mcagents
 - python-packetary
changes to which should be reflected in changelog reports

Change-Id: Ifea161db38e15093c4fdcbcf89934bcfde24ff81
Partial-bug: #1557162
2016-03-14 22:48:08 +02:00
Sergey Kulanov 9f816d2a36 Fix sed -i flag usage
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
2016-03-04 16:00:14 +02:00
Jenkins c4cf64e977 Merge "Remove unused syslinux related files" 2016-03-02 16:50:05 +00:00
Jenkins 1867de9d2f Merge "Install fuel-openstack-metadata before getting OPENSTACK_VERSION" 2016-03-02 14:48:26 +00:00
Sergey Kulanov b4a66463a7 Install fuel-openstack-metadata before getting OPENSTACK_VERSION
We need to install fuel-openstack-metadata which provides
definition for $OPENSTACK_VERSION in bootstrap_admin_node

Change-Id: I6f7a1e7bee74191f7a7b51ede8f04361f4d318d4
Closes-bug: #1551659
2016-03-02 12:11:32 +02:00
Sergey Kulanov ebab0180b3 Add fuel-ui repo to ISO build process
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
2016-03-01 20:38:48 +03:00
Vladimir Kozhukalov 8503022ade Remove unused syslinux related files
Change-Id: I35d12adb06738b01a1e8c26872700a2b955a49d4
Closes-Bug: #1549693
2016-02-25 18:18:55 +03:00