AllNodesExtraConfig should run before AllNodesDeploySteps

Bug #1687597 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Emilien Macchi

Bug Description

In mitaka era tripleo-heat-templates applying the post deploy steps looks like this:

  # Nested stack deployment runs after all other controller deployments
  ControllerNodesPostDeployment:
    type: OS::TripleO::ControllerPostDeployment
    depends_on: [ControllerBootstrapNodeDeployment, ControllerAllNodesDeployment, ControllerSwiftDeployment, ControllerCephDeployment]
    properties:
      servers: {get_attr: [Controller, attributes, nova_server_resource]}
      NodeConfigIdentifiers:
        allnodes_extra: {get_attr: [AllNodesExtraConfig, config_identifier]}

Note the implicit dependency on AllNodesExtraConfig - we lost that with the refactor to AllNodesDeploySteps, so some integrations that depend on writing hieradata in AllNodesExtraConfig have broken.

We should add an explicit depends_on to reinstate the original ordering, and backport it to ocata/newton I think.

Steven Hardy (shardy)
Changed in tripleo:
status: New → Triaged
assignee: nobody → Steven Hardy (shardy)
milestone: none → pike-2
importance: Undecided → High
tags: added: newton-backport-potential ocata-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/461734

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
assignee: Steven Hardy (shardy) → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/461820

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/461821

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

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

