Bug 1282897 - [Docs] [Director] Include disk mapping for Ceph Deployments
Summary: [Docs] [Director] Include disk mapping for Ceph Deployments
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Dan Macpherson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-17 18:36 UTC by Dan Yocum
Modified: 2016-05-24 01:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-24 01:22:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1312930 0 high CLOSED rhel-osp-director: 8.0 nodes with several disks don't boot with the overcloud image. 2021-02-22 00:41:40 UTC

Internal Links: 1312930

Description Dan Yocum 2015-11-17 18:36:58 UTC
In some Ceph deployments, the installation disk will NOT be /dev/sda, instead falling someplace much different (i.e., /dev/sdl)

To specify the drive to deploy the OS on, use the following procedure to determine the serial number of the drive and set this as the root device in ironic.

1. Find the serial number of the drive to install the OS on:

$ for uuid in `ironic node-list | awk '{print $2}'`; do echo $uuid; ironic node-show $uuid | grep 'properties\|extra ' -A3; done

<snip>
97e3f7b3-5629-473e-a187-2193ebe0b5c7
| extra                  | {u'newly_discovered': u'true', u'block_devices': {u'serials':            |
|                        | [u'45K1K0GJF', u'45K2KAMIF', u'45K1K0GHF', u'45K1K0GIF', u'45K1K0GGF',   |
|                        | u'45K2KAMJF', u'45K2KAMGF', u'45K2KAMHF', u'45K2KAMFF', u'45K1K0GKF',    |
|                        | u'45K1K0GLF', u'644a842042b4e5001dce4bb21c5dd148',                       |
--
| properties             | {u'cpu_arch': u'x86_64', u'root_device': {u'serial':                     |
|                        | u'644a842042b4e5001dce4bb21c5dd148'}, u'cpus': u'16', u'capabilities':   |
|                        | u'profile:ceph-storage,boot_option:local', u'memory_mb': u'65536',       |
|                        | u'local_gb': u'3725'}                                                    |
<snip>

2. Update the ironic node definition for this node:

$ ironic node-update 97e3f7b3-5629-473e-a187-2193ebe0b5c7 add properties/root_device='{"serial": "0x4000cca77fc4dba1"}'


For more details, see this:

http://docs.openstack.org/developer/ironic/deploy/install-guide.html#specifying-the-disk-for-deployment

Comment 2 Andrew Dahms 2015-11-24 03:25:16 UTC
Assigning to Dan for review.

Comment 3 Dan Macpherson 2015-12-17 05:39:34 UTC
This bug is going to be targeted for a new Ceph Storage Configuration Guide for the director. This will be a whole new guide that aim to show how to configure the director and your Ceph nodes (both external or deployed).

Aiming to be developing this guide during Jan-Feb period.

Comment 4 Dan Macpherson 2016-03-16 04:24:14 UTC
Sent the Ceph Storage guide out for technical review. Switching Ceph bugs to POST.

Comment 5 Mike McCune 2016-03-28 22:29:36 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 Dan Macpherson 2016-04-29 06:33:12 UTC
Setting this back to assigned due to https://bugzilla.redhat.com/show_bug.cgi?id=1330220

Comment 7 Dan Macpherson 2016-05-13 01:27:18 UTC
This should be ready and published now:

https://access.redhat.com/documentation/en/red-hat-openstack-platform/8/director-installation-and-usage/54-defining-the-root-disk-for-nodes

Dan, how does this section look to you? Any further additions/modifications required?

Comment 8 Dan Yocum 2016-05-23 20:41:58 UTC
+1 lgtm


Note You need to log in before you can comment on or make changes to this bug.