commit 6e455cd97f04bf26bbe022be17c57e089cf502f4
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
Reviewed: https:/ /review. openstack. org/62910 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=6e455cd97f0 4bf26bbe022be17 c57e089cf502f4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6e455cd97f04bf2 6bbe022be17c57e 089cf502f4
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 20_abcdef) . Which can result 20_default)
command, but use the meta 'os_type' in the name of the
ephemeral file (e.g. ephemeral_
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_
Modifed the tests to test for: type='test' - with no mkfs command specified type='test' - with a mkfs command specified
os_type=''
os_type=None
os_
os_
Closes-Bug: 1253980
Change-Id: Ie4c10f99ce690c 5e4ef181624bd68 8c38923855c