SUSE-Cloud / automation

Automation scripts for development, testing, and CI
Apache License 2.0
68 stars 139 forks source link

increase size for root fs of ardana deployer #3963

Closed JanZerebecki closed 2 years ago

JanZerebecki commented 2 years ago

otherwise CI fails due to not enough free disk space

skazi0 commented 2 years ago

Wasn't it ephemeral disk that had to be resized?

JanZerebecki commented 2 years ago

No, I also made that mistake first, the emphemeral disk was already 70GB, but this value constrained the root lv to 44G.

JanZerebecki commented 2 years ago

https://github.com/SUSE-Cloud/automation/blob/144793d180b9347a300526b648c462cd1a952ac6/scripts/jenkins/cloud/ansible/roles/setup_root_partition/tasks/main.yml#L181

JanZerebecki commented 2 years ago

Bypassed requirement for 2nd review.

JanZerebecki commented 2 years ago

I had to increase the emphemeral disk size of the flavor to 90G so 54G is smaller than 65% of the whole disk. (See doc fix https://github.com/SUSE-Cloud/automation/pull/3964 .) I did this as root on a compute of engcloud by deleting the flavor and recreating it with: openstack flavor delete cloud-ardana-job-lvm-compute; openstack flavor create --disk 90 --public --property hw_rng:allowed='True' --ram 8192 --vcpus 2 cloud-ardana-job-lvm-compute