Merge ~paelzer/ubuntu/+source/libvirt:merge-8.0-jammy into ubuntu/+source/libvirt:debian/sid

Proposed by Christian Ehrhardt 
Status: Merged
Merge reported by: Christian Ehrhardt 
Merged at revision: 37bc4e751fca94e4fb868b7fa45b98b026e96459
Proposed branch: ~paelzer/ubuntu/+source/libvirt:merge-8.0-jammy
Merge into: ubuntu/+source/libvirt:debian/sid
Diff against target: 10026 lines (+9063/-67)
38 files modified
debian/changelog (+7651/-11)
debian/control (+13/-11)
debian/libvirt-clients.install (+1/-0)
debian/libvirt-clients.lintian-overrides (+1/-0)
debian/libvirt-daemon-system.dirs (+2/-0)
debian/libvirt-daemon-system.install (+1/-0)
debian/libvirt-daemon-system.postinst (+170/-0)
debian/libvirt-daemon-system.postrm (+42/-1)
debian/libvirt-daemon.README.Debian (+82/-22)
debian/libvirt-daemon.apport (+22/-0)
debian/libvirt-daemon.dnsmasq (+2/-0)
debian/libvirt-daemon.install (+1/-0)
debian/libvirt-uri.sh (+27/-0)
debian/patches/backport/qemuDomainSetupDisk-Initialize-targetPaths.patch (+42/-0)
debian/patches/backport/util-fix-syslog-facility-value.patch (+58/-0)
debian/patches/series (+22/-0)
debian/patches/ubuntu-aa/0020-virt-aa-helper-ubuntu-storage-paths.patch (+37/-0)
debian/patches/ubuntu-aa/0029-appmor-libvirt-qemu-Add-9p-support.patch (+34/-0)
debian/patches/ubuntu-aa/0031-virt-aa-helper-Ask-for-no-deny-rule-for-readonly-dis.patch (+43/-0)
debian/patches/ubuntu-aa/0032-apparmor-libvirt-qemu-Allow-reading-charm-specific-c.patch (+34/-0)
debian/patches/ubuntu-aa/0033-UBUNTU-only-apparmor-for-kvm.powerpc-LP-1680384.patch (+41/-0)
debian/patches/ubuntu-aa/0034-apparmor-virt-aa-helper-access-for-snapped-nova.patch (+33/-0)
debian/patches/ubuntu-aa/lp-1815910-allow-vhost-hotplug.patch (+57/-0)
debian/patches/ubuntu/Allow-libvirt-group-to-access-the-socket.patch (+50/-0)
debian/patches/ubuntu/daemon-augeas-fix-expected.patch (+21/-0)
debian/patches/ubuntu/dnsmasq-as-priv-user (+290/-0)
debian/patches/ubuntu/lp-1861125-ubuntu-models.patch (+21/-0)
debian/patches/ubuntu/ovmf_paths.patch (+60/-0)
debian/patches/ubuntu/parallel-shutdown.patch (+25/-0)
debian/patches/ubuntu/set-default-machine-to-ubuntu.patch (+45/-0)
debian/patches/ubuntu/swtpm-by-swtpm-user.patch (+40/-0)
debian/patches/ubuntu/ubuntu_machine_type.patch (+14/-0)
debian/patches/ubuntu/wait-for-qemu-kvm.patch (+23/-0)
debian/rules (+18/-14)
debian/tests/control (+3/-2)
debian/tests/smoke-lxc (+30/-4)
debian/tests/smoke-qemu-session (+5/-0)
debian/tests/smoke-qemu-session.xml (+2/-2)
Reviewer Review Type Date Requested Status
Sergio Durigan Junior (community) Approve
Canonical Server Pending
git-ubuntu import Pending
Review via email: mp+414648@code.qastaging.launchpad.net
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

PPA: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4753/+packages

Regression tests are ongoing, but looking good enough by now to get the reviews started.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Tests identified https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1959054 which is ongoing (fixes/tests). Other than that regression tests already look mostly good (only some yet to debug network issue on x86 only).

Autopkg are good as well:
  libvirt @ amd64:
    27.01.22 14:40:50 Log 🗒️ ✅ Triggers: ['libvirt/8.0.0-1ubuntu1~jammyppa2']
      smoke PASS ✅
      smoke-lxc PASS ✅
      build-test PASS ✅
  libvirt @ arm64:
    27.01.22 14:54:42 Log 🗒️ ✅ Triggers: ['libvirt/8.0.0-1ubuntu1~jammyppa2']
      smoke PASS ✅
      smoke-lxc PASS ✅
      build-test PASS ✅
  libvirt @ armhf:
    27.01.22 14:42:55 Log 🗒️ ✅ Triggers: ['libvirt/8.0.0-1ubuntu1~jammyppa2']
      smoke PASS ✅
      build-test PASS ✅
  libvirt @ ppc64el:
    27.01.22 14:47:29 Log 🗒️ ✅ Triggers: ['libvirt/8.0.0-1ubuntu1~jammyppa2']
      smoke PASS ✅
      smoke-lxc PASS ✅
      build-test PASS ✅
  libvirt @ s390x:
    27.01.22 14:41:04 Log 🗒️ ✅ Triggers: ['libvirt/8.0.0-1ubuntu1~jammyppa2']
      smoke PASS ✅
      smoke-lxc PASS ✅
      build-test PASS ✅

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

