multipath docker service has wrong indentation

Bug #1708129 reported by Michele Baldessari on 2017-08-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Michele Baldessari

Bug Description

When deploying with multipathd in container I get the following error:

failed: [localhost] (item={'key': u'config_files', 'value': [{u'dest': u'/', u'merge': True, u'source': u'/var/lib/kolla/config_files/src-iscsid/*', u'preserve_properties': True}]}) => {\"checksum\": \"72ad81489381571c5043b7613f6828b06ae364bd\", \"failed\": true, \"item\": {\"key\": \"config_files\", \"value\": [{\"dest\": \"/\", \"merge\": true, \"preserve_properties\": true, \"source\": \"/var/lib/kolla/config_files/src-iscsid/*\"}]}, \"msg\": \"Destination directory does not exist\"}

Reverting commit 'I11232fc412adcc18087928c281ba82546388376e' ("Refactor iscsi initiator-name reset into separate service") fixes it for me.

The reason seems to be a wrong indentation in docker/services/multipath.yaml

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

Changed in tripleo:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/489952
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=25dab32c2db95c6ffdf3c35d9fd07b5e5161601b
Submitter: Jenkins
Branch: master

commit 25dab32c2db95c6ffdf3c35d9fd07b5e5161601b
Author: Michele Baldessari <email address hidden>
Date: Wed Aug 2 11:55:23 2017 +0200

    Fix up multipath docker indentation

    Deploying a multipathd container gives the following error:
    failed: [localhost] (item={'key': u'config_files', 'value': [{u'dest': u'/', u'merge': True, u'source':
    u'/var/lib/kolla/config_files/src-iscsid/*', u'preserve_properties': True}]}) =>
    {\"checksum\": \"72ad81489381571c5043b7613f6828b06ae364bd\", \"failed\": true, \"item\":
    {\"key\": \"config_files\", \"value\": [{\"dest\": \"/\", \"merge\": true, \"preserve_properties\": true,
    \"source\": \"/var/lib/kolla/config_files/src-iscsid/*\"}]}, \"msg\": \"Destination directory does not exist\"}

    The reason is the wrong indentation of the config_files key in the
    multipath docker service.

    Change-Id: I0e1fbb9eb188a903994b9e5da90ab4a6fb81f00a
    Closes-Bug: #1708129

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0rc1 release candidate.

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

Other bug subscribers