reset failed: reset: standard error: Inappropriate ioctl for device

Bug #1842677 reported by Emilien Macchi
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Low
Alex Schultz

Bug Description

After a successful deployment on centos7 and TERM=xterm, the "reset" fails:

########################################################

Deployment successful!

########################################################

Writing the stack virtual update mark file /var/lib/tripleo-heat-installer/update_mark_undercloud
reset failed: reset: standard error: Inappropriate ioctl for device

reset failed: reset: standard error: Inappropriate ioctl for device

Changed in tripleo:
milestone: none → train-3
Revision history for this message
Alex Schultz (alex-schultz) wrote :

This has been tracked back to the usage of vagrant to provision this undercloud host.

https://stackoverflow.com/questions/40815349/vagrant-ubuntu-box-inline-scripts-emitting-mesg-ttyname-failed-inappropriate-io/42397127#42397127

We can catch/ignore the failure but this is a low priority as folks shouldn't be using this in production.

Changed in tripleo:
importance: High → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/680072

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/680072
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=67d41db5fa76139d7fbd16f684001aac84da4f58
Submitter: Zuul
Branch: master

commit 67d41db5fa76139d7fbd16f684001aac84da4f58
Author: Alex Schultz <email address hidden>
Date: Wed Sep 4 10:09:46 2019 -0600

    Log a warning when reset fails

    We attempt a reset but if the installation is being run in a non-tty
    friendly way, reset may fail. Since this isn't really a blocking issue
    we shouldn't fail out of the installation but rather log a warning
    indicating that the user may need to perform some action.

    Change-Id: I26f41457b712810b54d4108f735a1db3c88ae8ce
    Closes-Bug: #1842677

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/680417

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/stein)

Reviewed: https://review.opendev.org/680417
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=4e2851561f9481b4b0291434ea114da8924650be
Submitter: Zuul
Branch: stable/stein

commit 4e2851561f9481b4b0291434ea114da8924650be
Author: Alex Schultz <email address hidden>
Date: Wed Sep 4 10:09:46 2019 -0600

    Log a warning when reset fails

    We attempt a reset but if the installation is being run in a non-tty
    friendly way, reset may fail. Since this isn't really a blocking issue
    we shouldn't fail out of the installation but rather log a warning
    indicating that the user may need to perform some action.

    Change-Id: I26f41457b712810b54d4108f735a1db3c88ae8ce
    Closes-Bug: #1842677
    (cherry picked from commit 67d41db5fa76139d7fbd16f684001aac84da4f58)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 11.5.1

This issue was fixed in the openstack/python-tripleoclient 11.5.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 12.2.0

This issue was fixed in the openstack/python-tripleoclient 12.2.0 release.

Revision history for this message
Radoslav (radoslav-milanov) wrote :

I have the same issue with Centos 7.7 Train release
python2-tripleoclient-12.3.0-1.el7.noarch

Revision history for this message
Laurent Dumont (baconpackets) wrote :

Saw the same with Centos 7.7

(undercloud) [stack@ooo-director ~]$ rpm -qa | grep python2-tripleoclient
python2-tripleoclient-12.3.1-0.20191216153455.8efc50c.el7.noarch
python2-tripleoclient-heat-installer-12.3.1-0.20191216153455.8efc50c.el7.noarch

(undercloud) [stack@ooo-director ~]$ cat /etc/centos-release
CentOS Linux release 7.7.1908 (Core)

Not sure why it would be a non-tty friendly setup. I was connected though standard SSH.

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.