Comment 20 for bug 1609683

Revision history for this message
sundarkh (sundar-kh) wrote : Re: SMR3.1build18:creation of SVC with heat fails with authorisation failure in Mitaka

Issue seen with kilo build 22 as well

Traceback (most recent call last):

  File "tcutils/wrappers.py", line 73, in wrapper

    result = function(self, *args, **kwargs)

  File "tcutils/util.py", line 967, in wrapper

    return f(self, *func_args, **func_kwargs)

  File "scripts/heat/test_heat.py", line 103, in test_public_access_thru_svc_w_fip

    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 162, in create

    data=kwargs, headers=headers)

  File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 281, in post

    return self.client_request("POST", url, **kwargs)

  File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 271, in client_request

    resp, body = self.json_request(method, url, **kwargs)

  File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 260, in json_request

    resp = self._http_request(url, method, **kwargs)

  File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 215, in _http_request

    raise exc.from_response(resp)

HTTPInternalServerError: ERROR: Authorization failed.