[HA] [cinder] Fix rootfs part name for sda > 2TB 37/52437/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 22 Feb 2018 01:02:45 +0000 (02:02 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 22 Feb 2018 01:19:06 +0000 (02:19 +0100)
commita854b61568c2f615672f17868e2cfe31d97c751f
tree461ea807c76a499084551cdc49e4fe463e845331
parentf6f8a56b40c5268d94cdb8e9aef6ea937f68a18e
[HA] [cinder] Fix rootfs part name for sda > 2TB

On systems with more than 2TB on /dev/sda, MaaS automatically creates
a 1MB partition with bios_grub label as /dev/sda1.
Account for this and expect rootfs to reside on /dev/sda2 (assume
all compute nodes have the same behavior wrt this issue).

Ideally, later we will switch to explicit partitioning via MaaS, or to
a new baremetal provisioner like Ironic.

Requires bumping Pharos git submodule to pick up the new j2 filter.

Fixes: f6f8a56

JIRA: FUEL-330

Change-Id: I12f5046cf69bf2f52c8b8dc331b90048df643646
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2
mcp/scripts/pharos