Comment 12 for bug 1609683

Revision history for this message
sundarkh (sundar-kh) wrote : Re: SMR3.1build14:creation of SVC with heat fails with authorisation failure The resource could not be found. (HTTP 404)

Traceback (most recent call last):
  File "tcutils/wrappers.py", line 73, in wrapper
    result = function(self, *args, **kwargs)
  File "scripts/heat/test_heat.py", line 61, in test_svc_creation_with_heat
    right_net_fix, r_hs_obj = self.config_vn(stack_name='right_net')
  File "scripts/heat/base.py", line 103, in config_vn
    vn_hs_obj = self.config_heat_obj(stack_name, template, env)
  File "scripts/heat/base.py", line 117, in config_heat_obj
    inputs=self.inputs, stack_name=stack_name, project_fq_name=self.inputs.project_fq_name, template=template, env=env))
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 679, in useFixture
    reraise(*exc_info)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 666, in useFixture
    fixture.setUp()
  File "/contrail-test/fixtures/heat_test.py", line 120, in setUp
    stack_obj = self.heat_client_obj.stacks.create(**fields)
  File "/usr/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 136, in create
    data=kwargs, headers=headers)
  File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 287, in post
    return self.client_request("POST", url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 277, in client_request
    resp, body = self.json_request(method, url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 266, in json_request
    resp = self._http_request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 221, in _http_request
    raise exc.from_response(resp)
HTTPInternalServerError: ERROR: Remote error: NotFound The resource could not be found. (HTTP 404)
[u'