stack created but not showing on horizon(UI)
i created a stack with HEAT following these steps :
source ~/devstack/openrc admin demo
openstack stack create -t myTemp.hot --parameter key_name=heat_key --parameter image_id=trusty-server-cloudimg-amd64-disk1 test_stack
which results in a normal output :
+---------------------+----------------------------------------+
| Field | Value |
+---------------------+----------------------------------------+
| id | ccf03f56-010c-4d2e-b2be-fa83c4d22e1d |
| stack_name | test_stack |
| description | Hot Template to deploy a single server |
| creation_time | 2018-05-22T14:48:16Z |
| updated_time | None |
| stack_status | CREATE_IN_PROGRESS |
| stack_status_reason | Stack CREATE started |
+---------------------+----------------------------------------+
and after a while i check if was successfully created : openstack stack show test_stack
and i get a long output which says it was a success :
+---------------------------+-------------------------------------------------------------+
| Field | Value |
+---------------------------+----------------------------------------------------------- -+
| id | ccf03f56-010c-4d2e-b2be-fa83c4d22e1d |
| stack_name | test_stack |
| description | Hot Template to deploy a single server |
| creation_time | 2018-05-22T14:48:16Z |
| updated_time | None |
| stack_status | CREATE_COMPLETE |
| stack_status_reason | Stack CREATE completed successfully |
| parameters | OS::project_id: f9e2817e0489463a8996ae60ac4930dd |
| | OS::stack_id: ccf03f56-010c-4d2e-b2be-fa83c4d22e1d |
| | OS::stack_name: test_stack |
| outputs | - description: IP of the server |
| | output_key: test_stack_ip |
| | output_value: 10.0.0.3 |
but when i log into horizon and check the instances under project/compute/instances nothing shows up. am i missing something ?
Even if the stack is launched successfully, the instance may have exited. When you run
openstack server list
under the admin/demo identity, do you see the instance?Or perhaps you don’t have the correct identity in Horizon. Do you log on as admin and select the demo project?
thank you seems like i was on the wrong project and the instance was powered off after the creation. is that normal, i thought they were powered on automatically after creation?
Not normal, but the instance may have crashed or halted for some reason. Try to find clues in the Nova Compute log or the instance’s log files. Also try running it manually.