Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'crm sbd' sub-level (jsc#PED-8256) #1491

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    99adff3 View commit details
    Browse the repository at this point in the history
  2. Dev: ui_sbd: Add new 'crm sbd' sublevel (jsc#PED-8256)

    ** Motivation
    The main configurations for sbd use cases are scattered among sysconfig,
    on-disk meta data, CIB, and even could be related to other OS components
    eg. coredump, SCSI, multipath.
    
    It's desirable to reduce the management complexity among them and to
    streamline the workflow for the main use case scenarios.
    
    ** Changed include
    **** Disk-based SBD scenarios
    1. Show usage when syntax error
    2. Completion
    3. Display SBD related configuration (UC4 in PED-8256)
    4. Change the on-disk meta data of the existing sbd disks (UC2.1 in
       PED-8256)
    5. Add a sbd disk with the existing sbd configuration (UC2.2 in
       PED-8256)
    6. Remove a sbd disk (UC2.3 in PED-8256)
    7. Remove sbd from cluster
    8. Replace the storage for a sbd disk (UC2.4 in PED-8256)]
    9. display status (focusing on the runtime information only) (UC5 in
       PED-8256)
    
    **** Disk-less SBD scenarios
    1. Show usage when syntax error (diskless)
    2. completion (diskless)
    3. Display SBD related configuration (UC4 in PED-8256, diskless)
    4. Manipulate the basic diskless sbd configuration (UC3.1 in PED-8256)
    liangxin1300 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    87a2a29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef7087c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7c9299 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0926c60 View commit details
    Browse the repository at this point in the history
  6. Dev: ui_sbd: No need to consider static case when calling crm configu…

    …re show
    
    After PR#1540 got merged, crmsh will load CIB_file env before calling
    above readonly command.
    liangxin1300 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    ef30a96 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    15f8384 View commit details
    Browse the repository at this point in the history
  8. Dev: ui_sbd: Catch both stderr and stdout for crm resource status

    since crm_resource command will direct message to stderr when resource
    is not running
    liangxin1300 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    83dabf9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4c63398 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1b65864 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    52de833 View commit details
    Browse the repository at this point in the history
  12. Dev: bootstrap: Check if sbd package is installed in the right place

    Changes:
    - Check at the beginning of the bootstrap process
    - Check at configure sbd stage in the interactive mode
    - Put the sbd not installed message in the constants.py
    liangxin1300 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    28f418e View commit details
    Browse the repository at this point in the history
  13. Dev: ui_sbd: Refactor do_status method

    - Split the method into smaller methods
    - Enhance the readability of output
    - Print the type of SBD
    liangxin1300 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    221eaa6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b187d8f View commit details
    Browse the repository at this point in the history
  15. Dev: report: Dump output of 'crm sbd configure show' and 'crm sbd sta…

    …tus' to the report result
    liangxin1300 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    4e8e361 View commit details
    Browse the repository at this point in the history
  16. Dev: ui_sbd: No need to specify device="" when trying to modify prope…

    …rties under diskless sbd
    liangxin1300 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    c58b6b8 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8cd7705 View commit details
    Browse the repository at this point in the history