Bug 1091011
| Summary: | Console session doesn't opens to VM over Spice, during HE installation process. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Nikolai Sednev <nsednev> | ||||
| Component: | ovirt-hosted-engine-setup | Assignee: | Sandro Bonazzola <sbonazzo> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Leonid Natapov <lnatapov> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.4.0 | CC: | dfediuck, gklein, iheim, nsednev, sbonazzo | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | integration | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-05-07 14:53:39 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Nikolai, was this found on 3.4 or 3.5? Logs looks like they're from 3.4. Nikolai, can you check if you used a subject line like: --spice-host-subject="O=qa.lab.tlv.redhat.com, CN=10.35.64.85" It shouldn't have spaces. Can you try again without the space there? --spice-host-subject="O=qa.lab.tlv.redhat.com,CN=10.35.64.85" (In reply to Doron Fediuck from comment #1) > Nikolai, was this found on 3.4 or 3.5? It was-3.4 I'll check regarding "no spaces" right away, as need to distract our already running environment and this will take some time. spice://localhost?tls-port=5901 --spice-host-subject="O=qa.lab.tlv.redhat.com, CN=10.35.64.85" (In reply to Sandro Bonazzola from comment #2) > Logs looks like they're from 3.4. > Nikolai, can you check if you used a subject line like: > > --spice-host-subject="O=qa.lab.tlv.redhat.com, CN=10.35.64.85" > > It shouldn't have spaces. Can you try again without the space there? > > --spice-host-subject="O=qa.lab.tlv.redhat.com,CN=10.35.64.85" May be you do have an environment of 3.4, so we could check the issue on, as our env. is under testing and this verification requires it's distraction. (In reply to Sandro Bonazzola from comment #2) > Logs looks like they're from 3.4. > Nikolai, can you check if you used a subject line like: > > --spice-host-subject="O=qa.lab.tlv.redhat.com, CN=10.35.64.85" > > It shouldn't have spaces. Can you try again without the space there? > > --spice-host-subject="O=qa.lab.tlv.redhat.com,CN=10.35.64.85" I've checked without spaces at srh-01.rhev.lab.eng.brq.redhat.com, kindly provided to me by movciari, spice not working: "[root@srh-01 bin]# remote-viewer --spice-ca-file=/etc/pki/vdsm/libvirt-spice/ca-cert.pem spice://localhost?tls-port=5901 --spice-host-subject="O=rhev.lab.eng.brq.redhat.com, CN=10.34.63.206" Cannot open display: Run 'remote-viewer --help' to see a full list of available command line options" Please review it in some details, as it seems not an issue of syntax/misconfiguration. Have you used ssh -Y while connecting to the host? without that you can't open graphical tools on remote hosts over ssh. (In reply to Sandro Bonazzola from comment #6) > Have you used ssh -Y while connecting to the host? without that you can't > open graphical tools on remote hosts over ssh. I didn't knew "-Y" is required, now it's working! So eventually it's my fault I guess, is it possible to mention this parameter within printed info during HE-deploy? (In reply to Nikolai Sednev from comment #7) > (In reply to Sandro Bonazzola from comment #6) > > Have you used ssh -Y while connecting to the host? without that you can't > > open graphical tools on remote hosts over ssh. > > I didn't knew "-Y" is required, now it's working! > > So eventually it's my fault I guess, is it possible to mention this > parameter within printed info during HE-deploy? It is: Please note that in order to use remote-viewer you need to be able to run graphical applications. This means that if you are using ssh you have to supply the -Y flag (enables trusted X11 forwarding). .... and other info for running from remote or using virsh. Closing as not a bug. |
Created attachment 889324 [details] HE configuration that was done during HE deploy. Description of problem: Console session doesn't opens to VM over Spice, during HE installation process, although session shown as established: /usr/bin/remote-viewer --spice-ca-file=/etc/pki/vdsm/libvirt-spice/ca-cert.pem spice://localhost?tls-port=5901 -- spice-host-subject="O=qa.lab.tlv.redhat.com, CN=10.35.64.85" Cannot open display: Exit sequence also not working "^]" can't be printed by the customer, console not receiving anything, had to issue "killal -9 virsh" in order to get session terminated, instead of using exit sequence. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.Start HE installation procedure and choose Spice console. 2.Expect to get console at your screen, but you won't get it. Actual results: Cannot open display to VM. Expected results: Expect to get console at your screen to VM. Additional info: HE config