Description of problem: Running JQ queries using primitives like any or from json will fail because JQ 1.3 does not have those primitives, this package version is quite old and we should use a newer version. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Deploy TripleO Mitaka, Newtown, Ocata, Pike, Queens or master and execute: openstack stack output show overcloud --all -f json | jq '{Role: .EnabledServices | fromjson.output_value | with_entries(select(any(.value[]; . == "haproxy"))) | keys[0], Hostnames: .RoleNetHostnameMap | fromjson.output_value}' | jq '.Hostnames[.Role].canonical' Actual results: error: fromjson is not defined {Role: .EnabledServices | fromjson.output_value | ^^^^^^^^ error: fromjson is not defined keys[0], Hostnames: .RoleNetHostnameMap | fromjson.output_value} ^^^^^^^^ error: any is not defined with_entries(select(any(.value[]; . == "haproxy"))) | ^^^ 3 compile errors [Errno 32] Broken pipe Expected results: [ "overcloud-controller-0.localdomain" ]
Updating jq to 1.5 in queens - https://review.rdoproject.org/r/#/c/11839/
A new build jq-1.5-10.el7 has been rebuilt from fedora jq-1.5-10.fc28 which includes fix for CVE-2015-8863 and it's being promoted in https://review.rdoproject.org/r/#/c/11887/