Heat Resource-list searched for status and id not working

Bug #1580624 reported by Alexander Nagovitsyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Fix Released
Medium
Oleksii Chuprykov
9.x
Fix Released
High
Oleksii Chuprykov

Bug Description

heat resource-list -h

-f <KEY=VALUE>, --filter <KEY=VALUE>
                        Filter parameters to apply on returned resources based
                        on their name, status, type, action, id and
                        physcial_resource_id. This can be specified multiple
                        times.

-f option working with name only

Steps:
create any stack with some resourse and try searching this resource with filters.

Tags: area-heat
Changed in mos:
assignee: nobody → Oleksii Chuprykov (ochuprykov)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Oleksii Chuprykov (ochuprykov) wrote :

Actually, it doesn't work for physical_resource_id and type but it works for id.

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

We no longer fix Medium bugs in 9.0. If you feel this is really important, please consider bumping of the priority to High.

tags: added: area-heat
removed: heat
Revision history for this message
Sergey Shevorakov (sshevorakov) wrote :

Affects 2 TCs from acceptance testing suite.

Revision history for this message
Oleksii Chuprykov (ochuprykov) wrote :

There is backport in upstream mitaka: https://review.openstack.org/#/c/353385/

Revision history for this message
Oleksii Chuprykov (ochuprykov) wrote :

Merged in upstream, waiting for merge-sync.

Revision history for this message
Sergey Kraynev (skraynev) wrote :

Merged as a part of the merge-sync for 9.1 https://review.fuel-infra.org/#/c/24825/

Revision history for this message
Alexander Nagovitsyn (gluk12189) wrote :

I'm tested this feature.
Need use this command forms:
 heat resource-list -f "status=CREATE_COMPLETE" STACK_NAME
 heat resource-list -f "physical_resource_id=15ccb892-3e74-4614-a5ef-500e8ad51339" STACK_NAME
(id for example; LOOK FOR QUOTES!)

Without quotes this filters are not working

Revision history for this message
Alexander Nagovitsyn (gluk12189) wrote :

Sorry -without quotes this filters are working fine

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.