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

coreos-growpart: drop support for growing multipathed disks #816

Merged
merged 2 commits into from
Jan 20, 2021

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Jan 14, 2021

The model we're moving towards is one where multipath enablement is
configured via Ignition and so only takes effect on the next boot:

openshift/os#484 (comment)

Therefore, we don't need to worry here about support for growing a
multipathed root partition. This simplifies a big chunk of the script.

The model we're moving towards is one where multipath enablement is
configured via Ignition and so only takes effect on the next boot:

openshift/os#484 (comment)

Therefore, we don't need to worry here about support for growing a
multipathed root partition. This simplifies a big chunk of the script.
That's the convention for systemd unit descriptions.
@jlebon
Copy link
Member Author

jlebon commented Jan 14, 2021

(Not tested, but pretty straightforward.)
Diff best viewed with whitespace ignored: https://github.com/coreos/fedora-coreos-config/pull/816/files?w=1

@@ -45,43 +45,23 @@ case "${TYPE:-}" in
*) echo "error: Unsupported filesystem for ${path}: '${TYPE:-}'" 1>&2; exit 1 ;;
esac

if [[ "${src}" =~ "/dev/mapper" ]]; then
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This path was actually already dead since 604f9eb (#503) because if the root partition was modified/moved, we now exit early at the top of the script.

@jlebon
Copy link
Member Author

jlebon commented Jan 19, 2021

This should be an easy one to review!

Copy link
Contributor

@arithx arithx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Sorry for a late review, somehow this got caught in a flurry of notifications and I missed it.

@jlebon jlebon merged commit 3e3fdd3 into coreos:testing-devel Jan 20, 2021
@jlebon jlebon deleted the pr/misc-patches branch January 20, 2021 14:33
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