Fail tempest tests due to not copied template file (Ubuntu only)

Bug #1387802 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Igor Yozhikov
5.1.x
Fix Committed
High
Igor Yozhikov
6.0.x
Fix Committed
High
Igor Yozhikov

Bug Description

One of tempest tests fails with error:

  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply
    incoming.message))

  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)

  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch
    result = getattr(endpoint, method)(ctxt, **new_args)

  File "/usr/lib/python2.7/dist-packages/heat/engine/service.py", line 933, in resource_schema
    rpc_api.RES_SCHEMA_PROPERTIES: dict(properties_schema()),

  File "/usr/lib/python2.7/dist-packages/heat/engine/service.py", line 921, in properties_schema
    for name, schema_dict in resource_class.properties_schema.items():

AttributeError: type object 'TemplateResource' has no attribute 'properties_schema'

The real problem is, that on controllers missed during copying files:
https://github.com/openstack/heat/tree/master/etc/heat/templates

These files necessary for correct work environment file, because it contains reference on these templates.
https://github.com/openstack/heat/blob/master/etc/heat/environment.d/default.yaml#L6

Revision history for this message
Sergey Kraynev (skraynev) wrote :

I change importance on the high, because such missed files may lead to situation, when user can not use some resources.

Changed in fuel:
importance: Medium → High
Changed in fuel:
milestone: none → 6.0
assignee: Fuel for Openstack (fuel) → Fuel Library Team (fuel-library)
status: New → Triaged
tags: added: low-hanging-fruit
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

This issue reproduced on 5.1.x as well, so, we need to fix it in MOS 5.1.1 and MOS 6.0

Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.0"
  api: "1.0"
  build_number: "79"
  build_id: "2014-11-05_21-28-15"
  astute_sha: "c72dac7b31646fbedbfc56a2a87676c6d5713fcf"
  fuellib_sha: "03c63d4233f6e1c182cc58213cd4542aba5b706d"
  ostf_sha: "9c6fadca272427bb933bc459e14bb1bad7f614aa"
  nailgun_sha: "01579a53c2be841dc4cafb0be00213243dde7667"
  fuelmain_sha: "35eed79fd6dcfc86a9206ffcd90d385ba5dcca56"

This issue was not reproduced.

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Marked as Incomplete for 6.0.x, we still need to figure out the situtation in 5.1.1.

Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "5.1.1"
  api: "1.0"
  build_number: "27"
  build_id: "2014-11-06_14-24-44"
  astute_sha: "702af3db6f5bca92525bc8322d7d5d7675ec857e"
  fuellib_sha: "709023804a4a8a63ff426e1e50f17f46f1b120b7"
  ostf_sha: "64cb59c681658a7a55cc2c09d079072a41beb346"
  nailgun_sha: "e03b24c6b9e04ef57ad2df5a6e05cc0e1293e537"
  fuelmain_sha: "60a96423ef2fad6098ddb60f33adf1d99026a39a"

This issue was not reproduced.

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Set to invalid due to no more reproduces, according to #3 and #5

Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

This issue is reproduced on environments with Ubuntu only! The issue was reproduced on 5.1.1 and 6.0.

Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

ISOs #3 and #5 was deployed on CentOS.

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Thank you for elaboration

summary: - Fail tempest tests due to not copied template file
+ Fail tempest tests due to not copied template file (Ubuntu only)
Revision history for this message
Marcin Iwinski (iwi) wrote :

Content of /etc/heat/templates/ is provided by heat-common rpm package on CentOS:

[root@node-11 ~]# rpm -ql openstack-heat-common-2014.1.1-fuel5.1.mira7.noarch|grep '/etc/heat/templates/'
/etc/heat/templates/AWS_CloudWatch_Alarm.yaml
/etc/heat/templates/AWS_RDS_DBInstance.yaml

Neither of these files exist in any package for Ubuntu.

What is interesting is that the files are also missing in official packages provided by Canonical
(http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/h/heat/).

To be fully compatible with RPMs and upstream our Ubuntu package requires repackaging.

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package heat has been built for project openstack/heat
Package version == 2014.2, package release == fuel6.0~mira2+git.c067725.dbc90b3

Changeset: https://review.fuel-infra.org/886
project: openstack-build/heat-build
branch: openstack-ci/fuel-6.0/2014.2
author: Igor Yozhikov
committer: Igor Yozhikov
subject: Add etc/heat/subfolders to package
status: patchset-created

Files placed on repository:
heat-api-cfn_2014.2-fuel6.0~mira2+git.c067725.dbc90b3_all.deb
heat-api-cloudwatch_2014.2-fuel6.0~mira2+git.c067725.dbc90b3_all.deb
heat-api_2014.2-fuel6.0~mira2+git.c067725.dbc90b3_all.deb
heat-common_2014.2-fuel6.0~mira2+git.c067725.dbc90b3_all.deb
heat-engine_2014.2-fuel6.0~mira2+git.c067725.dbc90b3_all.deb
python-heat_2014.2-fuel6.0~mira2+git.c067725.dbc90b3_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-886/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package heat has been built for project openstack/heat
Package version == 2014.2, package release == fuel6.0~mira2+git.c067725.fba9f9c

