Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,15 @@ jobs:

- name: Configure kernel
run: |
# Unload AppArmor profiles — the host-loaded passt profile
# blocks passt's self-sandboxing inside bink node containers.
# Disable AppArmor service and unload all profiles.
# The host-loaded passt profile blocks passt's self-sandboxing
# inside bink node containers.
# Must run AFTER installing podman, whose passt dependency
# loads the profile during package installation.
sudo systemctl disable --now apparmor 2>/dev/null || true
sudo aa-teardown 2>/dev/null || true
echo "AppArmor status after teardown:"
sudo aa-status 2>/dev/null || echo "(aa-status failed)"
# Allow unprivileged user namespace creation (needed by passt
# inside containers).
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
Expand Down
4 changes: 4 additions & 0 deletions hack/gather-logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ run() {
"$@" > "${output_dir}/${filename}" 2>&1 || true
}

# Host diagnostics
run "host-journal.txt" journalctl --no-pager
run "host-dmesg.txt" dmesg

# Cluster-wide commands
run "k-get-pods.txt" kubectl get pods -n bootc-operator -o wide
run "k-describe-pods.txt" kubectl describe pods -n bootc-operator
Expand Down
Loading