TripleO fails to deploy Octavia due to amp_hw_arch missing value

Bug #1824368 reported by Nir Magnezi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Nir Magnezi

Bug Description

Description of problem:
=======================

In stable/queens, we break since we don't feed ansible with any value.

We don't support or ship an Amphora image that is non-x86_64. The purpose of specifying the arch is (as stated here[1]) to hint the Nova scheduler which compute nodes to take into account when it schedules an Amphora instance.

[1] Ia7be6503a40e08d0d1f7f4d89132c9e9b5bd6704

The output:

undercloud) [stack@undercloud-0 ~]$ openstack stack failures list overcloud --long
overcloud.AllNodesDeploySteps.WorkflowTasks_Step5_Execution:
  resource_type: OS::TripleO::WorkflowSteps
  physical_resource_id:
  status: CREATE_FAILED
  status_reason: |
    resources.WorkflowTasks_Step5_Execution: Failed to run task [error=Invalid input [name=octavia_post_deploy, class=DirectWorkflowSpec, missing=['amp_hw_arch']], wf=tripleo.overcloud.workflow_tasks.step5, task=octavia_post_workflow]:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/mistral/engine/task_handler.py", line 63, in run_task
        task.run()
      File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper
        result = f(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 333, in run
        self._run_new()
      File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper
        result = f(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 359, in _run_new
        self._schedule_actions()
      File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 428, in _schedule_actions
        timeout=self._get_timeout()
      File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper
        result = f(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/mistral/engine/actions.py", line 576, in schedule
        wf_params
      File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper
        result = f(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/mistral/engine/workflow_handler.py", line 54, in start_workflow
        params=params
      File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper
        result = f(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/mistral/engine/workflows.py", line 92, in start
        self.validate_input(input_dict)
      File "/usr/lib/python2.7/site-packages/mistral/engine/workflows.py", line 188, in validate_input
        self.wf_spec.__class__.__name__
      File "/usr/lib/python2.7/site-packages/mistral/engine/utils.py", line 66, in validate_input

Nir Magnezi (nmagnezi)
Changed in tripleo:
assignee: nobody → Nir Magnezi (nmagnezi)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/651799

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

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

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

Reviewed: https://review.openstack.org/651788
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=e2b67d33cf59464bf82e07e247f45c6b96f2bb6c
Submitter: Zuul
Branch: master

commit e2b67d33cf59464bf82e07e247f45c6b96f2bb6c
Author: Nir Magnezi <email address hidden>
Date: Thu Apr 11 16:24:05 2019 +0300

    Remove amp_hw_arch from octavia_post

    This patch is a followup to this[1] change.

    The reasons for removing amp_hw_arch from octavia_post:
    1. In stable/queens, we break since we don't feed ansible with any
    value.
    2. We don't support or ship an Amphora image that is non-x86_64.The
    purpose of specifying the arch is (as stated here[1]) to hint the Nova
    scheduler which compute nodes to take into account when it schedules
    an Amphora instance.

    Closes-Bug: #1824368

    [1] Ia7be6503a40e08d0d1f7f4d89132c9e9b5bd6704
    Change-Id: I36a851397a0adeadc3216656c96c58f8668fd7fc

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

This issue was fixed in the openstack/tripleo-common 10.7.0 release.

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

Reviewed: https://review.opendev.org/651799
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=b1676eac87147096e76f4317226336411ffdf819
Submitter: Zuul
Branch: stable/rocky

commit b1676eac87147096e76f4317226336411ffdf819
Author: Nir Magnezi <email address hidden>
Date: Thu Apr 11 16:24:05 2019 +0300

    Remove amp_hw_arch from octavia_post

    This patch is a followup to this[1] change.

    The reasons for removing amp_hw_arch from octavia_post:
    1. In stable/queens, we break since we don't feed ansible with any
    value.
    2. We don't support or ship an Amphora image that is non-x86_64.The
    purpose of specifying the arch is (as stated here[1]) to hint the Nova
    scheduler which compute nodes to take into account when it schedules
    an Amphora instance.

    Closes-Bug: #1824368

    [1] Ia7be6503a40e08d0d1f7f4d89132c9e9b5bd6704
    Change-Id: I36a851397a0adeadc3216656c96c58f8668fd7fc
    (cherry picked from commit e2b67d33cf59464bf82e07e247f45c6b96f2bb6c)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/queens)

Reviewed: https://review.opendev.org/651800
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=1c2c0a0a895af3b33c2ee530c60dd7a3686d92d3
Submitter: Zuul
Branch: stable/queens

commit 1c2c0a0a895af3b33c2ee530c60dd7a3686d92d3
Author: Nir Magnezi <email address hidden>
Date: Thu Apr 11 16:24:05 2019 +0300

    Remove amp_hw_arch from octavia_post

    This patch is a followup to this[1] change.

    The reasons for removing amp_hw_arch from octavia_post:
    1. In stable/queens, we break since we don't feed ansible with any
    value.
    2. We don't support or ship an Amphora image that is non-x86_64.The
    purpose of specifying the arch is (as stated here[1]) to hint the Nova
    scheduler which compute nodes to take into account when it schedules
    an Amphora instance.

    Closes-Bug: #1824368

    [1] Ia7be6503a40e08d0d1f7f4d89132c9e9b5bd6704
    Change-Id: I36a851397a0adeadc3216656c96c58f8668fd7fc
    (cherry picked from commit e2b67d33cf59464bf82e07e247f45c6b96f2bb6c)
    (cherry picked from commit b1676eac87147096e76f4317226336411ffdf819)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 9.6.0

This issue was fixed in the openstack/tripleo-common 9.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 8.7.0

This issue was fixed in the openstack/tripleo-common 8.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.