How to add or replace a new disk but with different mode which defined in the existing DriveGroups

This document (000019748) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Enterprise Stoarge 6

Situation

The disk definition have in /srv/salt/ceph/configuration/files/drive_groups.yml is like:
drive_group_SSD:
target: 'cephosd0[1-5].suse.lab'
data_devices:
model: 'DISK_MODEL_STRING-1'
...

Now a disk failure occurs, and the new replacement disk model is "DISK_MODEL_STRING-2".
The following settings are not feasible
drive_group_SSD_NEW:
target: 'cephosd0[1-5].suse.lab'
data_devices:
model: 'DISK_MODEL_STRING-1','DISK_MODEL_STRING-2'
...

Resolution

This would require adding another 'specify' block on how  the drivegroups yml file should work, for example:
Please replace 'model' and 'target' partial example for real environment)
drive_group_SSD:
target: 'cephosd0[1-5].suse.lab'
data_devices:
model: 'DISK_MODEL_STRING-1'
...

drive_group_SSD_NEW:
target: 'cephosd0[1-5].suse.lab'
data_devices:
model: 'DISK_MODEL_STRING-2'
...

To print out a detailed report of what will happen in the next DeepSea stage 3 invocation.
# salt-run disks.report

Only one specification can be set for each device type(model/vendor) per drivegroup. 
This is not a bug, and it is working as designed. 

Cause

Only one specification can be set for each device type(model/vendor) per drivegroup. 

Status

Top Issue

Additional Information

DriveGroups specify the layouts of OSDs in the Ceph cluster.
They are defined in a single file : /srv/salt/ceph/configuration/files/drive_groups.yml

For more information:
https://documentation.suse.com/ses/6/single-html/ses-deployment/#ds-drive-groups
 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019748
  • Creation Date: 22-Oct-2020
  • Modified Date:27-Oct-2020
    • SUSE Enterprise Storage

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center