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
- 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
dpkg-checkbuilddeps doesn't check dependencies inside chroot as in many
cases host system might not have required packages. This change replaces
dpkg-checkbuilddeps with mk-build-deps in chroot
Implements: mos-xenial
Change-Id: I27a65893c1bd33e6d82c11bf3d08423562dbe4d2
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
Include upstream_modules.tar.gz to the source tar.gz
in case we are building the fuel-library package,
and USE_PREDEFINED_FUEL_LIB_PUPPET_MODULES is defined.
Closes-Bug: #1570331
Change-Id: I998d68e9a9cc900b3e0faf85d573fe36b8e39526
Include upstream_modules.tar.gz to the source tar.gz
in case we are building the fuel-library package.
Change-Id: Iaeaaaa47f5c13b501fd4c0e0c63f51af57dcf925
Closes-Bug: #1570331
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
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
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
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
Env var $TEMP is not set anywhere, and always empty.
There is no point to run 'mkdir $TEMP'.
Change-Id: I04345d8431dca0b703e0edaf00aee168df8acc3c
Related-Bug: #1522909
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
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
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
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
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
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
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
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
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
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
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
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
We need to remove
/var/www/nailgun/docker/utils/*
from %files section since we have this path empty
Closes-bug: #1504002
Change-Id: I47363f4181d26c0d706df4fbd592018923781c69
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
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