commit b8f97f5e1b36dd12c0750b83c54f17e931990a40
Author: Steven Hardy <email address hidden>
Date: Tue May 2 11:54:12 2017 +0100

    Ensure AllNodesExtraConfig runs before AllNodesDeploySteps

    When implementing custom roles, we lost an implicit dependency that
    ensured AllNodesExtraConfig is applied before AllNodesDeploySteps,
    which causes problems if you need to write hieradata via the
    AllNodesExtraConfig hook (some cisco integrations we have in tree
    do this, and are now broken because the ordering is no longer ensured.

    Change-Id: Ie78ecbb4e135ab7f196867ef9d8d271049a9cd10
    Closes-Bug: #1687597

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

Reviewed: https://review.openstack.org/461820
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=f907ee34acdcb756b7c82c208f11fcb8678a54a9
Submitter: Jenkins
Branch: stable/ocata

commit f907ee34acdcb756b7c82c208f11fcb8678a54a9
Author: Steven Hardy <email address hidden>
Date: Tue May 2 11:54:12 2017 +0100

    Ensure AllNodesExtraConfig runs before AllNodesDeploySteps

    When implementing custom roles, we lost an implicit dependency that
    ensured AllNodesExtraConfig is applied before AllNodesDeploySteps,
    which causes problems if you need to write hieradata via the
    AllNodesExtraConfig hook (some cisco integrations we have in tree
    do this, and are now broken because the ordering is no longer ensured.

    Change-Id: Ie78ecbb4e135ab7f196867ef9d8d271049a9cd10
    Closes-Bug: #1687597
    (cherry picked from commit 4efc067a7e2965fc7a07eb05b019d0e3e8160606)

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

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

commit 3a9da6191ade6e579484d6b99fee4401eace14cd
Author: Steven Hardy <email address hidden>
Date: Tue May 2 11:54:12 2017 +0100

    Ensure AllNodesExtraConfig runs before AllNodesDeploySteps

    When implementing custom roles, we lost an implicit dependency that
    ensured AllNodesExtraConfig is applied before AllNodesDeploySteps,
    which causes problems if you need to write hieradata via the
    AllNodesExtraConfig hook (some cisco integrations we have in tree
    do this, and are now broken because the ordering is no longer ensured.

    Change-Id: Ie78ecbb4e135ab7f196867ef9d8d271049a9cd10
    Closes-Bug: #1687597
    (cherry picked from commit 4efc067a7e2965fc7a07eb05b019d0e3e8160606)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/462035

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/462035
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=95fbda4d0254edb12bfec1ccd41d3b5f6204fe8f
Submitter: Jenkins
Branch: master

commit 95fbda4d0254edb12bfec1ccd41d3b5f6204fe8f
Author: Steven Hardy <email address hidden>
Date: Wed May 3 09:44:21 2017 +0100

    Disable ComputeNeutron* for cisco-nexus-ucsm

    It seems this wasn't adjusted when https://review.openstack.org/#/c/338315/
    landed, which added interfaces for compute specific neutron configuration,
    which is disabled for most vendor backends.

    Change-Id: I4c98008107568b3b65decd7640e25c7d2b1ea9ff
    Related-Bug: #1687597

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/ocata)

Related fix proposed to branch: stable/ocata
Review: https://review.openstack.org/464698

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

Related fix proposed to branch: stable/newton
Review: https://review.openstack.org/464700

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

Reviewed: https://review.openstack.org/464698
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=7017ba95ee6a3ae30e9c82a3d0aaa0a7030808a7
Submitter: Jenkins
Branch: stable/ocata

commit 7017ba95ee6a3ae30e9c82a3d0aaa0a7030808a7
Author: Steven Hardy <email address hidden>
Date: Wed May 3 09:44:21 2017 +0100

    Disable ComputeNeutron* for cisco-nexus-ucsm

    It seems this wasn't adjusted when https://review.openstack.org/#/c/338315/
    landed, which added interfaces for compute specific neutron configuration,
    which is disabled for most vendor backends.

    Change-Id: I4c98008107568b3b65decd7640e25c7d2b1ea9ff
    Related-Bug: #1687597
    (cherry picked from commit 95fbda4d0254edb12bfec1ccd41d3b5f6204fe8f)

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

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

commit db34e8e61f383e99192a0c23bb4fcf69f304d564
Author: Steven Hardy <email address hidden>
Date: Wed May 3 09:44:21 2017 +0100

    Disable ComputeNeutron* for cisco-nexus-ucsm

    It seems this wasn't adjusted when https://review.openstack.org/#/c/338315/
    landed, which added interfaces for compute specific neutron configuration,
    which is disabled for most vendor backends.

    Change-Id: I4c98008107568b3b65decd7640e25c7d2b1ea9ff
    Related-Bug: #1687597
    (cherry picked from commit 95fbda4d0254edb12bfec1ccd41d3b5f6204fe8f)

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/473945

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/474302

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/476238

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/476238
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9eb4311c9d07cb14824d502904cce2dfce23cb88
Submitter: Jenkins
Branch: master

commit 9eb4311c9d07cb14824d502904cce2dfce23cb88
Author: Gonéri Le Bouder <email address hidden>
Date: Wed Jun 21 15:00:27 2017 -0400

    cisco nexus: keep OVS on the Compute

    The Cisco Nexus-UCSM environment relies on OVS for the communication
    with compute nodes. This is a partial revert of
    I4c98008107568b3b65decd7640e25c7d2b1ea9ff.

    Change-Id: I453d4bc83314a76fd779884fb2f8cd1731d2bcaa
    Related-Bug: #1687597

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

Related fix proposed to branch: stable/newton
Review: https://review.openstack.org/480714

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/ocata)

Related fix proposed to branch: stable/ocata
Review: https://review.openstack.org/480717

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

Reviewed: https://review.openstack.org/480717
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ec87f2b3562d20735085edd17a600335540b96c8
Submitter: Jenkins
Branch: stable/ocata

commit ec87f2b3562d20735085edd17a600335540b96c8
Author: Gonéri Le Bouder <email address hidden>
Date: Wed Jun 21 15:00:27 2017 -0400

    cisco nexus: keep OVS on the Compute

    The Cisco Nexus-UCSM environment relies on OVS for the communication
    with compute nodes. This is a partial revert of
    I4c98008107568b3b65decd7640e25c7d2b1ea9ff.

    Change-Id: I453d4bc83314a76fd779884fb2f8cd1731d2bcaa
    Related-Bug: #1687597
    (cherry picked from commit 9eb4311c9d07cb14824d502904cce2dfce23cb88)

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

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

commit 7db285feb788a6a46cdb701b246edcbd363f349c
Author: Gonéri Le Bouder <email address hidden>
Date: Wed Jun 21 15:00:27 2017 -0400

    cisco nexus: keep OVS on the Compute

    The Cisco Nexus-UCSM environment relies on OVS for the communication
    with compute nodes. This is a partial revert of
    I4c98008107568b3b65decd7640e25c7d2b1ea9ff.

    Change-Id: I453d4bc83314a76fd779884fb2f8cd1731d2bcaa
    Related-Bug: #1687597
    (cherry picked from commit 9eb4311c9d07cb14824d502904cce2dfce23cb88)

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

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

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

Change abandoned by Gonéri Le Bouder (<email address hidden>) on branch: master
Review: https://review.openstack.org/473945

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Sandhya Dasu (<email address hidden>) on branch: master
Review: https://review.openstack.org/474302
Reason: Fixed via a different fix.

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

This issue was fixed in the openstack/tripleo-heat-templates 5.3.1 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.