-
Bug
-
Resolution: Done-Errata
-
Normal
-
6.18.0
-
1
-
False
-
rubygem-katello-4.18.0-0.2.pre.master.20250810032214git2c1bfa5.el9sat.noarch.rpm
-
Moderate
-
Artemis Sprint 153, Artemis Sprint 154
-
sat-artemis
-
None
-
None
-
None
-
Automated
-
Yes
Description of problem:
The "Flatpak - Install application on host" REX job hangs for ~10 minutes until it finds out the underlying task is actually already done. Then it finishes with success.
How reproducible:
always
Is this issue a regression from an earlier version:
It is a regression since the job template uses `dbus-run-session` (for a good reason) instead of the original `dbus-launch`.
Steps to Reproduce:
1. Setup a Satellite and a RHEL9 host to install a Flatpak app.
2. Install a Flatpak app using the "Flatpak - Install application on host" job template.
Or just run robottelo test: pytest tests/foreman/cli/test_flatpak.py -k test_sync_consume_flatpak_repo_via_library[RedHat]
Actual behavior:
When you open the running job and click on the host it runs against, you see
1:
Looking for matches…
2:
Required runtime for org.mozilla.Firefox/x86_64/stable (runtime/com.redhat.Platform/x86_64/el9) found in remote SAT-remote-RVgroVilkm
3:4:
org.mozilla.Firefox permissions:
5:
ipc network pcsc pulseaudio
6:
wayland x11 devices file access [1]
7:
dbus access [2] bus ownership [3] system dbus access [4]
8:9:
[1] /run/.heim_org.h5l.kcm-socket, home:ro, xdg-download, xdg-run/gvfs,
10:
xdg-run/gvfsd, xdg-run/pipewire-0, ~/.cache/firefox:create,
11:
~/.mozilla:create
12:
[2] org.a11y.Bus, org.freedesktop.FileManager1,
13:
org.freedesktop.Notifications, org.freedesktop.ScreenSaver,
14:
org.gnome.SessionManager, org.gtk.vfs.*
15:
[3] org.mozilla.firefox., org.mpris.MediaPlayer2.firefox.
16:
[4] org.freedesktop.NetworkManager
17:18:
19:
1. com.redhat.Platform el9 i SAT-remote-RVgroVilkm < 409.9 MB
20:
2. org.mozilla.Firefox stable i SAT-remote-RVgroVilkm < 156.3 MB
21:22:
23:
dbus-daemon[19807]: [session uid=0 pid=19807] Activating service name='org.flatpak.Authenticator.Oci' requested by ':1.0' (uid=0 pid=19808 comm="flatpak install SAT-remote-RVgroVilkm Firefox --as" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
24:
dbus-daemon[19807]: [session uid=0 pid=19807] Successfully activated service 'org.flatpak.Authenticator.Oci'
25:
Installing 1/2…
26:
Installing 1/2… █▌ 8%
27:
Installing 1/2… █████████▍ 47% 195.1 MB/s
28:
Installing 1/2… ██████████████████▏ 91% 204.6 MB/s
29:
Installing 1/2… ███████████████████▊ 99% 225.1 MB/s
30:
Installing 1/2… ████████████████████ 100% 28.1 MB/s 00:00
31:
Installing 2/2…
32:
Installing 2/2… █▌ 8%
33:
Installing 2/2… ████████████████████ 100%
34:
Installation complete.
and the task is stuck as pending, regardless the installation is already done. After ~10 minutes line 35 pops up and task finishes
32:
Installing 2/2… █▌ 8%
33:
Installing 2/2… ████████████████████ 100%
34:
Installation complete.
35:
Exit status: 0
Expected behavior:
Avoid those ~10 minutes hangs.
- links to
-
RHBA-2025:155337
Important: Satellite 6.18.0 new version release