Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1503869

Summary: Missing journal_uuid after manual OSD creation
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Shinobu KINJO <skinjo>
Component: DocumentationAssignee: Jennifer Patton <jpatton>
Status: CLOSED CURRENTRELEASE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact: Erin Donnelly <edonnell>
Priority: unspecified    
Version: 2.4CC: asriram, hnallurv, kdreyer, mhackett, tchandra
Target Milestone: z1   
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-08 16:54:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1668330    

Description Shinobu KINJO 2017-10-19 01:02:20 UTC
Description of problem:

When we create OSD manually by following the guide [1], we will miss "journal_uuid" file under "/var/lib/ceph/osd/ceph-${osd_id}/".

Without "journal_uuid" file, we end up with seeing the following output of the ``ceph-disk list``:

######
$ sudo ceph-disk list
 ...snip...
/dev/sdb :
 /dev/sdb1 ceph data, active, cluster ceph, osd.0
 ...snip...
/dev/sde :
 /dev/sde1 ceph journal ///< This line must be "/dev/sde1 ceph journal, for /dev/sdb1"
######

Please re-verify the guide, and modify its contents if necessary.

[1] https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html-single/administration_guide/#adding_an_osd

Comment 4 Mike Hackett 2018-04-26 20:40:36 UTC
This is resolved in 3.0 Admin Guide:

https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html/administration_guide/managing_cluster_size#adding_an_osd

With the following:

Set the type code of the partitions using the proper GUID value:

# sgdisk --typecode=<partnum:{GUID}> -- <path to the device>
The GUID for Ceph OSD is 4fbd7e29-9d25-41b8-afd0-062c0ceff05d, and the GUID for Ceph Journal is 45B0969E-9B03-4F30-B4C6-B4B80CEFF106. For example:

# sgdisk --typecode=1:4fbd7e29-9d25-41b8-afd0-062c0ceff05d -- /dev/sdd
# sgdisk --typecode=2:45b0969e-9b03-4f30-b4c6-b4b80ceff106 -- /dev/sdd

Comment 6 Jennifer Patton 2019-02-08 16:49:04 UTC
Hi Mike,

I see the note that this is resolved in 3.0. Confirming this is okay to close.

Regards,
Jennifer

Comment 7 Jennifer Patton 2019-02-08 16:54:15 UTC
Mike Hackett confirms that this bug can be closed