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
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
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
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
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
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
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
Increase number of commits (up to 10) in fuel packages
RPM changelog. This will allow to track several commits
that were added in cherry-pick manner during ISO build
Closes-bug: #1540847
Change-Id: I89789d9eb8d6a3fedc94e48b7a9d6cecbf2cb619
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 new 'listing' target puts lists of
files in $(BUILD_DIR) and in local_mirror
to files, so to use them to identify the content of the ISO.
It also finds all fuel related rpm packages that are put into the ISO
and puts their changelog into listing-package-changelog.txt
file. This file can be used to identify SHA sums
of repos that are used to build corresponding packages.
Change-Id: I4738cea6fbd9539b945607943f3bcaf1c0554057
Related-Bug: #1515517
/etc/fuel_openstack_version file is provided
by fuel-openstack-metadata package and can
be used to format paths where we put repos
and puppet modules during ISO build.
This patch removes all the lines that
assume direct using of openstack.yaml file.
Change-Id: I728fa53c16462bfb44328a619a151dc836573875
Closes-Bug: #1524359
Updates to bootstrap_admin_node:
* workaround for dracut setting the same IP address to
multilple interfaces if they exist
* redirect output to log file
Update to ks.template:
* bootstrap_admin_node to be started as 'run-once' logon script
* drop script that modifies 'issues' file because it
supports substitution of some parameters out of the box
Blueprint: master-on-centos7
Is NOT compatible with CentOS6 master node
Change-Id: I2feae7055b382adb0ec13a8744e3d9c9ddca16d8
Existing ISO build scripts can't build CentOS7 based
ISO due to changes in package names, files, and so on.
This review fixes issue have been found, and introduces
several minor improvements.
Blueprint: master-on-centos7
Breaks: centos6
Co-Authored-By: Ivan Suzdal <isuzdal@mirantis.com>
Change-Id: I830ff03aa1051f14f2bdafb16cca1979d38e9ad5
Fix the problem with separate repos to support rebuild docker
1. Make a symlink for mos-centos in /var/www/nailgun in iso/ks.template
2. Add mos-repos to the bootstrap_admin_node.sh
This reverts commit 32b1363015.
Closes-bug: #1521551
Change-Id: I8ef58b581f253b26d158b725a9e366d7f1b3706d
The commit this patch reverts breaks Fuel CI
on docker container rebuilds.
This reverts commit bc9c3117c7.
Change-Id: I18fe16cf8f0be40e30fec6229606d1d69cbfe73d
Closes-Bug: #1521551
Release ISO must contain only packages that are
modified by MOS team, and CentOS upstream packages
for Fuel node deployment.
MOS repo, as well as the ones specified in the
EXTRA_RPM_REPOS variable, are downloaded and
placed on the ISO as-is.
Blueprint: separate-mos-from-centos
Change-Id: I983f37371a70d2901bdf0ebef122ba1a2f2e44b9
This works around a case where fuel-library has multiple
versions available, but we only want to ensure that the
version PRODUCT_VERSION is installed by anaconda.
Change-Id: I2681123ec508d11d90264f914fa25a68b6e5e7bb
Closes-Bug: #1509313
Docker mode is the default Fuel Master bootstrap type and it
is not necessary to keep the separate name.
Change-Id: I431f9c61378a477548c2ec5d35989473f910304e
Closes-Bug: #1499468
Fuel deployment has included docker deployment for several
releases now, with the old deployment style being obsolete
and unmaintained. The non-docker deployment mode is removed
due to its lack of maintenance.
A follow-up patch will be made to rename
bootstrap_admin_node.docker.sh to bootstrap_admin.node.sh.
Change-Id: Iae210297a5bcc0bf70b41e4cec9b3f37d42134be
Partial-Bug: #1499468
To support several Centos versions we need
both Centos6.5 and Centos6.6 images to be
in place. But during master node upgrade
we update fuel-target-centos-images package
and Centos6.5 images disappear. The case is
the same as for fuel-library.
Change-Id: I5b974593d2375bcc6367322fcf182f3dcc006d05
Closes-Bug: #1485527
We don't need these files any more. The only release
when we used them for patching was 5.0.
Change-Id: Ifec5a554460e8a17985cd1a636aecf23f7c8525f
Closes-Bug: #1485599
Since we have CI for building packages which
also builds packages from openstack master,
we don't need this as a part of make system any more.
Change-Id: I1d812a3d0ea17ec70ea3679796463ce37444b24e
Implements: bp artifact-based-build-process
We need to be able to build packages-late target in staging
mirror job, which builds late artifacts:
- fuel-bootstrap-image
- fuel-target-centos-images
- fuel-docker-images
Related-blueprint: package-fuel-components
Change-Id: Ia64ad186c4e33585df6915576300e33df2d37265
On running "make docker" we have other targets
workflow then on "make iso", so for building target
$(ISOROOT)/openstack_version we must be sure that $(ISOROOT)
directory exists.
Closes-bug: #1457435
Change-Id: Ifa0ca2f81074d1be040cebb99f3632bcc7270dd9
This commit is a squashed version of commits that
implement packaging of fuel components. In order to
make our packaging process better I had to introduce
some new macros and do additional cleanup.
The main paradigm that we are following with this commit is
the following:
1 GIT REPO -> 1 PACKAGING SPEC -> N PACKAGES
Though it would be ideal to have only one package per git repo,
but this is left for further releases
This change is very essential to make updates process easier
as we provide only one type of artifacts that a user can fetch -
distro-specific package
This particular commit does not introduce new DEB packages
(such as packages of OCF scripts and other binaries that
we currently put onto the slave nodes with puppet instead of
installing them as packages) which will be introduced as
a part of whole packaging initiative a little bit later
1) Add prepare_git_source macro
This change is important to always
checkout the code from git working
or we can end up with garbage getting
into package source code and add
version.txt file to source archives
2) Remove nailgun-redhat-license package
This package is obsolete - we do not need
it.
3) Package fuel-library into RPM package
4) Delete old packages and misc stuff
This change is a little cleanup of python-tasklib
and other leftovers
5) Change RPM sandbox configuration
Change RPM sandbox configuration to use upstream mirrors
to be able to install nailgun build dependencies
6) Alter Nailgun spec
a) Change nailgun spec to use NPM during package
build
b) Switch nailgun to prepare_git_source
c) Package all packages of fuel-web repo using
only nailgun.spec
7) Alter RPM sandbox preparation to install build-deps
8) Package astute and mcagents using astute.spec
9) Include all built RPMs
Include all RPMS that were built inside the sandbox
10) Package fuel-ostf with git-archive
11) Build python-fuelclient using git_archive macro
12) Move specs to particular git repositories
13) Rename fuel-library and ostf to make macros easier
14)Adjust build scripts to fetch specs from particular
fuel repositories
FUEL DEB-packaging related code
15) Restore part of make system code for DEB packages building
16) Nailgun debian spec files for all nailgun-based packages
17) Clean up SANDBOX for Ubuntu generation
18) Clean up some package building scripts
19) Put PACKAGE_VERSION variable into the top config.mk
20) Add dockerctl and change fuel-library tar.tg path
21) Move deb rules to particula repos
22) Allow to rebuild deb repo with reprepro on-the-fly
24) Fix repocleanup stanza to parse source packages metadata
25) Debmirror whole repos in order not to break reprepro
26) Make docker image build depend on late RPM packages
or it may lead to race conditions
27) Clean up old deb packages with one shot instead
of parallel run
Change-Id: I15ae4d0abe51c72b28793e1a1ef30fec0f668b73
Blueprint: package-fuel-components
This enables Puppet to see the release used
for deployment. This information is useful for
identifying local paths for repo configuration.
Change-Id: Id2a188a49b3a7473af7c5a094aa87fad22ca0532
Closes-Bug: #1435369
blueprint separate-mos-from-linux
1) Change mirroring procedure for Ubuntu:
- USE_MIRROR=none: rsync the whole mirror from build server
- USE_MIRROR=<location>: mirror only required MOS distro
Added support for different mirroring methods.
2) Remove procedure of building Fuel deb packages
3) Remove building of deb-based IBP images
4) Remove deb-based chroots
5) Modify creation of Ubuntu diff mirror artifact
Implements: separate-mos-from-linux
Change-Id: Icd10aea6ebddb27976e88ceb930be9afac0241ad
In order to safely package containers, yum update -y
was added to each container.
Containers are now built and stored in an archive,
which is packed into a new rpm fuel-docker-images.
blueprint package-docker-images
Change-Id: Ib583e41ec07c9d60eb993216c00ef2f0ba2ca110