FYI the strangest new Delta is about the service handling due to recent debhelper/systemd fun.
I submitted that to Debian to not be odd delta forever:
=> https://salsa.debian.org/libvirt-team/libvirt/-/merge_requests/132

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote (last edit ):

Thanks for the MP, Christian.

As usual, a big diff to review! I could not find the regular merge tags (reconstruct, split and logical), so it's "a bit" more work to check that the delta is OK. Here's the command I've used (which is not perfect, so I needed to tweak things a bit):

diff -u <(git log pkg/import/7.0.0-1..pkg/import/7.6.0-0ubuntu3 --format=%s -- debian/ | grep -v '^changelog' | grep -v '^update-maintainer' | sort) <(git log pkg/import/8.0.0-1..merge-8.0-jammy --format=%s -- debian/ | grep -v '^changelog' | grep -v '^update-maintainer' | sort)

I'm also happy with the PPA build (I won't build the package locally; takes too long), and I'm happy with the autopkgtest that have been run on the infra (again, I won't run them locally, and TBH running directly on the infra is better anyway).

I double-checked all commits and made sure that they are being properly listed in the d/changelog entry. I'm leaving a few minor comments in the changelog; they're cosmetic, though.

As for the debhelper/systemd change, my only comment is that you're still using the option "--no-stop-on-upgrade" when invoking dh_installsystemd on d/rules. I think it is best to remove that option, because otherwise debhelper will generate the bogus snippet anyway and it may get executed on postinst/prerm. WDYT?

I'm overall satisfied with the MP. If you have the time and can wait, feel free to push the merge tags and I will take a closer look into the delta. Otherwise, I am OK if you'd like to proceed; there's nothing strange that caught my eyes.

review: Approve
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Yeah sorry, co-developing so much on Salsa makes me forget to provide the usual set of tags. Also we went ahead of Debian multiple times but fetching commits from salsa in those, which makes our past look noisy.
Due to always maintaining with git-ubuntu the TL;DR is pkg/ubuntu/jammy-devel == deconstruct, so it isn't too hard despite looking ugly.
Here they are:
To ssh://git.launchpad.net/~paelzer/ubuntu/+source/libvirt
 * [new tag] merge-8.0-jammy-former-deconstruct -> merge-8.0-jammy-former-deconstruct
 * [new tag] merge-8.0-jammy-former-logical -> merge-8.0-jammy-former-logical
Next time just remind me instead of feeling the pain, I'll then do my duty to create and provide them right away.

The debhelper/systemd situation is still up for debate and discussion in the Debian PR and debian bug.
I'm gonna upload libvirt once we have settled there.
Your suggestion of dropping --no-stop-on-upgrade is interesting, I rechecked and dbus uses an even more confusing "--no-restart-after-upgrade --no-start". I'll have a look and also try only using "--no-start".
The currently proposed code does work through all tests that I found, which is why I'd like to keep it until I had time to find a better one :-)
If the Debian discussions take too long I might upload libvirt as proposed here "for now" and later once (as discussed in standup) we know how bug 1959054 resolves for Ubuntu rewrite it depending on that.
TL;DR - something working for now, resolve it before jammy-release

Thanks for the inline comments, I'll have a look at each of them ...

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Changlog updates added - thanks

I've started a build with just "--no-start" to evaluate the effective generated maintainer script contents with that ...

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

FYI @Sergio:
Only using "--no-start" compared to what I proposed "--no-stop-on-upgrade --no-start" only drops a snippet in prerm that will stop the services on removal.
That isn't helping, if they were started it is indeed helpful to stop them before rmeoval.
For install/upgrade this snippet has no effect.
Therefore I'd - for now - leave it as "--no-stop-on-upgrade --no-start" which is the most explicit expression of "do not do anything please".

I'll rebuild with the former again ...

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

On Tuesday, February 01 2022, Christian Ehrhardt  wrote:

> FYI @Sergio:
> Only using "--no-start" compared to what I proposed "--no-stop-on-upgrade --no-start" only drops a snippet in prerm that will stop the services on removal.
> That isn't helping, if they were started it is indeed helpful to stop them before rmeoval.
> For install/upgrade this snippet has no effect.
> Therefore I'd - for now - leave it as "--no-stop-on-upgrade --no-start" which is the most explicit expression of "do not do anything please".
>
> I'll rebuild with the former again ...

Thanks for the follow up, Christian. BTW, not having the git-ubuntu
tags was no pain; I just had to improvise with git, but that's fine.

FWIW, thank you for double-checking what removing "--no-stop-on-upgrade"
causes. Based on your findings I agree that it's OK to leave the option
as is. I'm also hoping that this bug will be fixed before the release,
and that you will be able to drop this particular delta soon.

Anyway, with all of this out of the way, the MP now LGTM. +1.

Cheers,

--
Sergio
GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Uploading with the mitigation for the debhelper issue to unblock others.
But the plan is to drop this mitigation before jammy release once debhelper is fixed.

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading libvirt_8.0.0-1ubuntu1.dsc: done.
  Uploading libvirt_8.0.0.orig.tar.xz: done.
  Uploading libvirt_8.0.0-1ubuntu1.debian.tar.xz: done.
  Uploading libvirt_8.0.0-1ubuntu1_source.buildinfo: done.
  Uploading libvirt_8.0.0-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches