Bug 1719761 - Deploy with Octavia fails in Step5 with YaqlEvaluationException
Summary: Deploy with Octavia fails in Step5 with YaqlEvaluationException
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z11
: 13.0 (Queens)
Assignee: Brent Eagles
QA Contact: Bruna Bonguardo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-12 13:37 UTC by Sai Sindhur Malleni
Modified: 2020-03-10 11:18 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-common-8.7.1-8.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-10 11:18:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1749450 0 None None None 2019-06-12 14:12:03 UTC
OpenStack gerrit 539245 0 None MERGED Handle failed nodes when enabling ssh admin 2020-02-11 15:41:55 UTC
OpenStack gerrit 664929 0 None MERGED Handle failed nodes when enabling ssh admin 2020-02-11 15:41:55 UTC

Description Sai Sindhur Malleni 2019-06-12 13:37:05 UTC
Description of problem: OSP 13 deploy with OCtavia fails in step 5 with
2019-06-12 13:15:57Z [overcloud.AllNodesDeploySteps.WorkflowTasks_Step5_Execution]: CREATE_IN_PROGRESS  state changed
2019-06-12 13:16:09Z [overcloud.AllNodesDeploySteps.WorkflowTasks_Step5_Execution]: CREATE_FAILED  resources.WorkflowTasks_Step5_Execution: Failure caused by error in tasks: octavia_post_workflow

  octavia_post_workflow [task_ex_id=132f9a94-a288-4a5d-ad95-f66a7116fc9f] -> Failure caused by error in tasks: enable_ssh_admin

  enable_ssh_admin [task_ex_
2019-06-12 13:16:09Z [overcloud.AllNodesDeploySteps]: CREATE_FAILED  Resource CREATE failed: resources.WorkflowTasks_Step5_Execution: Failure caused by error in tasks: octavia_post_workflow

  octavia_post_workflow [task_ex_id=132f9a94-a288-4a5d-ad95-f66a7116fc9f] -> Failure caused by error in tasks: enable_ssh_admin

  en
2019-06-12 13:16:09Z [overcloud.AllNodesDeploySteps]: CREATE_FAILED  resources.WorkflowTasks_Step5_Execution: resources.AllNodesDeploySteps.Failure caused by error in tasks: octavia_post_workflow

  octavia_post_workflow [task_ex_id=132f9a94-a288-4a5d-ad95-f66a7116fc9f] -> Failure caused by error in tasks: enable_ssh_admin
2019-06-12 13:16:09Z [overcloud]: CREATE_FAILED  Resource CREATE failed: resources.WorkflowTasks_Step5_Execution: resources.AllNodesDeploySteps.Failure caused by error in tasks: octavia_post_workflow

  octavia_post_workflow [task_ex_id=132f9a94-a288-4a5d-ad95-f66a7116fc9f] -> Failure caused by error in

 Stack overcloud CREATE_FAILED 

overcloud.AllNodesDeploySteps.WorkflowTasks_Step5_Execution:
  resource_type: OS::TripleO::WorkflowSteps
  physical_resource_id: 179fe1d0-8cb3-46fc-86dc-ff3f1e0b6f4e
  status: CREATE_FAILED
  status_reason: |
    ...

      File "/usr/lib/python2.7/site-packages/mistral/expressions/__init__.py", line 71, in evaluate
        return evaluator.evaluate(expression, context)
      File "/usr/lib/python2.7/site-packages/mistral/expressions/yaql_expression.py", line 119, in evaluate
        cls).evaluate(trim_expr, data_context)
      File "/usr/lib/python2.7/site-packages/mistral/expressions/yaql_expression.py", line 73, in evaluate
        ", data=%s]" % (expression, str(e), data_context)
    YaqlEvaluationException: Can not evaluate YAQL expression [expression=let(root => $) -> task().result._info.where($.addresses.ctlplane.addr.any($ in $root.ssh_servers)), error=u'ctlplane', data={}]


Version-Release number of selected component (if applicable):
13 z6

How reproducible:
100%

Steps to Reproduce:
1. deploy overcloud with octavia
2.
3.

Actual results:
Deploy succeeds

Expected results:
Deploy fails

Additional info:

SSL is NOT enabled on undercloud
Looks like we needa backport of
https://review.opendev.org/#/c/539245/3

Comment 5 errata-xmlrpc 2020-03-10 11:18:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0760


Note You need to log in before you can comment on or make changes to this bug.