Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
ci: install iscsi tools in the host fs too
Browse files Browse the repository at this point in the history
We were failing like this:
2022-12-05T14:03:20.0045333Z Syncing filesystems and block devices.
2022-12-05T14:03:20.0521424Z Sending SIGTERM to remaining processes...
2022-12-05T14:03:20.1942427Z Sending SIGKILL to remaining processes...
2022-12-05T14:03:20.3466668Z Unmounting file systems.
2022-12-05T14:03:20.3688161Z All filesystems unmounted.
2022-12-05T14:03:20.3700551Z Deactivating swaps.
2022-12-05T14:03:20.3722192Z All swaps deactivated.
2022-12-05T14:03:20.3729382Z Detaching loop devices.
2022-12-05T14:03:20.3863371Z All loop devices detached.
2022-12-05T14:03:20.3880513Z Stopping MD devices.
2022-12-05T14:03:20.3945671Z All MD devices stopped.
2022-12-05T14:03:20.3968579Z Detaching DM devices.
2022-12-05T14:03:20.4043233Z All DM devices detached.
2022-12-05T14:03:20.4103781Z All filesystems, swaps, loop devices, MD devices and DM devices detached.
2022-12-05T14:03:20.5347085Z Syncing filesystems and block devices.
2022-12-05T14:03:20.5761222Z Powering off.
2022-12-05T14:03:20.5828227Z [  158.519517] kvm: exiting hardware virtualization
2022-12-05T14:03:20.5901373Z [  158.527392] sd 2:0:0:1: [sda] Synchronizing SCSI cache
2022-12-05T14:03:25.1142225Z [  163.054446] ACPI: PM: Preparing to enter system sleep state S5
2022-12-05T14:03:25.1183925Z [  163.058916] reboot: Power down
2022-12-05T14:03:25.1607472Z + tgtadm --lld iscsi --op delete --mode target --tid=1
2022-12-05T14:03:25.1614934Z tgtadm: this target is still active
2022-12-05T14:03:25.1666245Z ##[error]Process completed with exit code 22.

We want iscsi-shutdown.service to disable the device for us.
  • Loading branch information
keszybz committed Dec 6, 2022
1 parent d9c3956 commit a0f695e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ for phase in "${PHASES[@]}"; do
--distribution="$ID" \
--release="$VERSION_ID" \
--format=gpt_btrfs \
--package="iscsi-initiator-utils" \
--output=rootfs.img
popd

Expand Down

0 comments on commit a0f695e

Please sign in to comment.