Rubygem-Staypuft: Deployment of Nova with LVM gets stuck when using VMs. Environment: rhel-osp-installer-0.1.1-1.el6ost.noarch openstack-foreman-installer-2.0.15-1.el6ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch ruby193-rubygem-staypuft-0.1.18-1.el6ost.noarch openstack-puppet-modules-2014.1-19.1.el6ost.noarch Steps to reproduce: 1. install rhel-osp-installer 2. Create a deployment of Nova network with 2 hosts (1 controler + 1 compute) 3. For cinder service chose LVM as Driver Backend. Result: The deployment gets stuck installing the controller. Expected result: The deployment should complete with no issues. Revealed the following during investigation: Inside the provisoning template, there's the following code: <% if @dynamic -%> %include /tmp/diskpart.cfg <% else -%> <%= @host.diskLayout %> <% end -%> Selecting LVM as Driver Backend causes the above to be interpreted as: part /boot --fstype ext3 --size=500 --ondisk=sda part swap --size=1024 --ondisk=sda part pv.01 --size=102400 --ondisk=sda part pv.02 --size=1 --grow --ondisk=sda volgroup vg_root pv.01 volgroup cinder-volumes pv.02 logvol / --vgname=vg_root --size=1 --grow --name=lv_root On virtual machines the disk is named VDA, hence the provisioning fails.
This seems to be related to the recently-added LVM with cinder-volumes Ptable. @dynamic is defined in the foreman codebase as: @dynamic = @host.diskLayout =~ /^#Dynamic/ Apparently, this ends up being true for the new LVM Ptable.
https://github.com/theforeman/foreman-installer-staypuft/pull/48
Verified: FailedQA Reproduced with liveCD version rhelosp-installer-live-6.5-20140722.0.iso.
https://github.com/theforeman/foreman-installer-staypuft/pull/53 merged upstream
Verified:rhel-osp-installer-0.1.4-1.el6ost.noarch The reported issue doesn't reproduce - was able to deploy on VMs.
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. http://rhn.redhat.com/errata/RHEA-2014-1003.html