Unable to update OSD journal size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Invalid
|
Medium
|
yong hu |
Bug Description
Brief Description
-----------------
Unable to update size of journal on an OSD using CLI or horizon.
Severity
--------
Major
Steps to Reproduce
------------------
1. Run the following:
[wrsroot@
+------
| uuid | function | osdid | capabilities | idisk_uuid | journal_path | journal_node | journal_size_gib | tier_name |
+------
| 46945964-
+------
2. [wrsroot@
Invalid update: Size of collocated journal is fixed.
Also note that units are wrong in the help text:
[wrsroot@
usage: system host-stor-update [--journal-location [<journal_
system host-stor-update: error: too few arguments
Command actually takes gib rather than mib.
If the user tries the same action using horizon:
1. Lock storage node
2. The Edit button is greyed out
Lastly, when initially adding a new OSD, the journal size is fixed at 1024 MiB.
Expected Behavior
------------------
1. User should be able to update size of journal via CLI or Horizon
2. Help text should be correct
3. User should be able to add a new OSD with the desired journal size
4. Units should be displayed consistently (MiB vs GiB)
Actual Behavior
----------------
Updating journal size is rejected
Reproducibility
---------------
100%
System Configuration
-------
Storage
Branch/Pull Time/Commit
-------
StarlingX master as of 2018-10-09_01-52-01
Changed in starlingx: | |
assignee: | Daniel Badea (daniel.badea) → Bruce Jones (brucej) |
Changed in starlingx: | |
assignee: | Bruce Jones (brucej) → Cindy Xie (xxie1) |
Changed in starlingx: | |
assignee: | Cindy Xie (xxie1) → yong hu (yhu6) |
tags: |
added: stx.2019.05 removed: stx.2019.03 |
tags: |
added: stx.2.0 removed: stx.2019.05 |
Targeting stx.2019.03 - specific to updating journal sizes (default size works). Therefore, not required for stx.2018.10