-
Notifications
You must be signed in to change notification settings - Fork 51
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
sys-block/open-iscsi: Migrate coreos-stable to portage-stable, 2.1.10 #2261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An entry for sys-block/open-iscsi
in .github/workflows/portage-stable-packages-list
is missing.
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-block/open-iscsi
Show resolved
Hide resolved
1ab9a51
to
dd59853
Compare
dd59853
to
df67017
Compare
df67017
to
ee4f8c3
Compare
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-block/open-iscsi
Show resolved
Hide resolved
ee4f8c3
to
dea9fc2
Compare
The old version 2.1.4 does not cross-compile without help from QEMU that we cannot rely on going forwards. 2.1.10 is Meson-based and handles this much better. Rather than update the package in-place, migrate it to portage-stable and cover the differences with a small patch and env script. Upstream now carries the systemd files, so we do not need to add these. /etc is now automatically moved to /usr/share/flatcar/etc, so we no longer need any special handling for that here, but I have added a compatibility symlink for iscsid.conf. Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
dea9fc2
to
40e1c0e
Compare
Took a few goes to get it right, but it's looking good now. gen_tmpfiles.py takes care of the tmpfiles stuff now, so the env script is shorter. 2.1.10 got stabilised in the meantime. |
Build action triggered: https://github.com/flatcar/scripts/actions/runs/10681915683 |
open-iscsi: Migrate to portage-stable, 2.1.10 bump
The old version 2.1.4 does not cross-compile without help from QEMU that we cannot rely on going forwards. 2.1.10 is Meson-based and handles this much better.
Rather than update the package in-place, migrate it to portage-stable and cover the differences with a small patch and env script. Upstream now carries the systemd files, so we do not need to add these.
How to use
sudo systemctl start iscsid
/etc/iscsi/initiatorname.iscsi
.targetcli
on the host.sudo iscsiadm -m discovery -t sendtargets -p <host LAN IP>
sudo iscsiadm -m node -l -T <target from above> -p <host LAN IP>
sudo systemctl enable iscsi
Testing done
I did the above. I also ran a Jenkins job against qemu_uefi. It was suggested that I add a Kola test. The usual way to write a test like this would be to spin up two instances as the client and server. I'd like to do this, but
targetcli
, which manages the Linux server, is written in Python, which Flatcar doesn't have.changelog/
directory (user-facing change, bug fix, security fix, update)/boot
and/usr
size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.