1311 Commits

Author SHA1 Message Date
Jackie Huang
c94477d6bf drbd-utils: fix the do_package QA Issue
Closes-bug: 2019780

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I29ef7cd8aab2aa333b434b4fec834fab73b33588
2023-05-15 20:24:37 -07:00
Jackie Huang
cca94232ab kubernetes: update the checksum for kubernetes-contrib-v1.18.1.tar.gz
Closes-bug: 2019778

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I83812c13fc7c0dcded3574eb2c68f213c2248052
2023-05-15 20:24:21 -07:00
Jackie Huang
83565fcaeb python-barbican: change to use master branch
stable/stein is gone from upstream

Closes-bug: 2019779

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ibb8f507a1a0e47680556fee6290cae5fcf839714
2023-05-15 20:24:03 -07:00
Jackie Huang
650220628f python-redfishtool: change to main branch
The master branch is dropped upstream.

Closes-bug: 2019777

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Iaf8259539a7cdc3909e803a0314a8f0109e091cb
2023-05-15 20:23:44 -07:00
Jackie Huang
8f0ed27738 chartmuseum: update to 0.13.0
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
2023-05-15 18:37:31 -07:00
Jackie Huang
e2fefea34d recipes-devtools: fix the do_install failure for pkgs
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
2023-03-28 21:44:00 -07:00
Jackie Huang
0984e1ca88 python-pika: set preferred version to the new one
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
2022-09-28 02:39:05 +00:00
Jackie Huang
b48d6097a4 playbookconfig: set default values for offline_img_dir
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
2022-03-25 14:12:00 +08:00
Jackie Huang
e60730e797 go-fsnotify: fix for the default branch change
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
2022-01-18 16:06:08 +08:00
Jackie Huang
ba220653c8 platform-kickstarts: fix the path for grub.cfg
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
2022-01-18 14:15:13 +08:00
Jackie Huang
617b902595 playbookconfig: add grubby args for efi and bios mode
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
2022-01-10 13:56:53 +08:00
Jackie Huang
f5b598ce2c tiff: add a download mirror
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
stx-5.0_oran-5.0
2021-12-09 22:54:42 -08:00
Jackie Huang
22c00a7691 monitor-helm-elastic: fix for the default branch change
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
2021-12-09 22:53:13 -08:00
Jackie Huang
0916e2bb54 stx-puppet: adjust the workaround patch
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
2021-12-08 08:16:03 +00:00
Jackie Huang
c53e06f13f playbookconfig: add support to load image offline file
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
2021-12-08 08:15:43 +00:00
Jackie Huang
35ce190b76 python-docker: Add auth_config to api.image.inspect_distribution
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
2021-12-08 08:15:10 +00:00
Jackie Huang
638cf9f03d playbookconfig: Checking images on registry.local before download
Backport 3 fixes from upstream master to prevent unecessary image
re-download on +sysinv-conductor restarts.

Story: 2009305
Task: 43677

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ic84f4e7ab57a536efbf2eec3d322c829aa66a823
2021-12-03 01:47:41 +00:00
Jackie Huang
937baca3ec python-openstackclient: add RDEPENDS on python-swiftclient
python-swiftclient is required by python-openstackclient

Story: 2009305
Task: 43677

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I6f4e298fbe7dc86709f0cbc965e95d094c62f0da
2021-12-02 10:54:36 +08:00
Jackie Huang
936cff6992 stx-anaconda-image: add comps.xml and stx_base_list for kickstart files
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
2021-12-02 10:53:55 +08:00
Jackie Huang
40c06d1576 sysinv: add RDEPENDS on python-websocket-client
python-websocket-client is required by sysinv and sysinv-agent

Story: 2009305
Task: 43677

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I16066a8141ba5ad7a095acc041fb505930b096eb
2021-12-02 10:52:56 +08:00
Jackie Huang
651afff848 python3-anaconda: add support for the groups from comps.xml
Story: 2009305
Task: 43677

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib8a37a73270f71b4ba925fe0ef50c7e382129d0d
2021-12-02 10:51:26 +08:00
Jackie Huang
bf08b7d33e stx-image-list: add stx-base list
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
2021-12-02 10:44:00 +08:00
Jackie Huang
83da256e7f platform-kickstarts: fix to install packages based on roles
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
2021-12-02 10:40:18 +08:00
Jackie Huang
8b9d59f7f8 packagegroup-stx: re-org the packagegroups based on different roles
Re-org the packagegroups based on different roles:
- controller
- worker
- storage

