OpenStack: Unable to import 50G hystax raw image (pick r5, r6)

Updated Patchset 2 comments
Added additional comments to system host-lvg-list controller-0

Signed-off-by: Juanita-Balaraj <juanita.balaraj@windriver.com>
Change-Id: I1dc644ac4376f1ad2ebf1524a80e0856bc260948
This commit is contained in:
Juanita-Balaraj 2022-05-11 21:10:24 -04:00
parent aa3290fe86
commit 38dfa7ec27

View File

@ -21,38 +21,44 @@ You can increase the size of raw image uploads for both **Kubelet** and/or
# check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located # check available space (Avail Size (GiB)) in cgts-vg LVG where docker fs is located
system host-lvg-list controller-0 system host-lvg-list controller-0
# if existing docker fs size + cgts-vg available space is less than # if existing docker fs size + cgts-vg available space is less than
# 60G, you will need to add a new disk partition to cgts-vg. # 80G, you will need to add a new disk partition to cgts-vg.
# There must be at least 20GB of available space after the docker
# filesystem is increased.
# Assuming you have unused space on ROOT DISK, add partition to ROOT DISK # Assuming you have unused space on ROOT DISK, add partition to ROOT DISK
# ( if not use another unused disk ) # ( if not use another unused disk )
# Get device path of ROOT DISK # Get device path of ROOT DISK
system host-show controller-0 --nowrap | fgrep rootfs system host-show controller-0 --nowrap | fgrep rootfs
# Get UUID of ROOT DISK by listing disks # Get UUID of ROOT DISK by listing disks
system host-disk-list controller-0 system host-disk-list controller-0
# Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response # Create new PARTITION on ROOT DISK, and take note of new partitions uuid in response
# Use a partition size such that youll be able to increase docker fs size from 30G to 60G
PARTITION_SIZE=30
system hostdisk-partition-add -t lvm_phys_vol controller-0 <root-disk-uuid> ${PARTITION_SIZE}
# Use a partition size such that youll be able to increase docker fs size from 30G to 60G # Add new partition to cgts-vg local volume group
PARTITION_SIZE=30 system host-pv-add controller-0 cgts-vg <NEW_PARTITION_UUID>
system hostdisk-partition-add -t lvm_phys_vol controller-0 <root-disk-uuid> ${PARTITION_SIZE} sleep 2 # wait for partition to be added
# Add new partition to cgts-vg local volume group # Increase docker filesystem to 60G
system host-pv-add controller-0 cgts-vg <NEW_PARTITION_UUID> system host-fs-modify controller-0 docker=60
sleep 2 # wait for partition to be added
# Increase docker filesystem to 60G
system host-fs-modify controller-0 docker=60
- Ensure you have configured the **Kubelet** filesystem with sufficient disk - Ensure you have configured the **Kubelet** filesystem with sufficient disk
space for the size of images you want to upload. space for the size of images you want to upload.
The **Kubelet** filesystem size is at least 25% larger than the largest The **Kubelet** filesystem available size is at least 25% larger than the
image you need to upload. For example, to upload a 100 GB image, increase it largest image you need to upload. For example, to upload a 100 GB image,
to 125 GB, using the following commands: increase it to 125 GB. This applies to systems with HTTPS disabled.
If you are using HTTPS enabled with |prod-long| earlier releases, you should
increase the **Docker** filesystem using the instructions below.
.. note::
For future releases of |prod-long|, you will need to use the **Kubelet**
filesystem.
.. code-block:: none .. code-block:: none