Adaptec raid controller is mapped as removable device

Bug #1282068 reported by Vladimir Kozhukalov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Vladimir Kozhukalov

Bug Description

Found out that adaptec raid arrays are mapped into sysfs as removable devices. Discovery agent usually filters out all removable devices. Need to be fixed.

Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :
Changed in fuel:
status: New → Triaged
assignee: nobody → Vladimir Kozhukalov (kozhukalov)
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 4.1
Changed in fuel:
importance: High → Critical
Revision history for this message
Andrew Woodward (xarses) wrote :

I spoke with some one on IRC a couple of weeks ago about the same issue, I don't know if it comes from attaching drives to the second head on which some controllers that i worked with in the past have labeled as external.

I'm not sure how we can filter these effectively with out adding all removable devices which could cause problems if they say, leave a usb stick or CD-Rom in the computer

tags: added: customer-found
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

I think the only workaround we could apply is setting adaptec (connected to pci bus) as non-removable device explicitly as there are no cd-roms and usb pendrives made by adaptec.

Mike Scherbakov (mihgen)
Changed in fuel:
importance: Critical → High
Revision history for this message
Miroslav Anashkin (manashkin) wrote :

 Finally, we came to conclusion, that Nailgun agent should report all disk devices, including removable ones.
But Volume Manager on master node should by default make partitioning on non-removable devices only.
And customer should be given ability to include removable devices to partition scheme.

Mike Scherbakov (mihgen)
Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/75454

Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

Fast workaround: https://review.openstack.org/75454

Still working on making more comprehensive solution. It is supposed that agent will report all disks (removable and unremovable) and then we will allocate only unremovable disks by default and user will be able to allocate removable disks as well via UI.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/75454
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=490f5e419e84fe34662c519772c9647f6cb091ee
Submitter: Jenkins
Branch: master

commit 490f5e419e84fe34662c519772c9647f6cb091ee
Author: Vladimir Kozhukalov <email address hidden>
Date: Fri Feb 21 20:27:40 2014 +0400

    Workaround for Adaptec removable disk

    This is workaround for the case when Adaptec RAID
    controller is mappet into sysfs as removable device.

    Change-Id: I3a8f08040b0eaa972ab5f4c1bfc6342c29480822
    Closes-bug: #1282068

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.