-
Notifications
You must be signed in to change notification settings - Fork 249
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
Add integration test for persistent-volume-size
config option
#4186
Comments
I'm observing strange behavior while writing e2e test for this scenario. No matter what value I set in This is the config I'm using:
When I start the cluster and ssh into the VM and execute
While debugging I'm observing that Lines 200 to 205 in 2499dd2
Is this behavior expected? Am I looking at the right place? |
yes kind of expected as the we should also add a config validation that checks that |
Even if I set some smaller value, I'm not able to see lvm size change other than 15G
@anjannath : There is a validation check in place for this config option to not receive any value less than 15 crc/pkg/crc/validation/validation.go Lines 47 to 50 in 457b653
|
@rohanKanojia if this is not working as expectation then it is a bug. |
@praveenkumar @anjannath : I've tried with several combinations but I can't get it to change lvm size value to other than 15G No Config for Persistent Volume size
20G Persistent volume size
25G persistent volume size
|
Did some testing to figure out how the size of the partition and volumes is determined, and i observed the following, first i tried to change both the
ObservationsThe amount of space we want to increase for this is where we have a bug although the so it seems the this is the calculation: Note when we increase the in the above example with
if i try to increase the
|
@anjannath : Thanks, I can see the change in
I see. So the value of I'll try to add integration test with increased disk-size |
…ion (crc-org#4186) Add step for `persistent-volume-size` config option in story_microshift.feature Signed-off-by: Rohan Kumar <[email protected]>
…ion (crc-org#4186) Add step for `persistent-volume-size` config option in story_microshift.feature Signed-off-by: Rohan Kumar <[email protected]>
…ion (crc-org#4186) Add step for `persistent-volume-size` config option in story_microshift.feature Signed-off-by: Rohan Kumar <[email protected]>
…ion (crc-org#4186) Add step for `persistent-volume-size` config option in story_microshift.feature Signed-off-by: Rohan Kumar <[email protected]>
this is to be used with the
disk-size
config option, a user has to set.crc config set disk-size 35
thencrc config set persistent-volume-size 4
can be set as default disk size in 31G and the extra increase of 4G can now be used for increasing the topolvm partitionthis config option is currently only used with
microshift
preset but after #4117 is resolved will also be used for the openshift presetThe text was updated successfully, but these errors were encountered: