Impossible to install master node to HP with Smart Array RAID hardware
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Dmitry Borodaenko |
Bug Description
Fuel installation kickstart fails on drives, connected to HP Smart Array controllers.
It affects the whole HP Pxxx RAID controllers lineup.
As a result, it is completely impossible to install master node to the disk, connected to one of Pxxx controllers
Details:
HP Smart Array controllers report connected devices as /sys/block/
Please note the exclamation sign "!" in the device name.
The following template, line 27:
https:/
parses the drive names and removes the exclamation sign from device names.
Such exclamation mark removal is mandatory for further work with the drive inside Python code.
However, when we calculate the drive size in the same file, line 73 (line 68 in stable/4.1 branch), we make substitution like
tgtdrivesize=$(( $(cat "/sys/class/
This substitution is incorrect. At this point ${tgtdrive} has exclamation mark "!" removed from the drive name and this variable cannot be used no more to address the target drive in /sys/class/block directory.
tags: | added: backports-4.1.1 |
Changed in fuel: | |
assignee: | nobody → Dmitry Borodaenko (dborodaenko) |
Changed in fuel: | |
milestone: | 5.0 → 4.1.1 |
tags: | added: release-notes |
Fix proposed to branch: master /review. openstack. org/90197
Review: https:/