Ask Your Question

openstack launch

asked 2019-01-25 06:54:30 -0600

lelunicu gravatar image

updated 2019-01-27 01:53:12 -0600

novainfinite gravatar image

hi, i tried to lauch a instance->openstack stack create -t y.yaml y more y.yaml

heat_template_version: 2013-05-23

    type: string
    default: y
    description: Name of an existing key pair to use for the instance
    type: string
    description: Instance type for the instance to be created
    default: y
    type: string
    default: test9
    description: ID or name of the image to use for the instance
    type: string
    default: default
    description: Network ID to use for the instance

    type: OS::Nova::Server
      name: My Cirros Instance
      image: { get_param: image }
      flavor: { get_param: flavor }
      key_name: { get_param: key_name}
      - network: { get_param: NetID }

 openstack stack show y
| Field                 | Value                                                                                                           |
| id                    | 040df6f3-3d10-4ad6-aad2-fb0946a11eb7                                                                            |
| stack_name            | y                                                                                                               |
| description           | No description                                                                                                  |
| creation_time         | 2019-01-25T12:14:41Z                                                                                            |
| updated_time          | None                                                                                                            |
| stack_status          | CREATE_FAILED                                                                                                   |
| stack_status_reason   | Resource CREATE failed: ResourceInError: resources.my_instance: Went to status ERROR due to "Message: No valid  |
|                       | host was found. There are not enough hosts available.

more nova-compute.log|grep Error
2019-01-25 04:17:02.509 6294 DEBUG neutronclient.v2_0.client [req-3d20959e-8e9a-45d0-9840-2ad56f99d5ef - - - - -] GET call to neutron for used request id req-840ad1a5-8e5b-4892-9bae-db0202c0324a _append_request_id /usr/lib/python2.7/site-packages/neutronclient/v2_0/
2019-01-25 04:17:02.513 6294 DEBUG neutronclient.v2_0.client [req-3d20959e-8e9a-45d0-9840-2ad56f99d5ef - - - - -] Error message: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"} _handle_fault_response /usr/lib/python2.7/site-packages/neutronclient/v2_0/client.p

The image is compatible with everything in compute compute node are enough resources.

edit retag flag offensive close merge delete


Use the scheduler log to find out what caused the scheduling failure.

Also, if you want people to read your command output, format it properly. Right now it’s very painful to read.

Bernd Bausch gravatar imageBernd Bausch ( 2019-01-26 02:43:04 -0600 )edit

Does network 9fef22dd-1031-424b-85be-5ab60dad45af exist? If yes, does it belong to the project that runs the stack?

Bernd Bausch gravatar imageBernd Bausch ( 2019-01-27 15:51:33 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2019-01-27 11:39:19 -0600

jckreddy gravatar image
Is there any other logs available 
like scheduler , neutron , controller
they might help
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


Asked: 2019-01-25 06:54:30 -0600

Seen: 33 times

Last updated: Jan 27