Commit Graph

110 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 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
Sergey Kulanov 756b03e93f Revert "Minor changes to run 'make iso' on xenial host."
This reverts commit 33af46be82.

Change-Id: If8ef5fbbfa8f5dd67372568d929d3d4c0a1aa536
2016-06-21 13:03:11 +00:00
Sergii Golovatiuk 33af46be82 Minor changes to run 'make iso' on xenial host.
- Running chroot without 'sh -c' doesn't set environment variables. This
patch wraps command in 'sh -c'
- add force to mv command as xenial is more strict for changing
  permissions

Change-Id: I83122397c2a8c457abb9687909352179831a46f3
Implements: mos-xenial
2016-06-06 17:56:28 +02:00
Sergey Kulanov 2874ae63a2 Align nailgun-agent rpm spec-filename to package name
Related-bug: #1558022
Change-Id: Ica3614f8b65f5ef8a6f6faf8cad4b86c4a61470b
2016-03-16 14:54:25 +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 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
Sergey Kulanov 773bedcdd1 Remove CentOS bootstrap image
Related-bug: #1536658
Implements: blueprint remove-centos-bootstrap-from-fuel

Change-Id: If9becaa06d0fd382d191dd5cbb3bb19697d8c544
2016-02-10 15:07:12 +02:00
Jenkins a8d66d6867 Merge "Untie PRODUCT_VERSION from PACKAGE_VERSION" 2016-01-18 09:32:55 +00:00
Aleksey Zvyagintsev bf07905f40 Revert "Revert "Remove deprecated 'fuel-bootstrap-image-builder'""
This reverts commit 5d4cf85fe3.

Change-Id: I96bba5d22275cdd8ec8187eccf083316c152e9fa
2015-12-30 16:42:14 +03:00
Vladimir Kozhukalov bac8172c13 Untie PRODUCT_VERSION from PACKAGE_VERSION
This allows to use words as mos repo version
identifiers while it is still possible to build
packages with versions defined like X.Y.Z

Change-Id: I24e88192c6e52cb3de000fcf99ef3eec03c4e8c3
Closes-Bug: #1529251
2015-12-29 16:30:41 +03:00
Dmitry Teselkin 5b0bb0a2c3 Do not create TEMP directory
Env var $TEMP is not set anywhere, and always empty.
There is no point to run 'mkdir $TEMP'.

Change-Id: I04345d8431dca0b703e0edaf00aee168df8acc3c
Related-Bug: #1522909
2015-12-22 14:34:52 +03:00
Vasyl Saienko 5d4cf85fe3 Revert "Remove deprecated 'fuel-bootstrap-image-builder'"
Since some functionality is missing in 'fuel-bootstrap' that is needed
for Ironic, we have to revert fuel-bootstrap-image-builder.
Once bugs in fuel-bootstrap are fixed and fuel-bootstrap proper tested
with Ironic, Ironic can be switched to fuel-bootstrap.
Related-Bug: #1527605
Related-Bug: #1527608

This reverts commit 74e9affd54.

Change-Id: Ic8738fdf386ddb4770a164b599e0c3ac609fb208
2015-12-18 22:00:42 +00:00
alexz 74e9affd54 Remove deprecated 'fuel-bootstrap-image-builder'
Change-Id: Ie7b6162618d630572c8f52e2a7bee3846d1a3bea
Related-bug: #1522066
Depends-on: #Ifa9458d9152a575874b725e72e5e3b57f3ac183a
Blueprint: bootstrap-images-support-in-cli
2015-12-15 15:57:55 +02:00
Sergey Kulanov 7702258023 Align fuel packages version schema with perestroika
Fuel packages should be aligned to the same versioning schema
as we have in perestroika and specs [1]

[1] https://github.com/openstack/fuel-specs/blob/master/specs/ \
    8.0/separate-mos-from-centos.rst

Closes-bug: #1524758

Change-Id: I1b5bd2617b6d388b2c4852d5f74ae3adf84f8991
2015-12-11 15:30:19 +00:00
Vladimir Kozhukalov d53ac4e0c7 Remove image make module
This module has not been used since 6.1 when
we suspended support Centos based clusters.
Anyway, target image building must be a part
of deployment process not ISO build process, so
target images should be built on the master node
in runtime.

Closes-Bug: #1523931
Change-Id: I86d4b2c886ea7da3254ce95033ce9f14d8a8e191
2015-12-08 17:41:21 +03:00
Sergey Kulanov 9b50139230 Use yum-builddep from chroot but not from build host
Start using yum-builddep from chroot:
1. Prepare chroot from upstream mirrors only for installing yum inside it
2. Update yum.conf with mos mirrors with path related to chroot
3. Mount local_mirror into chroot
4. Use all yum stuff from chroot

Closes-bug: #1522607

Change-Id: Ifd9d7c6a35c4977e78eba10ffcd0b1a8dcfee4ca
2015-12-07 09:24:04 +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
bgaifullin d1cda9fa50 fuel-createmirror is replaced by fuel-mirror
fuel-package-updates is also replaced by fuel-mirror

Depends-On: #I296a5f356ca805deda28ea984df15c0b63b43a80
Closes-Bug: #1487077
Implements: blueprint refactor-local-mirror-scripts
Doc-Impact

Change-Id: I72e9ced2c20c615e841ec73b9c7e7bca022918cf
2015-12-02 08:46:20 +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
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
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
Jenkins 3e65111124 Merge "Fix BUILD_PACKAGES flag" 2015-11-18 14:23:49 +00:00
Sergey Kulanov a803c021e0 Install base packages only to base chroot buildrpm image
Let's install only base packages (into chroot), required by
rpm packages build. The rest of the packages should come from
BuildRequires section.
This will allow us to prepare late artifacts a little bit faster
in case of BUILD_PACKAGES=0

Change-Id: Ica432b3c5e80ac9e6fbda4030a07b312732c4a29
2015-11-17 09:16:53 +00:00
Sergey Kulanov 6e1f632f83 Fix BUILD_PACKAGES flag
Build iso with BUILD_PACKAGES=0:

* Late packages:
  - fuel-bootstrap-image,
  - fuel-docker-images,
  should be always built in spite of  BUILD_PACKAGES flag,
  since they depend on the first level artifacts (packages)
  and are not updated in the mirrors yet;

* Build fuel-bootstrap-image-builder package for astute container

* Update requirements-*.txt file by adding all fuel packages only in case
  BUILD_PACKAGES=0

* Update docker-images spec to support fakeroot rpmbuild approach

Related-bug: #1460480

Change-Id: I00ea15c9df9277d48a294f8379d87352c017becb
2015-11-16 16:28:09 +02:00
Jenkins a65fdc439a Merge "Revert "Move user-defined extra networks from dnsmasq.template to astute"" 2015-11-03 11:06:45 +00:00
Vladimir Kozhukalov f9ce957ce7 Build network-checker package from new repository
We moved fuel-web/network_checker directory to a separate project
and now we need to build network-checker package using the
source code from this new repo.

Change-Id: I365a9ee20374be1515c577ab6c6426bdb20a53e6
2015-10-28 19:50:33 +03:00
Vladimir Kozhukalov 69325fed8c Build shotgun package from openstack/shotgun repository
We moved fuel-web/shotgun directory to a separate project
and now we need to reflect the fact in here.

Change-Id: Ibe1e229391b941710355e862b956f50f2dea37ec
Related-Bug: #1506894
2015-10-26 13:43:02 +03:00
Vladimir Kozhukalov 54165e112c Build fuelmenu package from fuel-menu repository
We moved fuel-web/fuelmenu directory to a separate project
and now we need to reflect the fact in here.

Change-Id: I89547a4e177dfdb9194d4b9f202a4faaf25d5d87
Related-Bug: #1506885
2015-10-23 17:04:15 +03:00
Nikita Koshikov cc882c990b Revert "Move user-defined extra networks from dnsmasq.template to astute"
This reverts commit b59f69257b.

We're implementing automatic configuration of DHCP ranges in
dnsmasq so this workaround is no longer needed.

Co-Authored-By: Aleksandr Didenko <adidenko@mirantis.com>
Blueprint: dynamic-dnsmasq
Change-Id: I9dc55ff18b6faac36ff7603dffe9de0dcd4ada22
2015-10-23 16:08:29 +03:00
Vladimir Kozhukalov 1c8c96e291 Remove centos target image building
We don't need Centos target images in 8.0, so
this patch comments all the lines related to this.

Change-Id: I59c8d2c615ce0d8c9448ce472a3381df155defe2
2015-10-08 15:05:58 +03:00
Vladimir Kozhukalov 0b1c79b05e Build fuel-createmirror together with ISO
Change-Id: I56aca770b55e47c0fc99568792e2bbccd784909b
2015-10-02 16:59:45 +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 0496dc93f6 Merge "Rename package to fuel-target-centos-images6.6" 2015-08-25 13:24:41 +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
Sergey V. Yudin b59f69257b Move user-defined extra networks from dnsmasq.template to astute
Now Multiple Cluster Networks implented by
manual modification of dnsmasq.template inside container.
With this approach user-difened networks will be overwritten
by puppet when docker container will be restarted.
We going to create astute section EXTRA_ADMIN_NETWORKS
which will contaion all additional networks used for dhcp.

For backward compatibility we going to execute script which
will create this section from dnsmasq.template

Closes-Bug: #1473483
Change-Id: I287e717cd6b1c70e62ddcdd09aee421805862d37
2015-08-24 15:05:27 +00:00
Sergey Kulanov 0d6ff4c9ec Separate repository for Fuel Nailgun Agent
* added stackforge/fuel-nailgun-agent repository
* added fuel-nailgun-agent package (rpm, deb)

