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
Bug 1891543: openstack: consider volumes for storage requirements checks #4323
Conversation
/label platform/openstack |
158a833
to
dbe64ba
Compare
/assign @EmilienM |
/cc pierreprinetti |
/test e2e-crc |
@EmilienM: This pull request references Bugzilla bug 1891543, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
@EmilienM: This pull request references Bugzilla bug 1891543, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
@EmilienM: This pull request references Bugzilla bug 1891543, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
just a couple of comments
pkg/asset/installconfig/openstack/validation/machinepool_test.go
Outdated
Show resolved
Hide resolved
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.
@EmilienM
I think that you are not addressing the problem reported in the bug.
To my understanding, the bug report says:
Do not check the flavor disk size when I set OCP nodes to boot from volume. When I pass a volume in an install-config.yaml
machine-pool, the disk capacity of the flavor is irrelevant, and the volume size should be checked instead.
The interesting part though, is that you are addressing the case of the ephemeral disks which we haven't considered so far. This might be worth some investigation; however, I suspect that we would need to write some new code to be able to automatically use ephemeral storage (as in "OS-FLV-EXT-DATA:ephemeral") for our purposes (ie: is it automatically mounted? To which mountpoint?).
I'm also running into this when bootstrapping a new 4.6.1 cluster. Unfortunately our cloud has both ephemeral and root disk size to 0.
They are expecting you're using a cinder volume for booting a vm. You can create a separate root volume when you specify the rootVolume parameter in install-config.yaml: https://github.com/openshift/installer/blob/master/docs/user/openstack/customization.md#custom-machine-pools It would be nice if the disk check is dropped when specifying a rootVolume parameter in the install-config.yaml |
[...]
Ok, I see what the problem is now. Thanks for taking the time to explain. I'll add a check for the rootVolume.size value. |
/bugzilla refresh |
@pierreprinetti: This pull request references Bugzilla bug 1891543, which is valid. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest Please review the full test history for this PR and help us cut down flakes. |
13 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@EmilienM: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@EmilienM: All pull requests linked via external trackers have merged: Bugzilla bug 1891543 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherrypick release-4.6 |
@EmilienM: #4323 failed to apply on top of branch "release-4.6":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We need #4344 to land before backporting this one |
/cherrypick release-4.6 |
@EmilienM: #4323 failed to apply on top of branch "release-4.6":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
It is possible to boot a server without using ephemeral storage, with
boot from volume:
https://docs.openstack.org/cinder/latest/admin/blockstorage-boot-from-volume.html
This patch will disable flavor storage check if rootVolume is used in
the Machine Pool and checks that the volume is at least 25Gb sized.
https://bugzilla.redhat.com/show_bug.cgi?id=1891543