Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mantle/kola: use separate unit for pulling COSA in iscsi tests #4011

Merged
merged 1 commit into from
Jan 29, 2025
Merged
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
14 changes: 11 additions & 3 deletions mantle/cmd/kola/resources/iscsi_butane_setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ storage:
-i /var/nested-ign.json
# Unmount the disk
iscsiadm --mode node --logoutall=all
# Use a separate unit to pull the image so it can be downloading
# in the background while the `coreos-installer install` is running.
- path: /etc/containers/systemd/coreos-assembler.image
contents:
inline: |
[Image]
Image=quay.io/coreos-assembler/coreos-assembler
[Service]
# Extend start time. COSA is a large image we are pulling from quay.
TimeoutStartSec=600
- path: /etc/containers/systemd/coreos-iscsi-vm.container
contents:
inline: |
Expand All @@ -98,7 +108,7 @@ storage:
OnFailure=emergency.target
OnFailureJobMode=isolate
[Container]
Image=quay.io/coreos-assembler/coreos-assembler
Image=coreos-assembler.image
ContainerName=iscsiboot
Volume=/var/boot.ipxe:/var/boot.ipxe
Volume=/dev/virtio-ports/testisocompletion:/mnt/serial
Expand All @@ -110,8 +120,6 @@ storage:
# Start by default on boot
WantedBy=multi-user.target
[Service]
# Extend start time. COSA is a large image we are pulling from quay.
TimeoutStartSec=600
# fix permissions on the serial device before passing it as a volume
ExecStartPre=chmod 777 /dev/virtio-ports/testisocompletion
# Pipe the logs to a virtio port so kola saves them
Expand Down
Loading