Bug 1313374

Summary: Cisco DUD drivers support for deploy and discover image
Product: Red Hat OpenStack Reporter: Ondrej <ochalups>
Component: openstack-ironicAssignee: Lucas Alvares Gomes <lmartins>
Status: CLOSED NOTABUG QA Contact: Toure Dunnon <tdunnon>
Severity: high Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: jschluet, lmartins, mburns, morazi, rhel-osp-director-maint, scorcora, sputhenp, yeylon
Target Milestone: asyncKeywords: ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1317918 (view as bug list) Environment:
Last Closed: 2016-04-05 14:54:02 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: 1317918    

Description Ondrej 2016-03-01 13:50:27 UTC
Description of problem:
Customer has Cisco UCS C240M4L server with 2 internal SSDs for the OS disk and these are connected to the MegaSoftware RAID card. We need to implement Cisco drivers for discover and deploy images. So the 2 disks can be configured in RAID-1 configuration and be recognized as a single disk to deploy the OSP image to. 

Raid configuration is being tracked under [1].
Cisco DUD driver link [2]

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1281457
[2] http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/hw/C240M4/install/C240M4/raid.html#53463

Version-Release number of selected component (if applicable):
OSP7

How reproducible:
N/A

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Lucas Alvares Gomes 2016-03-01 16:28:46 UTC
Hi Ondrej,

We do have a cisco UCS driver [0], the model you have there does not seem to be on the tested platforms. But that doesn't means that it won't work, would be possible to test it at the customer?

[0] http://docs.openstack.org/developer/ironic/drivers/ucs.html#tested-platforms

Comment 3 Sadique Puthen 2016-03-02 15:00:19 UTC
(In reply to Lucas Alvares Gomes from comment #2)
> Hi Ondrej,
> 
> We do have a cisco UCS driver [0], the model you have there does not seem to
> be on the tested platforms. But that doesn't means that it won't work, would
> be possible to test it at the customer?
> 
> [0]
> http://docs.openstack.org/developer/ironic/drivers/ucs.html#tested-platforms

Hi, This doc does not seem to help. We are not looking for ironic driver to do power management. But we are looking to make this driver available in the overcloud image and deploy ramdisk so that raid can be configured during deployment.

Is there is a way to add this driver to overcloud image and deploy ramdisk?

Comment 4 Mike Orazi 2016-03-08 15:55:59 UTC
virt-customize should be usable for overcloud full image (but please note, you must replace the existing image in glance prior to deploying your cloud).

Comment 5 Lucas Alvares Gomes 2016-03-08 17:00:40 UTC
(In reply to Sadique Puthen from comment #3)
> (In reply to Lucas Alvares Gomes from comment #2)
> > Hi Ondrej,
> > 
> > We do have a cisco UCS driver [0], the model you have there does not seem to
> > be on the tested platforms. But that doesn't means that it won't work, would
> > be possible to test it at the customer?
> > 
> > [0]
> > http://docs.openstack.org/developer/ironic/drivers/ucs.html#tested-platforms
> 
> Hi, This doc does not seem to help. We are not looking for ironic driver to
> do power management. But we are looking to make this driver available in the
> overcloud image and deploy ramdisk so that raid can be configured during
> deployment.
> 
> Is there is a way to add this driver to overcloud image and deploy ramdisk?

Hi Sadique,

Soft RAID configuration is not yet supported by Ironic. In the mitaka release we started introducing a generic interface for creating RAID devices across different vendors [0]. The spec is focused on Hardware RAID but it potentially can be extended for Software RAID (probably on the newton release).

So, unfortunately at present we can't not support this. Some options we can take to support it is:

1. Open an RFE, since this is asking to add a new feature to the project that is not yet supported.

2. It's possible to hack your own ramdisk to create the Software RAID you are looking for. The IPA ramdisk that we use for OSP8+ is pluggable [1] and it's possible to create a custom hardware manager for it to do the work.

For example the rackspace onmetal has their own hardware manager [2], not specific for RAID but you can have an idea.

[0] http://specs.openstack.org/openstack/ironic-specs/specs/approved/ironic-generic-raid-interface.html

[1] https://wiki.openstack.org/wiki/Ironic-python-agent#Pluggable_Backends

[2] https://github.com/rackerlabs/onmetal-ironic-hardware-manager/blob/master/onmetal_ironic_hardware_manager/__init__.py

Hope that helps,
Lucas

Comment 6 Mike Orazi 2016-03-15 14:04:14 UTC
Clone to track for the RFE portion.  (https://bugzilla.redhat.com/show_bug.cgi?id=1317918)  Leaving this bug open to ensure the driver insertion itself worked as expected.

Comment 7 Dave Maley 2016-04-05 14:54:02 UTC
customer case has been closed due to inactivity