User not able to resize Controller File System on controller-0

Bug #1804711 reported by Wei Zhou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Wei Zhou

Bug Description

Title
-----
User not able to resize controller file systems on controller-0

Brief Description
-----------------
Resizing controller file system failed with following error message "Total target growth size 510 GiB for database (doubled for upgrades), cgcs, img-conversions, scratch, backup and extension exceeds growth limit of -1 GiB".

The root cause is that the cgts-vg volume group which is used for storing controller file systems doesn't have enough space for the file system extension. However there is no easy way for user to know how much available space is left in the cgts-vg volume group.

The "growth limit of -1 GiB" is due to a calculation error in the code.

Severity
--------
Major

Steps to Reproduce
------------------

Expected Behavior
------------------

Actual Behavior
----------------

Reproducibility
---------------
Try to increase controller file systems when cgts-vg volume group has less than 2G available space.

System Configuration
--------------------
Any configuration

Branch/Pull Time/Commit
-----------------------

Timestamp/Logs
--------------

Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Wei Zhou (wzhou007)
importance: Undecided → Medium
tags: added: stx.2019.03 stx.config
Changed in starlingx:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/619656

Changed in starlingx:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-config (master)

Reviewed: https://review.openstack.org/619656
Committed: https://git.openstack.org/cgit/openstack/stx-config/commit/?id=1655c7918987923c2fff84c521f6616d8337697f
Submitter: Zuul
Branch: master

commit 1655c7918987923c2fff84c521f6616d8337697f
Author: Wei Zhou <email address hidden>
Date: Thu Nov 22 18:21:02 2018 -0500

    Enhancement for Controller Filesystem Extension

    This commit adds following enhancement for controller filesystem
    extension:

    - Add a new column/row to show the size of available space in the
      volume group in host-lvg-list and host-lvg-show command output.
      This will help user know how much space is available to extend
      controller filesystem.
    - Remove the 2G space reservation when calculating available space
      in cgts-vg volume group.
    - Remove the unused code when calculating available space in cgts-vg
      volume group.
    - Reduce the required cgts-vg space on standby controller by 2G when
      unlocking the standby controller for the first time.

    Change-Id: Ic94a3544a9d02f67c592e07048b95135c2b350ed
    Closes-Bug: 1804711
    Signed-off-by: Wei Zhou <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-gui (master)

Reviewed: https://review.openstack.org/619653
Committed: https://git.openstack.org/cgit/openstack/stx-gui/commit/?id=f7b0ea1a5e8338bdcf794966ae32459dcd5d0053
Submitter: Zuul
Branch: master

commit f7b0ea1a5e8338bdcf794966ae32459dcd5d0053
Author: Wei Zhou <email address hidden>
Date: Thu Nov 22 17:54:37 2018 -0500

    Add a new column to display available volume group size

    Currently there is no easy way for user to know the available
    space in each logical volume group. This commit adds a new
    column for each logical volume group to show the size of
    available space.

    Change-Id: Iba4c22587ba962596cf50e75cbc9cdd548301acc
    Closes-Bug: 1804711
    Depends-On: https://review.openstack.org/#/c/619656
    Signed-off-by: Wei Zhou <email address hidden>

Ken Young (kenyis)
tags: added: stx.2019.05
removed: stx.2019.03
Ken Young (kenyis)
tags: added: stx.2.0
removed: stx.2019.05
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.