Create stack error message in case of non existing nova network is not detailed enough
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Low
|
Rohit Agarwalla |
Bug Description
Create a stack and specify a non existing network in one of the servers.
The error message available in the UI and API is:
"NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-f0f20332-
The information about the missing resource could be found at /var/log/
2014-02-11 11:08:20.524 18720 ERROR nova.api.openstack [req-f0f20332-
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack Traceback (most recent call last):
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack return req.get_
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack application, catch_exc_
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack app_iter = application(
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack return resp(environ, start_response)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack return self.app(env, start_response)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack return resp(environ, start_response)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack return resp(environ, start_response)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack response = self.app(environ, start_response)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack return resp(environ, start_response)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack content_type, body, accept)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack return method(req=request, **action_args)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack legacy_
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack rv = f(*args, **kwargs)
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack legacy_
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack block_device_
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack self._check_
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack self.network_
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack File "/usr/lib/
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack raise exception.
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack NetworkNotFound: Network a692270f-
2014-02-11 11:08:20.524 18720 TRACE nova.api.openstack
2014-02-11 11:08:20.533 18720 INFO nova.api.openstack [req-f0f20332-
2014-02-11 11:08:20.534 18720 DEBUG nova.api.
2014-02-11 11:08:20.534 18720 INFO nova.osapi_
When dealing with complexed stacks the user will not be able to understand the cause using only the Heat APIs.
Please expose the message of the root error via the Heat API (stack_
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Low |
summary: |
- Create stack error message in case of non existing network is not + Create stack error message in case of non existing nova network is not detailed enough |
Changed in heat: | |
assignee: | nobody → Rohit Agarwalla (rohitagarwalla) |
Changed in heat: | |
status: | In Progress → Triaged |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
It looks like you are using Neutron and not Nova-Network ? reason.
Also, can you provide the stack template in which you are using the non-existing network resource ID.
I'd like to reproduce the error and see if there is a way to expose the reason through stack_status_