rally-openstack/rally-jobs/extra/server_with_volume.yaml.template
Christopher Brown 2911e3809e Fix broken jobs due to image change
The cirros image has been changed to 0.4.0 and so the image
name needs updating and network config adding.

Change-Id: I77b52d34697268e95813b0be7e5a48e6a18e0399
2019-04-11 11:12:20 +01:00

42 lines
1.1 KiB
Plaintext

heat_template_version: 2013-05-23
parameters:
# set all correct defaults for parameters before launch test
image:
type: string
default: cirros-0.4.0-x86_64-disk
flavor:
type: string
default: m1.tiny
availability_zone:
type: string
description: The Availability Zone to launch the instance.
default: nova
volume_size:
type: number
description: Size of the volume to be created.
default: 1
constraints:
- range: { min: 1, max: 1024 }
description: must be between 1 and 1024 Gb.
resources:
server:
type: OS::Nova::Server
properties:
image: {get_param: image}
flavor: {get_param: flavor}
networks:
- allocate_network: none
cinder_volume:
type: OS::Cinder::Volume
properties:
size: { get_param: volume_size }
availability_zone: { get_param: availability_zone }
volume_attachment:
type: OS::Cinder::VolumeAttachment
properties:
volume_id: { get_resource: cinder_volume }
instance_uuid: { get_resource: server}
mountpoint: /dev/vdc