Commit Graph

200 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 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
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
Nguyen Hung Phuong 735eef25ec Fix typos in Fuel files
TrivialFix

Change-Id: Ie3196a4b09ab46c67ea9316e6c048bbc69a10232
2016-03-28 10:34:59 +07: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
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
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
Vladimir Kozhukalov acc46cd3d0 Install send2syslog package instead of copying file
Change-Id: Ia2e56584499260d01186526c5f452c6c9697ab90
Closes-Bug: #1549817
2016-02-25 17:22:00 +03:00
Vitaly Parakhin 9d71797aa3 Add the Fuel node bootstrap script to the "fuel-setup" package
Change-Id: I71a6c10dccf33f2ea250da7880e4657393526c77
Blueprint: separate-fuel-node-provisioning
2016-02-18 18:00:30 +02:00
Vitaly Parakhin 00fa839700 Separate Fuel master node deployment from base OS 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
2016-02-16 10:52:08 +00:00
Vladimir Kozhukalov c23c6c7a46 Remove Docker related code
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
2016-02-10 19:35:40 +03:00
Jenkins 51770f4a7b Merge "Minimal docker removal patch" 2016-02-08 16:23:26 +00:00
Vladimir Kozhukalov 6a3ef4ad6c Minimal docker removal patch
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
2016-02-06 01:33:37 +03:00
Sergey Kulanov 782cb58eac Add 10 latest commits to fuel packages changelog instead of one
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
2016-02-02 12:41:09 +02:00
Vladimir Kozhukalov 12107eb430 Remove version.yaml and other artifacts
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
2016-01-20 18:17:14 +03:00
Vladimir Kozhukalov cfd09e4800 Add listing target
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
2016-01-20 13:59:12 +03:00
Dmitry Teselkin 1117b4ee64 Do not use double quotes in ISO label
Change-Id: Ib1679e89fdebf761b38ed64bcd1c40a77a4adcb3
Closes-bug: #1529916
2016-01-12 20:16:16 +03:00
Vladimir Kozhukalov 07478517b5 Remove openstack_version file
/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
2015-12-09 17:30:21 +03:00
Jenkins 693f475119 Merge "Fix ISO build process for CentOS7" 2015-12-04 14:31:37 +00:00
Dmitry Teselkin 2a5b896bcf CentOS7 master node bootstrap changes
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
2015-12-04 10:37:51 +00:00
Dmitry Teselkin 4853b7da21 Fix ISO build process for CentOS7
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
2015-12-04 01:30:17 +03:00
Jenkins 1b7e283247 Merge "Revert "Revert "Separate CentOS from MOS""" 2015-12-01 14:19:38 +00:00
Roman Vyalov 9ddefc6327 Revert "Revert "Separate CentOS from MOS""
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
2015-12-01 12:44:59 +00:00
Jenkins 628b46bc73 Merge "Revert "Separate CentOS from MOS"" 2015-12-01 11:32:38 +00:00
Matthew Mosesohn 32b1363015 Revert "Separate CentOS from MOS"
The commit this patch reverts breaks Fuel CI
on docker container rebuilds.

This reverts commit bc9c3117c7.

Change-Id: I18fe16cf8f0be40e30fec6229606d1d69cbfe73d
Closes-Bug: #1521551
2015-12-01 10:52:53 +00:00
Jenkins 16d0fcd617 Merge "Separate CentOS from MOS" 2015-11-25 11:45:02 +00:00
Vitaly Parakhin bc9c3117c7 Separate CentOS from MOS
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
2015-11-24 13:22:10 +02:00
Vladimir Kozhukalov 2f24d75103 Remove upgrade tarball related code
Implements blueprint: package-master-node-upgrade
Change-Id: Ic5b64da4eea961ffa8c86ee0497f5d5e3d2fd7f9
2015-11-12 15:52:57 +03:00
Matthew Mosesohn 29ddb1e4a7 Explicitly set fuel-library version to PRODUCT_VERSION
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
2015-10-27 19:44:43 +03:00
Matthew Mosesohn 44ed5b7b49 Rename bootstrap_admin_node.docker.sh to bootstrap_admin.node.sh
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
2015-10-19 14:18:10 +03:00
Matthew Mosesohn f463e1ed86 Remove deprecated non-docker boostrap_admin_node.sh
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
2015-10-19 14:17:33 +03:00
Maksim Malchuk b2765c5174 Rename package 'nailgun' into 'fuel-nailgun'
Change-Id: I759b988f4fe6cfd0c0360aeb87d1208b5d0444cb
Depends-On: If273e46b528478f9f6bbf5c76bd394e0c040379d
Closes-Bug: #1439679
2015-09-23 14:41:38 +03:00
Jenkins 1e3f557860 Merge "Remove centos-versions.yaml ubuntu-versions.yaml" 2015-09-11 16:12:06 +00:00
Vladimir Kozhukalov b86f4b1462 Rename package to fuel-target-centos-images6.6
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
2015-08-24 21:10:06 +03:00
Vladimir Kozhukalov 5e5588daf4 Remove centos-versions.yaml ubuntu-versions.yaml
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
2015-08-17 16:02:46 +03:00
Vladimir Kozhukalov e7b420d37d Remove img target
We don't need this target any more since we build iso
image with mbr table built-in.

Change-Id: I871e189de6e15b414840caa94171b7544d11a295
2015-07-20 18:10:47 +03:00
Vladimir Kozhukalov 9d483a382a Removed building openstack packages
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
2015-07-15 16:00:04 +03:00
Sergey Kulanov 49e9e6b930 Add fuel-docker-images package to packages-late target
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
2015-06-18 10:00:03 +00:00
Sergey Kulanov 456ed4f329 Fix directory creation on running make with docker target
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
2015-05-25 10:57:03 +03:00
Stanislaw Bogatkin 9a0416f843 Add UEFI support to ISO
* In UEFI bootloader is grub, not syslinux
* Removed mkisofs
* Removed isohybrid
* Add xorriso

Change-Id: I9158e939f388ef2000f898de4aed7f251202f6bd
Closes-Bug: #1433521
2015-05-18 12:41:43 +03:00
Vladimir Kuklin b715f0b397 Refactor how we are doing packaging
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
2015-04-20 18:21:57 +03:00
Jenkins 8baa2e8fc1 Merge "Add openstack_version to version.yaml" 2015-04-06 12:13:12 +00:00
Matthew Mosesohn d03ac03135 Add openstack_version to version.yaml
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
2015-03-24 14:38:51 +00:00
Vitaly Parakhin 7177b8fcb3 Separate MOS Ubuntu from upstream
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
2015-03-24 14:14:06 +02:00
Vladimir Kozhukalov 608b72a6f7 Added fuel-target-centos-images package
Change-Id: I3d8051e373dd1507b7ce24eb9368cb8a237e92e7
Implements: blueprint package-fuel-components
2015-03-13 20:28:21 +03:00
Vladimir Kozhukalov 53ab5a9b99 Added bootstrap image package
Change-Id: I27d7c988e59756a9682004acd102643730e4d5aa
Implements: blueprint package-fuel-components
2015-03-13 20:25:33 +03:00
Jenkins c73b87f7cb Merge "Add packaging for Docker containers" 2015-03-09 20:15:53 +00:00
Jenkins 182f879e5d Merge "Add fuel-centos-build container for fuel/centos" 2015-03-09 19:57:51 +00:00
Matthew Mosesohn fe39c8f617 Add packaging for Docker containers
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
2015-03-06 12:50:51 +03:00