/usr/bin/glance's built-in pager breaks redirection
Bug #978610 reported by
Craig Sanders
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Eoghan Glynn | ||
Essex |
Fix Released
|
Low
|
Eoghan Glynn | ||
glance (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The built-in pager breaks the ability to use more or less, or even redirect output to a file as it sits there waiting for the user to enter Y or N after fetching the first "page" of image data.
The only way around it is to use something silly like '--limit 99999' or similar.
IMO, the default should be to fetch all matching images, no built-in pagination, and --limit should be used to actually limit the output rather than as a control for the pager.
Related branches
lp:~openstack-ubuntu-testing/glance/precise-essex-proposed
- Ubuntu Server Developers: Pending requested
-
Diff: 31 lines (+10/-3)2 files modifieddebian/changelog (+6/-0)
debian/glance-common.postinst (+4/-3)
Changed in glance: | |
milestone: | none → folsom-1 |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance (Ubuntu): | |
status: | New → Fix Released |
Changed in glance (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in glance: | |
milestone: | folsom-1 → 2012.2 |
To post a comment you must log in.
Hi Craig,
Have you tried the -f/--force option?
I think this gives you what you want:
bin/glance index -f
i.e. straight output suitable for redirection, with no pagination applied.