OpenStack Image Registry and Delivery Service (Glance)

glance add prints 'stty: standard input: Inappropriate ioctl for device'

Reported by Dan Prince on 2012-03-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Low
Dan Prince

Bug Description

The tty detection code in Glance still isn't quite right... I'm getting the following message to stderr when running 'glance add' commands in a shell without a tty:

stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device

----

The solution here seems pretty simple.... send the output of the tty test command to /dev/null.

Dan Prince (dan-prince) on 2012-03-22
Changed in glance:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
importance: Undecided → Low

Reviewed: https://review.openstack.org/5657
Committed: http://github.com/openstack/glance/commit/47384f7b56ebc4479dfb6cca02a5fe642e1f2bb0
Submitter: Jenkins
Branch: master

commit 47384f7b56ebc4479dfb6cca02a5fe642e1f2bb0
Author: Dan Prince <email address hidden>
Date: Wed Mar 21 21:10:23 2012 -0400

    Send output of stty test cmd to stderr.

    Send the output of the stty test for terminal size to stderr.

    Fixes LP Bug #961820.

    Change-Id: Ifc46632c9cf8bffb2dec7ef48f17157bf8ae1199

Changed in glance:
status: In Progress → Fix Committed
Brian Waldon (bcwaldon) on 2012-03-27
Changed in glance:
milestone: none → essex-rc2

Reviewed: https://review.openstack.org/5890
Committed: http://github.com/openstack/glance/commit/bf0fec0d7734a3c9fbef666ea64f35ca9af8d0fc
Submitter: Jenkins
Branch: milestone-proposed

commit bf0fec0d7734a3c9fbef666ea64f35ca9af8d0fc
Author: Dan Prince <email address hidden>
Date: Wed Mar 21 21:10:23 2012 -0400

    Send output of stty test cmd to stderr.

    Send the output of the stty test for terminal size to stderr.

    Fixes LP Bug #961820.

    Change-Id: Ifc46632c9cf8bffb2dec7ef48f17157bf8ae1199

Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-rc2 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers