Bug 1978365 - hosted-engine --console fails on socat "Option "user" only with bind option" error
Summary: hosted-engine --console fails on socat "Option "user" only with bind option" ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Tools
Version: 2.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.4.7-1
: 2.5.2
Assignee: Asaf Rachmani
QA Contact: Sandro Bonazzola
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-01 16:22 UTC by Sandro Bonazzola
Modified: 2021-07-09 07:46 UTC (History)
1 user (show)

Fixed In Version: ovirt-hosted-engine-setup-2.5.2
Clone Of:
Environment:
Last Closed: 2021-07-09 07:46:07 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.4+
pm-rhel: blocker?
sbonazzo: planning_ack?
sbonazzo: devel_ack+
sbonazzo: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 115554 0 master MERGED src: Remove "user" option from socat command 2021-07-07 11:59:25 UTC

Description Sandro Bonazzola 2021-07-01 16:22:19 UTC
# rpm -qv ovirt-hosted-engine-setup
ovirt-hosted-engine-setup-2.5.0-1.el8.noarch

# rpm -qv ovirt-release-host-node
ovirt-release-host-node-4.4.6.3-1.el8.noarch

# rpm -qv socat
socat-1.7.4.1-1.el8.x86_64

# hosted-engine --console
The engine VM is running on this host
Escape character is ^]
2021/07/01 16:12:32 socat[11653] E Option "user" only with bind option

The socat command underlying is:

```
  /usr/bin/socat \
    UNIX-CONNECT:/var/run/ovirt-vmconsole-console/${vmid}.sock,user=ovirt-vmconsole \
    STDIO,raw,echo=0,escape=29
```

Removing the `,user=ovirt-vmconsole` part make it working.

Looking at http://www.dest-unreach.org/socat/doc/CHANGES it sames a change introduced with version 1.7.4.0.

This affects CentOS Stream as 1.7.4.1 is targeting RHEL 8.5.

Comment 1 RHEL Program Management 2021-07-01 16:22:25 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Sandro Bonazzola 2021-07-01 16:23:25 UTC
Need to check on CentOS 8.4 / RHEL 8.4 if dropping `,user=ovirt-vmconsole` is going to break the command on current RHEL.

Comment 3 Sandro Bonazzola 2021-07-09 07:32:03 UTC
Verified upgrading ovirt-hosted-engine-setup to ovirt-hosted-engine-setup-2.5.2 within oVirt Node 4.4.7.

Comment 4 Sandro Bonazzola 2021-07-09 07:46:07 UTC
This bugzilla is included in oVirt 4.4.7 async release, published on July 9th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.7 async release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.