-
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
Conversation
338ed50
to
2f10c6e
Compare
Disk-based SBD scenarios1. Show usage when syntax error
More syntax errror cases 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)
10. Newly setup disk-based SBD on a running cluster
Disk-less SBD scenarios1. Show usage when syntax error (diskless)
2. completion (diskless)
3. Display SBD related configuration (UC4 in PED-8256, diskless)
4. Newly setup diskless SBD on a running cluster
5. Manipulate the basic diskless sbd configuration (UC3.1 in PED-8256)
6. Remove diskless sbd from cluster
|
a19a863
to
cc0d52a
Compare
1456931
to
e8f53af
Compare
bc2a1fa
to
229de46
Compare
77c1c4f
to
5d17668
Compare
5d17668
to
ce84f84
Compare
feef68b
to
d3dd973
Compare
Now the output:
|
133cb6e
to
ad2e9c2
Compare
Changed, no need to specify |
cd42cee
to
7250426
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
** 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)
…re show After PR#1540 got merged, crmsh will load CIB_file env before calling above readonly command.
since crm_resource command will direct message to stderr when resource is not running
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
- Split the method into smaller methods - Enhance the readability of output - Print the type of SBD
…tus' to the report result
…rties under diskless sbd
7250426
to
8cd7705
Compare
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
Disk-less SBD scenarios