Could not load AWSTemplateFormatVersion.2010-09-09: testscenarios>=0.4

Bug #1446507 reported by Christoph Dwertmann
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
heat (Juju Charms Collection)
Invalid
Undecided
Unassigned
heat (Ubuntu)
Invalid
Undecided
Unassigned
python-oslo.db (Ubuntu)
Fix Released
High
James Page

Bug Description

After upgrading from icehouse to kilo, heat-engine complains:

2015-04-21 17:08:58.308 4640 CRITICAL heat.engine [-] Could not load AWSTemplateFormatVersion.2010-09-09: testscenarios>=0.4

Installing the packages python-testscenarios and python-testresources fixes this. Could you add them as a dependency?

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: heat-engine 2015.1~rc1-0ubuntu1~cloud0 [origin: Canonical]
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
CrashDB:
 {
                "impl": "launchpad",
                "project": "cloud-archive",
                "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
             }
Date: Tue Apr 21 17:57:01 2015
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: heat
UpgradeStatus: No upgrade log present (probably fresh install)

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

I also hit this issue with Trusty-Kilo heat deployments.

Installing python-testscenarios and python-testresources on the heat unit resolved as a workaround, but is probably not the right/permanent fix.

affects: cloud-archive → heat (Juju Charms Collection)
tags: added: openstack uosci
Revision history for this message
Ryan Beisner (1chb1n) wrote :

This should probably be fixed in the upstream heat package (dependencies, requirements.txt).

Revision history for this message
James Page (james-page) wrote :

This appears to be a problem with oslo.db packaging, where the test* dependencies are blacklisted as runtime deps, but not removed from the requirements.txt.

Due to the way heat loads its entry points, this is then listed as a missing dependency and heat fails to start.

Changed in python-oslo.db (Ubuntu):
status: New → Triaged
Changed in heat (Ubuntu):
status: New → Invalid
Changed in python-oslo.db (Ubuntu):
importance: Undecided → Critical
importance: Critical → High
Changed in heat (Juju Charms Collection):
status: New → Invalid
Revision history for this message
James Page (james-page) wrote :

I've uploaded a revised oslo.db which will include testresources and testscenarios as runtime dependencies - this needs review and ack by the release team.

Changed in python-oslo.db (Ubuntu):
assignee: nobody → James Page (james-page)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-oslo.db - 1.7.1-0ubuntu2

---------------
python-oslo.db (1.7.1-0ubuntu2) vivid; urgency=medium

  * d/pydist-overrides: Dropped, ignoring the dependencies on testscenarios
    and testresources causes failures at runtime in heat due to the way
    entry point dependency requirements are validated (LP: #1446507).
 -- James Page <email address hidden> Wed, 22 Apr 2015 17:58:08 +0100

Changed in python-oslo.db (Ubuntu):
status: In Progress → Fix Released
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.