The download url for 0.12.0 on s3.amazonaws.com is gone,
so update to 0.13.0 and use the url from github.
Closes-bug: 2019771
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ie562c04a4e5a85db8d283a267c5fde53ae8bd27f
Set PBR_VERSION to disable all version calculation logic
of pbr the supplied version will be considered absolute.
Closes-bug: 2013029
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ia038c1c7f10170413051e5b3addd337d3559f3ff
The version 0.10.0 is deprecated and can't be fetch
from upstream, so set preferred version to the new one
Closes-bug: 1991032
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib723564ee3547f602a54c65bac979d6f57982181
Set default values for offline_img_dir if it is undefined.
Closes-bug: 1966377
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ifb284c753449864ec9a792fc353d5711ce8ab2df
The default branch in github for go-fsnotify
is changed from 'master' to 'main'.
Closes-bug: 1958190
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ie9b7210afc1cf277ee11762f80c867bc94ef351a
The specified path for grub.cfg is CentOS specific
and is not exist on poky, so fix it with the correct
one.
Closes-bug: 1946441
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I2e6a741a919c45ef4acc429881460caf3b828b8c
The grub.cfg and grubenv is not in the default location as on
CentOS, --config-file and --env need to be specified to make
grubby work correctly, so modify the ansible task to add these
args for both efi and bios modes.
Closes-bug: 1946441
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I8c55a1d8f8d6287e120f8108d93999498cffea20
The original upstream source download url http://download.osgeo.org/
is not stable and sometimes corrupt, so add a mirror from
https://ftp.osuosl.org/ to avoid the do_fetch failure when the
upstream one is corrupted.
Closes-bug: 1954357
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I307e8a10c85b837081cb3118e619df768f40e385
The default branch in github for elastic/helm-charts
is changed from 'master' to 'main'.
Closes-bug: 1954373
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ie3d1bff59359b847eb99ab7c72a2ea1ce848c67f
The known errors happen not only for /scratch,
so expand the patten for other similar issues.
Story: 2009305
Task: 43677
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: If2866abeaa3d6a8524ccdfdca088f8b1233ab65d
Add support to load image from offline file, the steps
to use this feature:
1. Get and place all offline image files in a dir:
e.g. /home/sysadmin/docker_images_stx50
2. Add the following line in local.conf:
offline_img_dir: /home/sysadmin/docker_images_stx50
3. run bootstrap playbook as usual.
Story: 2009305
Task: 43677
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I7303fbb107f3e487a52a2333f72961d3d4f93c44
This is an excerpt from docker-py 4.4.4 needed to check if a given image
exists in an authenticated registry.
Story: 2009305
Task: 43677
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Id7de52e3faa79e559d1957bf7a635152b5e775cb
After copy the kickstart files from target build, get the
package list from stx_base_list file and add them into
the %packages section in all the kickstart files, so these
packages will be installed for all roles.
Story: 2009305
Task: 43677
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I5d9f85a40eea559ba9f35bd7868c4c11dd4543e3
This will generate a file with the list of packages that are required
by all roles, and the list will be used in anaconda kickstart files
to install these packages for all roles. and there will be another
list with role based packages.
Story: 2009305
Task: 43677
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I4b45fc503fb963b80182359d7358c820e2150801
Fix the kickstarts so it will install packages based on
different roles, not only for AIO.
The placeholder xxxPACKAGE_LISTxxx will be replaced by the
package list for each role.
Story: 2009305
Task: 43677
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I9611824c81f86f06395f7291b5cbb27a68fe86f3
platform-util-controller is for controller node only
platform-util-noncontroller is for noncontroller nodes.
Add the two new sub-packages and correct the package split so we
can re-group and install the packages based on different roles.
Story: 2009305
Task: 43677
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I6ef34328b15a9a1c5546f6b61a8ca3fd83eac2ee
mtce-guestagent is for controller and worker nodes.
mtce-guestserver is for worker node only.
Correct the package split so we can re-group the packages
based on different roles.
Story: 2009305
Task: 43677
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I0b4124326da9a7eb7555081e55f7ae5a0af5aecf
A fix is required after the upversion of Tiller to > 2.16.8
which is required for the Armada upversioning, so just
update the SRCREV to include the following fix:
* 8f770bd Fix chart syntax to comply with Go 1.14
Partial-Bug: 1946420
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I951c173d8538620f4dd81c4bab74c55668755555
After stx 5.0 was released, some images like tiller were
moved to ghcr.io from gcr.io, which caused download failure,
but has been fixed in upstream r/stx.5.0 branch, so just
update the SRCREV to include the following commits:
* ccad552 Add ghcr docker registry
Partial-Bug: 1946420
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib723a523b882711631ced9957a2dc32ecd61f719
After stx 5.0 was released, some images like tiller were
moved to ghcr.io from gcr.io, which caused download failure,
but has been fixed in upstream r/stx.5.0 branch, so just
update the SRCREV to include the following commits:
* d97dd66 Support ghcr docker registry service parameters
Partial-Bug: 1946420
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Idf1aedc89bfcfea1c3b0692a006f3313d177feae
After stx 5.0 was released, some images like tiller were
moved to ghcr.io from gcr.io, which caused download failure,
but has been fixed in upstream r/stx.5.0 branch, so just
update the SRCREV to include the following commits:
* 8574a10 Updated tiller image source
* 7726ff8 Add support for the github docker image registry
* 1d637ea Update armada image version to 7ef4b86
Partial-Bug: 1946420
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I49cb6ff9ba5e026e758ce4abe3d95173f9896343
The checksums of the tarball from github has changed, so
update to the new ones.
Closes-bug: 1945140
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I44acf422cd65c53a0ebe0b86e6a3def2529fef4e
The original SRC_URI is gone, so change to use the one
in github, which has the same source codes, but with a
different dir name.
Closes-bug: 1945166
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I53e3c67bb83bd75645c6107d055ee60cac0e5fae
puppetlabs-create-resources is gone from github, so use a
mirror in gitee instead.
Closes-bug: 1945138
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I4a67f6f2ba9f1509fc0fa95d28cf4fd152dde414
The default branch in github for python-google-auth
is changed from 'master' to 'main'.
Closes-bug: 1945167
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I522dd37bc686cc0ff6c7e243867485852789e00f
* Add extra config files from ca-certificates-2018.2.22-70.0.el7_5.src.rpm
* Add bbappend and update according to the spec from
ca-certificates-2018.2.22-70.0.el7_5.src.rpm
Story: 2008952
Task: 42576
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I9bf3fde054d74ae6814a8e8a7b39e8659f030162
The tools provided by gptfdisk are required by stx kickstarts
Story: 2008952
Task: 42576
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I7f740728b584ebfd9e3d5eb812ebef30feb0e902
Fix the hardcoded path of dnf in patch_agent.py
to avoid cgcs-patch service failure.
Story: 2008952
Task: 42576
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I6f6e5e42ca435b33234a8a14f88152b1949e1ae7
Add dependency on python-daemon which is required by
patch_alarm_manager.py
Story: 2008952
Task: 42576
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ic3ab34402138d0d94c0930a660c6ba219dab1b91