-
Notifications
You must be signed in to change notification settings - Fork 94
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
base: master
Are you sure you want to change the base?
Add 'crm sbd' sub-level (jsc#PED-8256) #1491
Commits on Nov 25, 2024
-
Dev: utils: Introduced
detect_duplicate_device_path
function in utils- A new function `detect_duplicate_device_path` has been added to `utils.py`. - This function checks for duplicated device paths in a given list of devices, raising a ValueError if duplicates are found.
Configuration menu - View commit details
-
Copy full SHA for 1a3ce1b - Browse repository at this point
Copy the full SHA 1a3ce1bView commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for 4856ee7 - Browse repository at this point
Copy the full SHA 4856ee7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f56ed8 - Browse repository at this point
Copy the full SHA 1f56ed8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5adeed - Browse repository at this point
Copy the full SHA c5adeedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c93b3d - Browse repository at this point
Copy the full SHA 4c93b3dView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for dc76bda - Browse repository at this point
Copy the full SHA dc76bdaView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 4681854 - Browse repository at this point
Copy the full SHA 4681854View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9242cc - Browse repository at this point
Copy the full SHA b9242ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fd5d96 - Browse repository at this point
Copy the full SHA 7fd5d96View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3383a9 - Browse repository at this point
Copy the full SHA b3383a9View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 3294086 - Browse repository at this point
Copy the full SHA 3294086View commit details -
Dev: ui_sbd: Refactor do_status method
- Split the method into smaller methods - Enhance the readability of output - Print the type of SBD
Configuration menu - View commit details
-
Copy full SHA for 588022b - Browse repository at this point
Copy the full SHA 588022bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96d9d9a - Browse repository at this point
Copy the full SHA 96d9d9aView commit details -
Dev: report: Dump output of 'crm sbd configure show' and 'crm sbd sta…
…tus' to the report result
Configuration menu - View commit details
-
Copy full SHA for 35685f2 - Browse repository at this point
Copy the full SHA 35685f2View commit details -
Dev: ui_sbd: No need to specify device="" when trying to modify prope…
…rties under diskless sbd
Configuration menu - View commit details
-
Copy full SHA for 6b5d7eb - Browse repository at this point
Copy the full SHA 6b5d7ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a2db2 - Browse repository at this point
Copy the full SHA 84a2db2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8395cb - Browse repository at this point
Copy the full SHA b8395cbView commit details -
Dev: ui_sbd: Adjust sbd confiure interface
After adding sbd device interface to manage devices, related functionalities inside sbd configure interface should be adjusted
Configuration menu - View commit details
-
Copy full SHA for a6b1307 - Browse repository at this point
Copy the full SHA a6b1307View commit details -
Dev: ui_sbd: Check if the adding device is already initialized
and make sure the metadata is consistent between devices.
Configuration menu - View commit details
-
Copy full SHA for 9c0e728 - Browse repository at this point
Copy the full SHA 9c0e728View commit details -
Dev: bootstrap: Add a log info when starting pacemaker.service
Add a log message to indicate the start of pacemaker.service. This helps users understand that the system is not hanging but is actually starting pacemaker, especially when SBD_DELAY_START is set and it takes longer to start pacemaker.
Configuration menu - View commit details
-
Copy full SHA for e875426 - Browse repository at this point
Copy the full SHA e875426View commit details -
Dev: ui_sbd: Reuse sbd.SBDManager.restart_cluster_if_possible
to avoid duplicate info message.
Configuration menu - View commit details
-
Copy full SHA for d3338f3 - Browse repository at this point
Copy the full SHA d3338f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c6061c - Browse repository at this point
Copy the full SHA 3c6061cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ca9e58 - Browse repository at this point
Copy the full SHA 2ca9e58View commit details -
Dev: sh: Add get_rc_output_without_input in ClusterShell
to redirect stderr to stdout.
Configuration menu - View commit details
-
Copy full SHA for b544027 - Browse repository at this point
Copy the full SHA b544027View commit details -
Dev: ui_sbd: Replace 'sbd disable' as 'sbd purge'
And the `sbd purge` command will also move /etc/sysconfig/sbd to /etc/sysconfig/sbd.bak on all nodes.
Configuration menu - View commit details
-
Copy full SHA for d46228d - Browse repository at this point
Copy the full SHA d46228dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f3f767 - Browse repository at this point
Copy the full SHA 6f3f767View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfbf1dc - Browse repository at this point
Copy the full SHA cfbf1dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 062a469 - Browse repository at this point
Copy the full SHA 062a469View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79535f6 - Browse repository at this point
Copy the full SHA 79535f6View commit details