Ask Your Question
0

In heat, how to enable the instance in the InstanceGroup to use block device

asked 2014-04-03 23:01:37 -0500

anonymous user

Anonymous

updated 2014-04-03 23:03:19 -0500

Hi all,

In heat, how to enable the instance in the instance group to use block device?

Here is my template:


host_pm:

type: AWS::AutoScaling::LaunchConfiguration

properties:

  ImageId: { get_param: image }

  InstanceType: { get_param: flavor }

  KeyName: { get_param: key_name }

  BlockDeviceMappings: [ {
                         DeviceName : /dev/sdk,
                         Ebs : {VolumeSize : 2}
                         }]

worker_group:

type: OS::Heat::InstanceGroup

properties:

  LaunchConfigurationName:  {Ref: host_pm}

  Size: {get_param: pm_num}

  AvailabilityZones: []

The heat-api report an error: Property BlockDeviceMappings not implemented yet

Is there any way to enable the instance of instance gourp to use block device automatically?

Best Regards,

Dennis

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-13 22:00:26 -0500

Steve Baker gravatar image

This may only be possible if you move to the OS::Heat::AutoScalingGroup resource so you can specify you're scaled stack with a OS::Nova::Server resource. See the following example templates:

edit flag offensive delete link more

Comments

Note the above assumes you're running Icehouse Heat or newer.

Steve Baker ( 2014-04-13 22:00:46 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

Follow
1 follower

Stats

Asked: 2014-04-03 23:01:37 -0500

Seen: 128 times

Last updated: Apr 13 '14