glance client should check for input file when running commands with interactive prompts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Ken Thomas |
Bug Description
Client does not detects that his STDOUT and STDIN are not in terminal and asks questions anyway, this is unexpected behavior and may cause bugs for people using it in scripts.
[root@gm SL61]# glance index < /dev/urandom > test.txt
[root@gm SL61]# cat test.txt
ID Name Disk Format Container Format Size
---------------- -------
15 SL61 ami ami 216858624
14 cloudpipe_SL61 ami ami 259981312
13 SL61_kernel aki aki 3881936
12 SL61_ramdisk ari ari 12511144
11 SL61 ami ami 216858624
10 cloudpipe_SL61 ami ami 259981312
9 SL61_kernel aki aki 3881936
8 SL61_ramdisk ari ari 12511144
7 rhel56 ami ami 160383488
6 rhel56_kernel aki aki 2094684
Fetch next page? [Y/n] [root@gm SL61]#
Changed in glance: | |
status: | New → Confirmed |
importance: | Undecided → Low |
summary: |
- glance client does not detect running not in terminal + glance client should check for input file when running commands with + interactive prompts |
Changed in glance: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-rc1 → 2012.1 |
This looks like a nice easy one to dip my toes in.