DPDK: Deployment failing with ComputeOvsDpdk role when no deprecated parameters present

Bug #1754546 reported by Saravanan KR
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Saravanan KR

Bug Description

Attribute uses_deprecated_params of ComputeOvsDpdk role has been enabled when nic config's has been converted as jinja2 templates for adding deprecated_nic_config_name attribute. But deprecated_nic_config_name is not a parameter deprecation but a nic config file name deprecation, for which uses_deprecated_params should not be enabled.

Enabling this attribute without any deprecated parameters from roles data, results in computeovsdpdk-role file as:
----------------------------------------------------
parameter_groups:
- label: deprecated
  description: Do not use deprecated params, they will be removed.
  parameters:
----------------------------------------------------

Heat will fail if the parameters list is empty for parameter_groups.

Saravanan KR (skramaja)
Changed in tripleo:
importance: Undecided → High
assignee: nobody → Saravanan KR (skramaja)
milestone: none → rocky-1
tags: added: queens-backport-potential
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/551110

Changed in tripleo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/551110
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=2278c7646b04995ccb961ee70bc9c0c1d7a2f8ac
Submitter: Zuul
Branch: master

commit 2278c7646b04995ccb961ee70bc9c0c1d7a2f8ac
Author: Saravanan KR <email address hidden>
Date: Thu Mar 8 22:03:30 2018 +0530

    DPDK deployment fails when there is no deprecated parameters

    When no deprecated parameters in role_data and enabling flag
    'uses_deprecated_params', deployment fails as the parameter_groups
    has no parameters added to computeovsdpdk-role file. As there are
    no deprecated parameters for this role, this flag should be disabled.
    Closes-Bug: #1754546

    Change-Id: I95c7683b56c82c2cd8d67863867ed8a4f617d1f0

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/552304

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

Reviewed: https://review.openstack.org/552304
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9b1a10bd5a6ec68a26078e939c5c632f67b2eaba
Submitter: Zuul
Branch: stable/queens

commit 9b1a10bd5a6ec68a26078e939c5c632f67b2eaba
Author: Saravanan KR <email address hidden>
Date: Thu Mar 8 22:03:30 2018 +0530

    DPDK deployment fails when there is no deprecated parameters

    When no deprecated parameters in role_data and enabling flag
    'uses_deprecated_params', deployment fails as the parameter_groups
    has no parameters added to computeovsdpdk-role file. As there are
    no deprecated parameters for this role, this flag should be disabled.
    Closes-Bug: #1754546

    Change-Id: I95c7683b56c82c2cd8d67863867ed8a4f617d1f0
    (cherry picked from commit 2278c7646b04995ccb961ee70bc9c0c1d7a2f8ac)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0b2 development milestone.

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.