Comment 1 for bug 1431013

Revision history for this message
Ryan Beisner (1chb1n) wrote :

Confirming the reported via tempest, plus additional related issue due to what looks to be a missing /etc/heat/templates/ dir:

root@juju-beis0-machine-7:/etc/heat# ls -alhR
.:
total 24K
drwxr-x--- 3 heat heat 4.0K Aug 3 11:51 .
drwxr-xr-x 95 root root 4.0K Aug 3 11:52 ..
-rw-r--r-- 1 heat heat 3.2K Aug 3 11:55 api-paste.ini
drwxr-xr-x 2 heat heat 4.0K Aug 3 11:51 environment.d
-rw-r--r-- 1 heat heat 1.2K Aug 3 11:55 heat.conf
-rw-r--r-- 1 heat heat 3.0K Jun 18 22:26 policy.json

./environment.d:
total 12K
drwxr-xr-x 2 heat heat 4.0K Aug 3 11:51 .
drwxr-x--- 3 heat heat 4.0K Aug 3 11:51 ..
-rw-r--r-- 1 heat heat 436 Jun 18 22:26 default.yaml

# Trusty-Icehouse:
======================================================================
FAIL: tempest.api.orchestration.stacks.test_resource_types.ResourceTypesTest.test_resource_type_show[id-0e85a483-828b-4a28-a0e3-f0a21809192b,smoke]
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "/var/lib/jenkins/tools/openstack-charm-testing/tempest/tempest/api/orchestration/stacks/test_resource_types.py", line 35, in test_resource_type_show
    type_schema = self.client.show_resource_type(resource_type)
  File "/var/lib/jenkins/tools/openstack-charm-testing/tempest/tempest/services/orchestration/json/orchestration_client.py", line 301, in show_resource_type
    resp, body = self.get(url)
  File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 271, in get
    return self.request('GET', url, extra_headers, headers)
  File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 636, in request
    resp, resp_body)
  File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 693, in _error_checker
    raise exceptions.BadRequest(resp_body)
tempest_lib.exceptions.BadRequest: Bad request
Details: {u'title': u'Bad Request', u'explanation': u'The server could not comply with the request since it is either malformed or otherwise incorrect.', u'code': 400, u'error': {u'message': u"type object 'TemplateResource' has no attribute 'properties_schema'", u'traceback': None, u'type': u'AttributeError'}}

# Trusty-Kilo:
======================================================================
FAIL: tempest.api.orchestration.stacks.test_resource_types.ResourceTypesTest.test_resource_type_show[id-0e85a483-828b-4a28-a0e3-f0a21809192b,smoke]
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "/var/lib/jenkins/tools/openstack-charm-testing/tempest/tempest/api/orchestration/stacks/test_resource_types.py", line 35, in test_resource_type_show
    type_schema = self.client.show_resource_type(resource_type)
  File "/var/lib/jenkins/tools/openstack-charm-testing/tempest/tempest/services/orchestration/json/orchestration_client.py", line 301, in show_resource_type
    resp, body = self.get(url)
  File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 271, in get
    return self.request('GET', url, extra_headers, headers)
  File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 636, in request
    resp, resp_body)
  File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 693, in _error_checker
    raise exceptions.BadRequest(resp_body)
tempest_lib.exceptions.BadRequest: Bad request
Details: {u'title': u'Bad Request', u'explanation': u'The server could not comply with the request since it is either malformed or otherwise incorrect.', u'code': 400, u'error': {u'message': u'Could not fetch remote template "file:///etc/heat/templates/AWS_CloudWatch_Alarm.yaml": Failed to retrieve template: <urlopen error [Errno 2] No such file or directory: \'/etc/heat/templates/AWS_CloudWatch_Alarm.yaml\'>', u'traceback': None, u'type': u'StackValidationFailed'}}