Ask Your Question
2

Not able to create the heat stack with resource type : OS::Neutron::ProviderNet

asked 2015-02-09 02:18:00 -0500

Vivek gravatar image

updated 2015-02-09 09:31:54 -0500

smaffulli gravatar image

Hi,

Can some one please tell me what is wrong with the following stack ? The stack creation is failing !! However if I don't include one of "type: OS::Neutron::ProviderNet" or "type: OS::Neutron::Subnet" sections things seems to be working.

Thanks in advance, Vivek

description: ' HOT template to create networks that can be attached to vPFE ports.'
heat_template_version: '2013-05-23'
parameters:
  mgmt_net_name:
    default: mgmt_net
    description: Network name for the external management network
    label: Network Name
    type: string
  mgmt_vlan_id:
    default: '301'
    description: Management Network Vlan Id extended to external Switch
    label: Vlan Id
    type: string
resources:
  mgmt_net:
    type: OS::Neutron::Net
    properties:
      name: { get_param: mgmt_net_name }
      admin_state_up: true
    type: OS::Neutron::ProviderNet
    properties:
      admin_state_up: 'True'
      name: { get_param: mgmt_net_name}
      network_type: vlan
      physical_network: mynetwork
      segmentation_id: { get_param : mgmt_net_name }
  private_subnet_0:
    type: OS::Neutron::Subnet
    properties:
      name: { get_param: mgmt_net_name}
      network_id: { get_resource : mgmt_net }
      cidr: 192.168.64.0/24
      enable_dhcp: False
      gateway_ip: 192.168.64.254
edit retag flag offensive close merge delete

Comments

What version of Heat are you using? What does "failing" mean? Are you getting a specific error message? What is it?

larsks gravatar imagelarsks ( 2015-02-09 09:43:50 -0500 )edit

Also: your mgmt_net resource appears to have two type keys and two properties keys, so either you have errors in your YAML or you have a copy-and-paste-error.

larsks gravatar imagelarsks ( 2015-02-09 09:44:36 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-05 19:17:33 -0500

asalkeld gravatar image

Please note what @larsks said and let us know if that solves your problem.

edit flag offensive delete link more

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-09 02:18:00 -0500

Seen: 1,623 times

Last updated: Aug 05 '15