Umount /target before creating other partitions

Bug #1297792 reported by Vladimir Kozhukalov
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Vladimir Kozhukalov
4.1.x
Fix Committed
High
Vladimir Kozhukalov
5.0.x
Invalid
High
Vladimir Kozhukalov

Bug Description

In Ubuntu, there are some raid cards that will not update partition or file systems properly if any partition of the device is already mounted. In these cases, it is necessary to umount all mount points which are connected to a particular disk before creating other partitions on that disk.

This is usually found on HP hardware

This may cause the OS to boot after provisioning, leaving you at the just after the PXE loader reports "Booting..."

This may cause "The disk drive for /var/lib/nova is not ready yet or present."

This may cause "The disk drive for /var/lib/glance is not ready yet or present."

Changed in fuel:
importance: Undecided → High
assignee: nobody → Vladimir Kozhukalov (kozhukalov)
status: New → Triaged
Changed in fuel:
status: Triaged → In Progress
tags: added: backports-4.1.1
Changed in fuel:
milestone: none → 5.0
Revision history for this message
Andrew Woodward (xarses) wrote :
Andrew Woodward (xarses)
tags: added: customer-found
Andrew Woodward (xarses)
description: updated
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/83032
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=349e3b5756af2030bf6f8fe1965cc745846baf9f
Submitter: Jenkins
Branch: master

commit 349e3b5756af2030bf6f8fe1965cc745846baf9f
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed Mar 26 14:12:26 2014 +0400

    Added mounting and umounting /target

    It turned out that in some cases it is necessary to umount
    all mount points which are connected to a particular disk
    before creating other partitions on that disk.

    Change-Id: I43a2de132415d026a6dc096e2b25ce0ab4cce915
    Closes-Bug: #1297792

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
milestone: 5.0 → 4.1.1
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to fuel-library (stable/4.1)

Fix proposed to branch: stable/4.1
Review: https://review.openstack.org/89980

Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-library (stable/4.1)

Reviewed: https://review.openstack.org/89980
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=a77e9e6179936c184abddbf07c52d68564f4853f
Submitter: Jenkins
Branch: stable/4.1

commit a77e9e6179936c184abddbf07c52d68564f4853f
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed Mar 26 14:12:26 2014 +0400

    Added mounting and umounting /target

    It turned out that in some cases it is necessary to umount
    all mount points which are connected to a particular disk
    before creating other partitions on that disk.

    Change-Id: I43a2de132415d026a6dc096e2b25ce0ab4cce915
    Closes-Bug: #1297792

Changed in fuel:
status: In Progress → Fix Committed
Andrew Woodward (xarses)
description: updated
Revision history for this message
Miroslav Anashkin (manashkin) wrote :

Last change request actually failed to fix this issue.

Changed in fuel:
status: Fix Committed → Confirmed
Changed in fuel:
status: Confirmed → In Progress
Mike Scherbakov (mihgen)
tags: added: release-notes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/92621
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=9d8a83446b314122523b41f1db40b013ebbd32ca
Submitter: Jenkins
Branch: master

commit 9d8a83446b314122523b41f1db40b013ebbd32ca
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed May 7 20:09:02 2014 +0400

    Fixed some ubuntu points in pmanager.py

    Added umounting /dev/sda3 apart from unmounting /target.
    Added additional lvm cleaning right after creating
    physical volume partitions. If a new physical volume
    partition matches the boundaries of the previous one, we can
    not reread partition table then. Additional lvm cleaning
    allows to avoid this such a kind of undesirable behaviour.

    Closes-Bug: #1297792
    Change-Id: Ibce615837b7d08806cf7b551d40f8dbc4b03b8b1

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Meg McRoberts (dreidellhasa) wrote :

Added to "Fixed Issues" in 5.0 Release Notes.

Changed in fuel:
status: Fix Committed → In Progress
milestone: 4.1.1 → 5.0.1
milestone: 5.0.1 → 4.1.1
Revision history for this message
Miroslav Anashkin (manashkin) wrote :

Bug was changed to Fixed by Gerrit.

Actually, fix does not work for old HP Smart Array P200/P400/P800 and older controllers, for which Ubuntu loads CCISS driver.

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Miroslav, please confirm if this is still a problem in 5.0 and 5.1, or is it only 4.1 that still need to have the same fix backported?

Revision history for this message
Evgeny Kozhemyakin (ekozhemyakin) wrote :

The issue doesn't appear on 5.0.
5.1 (fuel-master-265-2014-06-23_00-31-14.iso) is OK too.

Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/5.1.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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