Comment 35 for bug 1253980

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

Reviewed: https://review.openstack.org/62913
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3e451f1bac57d24e47171cffb3ad59bb1610d836
Submitter: Jenkins
Branch: stable/grizzly

commit 3e451f1bac57d24e47171cffb3ad59bb1610d836
Author: Ryan Moore <email address hidden>
Date: Fri Nov 29 14:21:19 2013 +0000

    use 'os_type' in ephemeral filename only if mkfs defined

    Currently for undefined os-types it will use the default mkfs
    command, but use the meta 'os_type' in the name of the
    ephemeral file (e.g. ephemeral_20_abcdef). Which can result
    in a lot of files (DoS?)
    This change will only use 'os_type' in the ephemeral filename
    if there is a specific mkfs command defined, otherwise it will
    use 'default' (e.g. ephemeral_20_default)

    Modifed the tests to test for:
      os_type=''
      os_type=None
      os_type='test' - with no mkfs command specified
      os_type='test' - with a mkfs command specified

    Closes-Bug: 1253980

    Backport of Original Change-Id: Ie4c10f99ce690c5e4ef181624bd688c38923855c
    to stable/grizzly

    Change-Id: Ia040910e90861a2987eff345ad1c01863655b124