Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnt-instance console failed on el8 #40

Closed
jfut opened this issue Feb 21, 2021 · 3 comments
Closed

gnt-instance console failed on el8 #40

jfut opened this issue Feb 21, 2021 · 3 comments

Comments

@jfut
Copy link
Owner

jfut commented Feb 21, 2021

# gnt-instance console vmtest1.example.org
2021/02/21 13:05:08 socat[3889] E tcsetattr(5, TCSADRAIN, 0x56011dfaf980): Inappropriate ioctl for device
Connection to centos8node01.example.org closed.
Failure: command execution error:
Connection to console of instance vmtest1.example.org failed, please check cluster configuration

# socat -ddd STDIO,raw,echo=0,escape=0x1d UNIX-CONNECT:/var/run/ganeti/kvm-hypervisor/ctrl/vmtest1.example.org.monitor
2021/02/21 13:04:42 socat[3826] I socat by Gerhard Rieger and contributors - see www.dest-unreach.org
2021/02/21 13:04:42 socat[3826] I This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)
2021/02/21 13:04:42 socat[3826] I This product includes software written by Tim Hudson (tjh@cryptsoft.com)
2021/02/21 13:04:42 socat[3826] I setting option "raw"
2021/02/21 13:04:42 socat[3826] I setting option "echo" to 0
2021/02/21 13:04:42 socat[3826] I setting option "escape" to 29
2021/02/21 13:04:42 socat[3826] N reading from and writing to stdio
2021/02/21 13:04:42 socat[3826] N opening connection to AF=1 "/var/run/ganeti/kvm-hypervisor/ctrl/vmtest1.example.org.monitor"
2021/02/21 13:04:42 socat[3826] I socket(1, 1, 0) -> 5
2021/02/21 13:04:42 socat[3826] E tcsetattr(5, TCSADRAIN, 0x55db2ba1c980): Inappropriate ioctl for device
2021/02/21 13:04:42 socat[3826] N exit(1)
2021/02/21 13:04:42 socat[3826] I shutdown(5, 2)
@jfut
Copy link
Owner Author

jfut commented Feb 21, 2021

@jfut
Copy link
Owner Author

jfut commented Feb 21, 2021

A release of socat-1.7.4.1-1, which includes a fix for this issue, is planned for RHEL 8.4.

https://bugzilla.redhat.com/show_bug.cgi?id=1914989

jfut added a commit that referenced this issue Feb 22, 2021
Add socat build (#40)

The socat version 1.7.3.3-2.el8 in RHEL 8.3 breaks gnt-instance console.

A release of socat-1.7.4.1-1, which includes a fix for this issue, is
planned for RHEL 8.4. As a workaround e until it is released, we provide
the socat-1.7.3.4-1.el8 package, which includes a fix for it.
@jfut
Copy link
Owner Author

jfut commented Feb 22, 2021

socat 1.7.3.4-1 RPM released!

https://github.com/jfut/ganeti-rpm/releases/tag/v3.0.1-1-socat-1.7.3.4-1

Update:

dnf --enablerepo=epel,integ-ganeti update socat

@jfut jfut closed this as completed Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant