[Starlingx-discuss] HostFs update failed: Not enough free space
according to https://docs.starlingx.io/deploy_install_guides/r4_release/openstack/install... Install application manifest and helm-charts Modify the size of the docker_lv filesystem. By default, the size of the docker_lv filesystem is 30G, which is not enough for stx-openstack installation. Use the host-fs-modify CLI to increase the filesystem size. however it fails..... system host-fs-modify controller-0 docker=60 HostFs update failed: Not enough free space on cgts-vg. Current free space 1 GiB, requested total increase 30 GiB [sysadmin@controller-0 ~(keystone_admin)]$ sudo lvdisplay Password: Sorry, try again. Password: --- Logical volume --- LV Path /dev/nova-local/instances_lv LV Name instances_lv VG Name nova-local LV UUID qyXBio-pIvE-ECnz-m7wf-Gl49-H9nb-pGBEf0 LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 14:08:50 +0000 LV Status available # open 1 LV Size <34.00 GiB Current LE 8703 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Logical volume --- LV Path /dev/cgts-vg/scratch-lv LV Name scratch-lv VG Name cgts-vg LV UUID g56V4Z-7Zz4-n2Gx-eoAl-DJ6G-aL54-waYh2g LV Write Access read/write LV Creation host, time localhost, 2021-03-06 11:49:56 +0000 LV Status available # open 1 LV Size 16.00 GiB Current LE 512 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1 --- Logical volume --- LV Path /dev/cgts-vg/log-lv LV Name log-lv VG Name cgts-vg LV UUID ZF7Krt-6zF7-wkT9-9FAq-0fSy-5uIV-P0EvMN LV Write Access read/write LV Creation host, time localhost, 2021-03-06 11:49:57 +0000 LV Status available # open 1 LV Size 7.81 GiB Current LE 250 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2 --- Logical volume --- LV Path /dev/cgts-vg/extension-lv LV Name extension-lv VG Name cgts-vg LV UUID dlb63u-Xqdf-6j9E-gOhs-4Li3-WNLW-M7IUC0 LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:32 +0000 LV Status available # open 2 LV Size 1.00 GiB Current LE 32 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:3 --- Logical volume --- LV Path /dev/cgts-vg/pgsql-lv LV Name pgsql-lv VG Name cgts-vg LV UUID hRYe8m-jtUz-lS7s-y3WM-1BWg-aZf5-mdY4Cb LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:34 +0000 LV Status available # open 2 LV Size 20.00 GiB Current LE 640 Segments 3 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:4 --- Logical volume --- LV Path /dev/cgts-vg/docker-lv LV Name docker-lv VG Name cgts-vg LV UUID pAzJGO-qFBv-XVkd-qLXT-HD6k-c1gO-OSukIG LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:34 +0000 LV Status available # open 1 LV Size 30.00 GiB Current LE 960 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:5 --- Logical volume --- LV Path /dev/cgts-vg/kubelet-lv LV Name kubelet-lv VG Name cgts-vg LV UUID pxiOsd-oNRm-I9E2-60nU-Xk1Z-MrVr-2jDrqY LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:38 +0000 LV Status available # open 1 LV Size 10.00 GiB Current LE 320 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:6 --- Logical volume --- LV Path /dev/cgts-vg/etcd-lv LV Name etcd-lv VG Name cgts-vg LV UUID rSVfsi-iZkG-kfbk-ooCe-xxBR-Em6K-S2SiVH LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:40 +0000 LV Status available # open 2 LV Size 5.00 GiB Current LE 160 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:7 --- Logical volume --- LV Path /dev/cgts-vg/backup-lv LV Name backup-lv VG Name cgts-vg LV UUID a0IgZQ-HsD5-1XdN-z2QH-nfQ9-A5bt-hHJuAM LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:05:42 +0000 LV Status available # open 1 LV Size 25.00 GiB Current LE 800 Segments 3 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:8 --- Logical volume --- LV Path /dev/cgts-vg/dockerdistribution-lv LV Name dockerdistribution-lv VG Name cgts-vg LV UUID WkCmKI-Vixg-2LWz-OE1R-oSNW-3apR-ka1FeM LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:05:44 +0000 LV Status available # open 2 LV Size 16.00 GiB Current LE 512 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:9 --- Logical volume --- LV Path /dev/cgts-vg/rabbit-lv LV Name rabbit-lv VG Name cgts-vg LV UUID uoqfAO-3LdO-sgBm-c1SO-bdGC-skBg-LYK2cp LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:05:45 +0000 LV Status available # open 2 LV Size 2.00 GiB Current LE 64 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:10 --- Logical volume --- LV Path /dev/cgts-vg/platform-lv LV Name platform-lv VG Name cgts-vg LV UUID ZhK3yO-SyMl-HNc0-3QFk-lDdp-to34-BuCtoC LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:05:50 +0000 LV Status available # open 2 LV Size 10.00 GiB Current LE 320 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:11 --- Logical volume --- LV Path /dev/cgts-vg/ceph-mon-lv LV Name ceph-mon-lv VG Name cgts-vg LV UUID ejlvoZ-Rjtn-GxLu-XAzH-0lzL-kXY3-gbNMs1 LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:49:54 +0000 LV Status available # open 2 LV Size 20.00 GiB Current LE 640 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:12
Please check this command : node=controller-0;system host-pv-show $node $(system host-pv-list $node | grep cgts-vg | awk -F'|' '{print $2}') change controller-0 to any node you want to check , check the lvm_pv_size_gib, if this is somehow too small ,then lvm can not extended . -----Original Message----- From: lists@optimcloud.com <lists@optimcloud.com> Sent: Tuesday, March 9, 2021 5:23 PM To: starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] HostFs update failed: Not enough free space according to https://docs.starlingx.io/deploy_install_guides/r4_release/openstack/install... Install application manifest and helm-charts Modify the size of the docker_lv filesystem. By default, the size of the docker_lv filesystem is 30G, which is not enough for stx-openstack installation. Use the host-fs-modify CLI to increase the filesystem size. however it fails..... system host-fs-modify controller-0 docker=60 HostFs update failed: Not enough free space on cgts-vg. Current free space 1 GiB, requested total increase 30 GiB [sysadmin@controller-0 ~(keystone_admin)]$ sudo lvdisplay Password: Sorry, try again. Password: --- Logical volume --- LV Path /dev/nova-local/instances_lv LV Name instances_lv VG Name nova-local LV UUID qyXBio-pIvE-ECnz-m7wf-Gl49-H9nb-pGBEf0 LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 14:08:50 +0000 LV Status available # open 1 LV Size <34.00 GiB Current LE 8703 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Logical volume --- LV Path /dev/cgts-vg/scratch-lv LV Name scratch-lv VG Name cgts-vg LV UUID g56V4Z-7Zz4-n2Gx-eoAl-DJ6G-aL54-waYh2g LV Write Access read/write LV Creation host, time localhost, 2021-03-06 11:49:56 +0000 LV Status available # open 1 LV Size 16.00 GiB Current LE 512 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1 --- Logical volume --- LV Path /dev/cgts-vg/log-lv LV Name log-lv VG Name cgts-vg LV UUID ZF7Krt-6zF7-wkT9-9FAq-0fSy-5uIV-P0EvMN LV Write Access read/write LV Creation host, time localhost, 2021-03-06 11:49:57 +0000 LV Status available # open 1 LV Size 7.81 GiB Current LE 250 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2 --- Logical volume --- LV Path /dev/cgts-vg/extension-lv LV Name extension-lv VG Name cgts-vg LV UUID dlb63u-Xqdf-6j9E-gOhs-4Li3-WNLW-M7IUC0 LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:32 +0000 LV Status available # open 2 LV Size 1.00 GiB Current LE 32 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:3 --- Logical volume --- LV Path /dev/cgts-vg/pgsql-lv LV Name pgsql-lv VG Name cgts-vg LV UUID hRYe8m-jtUz-lS7s-y3WM-1BWg-aZf5-mdY4Cb LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:34 +0000 LV Status available # open 2 LV Size 20.00 GiB Current LE 640 Segments 3 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:4 --- Logical volume --- LV Path /dev/cgts-vg/docker-lv LV Name docker-lv VG Name cgts-vg LV UUID pAzJGO-qFBv-XVkd-qLXT-HD6k-c1gO-OSukIG LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:34 +0000 LV Status available # open 1 LV Size 30.00 GiB Current LE 960 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:5 --- Logical volume --- LV Path /dev/cgts-vg/kubelet-lv LV Name kubelet-lv VG Name cgts-vg LV UUID pxiOsd-oNRm-I9E2-60nU-Xk1Z-MrVr-2jDrqY LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:38 +0000 LV Status available # open 1 LV Size 10.00 GiB Current LE 320 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:6 --- Logical volume --- LV Path /dev/cgts-vg/etcd-lv LV Name etcd-lv VG Name cgts-vg LV UUID rSVfsi-iZkG-kfbk-ooCe-xxBR-Em6K-S2SiVH LV Write Access read/write LV Creation host, time localhost, 2021-03-06 13:05:40 +0000 LV Status available # open 2 LV Size 5.00 GiB Current LE 160 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:7 --- Logical volume --- LV Path /dev/cgts-vg/backup-lv LV Name backup-lv VG Name cgts-vg LV UUID a0IgZQ-HsD5-1XdN-z2QH-nfQ9-A5bt-hHJuAM LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:05:42 +0000 LV Status available # open 1 LV Size 25.00 GiB Current LE 800 Segments 3 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:8 --- Logical volume --- LV Path /dev/cgts-vg/dockerdistribution-lv LV Name dockerdistribution-lv VG Name cgts-vg LV UUID WkCmKI-Vixg-2LWz-OE1R-oSNW-3apR-ka1FeM LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:05:44 +0000 LV Status available # open 2 LV Size 16.00 GiB Current LE 512 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:9 --- Logical volume --- LV Path /dev/cgts-vg/rabbit-lv LV Name rabbit-lv VG Name cgts-vg LV UUID uoqfAO-3LdO-sgBm-c1SO-bdGC-skBg-LYK2cp LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:05:45 +0000 LV Status available # open 2 LV Size 2.00 GiB Current LE 64 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:10 --- Logical volume --- LV Path /dev/cgts-vg/platform-lv LV Name platform-lv VG Name cgts-vg LV UUID ZhK3yO-SyMl-HNc0-3QFk-lDdp-to34-BuCtoC LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:05:50 +0000 LV Status available # open 2 LV Size 10.00 GiB Current LE 320 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:11 --- Logical volume --- LV Path /dev/cgts-vg/ceph-mon-lv LV Name ceph-mon-lv VG Name cgts-vg LV UUID ejlvoZ-Rjtn-GxLu-XAzH-0lzL-kXY3-gbNMs1 LV Write Access read/write LV Creation host, time controller-0, 2021-03-06 13:49:54 +0000 LV Status available # open 2 LV Size 20.00 GiB Current LE 640 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:12 _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
where the hardware guide states Primary disk 500 GB SSD or NVMe (see Configure NVMe Drive as Primary Disk <https://docs.starlingx.io/deploy_install_guides/nvme_config.html>) Additional disks * 1 or more 500 GB (min. 10K RPM) for Ceph OSD * Recommended, but not required: 1 or more SSDs or NVMe drives for Ceph journals (min. 1024 MiB per OSD journal) * For OpenStack, recommend 1 or more 500 GB (min. 10K RPM) for VM local ephemeral storage both nodes have 3 1TB drives, 1TB primary, 2 1TB OSD so im curious why im even seeing the error [ 8.241106] sd 0:2:0:0: [sda] 1952448512 512-byte logical blocks: (1000 GB/931 GiB) [ 8.241427] sd 0:2:1:0: [sdb] 1952448512 512-byte logical blocks: (1000 GB/931 GiB) [ 8.249716] sd 0:2:2:0: [sdc] 1952448512 512-byte logical blocks: (1000 GB/931 GiB) node=controller-0;system host-pv-show $node $(system host-pv-list $node | grep cgts-vg | awk -F'|' '{print $2}') +--------------------------+-------------------------------------------------------+ | Property | Value | +--------------------------+-------------------------------------------------------+ | uuid | 8ce1afab-7eb6-460e-8f58-6d17fd904e1e | | pv_state | provisioned | | pv_type | partition | | disk_or_part_uuid | 99e5a6ef-ec84-4922-b053-d0ac19cf2b5b | | disk_or_part_device_node | /dev/sda5 | | disk_or_part_device_path | /dev/disk/by-path/pci-0000:02:00.0-scsi-0:2:0:0-part5 | | lvm_pv_name | /dev/sda5 | | lvm_vg_name | cgts-vg | | lvm_pv_uuid | KZ3cFY-rNnu-t7cF-wguw-Z0ey-9uYQ-ufZLcj | | lvm_pv_size_gib | 163.968 | | lvm_pe_total | 5247 | | lvm_pe_alloced | 5210 | | ihost_uuid | 353c9099-43a6-47ce-a92a-56d382abde2f | | created_at | 2021-03-06T13:09:20.082017+00:00 | | updated_at | 2021-03-10T03:46:53.573286+00:00 | +--------------------------+-------------------------------------------------------+ [sysadmin@controller-1 ~(keystone_admin)]$ node=controller-1;system host-pv-show $node $(system host-pv-list $node | grep cgts-vg | awk -F'|' '{print $2}') +--------------------------+-------------------------------------------------------+ | Property | Value | +--------------------------+-------------------------------------------------------+ | uuid | 13071ae3-1636-41df-b114-b3ccb4c97fd5 | | pv_state | provisioned | | pv_type | partition | | disk_or_part_uuid | 120eb244-4c5c-4fcc-beba-9de368067ba6 | | disk_or_part_device_node | /dev/sda5 | | disk_or_part_device_path | /dev/disk/by-path/pci-0000:02:00.0-scsi-0:2:0:0-part5 | | lvm_pv_name | /dev/sda5 | | lvm_vg_name | cgts-vg | | lvm_pv_uuid | 776vC0-7yEs-kHqB-73gv-mrOQ-q1j8-hjEcmR | | lvm_pv_size_gib | 163.968 | | lvm_pe_total | 5247 | | lvm_pe_alloced | 5210 | | ihost_uuid | 37fe69a1-80d8-436b-9765-93c901cb4c12 | | created_at | 2021-03-09T05:38:54.185540+00:00 | | updated_at | 2021-03-10T03:46:41.316696+00:00 | +--------------------------+-------------------------------------------------------+ [sysadmin@controller-1 ~(keystone_admin)]$ On 3/9/21 7:35 PM, Sun, Austin wrote:
node=controller-0;system host-pv-show $node $(system host-pv-list $node | grep cgts-vg | awk -F'|' '{print $2}')
participants (3)
-
Embedded Devel
-
lists@optimcloud.com
-
Sun, Austin