'database' DRDB FS did not reach State: Available
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/
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-
| 557eea8f-
| 60eb21af-
| e9341a0b-
| f6668330-
+------
Test Activity
-------------
Regression Testing
Workaround
----------
No workaround
Changed in starlingx: | |
assignee: | nobody → Takamasa Takenaka (ttakenak) |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.config stx.storage |
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/872353 /opendev. org/starlingx/ config/ commit/ 1dcd7f0d55ba172 0aa6d4cb839f948 6f8b089b3a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1dcd7f0d55ba172 0aa6d4cb839f948 6f8b089b3a
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:
connected and synced modify) resizing_ in_progress" modify) resizing_ in_progress"
connected and synced
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,
- No drbd fs related alarm
- No error in system host-swact
PASS: After fresh install (SX), modifies
fs size (system controllerfs-
and confirm the state;
- "drbd_fs_
during processing
- "available" after resized
- "drbd-overview" shows the
resized size
PASS: After fresh install (DX), modifies
fs size (system controllerfs-
and confirm the state;
- "drbd_fs_
during processing
- "available" after resized
- "drbd-overview" shows the
resized size, proper role,
Signed-off-by: Takamasa Takenaka <email address hidden> 34967587d3f811d fc1e22fd8bd
Change-Id: I88921041bc8506