Changeset: https://review.fuel-infra.org/886
project: openstack-build/heat-build
branch: openstack-ci/fuel-6.0/2014.2
author: Igor Yozhikov
committer: Igor Yozhikov
subject: Add etc/heat/subfolders to package
status: patchset-created

Files placed on repository:
heat-api-cfn_2014.2-fuel6.0~mira2+git.c067725.fba9f9c_all.deb
heat-api-cloudwatch_2014.2-fuel6.0~mira2+git.c067725.fba9f9c_all.deb
heat-api_2014.2-fuel6.0~mira2+git.c067725.fba9f9c_all.deb
heat-common_2014.2-fuel6.0~mira2+git.c067725.fba9f9c_all.deb
heat-engine_2014.2-fuel6.0~mira2+git.c067725.fba9f9c_all.deb
python-heat_2014.2-fuel6.0~mira2+git.c067725.fba9f9c_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-886/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package heat has been built for project openstack/heat
Package version == 2014.2, package release == fuel6.0~mira2

Changeset: https://review.fuel-infra.org/886
project: openstack-build/heat-build
branch: openstack-ci/fuel-6.0/2014.2
author: Igor Yozhikov
committer: Igor Yozhikov
subject: Add etc/heat/subfolders to package
status: change-merged

Files placed on repository:
heat-api-cfn_2014.2-fuel6.0~mira2_all.deb
heat-api-cloudwatch_2014.2-fuel6.0~mira2_all.deb
heat-api_2014.2-fuel6.0~mira2_all.deb
heat-common_2014.2-fuel6.0~mira2_all.deb
heat-engine_2014.2-fuel6.0~mira2_all.deb
python-heat_2014.2-fuel6.0~mira2_all.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package heat has been built for project openstack/heat
Package version == 2014.1.3, package release == fuel5.1.1~mira2+git.870bd69.702d03b

Changeset: https://review.fuel-infra.org/891
project: openstack-build/heat-build
branch: openstack-ci/fuel-5.1.1/2014.1.1
author: Igor Yozhikov
committer: Igor Yozhikov
subject: Add etc/heat/subfolders to package
status: patchset-created

Files placed on repository:
heat-api-cfn_2014.1.3-fuel5.1.1~mira2+git.870bd69.702d03b_all.deb
heat-api-cloudwatch_2014.1.3-fuel5.1.1~mira2+git.870bd69.702d03b_all.deb
heat-api_2014.1.3-fuel5.1.1~mira2+git.870bd69.702d03b_all.deb
heat-common_2014.1.3-fuel5.1.1~mira2+git.870bd69.702d03b_all.deb
heat-engine_2014.1.3-fuel5.1.1~mira2+git.870bd69.702d03b_all.deb
python-heat_2014.1.3-fuel5.1.1~mira2+git.870bd69.702d03b_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-stable-891/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package heat has been built for project openstack/heat
Package version == 2014.1.3, package release == fuel5.1.1~mira2

Changeset: https://review.fuel-infra.org/891
project: openstack-build/heat-build
branch: openstack-ci/fuel-5.1.1/2014.1.1
author: Igor Yozhikov
committer: Igor Yozhikov
subject: Add etc/heat/subfolders to package
status: change-merged

Files placed on repository:
heat-api-cfn_2014.1.3-fuel5.1.1~mira2_all.deb
heat-api-cloudwatch_2014.1.3-fuel5.1.1~mira2_all.deb
heat-api_2014.1.3-fuel5.1.1~mira2_all.deb
heat-common_2014.1.3-fuel5.1.1~mira2_all.deb
heat-engine_2014.1.3-fuel5.1.1~mira2_all.deb
python-heat_2014.1.3-fuel5.1.1~mira2_all.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-stable/ubuntu

Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

Environment on Ubuntu

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.0"
  api: "1.0"
  build_number: "122"
  build_id: "2014-11-20_22-01-01"
  astute_sha: "46d23177f9c0e53fb7a4729f394d9841b1bae338"
  fuellib_sha: "666c40d0f5c0bb3dbeaa02b7ba62d038453bae0f"
  ostf_sha: "8be702d5cafcb78ac1d93e5fc27d9272cce4773e"
  nailgun_sha: "e4c59607c852f1b3761ef06c9c348994c98a7269"
  fuelmain_sha: "3a6833b3e5223c8eacadb1a0a22600813419e9a9"

The issue was not reproduced.

Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

Environment on Ubuntu:

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "5.1.1"
  api: "1.0"
  build_number: "34"
  build_id: "2014-11-23_21-01-00"
  astute_sha: "dade74af41d4972fe05a1c16ae1db2a2e60c6715"
  fuellib_sha: "444339cae21c369c1d95e96c1059d4099077138e"
  ostf_sha: "64cb59c681658a7a55cc2c09d079072a41beb346"
  nailgun_sha: "7580f6341a726c2019f880ae23ff3f1c581fd850"
  fuelmain_sha: "0fe3db7475b9f8b287c5b59cba94c9a40a8d8101"

The issue was not reproduced.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.