mkfs.ntfs command not working on files

Bug #928749 reported by Thorsten Tarrach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Thorsten Tarrach

Bug Description

During the process of creating an instance for the first time from a glance server, nova tries to execute this command:

mkfs.ntfs --fast --label ephemeral0 /var/lib/nova/instances/_base/ephemeral_0_500_windows

This in turn fails with this error:

/var/lib/nova/instances/_base/ephemeral_0_500_windows is not a block device.\nRefusing to make a filesystem here!\n

The reason is that mkfs.ntfs needs the --force flag to create a filesystem in a file.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Thorsten Tarrach (r-thorsten)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/3889
Committed: http://github.com/openstack/nova/commit/80c9a27b80741bb9aaf7adbab1d9b3befeac49c4
Submitter: Jenkins
Branch: master

commit 80c9a27b80741bb9aaf7adbab1d9b3befeac49c4
Author: Thorsten Tarrach <email address hidden>
Date: Wed Feb 8 11:08:23 2012 +0100

    fixed bug 928749

    During the process of creating an instance
    for the first time from a glance server,
    nova tries to execute this command:

    mkfs.ntfs --fast --label ephemeral0
    /var/lib/nova/instances/_base/ephemeral_0_500_windows

    This in turn fails with this error:

    /var/lib/nova/instances/_base/ephemeral_0_500_windows
    is not a block device.
    Refusing to make a filesystem here!

    The reason is that mkfs.ntfs needs the
    --force flag to create a filesystem in a file.

    Change-Id: If6c424400317a5f19ab117daec4c791476245753

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-4 → 2012.1
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.