Client reporting wrong missing file

Bug #1640324 reported by Ben Nemec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Thomas Herve

Bug Description

Related bug: https://bugs.launchpad.net/tripleo/+bug/1640311

The failure in that bug is reporting the following:

2016-11-08 21:20:12.787706 | Deploying templates in the directory /tmp/tripleoclient-BgyPyh/tripleo-heat-templates
2016-11-08 21:20:12.954345 | Could not fetch contents for file:///tmp/tripleoclient-BgyPyh/heat-templates/net-config-multinode.yaml

Based on the scenario002 resource registry:

resource_registry:
  OS::TripleO::Controller::Net::SoftwareConfig: ../heat-templates/net-config-multinode.yaml
  OS::TripleO::Compute::Net::SoftwareConfig: ../heat-templates/net-config-multinode.yaml
  OS::TripleO::Services::BarbicanApi: /usr/share/openstack-tripleo-heat-templates/puppet/services/barbican-api.yaml

However, net-config-multinode.yaml is found by the other scenario tests. I believe the problem is actually that barbican does not exist on the stable/newton branch, so that file is not being found. The error message from the client appears to be reporting the wrong missing file for some reason.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/405260

Changed in tripleo:
assignee: nobody → Thomas Herve (therve)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/405260
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=327ee8d5b8fdc440c4cb075af595d6f2a045d745
Submitter: Jenkins
Branch: master

commit 327ee8d5b8fdc440c4cb075af595d6f2a045d745
Author: Thomas Herve <email address hidden>
Date: Thu Dec 1 11:23:59 2016 +0100

    Use absolute path when handling missing files

    When we try to handle rendered files in the environment, we create a
    whole new env file copying the resource registry. As the file is in a
    new location, we need to reference files with absolute directories, as
    relative directories won't point to anything.

    Change-Id: I19abb1ef8a003e45f414ba86e1dc763789c0b86f
    Closes-Bug: #1640324

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 5.7.0

This issue was fixed in the openstack/python-tripleoclient 5.7.0 release.

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.