Ask Your Question
0

Heat stack creation failed: Multiple possible networks found

asked 2015-04-17 05:34:29 -0500

fhussain gravatar image

Hi,

I am trying to create a stack using this template:

heat_template_version: 2013-05-23

description: Simple template to deploy a single compute instance

resources:
  my_instance:
    type: OS::Nova::Server
    properties:
      key_name: Key1
      image: ubuntu14.04
      flavor: m1.small

But the stack fails to create with this error:

Resource CREATE failed: BadRequest: Multiple possible networks found, use a Network ID to be more specific.

Please help me resolve the issue.

P.S. I am not sure wether ubuntu14.04 image is cfn-tools-enabled image or not. Would it matter?

edit retag flag offensive close merge delete

Comments

This might help you. Also see comments on this

Syed Awais Ali gravatar imageSyed Awais Ali ( 2015-04-17 06:26:56 -0500 )edit

Regarding your question of cfn-tools-enabled image, if you are using the user data scripts then you need cfn-tools because it uses it for injectiing the scripts, so that you get a VM pre-configured with whatever configs you want

Syed Awais Ali gravatar imageSyed Awais Ali ( 2015-04-17 06:32:55 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-04-17 06:31:30 -0500

updated 2015-04-17 06:33:10 -0500

Hi, this error is because you got more than 1 network available in your project, you need to specify in the stack's YAML the propertie

networks:
          - network: <Network name or UUID>

You can see a complete reference of Heat options in http://docs.openstack.org/developer/heat/template_guide/openstack.html

edit flag offensive delete link more
0

answered 2015-08-06 16:01:16 -0500

tictoc gravatar image

Saved my bacon on this :-) Had a question though. When using this resources: wordpress_instance: type: OS::Nova::Server properties: image: { get_param: image_id } flavor: { get_param: instance_type } key_name: { get_param: key_name } networks: - network: 64304f40-a0c1-4ec9-8125-ca5309698266 user_data: Should you use your Private address ID then add your Public Floating to the instance or should you add Both Priv and Pub here? And again thanks for the very much needed tip!!

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-04-17 05:34:29 -0500

Seen: 1,984 times

Last updated: Aug 06 '15