kolla-build --list-images should only return matched images

Bug #1656146 reported by David Moreau Simard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
Martin André

Bug Description

Regardless of parameters passed to kolla-build, "--list-images" will always return the full list of images [1].

As a user, I would expect to be able to use patterns and --list-images to only returned matched images. For example, if today I do something like this:

kolla-build --base centos --type binary nova

It will only build containers matching nova as a pattern.

However, if I run this instead:

kolla-build --base centos --type binary --list-images nova

It's going to return the full list of available images (close to 200).

[1]: https://github.com/openstack/kolla/blob/9813ef84b7c66929d9592b1e3791f78c9aa30417/kolla/image/build.py#L872-L874

Martin André (mandre)
Changed in kolla:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Martin André (mandre)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/419988

Changed in kolla:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/419988
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=5fd23773641900ad5eebffbeea2e3d96cef138d8
Submitter: Jenkins
Branch: master

commit 5fd23773641900ad5eebffbeea2e3d96cef138d8
Author: Martin André <email address hidden>
Date: Fri Jan 13 15:21:49 2017 +0100

    Support filtering output of --list-images

    In an effort to be more consistent in the behavior of kolla-build, only
    return matched images in the output of kolla-build --list-images.

    Change-Id: I583e20f181535fa1879730cbe88dd76276c08a80
    Closes-Bug: #1656146

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 4.0.0.0b3

This issue was fixed in the openstack/kolla 4.0.0.0b3 development milestone.

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.