redhat-openstack / infrared

Plugin based framework that aims to provide an easy-to-use CLI for Ansible based projects
https://infrared.readthedocs.io/en/latest/index.html
Apache License 2.0
99 stars 96 forks source link

infrared virsh allocate /boot partition with the bigger size while leaves / with the small one #417

Open al1ta opened 1 year ago

al1ta commented 1 year ago

infrared virsh allocate /boot partition with the bigger size while leaves / with the small one

infrared --version 2.0.1.dev5472 (ansible-2.9.27, python-3.6.8)

infrared virsh --host-address --host-key ~/.ssh/id_rsa --host-user root --host-memory-overcommit True --topology-nodes "undercloud:1,controller:3,compute_dvr:2,ceph:3" -e override.controller.memory=16384 -e override.undercloud.memory=16384 -e override.compute_dvr.memory=6144 -e override.ceph.memory=4096 -e override.undercloud.disks.disk1.size=150G --image-url http://download.eng.bos.redhat.com/rel-eng/rhel-9/RHEL-9/latest-RHEL-9.0/compose/BaseOS/x86_64/images/rhel-guest-image-9.0-20220420.0.x86_64.qcow2

further infrared tripleo-undercloud will fails for insufficient disk space

[stack@undercloud-0 ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS vda 252:0 0 150G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 200M 0 part /boot/efi ├─vda3 252:3 0 140.5G 0 part /boot └─vda4 252:4 0 9.3G 0 part /