Path to partitioned block device is hard coded in test_setup

Bug #1518641 reported by David Moreau Simard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
David Moreau Simard

Bug Description

This is a problem I've bumped into while attempting to run the Kolla tests outside of the gate.

I can work around the need for an additional disk (if I don't have one) by setting up a sparse file as a loopback device.
This device will be called /dev/loop0 so I can setup the tests using the argument "loop0".

However, once this device is partitioned, the partition will be called /dev/loop0p1 while the script assumes it would be /dev/loop01. This works when the devices are named /dev/sdb and the like.

Changed in kolla:
assignee: nobody → David Moreau Simard (dmsimard)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/248405

Sam Yaple (s8m)
Changed in kolla:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/248405
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=a13a25b4025384bb6a9f981206a24a4e999187f3
Submitter: Jenkins
Branch: master

commit a13a25b4025384bb6a9f981206a24a4e999187f3
Author: David Moreau Simard <email address hidden>
Date: Sat Nov 21 18:53:33 2015 -0500

    Dynamically find the extra partitioned block device

    This provides support for using loopback devices for the extra
    disk.

    Change-Id: Ia61b32e27ba619d15860daa6a9ed75291dad1d06
    Closes-bug: #1518641

Changed in kolla:
status: In Progress → Fix Committed
Sam Yaple (s8m)
Changed in kolla:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/249266

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/liberty)

Reviewed: https://review.openstack.org/249266
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=227d14f16247cce2392898bedff64cae1feb2ebd
Submitter: Jenkins
Branch: stable/liberty

commit 227d14f16247cce2392898bedff64cae1feb2ebd
Author: David Moreau Simard <email address hidden>
Date: Sat Nov 21 18:53:33 2015 -0500

    Dynamically find the extra partitioned block device

    This provides support for using loopback devices for the extra
    disk.

    Change-Id: Ia61b32e27ba619d15860daa6a9ed75291dad1d06
    Closes-bug: #1518641
    (cherry picked from commit a13a25b4025384bb6a9f981206a24a4e999187f3)

tags: added: in-stable-liberty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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