Browse Source

Remove libvirt package

Nova services are now running in the containers but we still have
libvirt packages installed on Overcloud systems. This change removes
libvirt packages that are not needed any more.

Depends-On: https://review.opendev.org/702836
Change-Id: I1220eda28cb8d21098c26aa548305004567e6e03
Closes-Bug: 1842932
(cherry picked from commit 359bc74c7602b27a803039557c9c5767e2bf0df6)
changes/37/702837/2
Piotr Kopec 5 months ago
parent
commit
ec988dda10
5 changed files with 6 additions and 15 deletions
  1. +0
    -1
      elements/overcloud-compute/install.d/package-installs-overcloud-compute
  2. +0
    -1
      elements/overcloud-compute/pkg-map
  3. +0
    -6
      elements/overcloud-compute/post-install.d/51-remove-libvirt-default-net
  4. +0
    -7
      elements/overcloud-controller/post-install.d/51-disable-libvirtd-service
  5. +6
    -0
      releasenotes/notes/remove-libvirt-deps-8994d3d325af0765.yaml

+ 0
- 1
elements/overcloud-compute/install.d/package-installs-overcloud-compute View File

@@ -1,6 +1,5 @@
dpdk_package
driverctl_package
libvirt_package
nfs_package
chrony_package
pacemaker_remote_package

+ 0
- 1
elements/overcloud-compute/pkg-map View File

@@ -2,7 +2,6 @@
"default": {
"dpdk_package": "dpdk",
"driverctl_package": "driverctl",
"libvirt_package": "libvirt",
"nfs_package": "nfs-utils",
"chrony_package": "chrony",
"pacemaker_remote_package": "pacemaker-remote",

+ 0
- 6
elements/overcloud-compute/post-install.d/51-remove-libvirt-default-net View File

@@ -1,6 +0,0 @@
#!/bin/bash

set -eux
set -o pipefail

rm -f /etc/libvirt/qemu/networks/autostart/default.xml

+ 0
- 7
elements/overcloud-controller/post-install.d/51-disable-libvirtd-service View File

@@ -1,7 +0,0 @@
#!/bin/bash

set -eux
set -o pipefail

systemctl stop libvirtd
systemctl disable libvirtd

+ 6
- 0
releasenotes/notes/remove-libvirt-deps-8994d3d325af0765.yaml View File

@@ -0,0 +1,6 @@
---
other:
- |
Nova services are now running in the containers but we have still
a lot of libvirt packages installed on Overcloud systems.
This change remove unnecessary libvirt packages.

Loading…
Cancel
Save