Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1719761

Summary: Deploy with Octavia fails in Step5 with YaqlEvaluationException
Product: Red Hat OpenStack Reporter: Sai Sindhur Malleni <smalleni>
Component: openstack-tripleo-commonAssignee: Brent Eagles <beagles>
Status: CLOSED ERRATA QA Contact: Bruna Bonguardo <bbonguar>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: aschultz, beagles, cgoncalves, jlibosva, mburns, mgarciac, slinaber
Target Milestone: z11Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-8.7.1-8.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-10 11:18:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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