Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1131584 - If fd0 is in /proc/partitions in the provisioned nodes installation fails with "Specified nonexistent disk fd0 in partition command"
If fd0 is in /proc/partitions in the provisioned nodes installation fails wit...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhel-osp-installer (Show other bugs)
5.0 (RHEL 7)
Unspecified Unspecified
unspecified Severity medium
: z2
: Installer
Assigned To: Mike Burns
Omri Hochman
: ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-19 11:32 EDT by Ramon Acedo
Modified: 2015-04-07 11:07 EDT (History)
7 users (show)

See Also:
Fixed In Version: rhel-osp-installer-0.5.7-1.el7ost
Doc Type: Bug Fix
Doc Text:
The default partitioning could not handle a host with /dev/fd0 and caused provisioning to fail. This fix changes the provisioning process to ignore /dev/fd0. Hosts with /dev/fd0 now install successfully.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-04-07 11:07:35 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
fd0 in /proc/partitions (45.29 KB, image/png)
2014-08-19 11:32 EDT, Ramon Acedo
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0791 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux OpenStack Platform Installer update 2015-04-07 15:07:29 EDT

  None (edit)
Description Ramon Acedo 2014-08-19 11:32:29 EDT
Created attachment 928407 [details]
fd0 in /proc/partitions

When deploying the first node on a node that has fd0 in /proc/partitions installation fails with "Specified nonexistent disk fd0 in partition command"

The problem seems to be at /usr/share/foreman-installer/hooks/lib/provisioning_seeder.rb at the line containing:

 "sed -i "s/sda/$(cat /proc/partitions | awk '{ print $4 }' | grep -e "^.d.$" | sort | head -1)/" /tmp/diskpart.cfg"

This happens with rhel-osp-installer-0.1.6-5.el6ost.noarch

I'm reproducing it with a VMware Fusion VM being provisioned from another VM with the current Tech Preview Staypuft.

I have tried modifying provisioning_seeder.rb and adding an additional filter with "grep -vw fd0" to look like:

 sed -i "s/sda/$(cat /proc/partitions | awk '{ print $4 }' | grep -e "^.d.$" | grep -vw fd0 | sort | head -1)/" /tmp/diskpart.cfg

For some reason re-provisioning after the change doesn't seem to work. It seems it's cached or something else.
Comment 7 Omri Hochman 2015-03-16 17:11:52 EDT
Verified with: rhel-osp-installer-0.5.7-1.el7ost.noarch.


Kickstart RHEL default snippet contain:   
=======================================
sed -i "s/sda/$(cat /proc/partitions | awk '{ print $4 }' | grep -e "^.d.$" | grep -vw fd0 | sort | head -1)/" /tmp/diskpart.cfg
%end
Comment 9 errata-xmlrpc 2015-04-07 11:07:35 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0791.html

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