[heat] No such file or directory: '/usr/lib/python2.7/dist-packages/heat/cloudinit/config'

Bug #1516112 reported by Alexey Deryugin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Daniil Trishkin

Bug Description

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  openstack_version: "2015.1.0-8.0"
  api: "1.0"
  build_number: "156"
  build_id: "156"
  fuel-nailgun_sha: "37a535e11a7939e206ffababf3ecf12504cd91c4"
  python-fuelclient_sha: "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"
  fuel-agent_sha: "07560a9fc3ce5301ace04d2d3e5d68db6ee4f8d5"
  fuel-nailgun-agent_sha: "3e9d17211d65c80bf97c8d83979979f6c7feb687"
  astute_sha: "959b06c5ef8143125efd1727d350c050a922eb12"
  fuel-library_sha: "0d210dc3851ac6c74b3914ef4df0139defc8d117"
  fuel-ostf_sha: "9690a2de829d3b063ed1e64b0b10dde39f711dc0"
  fuel-createmirror_sha: "a034dcb06520df58a7338816900a431a6b61d83f"
  fuelmenu_sha: "8a32c53c1fa13b036000f589f96e876277dbd071"
  shotgun_sha: "25dd78a3118267e3616df0727ce746e7dead2d67"
  network-checker_sha: "a57e1d69acb5e765eb22cab0251c589cd76f51da"
  fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
  fuelmain_sha: "266f9b374934c64629a84b5146632cc0de70ac91"

Steps to reproduce:
1. Deploy ISO
2. Deploy environment
3. Try to deploy heat stack

Result:

2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource Traceback (most recent call last):
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 612, in _action_recorder
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource yield
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 682, in _do_action
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource yield self.action_handler_task(action, args=handler_args)
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 292, in wrapper
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource step = next(subtask)
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 653, in action_handler_task
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource handler_data = handler(*args)
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resources/openstack/nova/server.py", line 701, in handle_create
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource user_data_format=user_data_format)
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/clients/os/nova.py", line 320, in build_userdata
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource read_cloudinit_file('config')).safe_substitute(
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/clients/os/nova.py", line 303, in read_cloudinit_file
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource 'heat', 'cloudinit/%s' % fn).decode('utf-8')
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource File "/usr/lib/python2.7/pkgutil.py", line 591, in get_data
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource return loader.get_data(resource_name)
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource File "/usr/lib/python2.7/pkgutil.py", line 255, in get_data
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource return open(pathname, "rb").read()
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/heat/cloudinit/config'
2015-11-13 17:42:20.252 3649 ERROR heat.engine.resource

Tags: area-heat
Changed in mos:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → MOS Packaging Team (mos-packaging)
milestone: none → 8.0
Changed in mos:
assignee: MOS Packaging Team (mos-packaging) → Daniil Trishkin (dtrishkin)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack-build/heat-build (openstack-ci/fuel-8.0/liberty)

Fix proposed to branch: openstack-ci/fuel-8.0/liberty
Change author: Daniil Trishkin <email address hidden>
Review: https://review.fuel-infra.org/13919

Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack-build/heat-build (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/13919
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: 5619bce3c829f782d1eabc5493247911bd0b2557
Author: Daniil Trishkin <email address hidden>
Date: Sat Nov 14 09:13:38 2015

* trusty/debian/rules:
  - add copying of dist-packages content

Change-Id: Ia778c3135cd1a326bcfbca2f05498383ed2ac716
Closes-Bug: #1516112

Changed in mos:
status: In Progress → Fix Committed
tags: added: heat
tags: added: area-heat
removed: heat
Revision history for this message
Evgeny Sikachev (esikachev) wrote :

verified on 478 iso

Changed in mos:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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