Skip to content

Comments

Enable iSCSI netroot devices on Flatcar#22

Merged
margamanterola merged 2 commits intoflatcar-masterfrom
marga-kinvolk/iscsi
Apr 7, 2021
Merged

Enable iSCSI netroot devices on Flatcar#22
margamanterola merged 2 commits intoflatcar-masterfrom
marga-kinvolk/iscsi

Conversation

@margamanterola
Copy link
Contributor

Enable iSCSI netroot devices on Flatcar

This change enables the iSCSI module on dracut and changes the network behavior when Flatcar boots, to avoid bringing down the network when doing the switch-root operation.

This change is based on the CoreOS support for Oracle OCI bare metal machines, that was removed in 2018 with deba073.

Testing done

I've run CI with this change and it passed. I've also used the created image to mount a successfully mount an iSCSI netroot device and boot into the corresponding Flatcar instance.

Margarita Manterola added 2 commits March 30, 2021 13:14
This change is based on the CoreOS support for Oracle OCI bare metal
machines, that was removed in 2018 with deba073.

It's been adapted to modern systemd versions (using KeepConfiguration
instead of CriticalConnection) and it works for any netroot, not just
Oracle, as we never want to tear down the network if we're using a
netroot, otherwise the root goes away when systemd does the switch-root
operation.
@margamanterola margamanterola requested a review from a team March 30, 2021 11:20
@margamanterola margamanterola merged commit b36e194 into flatcar-master Apr 7, 2021
@margamanterola margamanterola deleted the marga-kinvolk/iscsi branch April 7, 2021 10:31
margamanterola pushed a commit to flatcar-archive/coreos-overlay that referenced this pull request Apr 7, 2021
This change pulls in the latest bootengine version, that enables ISCSI
support in dracut and avoids tearing down the network when using netroot

See flatcar/bootengine#22 for more information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants