'database' DRDB FS did not reach State: Available

Bug #2004564 reported by Takamasa Takenaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Takamasa Takenaka

Bug Description

Brief Description
-----------------
when in testing resize controllerfs, the test is waiting fo the 'database' FS
to reach state 'Available' but always is in 'None' State.

Severity
--------
<Major: System/Feature is usable but degraded>

Steps to Reproduce
------------------
Modify first the 'backup' and the try to modify the 'database' DRDB FS

Expected Behavior
------------------
Write down what was expected after taking the steps written above

Actual Behavior
----------------
The current state is 'None'

Reproducibility
---------------
Reproducible/Intermitent

System Configuration
--------------------
One node system

Branch/Pull Time/Commit
-----------------------
N/A

Last Pass
---------
2022-10-27_18-01-10

Timestamp/Logs
--------------
+--------------------------------------+---------------------+-------------+-----------------------+------------+-----------+
| UUID | FS Name | Size in GiB | Logical Volume | Replicated | State |
+--------------------------------------+---------------------+-------------+-----------------------+------------+-----------+
| 4f62a3af-01ec-4cc4-a2e4-31eec13f6259 | docker-distribution | 16 | dockerdistribution-lv | True | None |
| 557eea8f-fccb-4b28-84dd-c4c84fc4cb68 | etcd | 5 | etcd-lv | True | None |
| 60eb21af-6ece-4a55-80d5-b80b2b44bbb1 | platform | 10 | platform-lv | True | None |
| e9341a0b-f32a-4763-aaf9-8c39e4a6c482 | database | 10 | pgsql-lv | True | None |
| f6668330-7851-4cba-beb4-58405c4a4ba9 | extension | 2 | extension-lv | True | available |
+--------------------------------------+---------------------+-------------+-----------------------+------------+-----------+

Test Activity
-------------
Regression Testing

Workaround
----------
No workaround

Changed in starlingx:
assignee: nobody → Takamasa Takenaka (ttakenak)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/872353
Committed: https://opendev.org/starlingx/config/commit/1dcd7f0d55ba1720aa6d4cb839f9486f8b089b3a
Submitter: "Zuul (22348)"
Branch: master

commit 1dcd7f0d55ba1720aa6d4cb839f9486f8b089b3a
Author: Takamasa Takenaka <email address hidden>
Date: Tue Jan 31 17:29:09 2023 -0300

    Update state available after size is finalized

    Currently, controller fs state is updated for
    only resize commands are executed.
    But the initial configuration does not
    match this case, and the state stays "None".
    (The only problem is state in db for initial
    configuration. Controller fs itself is
    usable and properly configured.)

    All fs states should be "available" including
    the initial configuration if the fs size is
    finalized.
    This fix is to add fs to resized list if the
    state is None because the initial configuration
    is done, so that the state is set "available"
    properly later.

    Closes-bug: 2004564

    Test Plan:
    PASS: Fresh install (SX) and confirm all
          fs states are "available"
          (system controllerfs-list)
    PASS: Fresh install (DX) and confirm
          - All fs states are "available"
            (system controllerfs-list)
          - drbd-oveview shows proper role,
            connected and synced
          - No drbd fs related alarm
          - No error in system host-swact
    PASS: After fresh install (SX), modifies
          fs size (system controllerfs-modify)
          and confirm the state;
          - "drbd_fs_resizing_in_progress"
            during processing
          - "available" after resized
          - "drbd-overview" shows the
            resized size
    PASS: After fresh install (DX), modifies
          fs size (system controllerfs-modify)
          and confirm the state;
          - "drbd_fs_resizing_in_progress"
            during processing
          - "available" after resized
          - "drbd-overview" shows the
            resized size, proper role,
            connected and synced

    Signed-off-by: Takamasa Takenaka <email address hidden>
    Change-Id: I88921041bc850634967587d3f811dfc1e22fd8bd

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.9.0 stx.config stx.storage
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.