Story: 2009305
Task: 43677

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I0daa64fd6150b4aa77e2a5c34625512193624889
2021-10-20 14:05:41 +08:00
Jackie Huang
f26003aa79 platform-util: add new sub-packages and correct the package split
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
2021-10-19 10:53:51 +08:00
Jackie Huang
5215095444 mtce-guest: correct the package split
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
2021-10-19 10:27:39 +08:00
Jackie Huang
c24474e46b stx-platform-armada-app: update the SRCREV
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
2021-10-11 15:15:51 +08:00
Jackie Huang
416a93bc54 stx-puppet: update the SRCREV
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
2021-10-09 10:56:58 +08:00
Jackie Huang
8a67ad374f stx-config: update the SRCREV
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
2021-10-09 10:55:53 +08:00
Jackie Huang
b2943fc556 playbookconfig: update the SRCREV
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
2021-10-09 10:54:17 +08:00
Jackie Huang
bbd22cb92c kubernetes: update the checksum for kubernetes-contrib
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
2021-09-29 00:15:04 -07:00
Jackie Huang
610677cde5 cluster-glue: fix the SRC_URI
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
2021-09-27 20:01:56 -07:00
Jackie Huang
6fa60e61d7 puppetlabs-create-resources: fix the SRC_URI
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
2021-09-27 19:45:10 -07:00
Jackie Huang
1b7da25f43 python-google-auth: fix the branch name
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
2021-09-27 00:30:29 -07:00
Jackie Huang
c4811f4449 ca-certificates: update for stx 5.0
* 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
2021-09-14 13:32:50 +08:00
Jackie Huang
ea71d352e9 core-image-anaconda-initramfs: add gptfdisk
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
2021-09-01 09:53:10 +08:00
Jackie Huang
431a4bcf35 cgcs-patch: fix the path of dnf
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
2021-08-25 09:56:13 +08:00
Jackie Huang
88d26d4ba8 patch-alarm: update for stx 5.0
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
2021-08-25 09:56:13 +08:00
Zuul
34e8a31e64 Merge "python-keystonemiddleware: uprev to 7.0.1 for stx 5.0" 2021-08-24 16:42:33 +00:00
Zuul
44cb878dfc Merge "python-osc-lib: uprev to 1.14.1 for stx 5.0" 2021-08-24 16:42:25 +00:00
Zuul
faef7bbc0c Merge "python-openstackclient: uprev to 4.0.0 for stx 5.0" 2021-08-24 16:42:03 +00:00
Zuul
f31f9a9aec Merge "python-oslo.log: uprev to 3.44.3 for stx 5.0" 2021-08-24 16:42:02 +00:00
Zuul
c8326068ed Merge "python-pankoclient: uprev to 0.7.0 for stx 5.0" 2021-08-24 16:41:49 +00:00
Zuul
01f1536b91 Merge "python-novaclient: uprev to 15.1.0 for stx 5.0" 2021-08-24 16:41:42 +00:00
Zuul
e90b9831cd Merge "python-neutronclient: uprev to 6.14.0 for stx 5.0" 2021-08-24 16:41:35 +00:00
Zuul
9790df2777 Merge "python: remove python-magnumclient and python-muranoclient" 2021-08-24 16:41:14 +00:00
Zuul
bfcf8bfa67 Merge "python-ironicclient: uprev to 3.1.0 for stx 5.0" 2021-08-24 16:41:07 +00:00
Zuul
8d29a0f05a Merge "python-heatclient: uprev to 1.18.0 for stx 5.0" 2021-08-24 16:41:00 +00:00
Zuul
6b0dfae825 Merge "python-glanceclient: uprev to 2.17.0 for stx 5.0" 2021-08-24 16:40:52 +00:00
Zuul
35f91172d2 Merge "python-cinderclient: uprev to 5.0.0 for stx 5.0" 2021-08-24 16:40:45 +00:00