NetApp deploy fails unless ManilaNetAppTraceFlags value is supplied

Bug #1660930 reported by Tom Barron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned
Newton
Fix Released
High
Unassigned

Bug Description

<email address hidden> reports in https://bugzilla.redhat.com/show_bug.cgi?id=1417980:

Created attachment 1246266 [details]
Manila

Description of problem:
I am trying to set up Manila with NetApp driver in Overcloud using Heat environment files. I set up the environment files and included them with a "-e" parameter in Overcloud creation.

The deployment fails at:
AllNodesDeploySteps | OS::TripleO::PostDeploySteps

If i check the os-collect-config logs I see this:

Jan 31 03:55:02 overcloud-controller-0.localdomain os-collect-config[6843]: Error: Could not find data item manila::backend::netapp::netapp_trace_flags in any Hiera data file and no default supplied at /etc/puppet/modules/tripleo/manifests/profile/pacemaker/manila.pp:117 on node overcloud-controller-0.localdomain
Jan 31 03:55:02 overcloud-controller-0.localdomain os-collect-config[6843]: Error: Could not find data item manila::backend::netapp::netapp_trace_flags in any Hiera data file and no default supplied at /etc/puppet/modules/tripleo/manifests/profile/pacemaker/manila.pp: 117 on node overcloud-controller-0.localdomain
Jan 31 03:55:02 overcloud-controller-0.localdomain os-collect-config[6843]: [2017-01-31 03:55:02,102] (heat-config) [ERROR] Error running /var/lib/heat-config/heat-config-puppet/bce686a8-acdf-4ba9-b903-0b

Version-Release number of selected component (if applicable):
OSP 10

Tom Barron (tpb)
Changed in tripleo:
assignee: nobody → Tom Barron (tpb)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
status: New → In Progress
Tom Barron (tpb)
summary: - NetApp deploy fails unless ManilaNetAppTraceFlags valuse is supplied
+ NetApp deploy fails unless ManilaNetAppTraceFlags value is supplied
Changed in tripleo:
importance: Undecided → High
milestone: none → ocata-rc1
Changed in tripleo:
milestone: ocata-rc1 → ocata-rc2
Changed in tripleo:
milestone: ocata-rc2 → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/444314

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Tom Barron (<email address hidden>) on branch: master
Review: https://review.openstack.org/427617
Reason: in favor of https://review.openstack.org/#/c/444314/ The problem that this patch attempts to work around does not occur in master.

Revision history for this message
Jan Provaznik (jan-provaznik) wrote :

This bug doesn't occur in Ocata and later because of switchign to JSON format in hieradata - https://review.openstack.org/#/c/384757/. Thus the patch above is for Newton branch only.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/444314
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=148eb6103264700fe5095f91ab3582f6bf6a824e
Submitter: Jenkins
Branch: stable/newton

commit 148eb6103264700fe5095f91ab3582f6bf6a824e
Author: Jan Provaznik <email address hidden>
Date: Fri Mar 10 14:38:27 2017 +0100

    Quote empty strings in manila netapp driver

    Empty strings are converted into null values in hieradata
    YAML files and deployment then fails because of missing
    hiera data. Quoting these empty strings assures that deployment
    passes even if a user doesn't override default values.

    This issue is specific to Newton release only, in Ocata JSON
    format is used for hieradata files
    (Ibe7e2044e200e2c947223286fdf4fd5bcf98c2e1).

    Change-Id: I71e74161b302a19e7df2c7ccccf9bc536a68d9c8
    Closes-Bug: #1660930

tags: added: in-stable-newton
Changed in tripleo:
milestone: pike-1 → pike-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.3.0

This issue was fixed in the openstack/tripleo-heat-templates 5.3.0 release.

Changed in tripleo:
milestone: pike-2 → pike-3
Revision history for this message
Emilien Macchi (emilienm) wrote :

There are no currently open reviews on this bug, changing the status back to the previous state and unassigning. If there are active reviews related to this bug, please include links in comments.

Changed in tripleo:
status: In Progress → New
assignee: Tom Barron (tpb) → nobody
status: New → Triaged
Changed in tripleo:
milestone: pike-3 → pike-rc1
Revision history for this message
Ben Nemec (bnemec) wrote :

This bug appears to be fixed on Newton, which was the only release it affected.

Changed in tripleo:
status: Triaged → 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.