Package missing file

Bug #1505444 reported by Matt Kassawara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
heat (Ubuntu)
Fix Released
High
James Page

Bug Description

Creating a stack via heat (Liberty, 5.0.0~rc1-0ubuntu1~cloud0) generates the following error due to a missing file:

INFO heat.engine.stack [-] Stack CREATE IN_PROGRESS (testStack): Stack CREATE started
INFO heat.engine.resource [-] creating Server "server" Stack "testStack" [6d7965e0-9690-4310-8a08-dc81eb8436df]
INFO heat.engine.resource [-] CREATE: Server "server" Stack "testStack" [6d7965e0-9690-4310-8a08-dc81eb8436df]
ERROR heat.engine.resource Traceback (most recent call last):
ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 612, in _action_recorder
ERROR heat.engine.resource yield
ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 682, in _do_action
ERROR heat.engine.resource yield self.action_handler_task(action, args=handler_args)
ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 292, in wrapper
ERROR heat.engine.resource step = next(subtask)
ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 653, in action_handler_task
ERROR heat.engine.resource handler_data = handler(*args)
ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resources/openstack/nova/server.py", line 701, in handle_create
ERROR heat.engine.resource user_data_format=user_data_format)
ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/clients/os/nova.py", line 314, in build_userdata
ERROR heat.engine.resource read_cloudinit_file('config')).safe_substitute(
ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/clients/os/nova.py", line 297, in read_cloudinit_file
ERROR heat.engine.resource 'heat', 'cloudinit/%s' % fn).decode('utf-8')
ERROR heat.engine.resource File "/usr/lib/python2.7/pkgutil.py", line 591, in get_data
ERROR heat.engine.resource return loader.get_data(resource_name)
ERROR heat.engine.resource File "/usr/lib/python2.7/pkgutil.py", line 255, in get_data
ERROR heat.engine.resource return open(pathname, "rb").read()
ERROR heat.engine.resource IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/heat/cloudinit/config'
ERROR heat.engine.resource
INFO heat.engine.stack [-] Stack CREATE FAILED (testStack): Resource CREATE failed: IOError: resources.server: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/heat/cloudinit/config'
INFO heat.engine.service [-] Stack create failed, status FAILED

Related branches

James Page (james-page)
Changed in heat (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
James Page (james-page) wrote :

The package clean step was a bit over zealous and deleted the heat.egg-info from the original upstream tarball during the package build.

Fixup uploaded to Wily.

Changed in heat (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → James Page (james-page)
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

Cool, thanks for jumping on this issue so quickly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package heat - 1:5.0.0~rc2-0ubuntu1

---------------
heat (1:5.0.0~rc2-0ubuntu1) wily; urgency=medium

  * New upstream release candidate for OpenStack Liberty.
  * Don't clean heat.egg-info ensuring that non-py resources actually
    get installed (LP: #1505444).

 -- James Page <email address hidden> Mon, 12 Oct 2015 21:44:47 -0700

Changed in heat (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

The packages in the staging PPA appear to work.

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.