-
Notifications
You must be signed in to change notification settings - Fork 107
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
Document Ignition partitioning via MachineConfig and ensure it works #384
Comments
Eventually here I think we should add some sugar for this to both FCCT and MachineConfig. Also, we want to align with FCOS on rootfs repartitioning once that code/support lands. |
Tested on rhcos, and it works.
Test Result: |
Testing on rhcos works. It boots successfully and shows expected features. But it failed to create a cluster. Shall we close this issue and open a new issue on MCO? So, we can test again after OCP supports Ignition spec v3. May need some discussion here. @cgwalters @ashcrow |
Tested on AWS it works:
Test result:
|
@chrisnegus This snippet would be useful to include in the OCP 4.6 docs ^^ |
@chrisnegus Thanks for documenting the feature. Please let me know if I can help. 🥰 |
@bh7cw Your example uses /var. The question came up about what a customer should and should not make into a separate mount point. My understanding is that we should recommend that, of the existing RHCOS file systems, they should not create a separate partition for any directory other than /var. (So no separate mount point for /var/lib/containers, for example.) They could, however, create any partition they like outside of the existing RHCOS file system structure. For example, a separate /mydata partition would be fine. Thoughts? |
No, that will always fail. So it's really easy to explain: Use
This one seems quite reasonable actually to split off and I believe we are explicitly testing and supporting that today. |
@cgwalters Thanks for clarifying! |
Tested on
Test result on worker node:
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
This issue has been completed. /cc @cgwalters Do you agree to close it? |
Yep, thanks! |
Playing with this https://github.com/cgwalters/playground/blob/master/machineconfigs/var-log/20-var-log.yaml
Passing it to the installer via additional manifests.
Inline:
Currently ending up in emergency mode:
Partitions: op(3): op(4): [failed] reading partition table of "/run/ignition/dev_aliases/dev/vda": failed to lookup attribute on "/run/ignition/dev_aliases/dev/vda"
The text was updated successfully, but these errors were encountered: