The Debian packaging has been changed to reflect all the
git commits under the directory, and not just the commits
to the metadata folder.
This ensures that any new code submissions under those
directories will increment the versions.
- The commit "Add debian package for virt/cloud-init"
(SHA 6d1244bda9) was choosen to be the SRC_BASE_SRCREV
of the cloud-init's metadata because is the commit that
creates the debian directory with build files structure.
- The commit "Add debian package for virt/kvm-timer-advance"
(SHA 4cb5d17a7f) was choosen to be the SRC_BASE_SRCREV
of the kvm-timer-advance's metadata because is commit
creates the debian directory with build files structure.
- The commit "Add debian package for virt/libvirt-python"
(SHA 6420a976d3) was choosen to be the SRC_BASE_SRCREV
of the libvirt-python's metadata because is the commit that
creates the debian directory with build files structure.
- The commit "Debian: Add build structure for virt/libvirt"
(SHA 1f37f8b5d4) was choosen to be the SRC_BASE_SRCREV
of the libvirt's metadata because is the commit that
creates the debian directory with build files structure.
- The commit "Debian: Add build structure for virt/qemu"
(SHA 75a234904f) was choosen to be the SRC_BASE_SRCREV
of the qemu's metadata because is the commit that
creates the debian directory with build files structure.
Test Plan:
PASS: build-image
PASS: build-pkgs -c -p cloud-init
PASS: build-pkgs -c -p kvm-timer-advance
PASS: build-pkgs -c -p libvirt-python
PASS: build-pkgs -c -p libvirt
PASS: build-pkgs -c -p qemu
PASS: commit a file change under cloud-init, rebuild and
see that the cloud-init version has increased.
Story: 2010550
Task: 47468
Signed-off-by: Rafael Falcao <rafael.vieirafalcao@windriver.com>
Change-Id: Ica6638b220e6366a9fb1be47d5380fa44046ed84
This change enables building the stx-libvirt Docker image within the
Debian build framework. It is now based on stx-debian and
following the new convention for StarlingX images.
Test Plan:
PASS - Build libvirt debian package
PASS - Build stx-libvirt image
PASS - Manually upload built image to a system, use helm-override to
change the libvirt container image and apply stx-openstack
PASS - Ensure the libvirt Pod successfully starts and is running
PASS - Ensure libvirt Pod Liveness and Readiness probes are healthy
Story: 2010072
Task: 46974
Closes-Bug: 1998630
Depends-On: https://review.opendev.org/c/starlingx/tools/+/866411
Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
Change-Id: I10112a0f1ab3a1f880ebc8b162c42b7b131d6aad
This change adds the necessary files for the libvirt package to be built
for Debian.
This change is the new approach for porting this package and will be
replacing an old change that will no longer be valid [1].
All the libvirt related packages (rpm) delivered on CentOS builds of
starlingx were verified to exist or have an equivalent package for the
Debian Bullseye (deb) distro [2], which is based on libvirt 7.0.0.
The upstream Debian packaging, patches and configuration will be used as
is, although the deb_patches directory will contain a patch to add few
starlingx specific files that are required, based on how stx-libvirt [3]
was previously built and delivered to CentOS.
This change will deprecate the starlingx-staging/stx-libvirt repository
and any future starlingx change to libvirt will now be placed here,
on top of debian/7.0.0-3 (bullseye) version.
Earlier (on CentOS) the base point was the libvirt 4.7.0 release and 17
starlingx specific commits were added to deliver new features or fix
bugs. Now, the base point will be the libvirt 7.0.0 release package
already prepared for Debian [4] and those 17 commits port will be
evaluated and done, in case they are still needed.
The patches dir will contain source code patches required for
stx-libvirt, that is, the code that was earlier added on top of 4.7.0
libvirt release to add StarlingX required functionalities.
The work done on this change is simply porting the code changes,
copying it and doing the minimum required updates when it is needed.
If more than one commit (from that list) can be placed on a single
patch, the patch description will contain all the necessary references.
The list of commits follow, where the "-" character indicates that the
commit was dropped now that we are based on 7.0.0:
-8c46e4 conf: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStorageVolDef
-e8c2ae storage: add support for new rbd_list2 method
-dee98c storage: split off code for calling rbd_list
-956103 Revert "qemu: hotplug: Prepare disk source in..."
-97d02f STX: po make: limit thread creation ability of libgomp
-6e8f91 STX: Revert "vsh: Fix broken build on mingw"
0d92d8 STX: pci-sriov perform limited retry on netlink failures
c49366 STX: Increase timeout for connecting to monitor
dedd07 STX: Stop processing memory stats if balloon info hard fails
-e0f897 STX: Allow vcpu pinning with TCG
d8b544 STX: Adding systemd dependencies against pmon.service
-7bf5a9 STX: Set initial cpu affinity of qemu threads
28b73b STX: Fixed default libvirtd systemd service
e4c5a6 STX: DPDK parms handling
fdf5e7 STX: Drop migration poll times to 10mS
fbc79d STX: System Logging: set group read permission on log files
2721c7 STX: CPU pinning not working over live-migration
[1] https://review.opendev.org/c/starlingx/integ/+/824928
[2] https://packages.debian.org/source/bullseye/libvirt
[3] https://github.com/starlingx-staging/stx-libvirt
[4] https://salsa.debian.org/libvirt-team/libvirt/-/tree/debian/7.0.0-3/debian
Test Plan:
PASS: Build the libvirt packages
PASS: Build Debian ISO with libvirt packages
PASS: Bootstrap Debian ISO on AIO-SX
PASS: Ensure libvirt packages are installed (apt list --installed)
PASS: Lock/Unlock AIO-SX *
* Future tests regarding the libvirt/qemu runtime features will be done
once all the pieces are in place in the ISO.
Depends-On: https://review.opendev.org/c/starlingx/root/+/865021
Story: 2010317
Task: 46391
Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
Change-Id: Ib3da0e663336021fa2cfd6b400d1081fc0113348
This update makes use of the PKG_GITREVCOUNT variable
to auto-version the packages in this repo.
Story: 2007750
Task: 39951
Change-Id: I854419c922b9db4edbbf6f1e987a982ec2ec7b59
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
Changes to support removing the RHEL patches include:
- drop systemtap from the spec file for qemu
- leave the man page name as qemu vs. qemu-kvm, man pages are not
installed into containers anyway
Change-Id: I230f7213f9de50fc94b4ddbbb0ebd6581ee1f5a1
Story: 2005212
Task: 29990
Depends-On: https://review.opendev.org/#/c/655235/
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
This update removes pike and master wheel and/or image files,
as these have been replaced with stable/dev.
Change-Id: I02dfdd799c62f0b4028606b04ad6f125865769d9
Story: 2005248
Task: 30321
Signed-off-by: Don Penney <don.penney@windriver.com>
This update supports the migration to stable/dev build streams by
setting up the stable/dev wheels.inc and image build files.
Change-Id: I2330be8a910245d434a9e0a116fa4db65f7212e8
Story: 2005248
Task: 30100
Depends-On: Ib5dc9a7c1d8c37368d073e28d83eeb883766ee3f
Signed-off-by: Don Penney <don.penney@windriver.com>
Just doing some whitespace and variable expansion cleanups in the
bash script that were highlighted while doing a previous review.
Change-Id: I6a5a1e80057fbf6cb292fc0ed5415a26fb780958
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
The final upstream implementation for emulated TPM support in libvirt
has merged, and as such we no longer need to maintain our own hooks.
Let's clean up this code as it's no longer relevant.
Change-Id: I1c1ee1fa9f53c6c4cdaecc102bb05fe548ba9fb7
Story: 2005213
Task: 29991
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
Refactor low latency compute per-cpu power management
out of stx-nova into libvirt qemu hook
Story: 2004610
Task: 28508
Change-Id: I80432b36c4e71d957db51f1742ef87fb519acce2
Signed-off-by: Daniel Chavolla <daniel.chavolla@windriver.com>
The latest upstream libvirt helm chart now requires the cgexec binary
which is part of the libcgroup-tools package.
Change-Id: I6f5398a2788174f800612bc42226e8fdd26ab83f
Story: 2003909
Task: 27632
Signed-off-by: Robert Church <robert.church@windriver.com>
This update adds the docker image build directives file for
stx-libvirt and creates the centos_pike_docker_images.inc.
Change-Id: I72409f0f321b6c315a62e540e79e5d716eb023ed
Story: 2003907
Task: 26788
Signed-off-by: Don Penney <don.penney@windriver.com>
Includes the libvirt-python package upgrade as well. Note
that the generated package is now called python2-libvirt.
Story: 2003339
Task: 24377
Story: 2003396
Task: 24522
Depends-On: https://review.openstack.org/#/c/605230/
Change-Id: Iad2c521c2f2fc871589f793c5902555d3c3c41f4
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
Removing this directory because it is no longer used, as we are currently on libvirt-3.5.0
Story: 2003409
Task: 24550
Change-Id: Ic88c2d54df41c4ca271ef8db482e7226ba37d80f
Signed-off-by: zhipengl <zhipengs.liu@intel.com>