action nova.servers_list is not considering serach_opts

Bug #1712747 reported by Ritesh Paiboina
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mistral
Triaged
Medium
Unassigned

Bug Description

Execution of Following workflow will not consider the values given in the search_opts

version: '2.0'
test_demo:
    type: direct

    input:
      - projects

    tasks:
      get_vms:
        with-items: project in <% $.projects %>
        action: nova.servers_list detailed=true search_opts={ 'all_tenants':1 , 'tenant_id':<% $.project %>}
        publish:
          vm_ids: <% task(get_vms).result[0].id %>

Input :

{"projects": ["9811b6f0cebc424889a73c54106202e8"]}

Expected Output :
The workflow should publish the vm's

Current Output :
Empty list []

Changed in mistral:
assignee: nobody → Ritesh (rsritesh)
Dougal Matthews (d0ugal)
Changed in mistral:
assignee: Ritesh Paiboina (rsritesh) → nobody
status: New → Triaged
importance: Undecided → Medium
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.