Unable to create stacks in heat

asked 2015-08-11 02:01:58 -0500

Nazmi gravatar image

updated 2015-08-11 03:36:54 -0500

Good day openstack community, Nazmi here

I'm currently doing openstack based on this documentation http://docs.openstack.org/kilo/install-guide/install/apt/content/ (http://docs.openstack.org/kilo/instal...)

during the stack creation for heat, I encountered this issue;

root@ubuntu:/# heat stack-show testStack
+-----------------------+-------------------------------------------------------------------------------------------------------------------------+
| Property              | Value                                                                                                                   |
+-----------------------+-------------------------------------------------------------------------------------------------------------------------+
| capabilities          | []                                                                                                                      |
| creation_time         | 2015-08-11T06:54:52Z                                                                                                    |
| description           | A simple server.                                                                                                        |
| disable_rollback      | True                                                                                                                    |
| id                    | 166dc6f9-a39f-4393-b12f-9054a5674613                                                                                    |
| links                 | http://controller:8004/v1/05bc3add45b5488ba3a3e70d7fcbec50/stacks/testStack/166dc6f9-a39f-4393-b12f-9054a5674613 (self) |
| notification_topics   | []                                                                                                                      |
| outputs               | [                                                                                                                       |
|                       |   {                                                                                                                     |
|                       |     "output_value": null,                                                                                               |
|                       |     "description": "IP address of the server in the private network",                                                   |
|                       |     "output_key": "private_ip"                                                                                          |
|                       |   }                                                                                                                     |
|                       | ]                                                                                                                       |
| parameters            | {                                                                                                                       |
|                       |   "OS::project_id": "05bc3add45b5488ba3a3e70d7fcbec50",                                                                 |
|                       |   "NetID": "521f8e41-6e7a-45d7-b9fa-34a8899d6f7c",                                                                      |
|                       |   "OS::stack_id": "166dc6f9-a39f-4393-b12f-9054a5674613",                                                               |
|                       |   "OS::stack_name": "testStack",                                                                                        |
|                       |   "ImageID": "cirros-0.3.4-x86_64"                                                                                      |
|                       | }                                                                                                                       |
| parent                | None                                                                                                                    |
| stack_name            | testStack                                                                                                               |
| stack_owner           | admin                                                                                                                   |
| stack_status          | CREATE_FAILED                                                                                                           |
| stack_status_reason   | Resource CREATE failed: ClientException: The server has                                                                 |
|                       | either erred or is incapable of performing the                                                                          |
|                       | requested operation. (HTTP 500) (Request-ID:                                                                            |
|                       | req-16464810-cf3c-4ff1-9978-1f79665b25c7)                                                                               |
| stack_user_project_id | 3a019695b975423a8f605dac579cfcd1                                                                                        |
| template_description  | A simple server.                                                                                                        |
| timeout_mins          | None                                                                                                                    |
| updated_time          | None                                                                                                                    |
+-----------------------+-------------------------------------------------------------------------------------------------------------------------+

My Controller. Network, block1( Cinder ), object 1 and 2 ( swift ) are on the same server. While only Compute is on a different server.

the logs in /var/log/heat/heat-engine.log is also telling me the same things regarding this error. I couldn't seem to find a work way around it and would appreciate much if any one could guide me through.

Cheers

edit retag flag offensive close merge delete

Comments

Check if nova and neutron are running properly, and if you have enough resources to create that stack. Regards

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-08-11 02:24:09 -0500 )edit

Hi Mr Gonzalez thanks for the reply. I am not too familiar with Ubuntu as I was handed over this project quite recently. In order to check nova and neutron running properly, what syntax's should i input to check? Also I'm running on VM so I think I have enough resources to accommodate a new instance

Nazmi gravatar imageNazmi ( 2015-08-11 02:41:14 -0500 )edit

I checked the services and neutron and nova are running based from that command ; root@ubuntu:/# service --status-all [ + ] neutron-server [ + ] nova-api [ + ] nova-cert [ + ] nova-compute [ + ] nova-conductor [ + ] nova-consoleauth [ + ] nova-novncproxy [ + ] nova-scheduler

Nazmi gravatar imageNazmi ( 2015-08-11 02:50:40 -0500 )edit

Check nova service-list and neutron agent-list, if something is wrong with one of them, check logs for that service at /var/log/[neutron or nova]/. What flavor are you using in the template and what are your vm resources?

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-08-11 02:50:51 -0500 )edit

I can see that both nova service-list and neutron agent-list are running as was verified based from the documentation. I'm using m1.tiny flavor for my template. currently my resources for CPU's availability is 16GHz, and my Memory is 12GB. Do note that only Compute is at a seperate server

Nazmi gravatar imageNazmi ( 2015-08-11 03:01:54 -0500 )edit