[Openstack] Heat stack create

Cavalcante, Franciraldo X C-Franciraldo.Cavalcante at charter.com
Thu Jul 21 15:01:59 UTC 2016


Hey Turbo,

You need to create the cloudformation endpoint.

Here is a link that shows how to do it:
 <http://docs.openstack.org/mitaka/install-guide-ubuntu/heat-install.html>


Regards,
\Franza


On 7/21/16, 7:21 AM, "Turbo Fredriksson" <turbo at bayour.com> wrote:

>I'm trying to setup Trove, to get DBaaS working. That uses
>Heat to do the orchestration.
>
>However, when trying to create a test stack in Heat
>
>  
>http://docs.openstack.org/icehouse/install-guide/install/yum/content/heat-
>verify.html
>
>I get:
>
>----- s n i p -----
>==> /var/log/heat/heat-engine.log <==
>2016-07-21 14:17:08.124 9011 INFO heat.engine.resource [-] CREATE: Server
>"server1" Stack "test-stack" [832fb9d6-3871-44be-8a3a-1745223d6cce]
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource Traceback (most
>recent call last):
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 704, in
>_action_recorder
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     yield
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 775, in
>_do_action
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     yield
>self.action_handler_task(action, args=handler_args)
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 297, in
>wrapper
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     step =
>next(subtask)
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 746, in
>action_handler_task
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     handler_data
>= handler(*args)
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/resources/openstack/nova/ser
>ver.py", line 818, in handle_create
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource
>user_data_format=user_data_format)
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/clients/os/nova.py", line
>378, in build_userdata
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     watch_url =
>heat_client_plugin.get_watch_server_url()
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/clients/os/heat_plugin.py",
>line 102, in get_watch_server_url
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     cfn_url =
>self.get_heat_cfn_url()
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/clients/os/heat_plugin.py",
>line 80, in get_heat_cfn_url
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource
>endpoint_type=endpoint_type)
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/clients/client_plugin.py",
>line 182, in url_for
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     url =
>get_endpoint()
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/heat/engine/clients/client_plugin.py",
>line 168, in get_endpoint
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     return
>auth_plugin.get_endpoint(self._keystone_session, **kwargs)
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py",
>line 341, in get_endpoint
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource
>service_name=service_name)
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/positional/__init__.py", line 94, in
>inner
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     return
>func(*args, **kwargs)
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource   File
>"/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py",
>line 297, in url_for
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource     raise
>exceptions.EndpointNotFound(msg)
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource EndpointNotFound:
>publicURL endpoint for cloudformation service not found
>2016-07-21 14:17:08.124 9011 ERROR heat.engine.resource
>2016-07-21 14:17:08.191 9011 INFO heat.engine.service [-] Stack create
>failed, status FAILED
>2016-07-21 14:17:08.239 9011 INFO heat.engine.stack [-] Stack CREATE
>FAILED (test-stack): Resource CREATE failed: EndpointNotFound:
>resources.server1: publicURL endpoint for cloudformation service not found
>----- s n i p -----
>
>What is that 'publicURL endpoint for cloudformation service not found'
>part, and how/where do I configure it?
>-- 
>Try not. Do. Or do not. There is no try!
>- Yoda
>
>
>_______________________________________________
>Mailing list: 
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>Post to     : openstack at lists.openstack.org
>Unsubscribe : 
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





More information about the Openstack mailing list