Due to USM updates the patches dir may be
created during iso creation time so this commit
updates our current prepatch iso to add -p to
the mkdir command.
https://review.opendev.org/c/starlingx/tools/+/892623
Story: 2010676
Task: 48791
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Change-Id: I4395ae5776df818f8c8c9466d82cb879fb39011a
Include the iotop package on Debian ISO
Useful for debugging performance issues.
Test Plan
PASS Build ISO
PASS Login with sysadmin user
PASS Run the command "iotop"
Closes-Bug: 2032846
Depends-On: https://review.opendev.org/c/starlingx/tools/+/892400
Change-Id: I26c4a2618f071f351c1e13726503b78c1b2d94e6
Signed-off-by: Cesar Pompeu de Barros Bombonate <Cesar.PompeudeBarrosBombonate@windriver.com>
The content of the stx-fm-trap-subagent image has been updated due to
the fix of a bug:
https://review.opendev.org/c/starlingx/snmp-armada-app/+/892624
It is updated the yaml file with new tag using existing
master-debian-stable-20230905T060000Z.0.
Partial-bug: 2032844
Change-Id: I203db537b90ad11fa8c417726ad09ff3eedc25aa
Signed-off-by: Agustin Carranza <agustin.carranza@windriver.com>
This commit updates the image to include distributedcloud-client
changes.
Story: 2010756
Task: 48712
Change-Id: I4ec80456d92bacbce80beb9773a7c809811c6da5
Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>
Update power-operator and power-node-agent images
to tag based on upstream package version.
Story: 2010773
Task: 48654
Signed-off-by: Thiago Antonio Miranda <tmarques@windriver.com>
Change-Id: I93605cc7a95a50b5fc0500df89f4c9ad23ba4b71
Remove default image names from the script. They are hard-coded, and yet
ignored -- the script always takes defaults from
starlingx/clients/remote_cli/docker_image_version.sh
Story: 2010226
Task: 48668
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I6c8a55e8ae77dbd7387025cf8bdbf3328ce44e31
This reverts commit fb4b5aa85c.
Reason for revert: This change is not required for including argcomplete module in the iso
Change-Id: I9f7378118bb655f22333459140e5080e55a08e5c
Closes-Bug: 2030083
Unified Software Management requires this module to support
bash completion.
Test Plan:
1) Build a new iso and install it
2) Verify that bash completion works for software module
Story: 2010676
Task: 48541
Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
Change-Id: I0c9ff2a9bdaba31688345c8e21e144b67428f2a1
In order to maintain the kernel's patch set more easily, using
sub-directories to separate the patches with different functionalities,
like the Debian upstream behavior.
https://salsa.debian.org/kernel-team/linux/-/tree/debian/5.10.179-3/debian/patches?ref_type=tags
Test Plan:
Pass: build kernel successfully with moving some patches
to sub-directories
Closes-Bug: 2029337
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I81ac26206b5a26177c515986e30b2577ba096483
A redirect is used to aid in the transition from
mirror.starlingx.cengn.ca to mirror.starlingx.windriver.com.
Curl does not support redirects, unless the -L/--location options are
specified.
Partial-Bug: 2028678
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I5b6c9782a7edb0e97a17af71c2bf8bbeb23e0b90
This change add the possibility to accept more than one patch
as argument when creating the Debian pre-patched ISO.
Test-Plan:
Pass: Create prepatched ISO with 1 patch, e.g.:
patch-iso-debian -i ./starlingx-intel-x86-64-cd.iso \
-o prepatched.iso -p rebootrequired1.patch
Pass: Create prepatched ISO with 2 patchs, e.g.:
patch-iso-debian -i ./starlingx-intel-x86-64-cd.iso \
-o prepatched.iso -p rebootrequired1.patch
\ -p rebootrequired2.patch
Story: 2009969
Task: 48421
Change-Id: If1d8745f9c452472ccb2733d609ab4fb593af48d
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
In order to speed up the build-image, the minbase debootstrap
tar is cached and will be reused by the next build-image with
'--keep' option. The case is that the package 'libudev1' from
'deb-merge-all' is provided by 'systemd' that is upgraded to
a new version, but the cached debootstrap tar contains an older
version of 'libudev1' which causes the conflict like below
when running 'build-image --keep':
"The following packages have unmet dependencies:
systemd : Depends: libsystemd0 (= 247.3-7+deb11u2.stx.9) \
but 247.3-7.stx.8 is to be installed
udev : Depends: libudev1 (= 247.3-7+deb11u2.stx.9) \
but 247.3-7.stx.8 is to be installed
E: Unable to correct problems, you have held broken packages."
Test Plan:
Pass: #build-image
#Apply patch to 'systemd' or make changes to upgrade it
#commit the change
#build-image --keep
Closes-Bug: 2027756
Change-Id: I43c17a5430ccf7c1da1d5558543715b4bf941813
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
This commit updates the image to include distributedcloud-client
changes.
Story: 2010584
Task: 48300
Change-Id: I4f4fd31ebb13a7513e964d0681297b139c64a68c
Signed-off-by: Christopher Souza <Christopher.DeOliveiraSouza@windriver.com>
When building helm charts, it has been observed that the preferred long
option for specifying packages, `--package`, isn't being recognized by
`getopt` as a valid option.
As a result, one must resort to the deprecated alternative `--rpm`.
Therefore, this change adds `package` as one of the long options for
`getopt`. And since it updates the parameters of this build script, it
also updates the help message of the `--os` parameter to match the other
scripts:
* build-wheels/build-wheel-tarball.sh;
* build-docker-images/build-stx-base.sh;
* build-docker-images/build-stx-images.
Test Plan:
PASS - Build helm charts with --rpm
PASS - Build helm charts with --package
Closes-Bug: 2022090
Change-Id: Ia45930d30e99ceb15d2f0753519cd8290fcaa446
Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com>
This change is a follow-up to the kubernetes client upversion [1] to
ensure that all repositories that are calling the client have their
pylint validating the method signatures against the update version.
[1] https://review.opendev.org/c/starlingx/tools/+/881280
TEST PLAN:
PASS - stx-config/ tox run
Story: 2010368
Task: 47868
Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
Change-Id: Ic3d874cb7e2b4ec5c0ff0b0e166fc645bf0946c8
The '--reuse|--reuse_maximum' feature mirrors the remote
shared repository and imports all debs from the mirror
to the local repository, there are no deb packages in the
local build directory for the reused packages which make
some tasks like building docker images and secure boot
signing fail for the missing deb packages.
This commit supports the below functions to fix the above
issues:
a. If '--dl_reused' option is enabled for option '--reuse'
or '--reuse_maximum', all the reused deb packages will be
downloaded to their local build directory.
b. 'never_reuse.lst' will be checked and the packages listed
in it will be built locally instead of reusing them if the
option '--reuse' is enabled. And it will be ignored if the
option '--reuse_maximum' is enabled.
Test Plan:
Pass: build-pkgs (make sure the normal build-pkgs works)
Pass: export STX_SHARED_REPO=<url to shard repo>
export STX_SHARED_SOURCE=<url to shared source>
build-pkgs --reuse
Pass: export STX_SHARED_REPO=<url to shard repo>
export STX_SHARED_SOURCE=<url to shared source>
build-pkgs --reuse --dl_reused
Pass: export STX_SHARED_REPO=<url to shard repo>
export STX_SHARED_SOURCE=<url to shared source>
build-pkgs --clean --reuse --dl_reused
Run the secure boot signing script
Pass: export STX_SHARED_REPO=<url to shard repo>
export STX_SHARED_SOURCE=<url to shared source>
build-pkgs --clean --reuse --dl_reused
build-pkgs (Make sure this build will not build from scratch)
Pass: export STX_SHARED_REPO=<url to shard repo>
export STX_SHARED_SOURCE=<url to shared source>
build-pkgs --clean --reuse_maximum --dl_reused
Pass: export STX_SHARED_REPO=<url to shard repo>
export STX_SHARED_SOURCE=<url to shared source>
build-pkgs --reuse_maximum --dl_reused
Partial-Bug: 2017763
Signed-off-by: hqbai <haiqing.bai@windriver.com>
Change-Id: I8cd84dbe6fe8f0262dde12befb0b16367e261968
Test Plan:
PASS - On IPv4 AIO-SX, applied OIDC app and executed a functional test,
getting a token through "oidc-auth". Pod restart triggered by
secret-observer was also tested.
Story: 2010703
Task: 48090
Change-Id: I7ddf9bada70b92a80098d697c1452a2e591c14cb
Signed-off-by: Joao Victor Portal <Joao.VictorPortal@windriver.com>
After the remote latd instance started by lat client in
build-image, it takes indeterminate period of time for
latd to create the log file "/localdisk/log/log.appsdk"
different from the old way, this commit will check the
latd status to decide to continue to wait or quit within
the maximum grace period.
Story: 2010643
Task: 48060
Test Plan:
pass: build-image
Change-Id: Ia8499e23aa48fd569aba40aed72b1a5ccb3b3e97
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
There have been new repos added in stx/manifest that
were not added to the .gitignore in this repo.
This means that there would have been untracked changes
when running:
repo status
-- stx/app-dell-storage/
Pertains to:
https://review.opendev.org/#/c/883430/
Story: 2010693
Task: 48041
Change-Id: I3508512d5948dd1a541307db7ab3ada5f44dadf2
Signed-off-by: Gustavo Ornaghi Antunes <gustavo.ornaghiantunes@windriver.com>
This commit provides security updates on the vran-tools containers
to cover vulnerabilities found at CVE scanning.
Test Plan:
- CVE Scanning (PASS)
Story: 2010710
Task: 47966
Signed-off-by: Rogerio Ferraz <RogerioOliveira.Ferraz@windriver.com>
Change-Id: Ie9a691ccb597a5373401e144e36cd9d558fa56f9