-
Notifications
You must be signed in to change notification settings - Fork 130
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
storage: add part number to butane example #625
Conversation
https://docs.openshift.com/container-platform/4.15/installing/installing_bare_metal/installing-bare-metal-network-customizations.html#installation-user-infra-machines-advanced_vardisk_installing-bare-metal-network-customizations does not mention the number unless I'm missing something |
Note that I'm not saying that this is invalid. Only that I don't understand it. |
@travier Yeah it does not mention it either, and needs to be updated. openshift/openshift-docs#74419 |
1 through 4 are reserved for specific purposes, and so var would be 5. Ugh Just noticed butane is wrong too. Filesystems and partitions https://coreos.github.io/butane/examples/ |
Isn't the partition number automatically picked-up by Ignition? From https://coreos.github.io/ignition/configuration-v3_4/:
|
Yeah, the thought was to include the number like the root part above. While its not necessary, it gives some context, and consistency |
The difference with the root one is that it's modifying an existing partition (so it needs to refer to it), whereas the /var one is new. And actually, ideally that root stanza wouldn't be necessary at all. The problem is without it, the next partition will trap it and prevent the rootfs from getting enough space. Adding the partition number for /var seems OK though it's also totally fine to omit it, so ideally we do have examples that showcase that too. |
29e60cf
to
ab6cfe6
Compare
Ok, I went and added an example with a number and notes. I hope this is fine lmk. |
ab6cfe6
to
d36ca19
Compare
I'm not sure I understand. Can you clarify: did a user hit a bug somehow related to this? How did this come on your radar? |
@jlebon, it was something I stumbled across with an old co-worker, and we made a ticket for it. Im not sure I captured enough details at the time. I am willing to close this if you think its not worth it. No need to spin wheels on something that negatively impacts the project. |
Fixes: COS-1706