Change-Id: I5166cfafe5ed09d4012ead49fcdf5ba69bc50d11
Related-bug: #1475726
2015-07-24 13:21:08 +03:00
Alexei Sheplyakov 191cef3091 Ubuntu based bootstrap
The bootstrap image is generated during the master node deployment.
Note: the CentOS based image is used by default.

blueprint fuel-bootstrap-on-ubuntu

Depends-On: I2fce1a4b1f485bf509bfe2ea81291ceebf57e4ef
Depends-On: I8916208ec5a7e54b4c784861fe20a94737267f76
Depends-On: Icdca2858889b83bb86c8d62fdc6fe530d2af705c

Change-Id: I3581b4d997a82aafe9744b33bbb65a60b5dca8cd
2015-07-23 16:11:35 +03:00
Vladimir Kozhukalov 6e2fe707c8 Separate repository for Fuel Agent
* added stackforge/fuel-agent repository
* added fuel-agent package

Change-Id: I53a881f502b0ccc3e16ab873aa1ed8a4f3287fa5
Implements: bp split-fuel-web-repo
2015-07-15 10:12:37 +00: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
Vladimir Kuklin b6533002bd Implement package versioning on building ISO
1) Re-Define release value for packages:
  * Building from master branch:
    ${num_of_commits}.1.git${git_sha}
  * Building from gerrit:
    ${num_of_commits}.2.gerrit${request_number}.${patchset_number}.git${git_sha}

2) BUILD_PACKAGES=1 (true by default), we build packages during make iso
process. The resulted packages should have naming schema described above (see 1).
To define the correct naming schema we created version file during source preparation:
$(BUILD_DIR)/packages/sources/$1/$2

Format of the version file is:
  VERSION=$(PRODUCT_VERSION)
  #ifdef gerrit
  RELEASE=${num_of_commits}.2.gerrit${request_number}.${patchset_number}.git${git_sha}
  #else
  RELEASE=${num_of_commits}.1.git${git_sha}
  #endif
  DEBFULLNAME=Commit Author
  DEBEMAIL=Commit Author email address
  DEBMSG=Commit message

This file is parsed each time on building corresponding package and the values
passed to build uility:
 * rpmbuild
 * dch

3) Versioning applied to all Fuel packages:
  - fuel-main
  - fuel-library$(PRODUCT_VERSION)
  - astute
  - nailgun
  - fuel-ostf
  - python-fuelclient

Versioning is NOT used for late-packages and docker-images:
  - fuel-docker-images
  - fuel-bootstrap-image
  - fuel-target-centos-images

4) FUELMAIN_GERRIT_COMMIT variable added, which only used for custom_iso job and
   must be defined explixitly if we are working on some patchset from fuel-main
   project, otherwise fuel-main packages will have master branch naming schema (see 1).

Implements blueprint: package-fuel-components

Change-Id: Id43a507d521bb13f06b33ef2967277098f242211
2015-05-08 09:35:19 +00:00
Matthew Mosesohn f7c3d03569 Install ruby21 for sandbox packages
Because of the shift of ruby-2.1 to ruby21
package naming, the ruby21 package should be
used as the default ruby env for RPM building

Change-Id: Id2802bf1c3ab163efff905741c62beadf3d4b82d
Partial-Bug: #1403088
2015-04-29 18:53:12 +03:00
iberezovskiy 1ec588d364 Remove verbose option from rpmbuild
rpmbuild verbose option generated very huge output.
  These output messages are useless, so they could be skipped

  Closes-bug: #1443496

Change-Id: Iedcde7d3a195d5037d17ae60fc5062ac362e6eb5
2015-04-27 19:14:27 +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 d3aa72d814 Merge "Allow to build packages' sources as separate target" 2015-04-14 10:20:08 +00:00
Matthew Mosesohn cefdd3e311 Add fuel-package-updates package
blueprint package-fuel-components

Change-Id: I77a40f9ff67edc0b057f5ea55dad65058fe8a774
2015-04-06 19:43:30 +03:00
Sergey Kulanov 9f17b0c2f7 Allow to build packages' sources as separate target
* Use "make sources" to prepare sources for building packages
  The list of packages is defined in packages_list
* Use "make clean-repos" to clean repos

Related-bug: #1427239
Related-bug: #1433653
Change-Id: Ieef6728535f435bb7190c4cf0f90d19903a7ef8b
2015-03-25 12:55:48 +00: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
Vladimir Kozhukalov f9db44e481 Added fuel-provisioning-scripts package
This package is going to provide a set of executable
scripts which we need for provisioning to make it work.

At this iteration we only put download-debian-installer
script which is going to be used for downloading ubuntu debian-installer
kernel and initrd from user defined repositories.

Depends on: I9e7ac50d19ea8b984e1ad2831c73f2cb88ddbd54
Change-Id: I6628d85c681f21269cba157fc2650e45d730fbb9
Implements: blueprint consume-external-ubuntu
2015-03-12 15:49:38 +03:00