yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89149
[Bug 1976468] Re: Unsupported: Text frames are not supportedConfigure remote console access in nova
Hi, I looked into this and found the error you're seeing is an issue in
the novaconsole client, not nova itself.
I have opened the following PR to update the client:
"""
websockify dropped support for text frames awhile back [1][2], possibly
as of version 0.9.0 [3]. Attempts to send text frames to a sufficiently
new websockify server result in the following error returned:
Unsupported: Text frames are not supported
and then the server closes the connection.
This changes the client to call Webocket.send_binary() [4] instead of
Websocket.send() in order to send binary data rather than text.
websockify has (always?) supported receiving binary data so this should
be backward compatible with older versions.
Closes #4
[1] novnc/websockify#365
[2] novnc/websockify@8eb5cb0
[3] novnc/websockify@8a69762
[4] https://websocket-client.readthedocs.io/en/latest/core.html#websocket._core.WebSocket.send_binary
"""
https://github.com/larsks/novaconsole/pull/5
Feel free to try the above change locally and see if it solves your
issue.
I'm closing this as Invalid for nova.
** Changed in: nova
Status: New => Invalid
** Tags added: console
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1976468
Title:
Unsupported: Text frames are not supportedConfigure remote console
access in nova
Status in OpenStack Compute (nova):
Invalid
Bug description:
I have enabled serial-console on the OpenStack wallaby.
after enabled, I ran the command to access serial novaconsole --url ws://hostname.example.com:6083/?token=
WARNING:novaconsole.client:type "#." to disconnect
ERROR:novaconsole:remote host closed connection: Connection is already closed.
connection closes immediately.
to test the connection i use the script "https://docs.openstack.org/nova/latest/contributor/testing/serial-console.html" in the link and i ran python serial.py ws://hostname.example.com:6083/?token=18f939e9-e55c-4890-8279-f749641f5e45 getting this "nsupported: Text frames are not supported"
controller side nove.conf
[serial_console]
base_url = ws://hostname.example.com:6083/
proxyclient_address = hostname.example.com
enabled = true
serialproxy_host = hostname.example.com
serialproxy_port = 6083
Below output collected from dumpxml
<serial type='tcp'>
<source mode='bind' host='IP Address' service='10001' tls='no'/>
<protocol type='raw'/>
<log file='/var/lib/nova/instances/d0ee2fcb-3fb3-482f-bfa3-1a3084c8e417/console.log' append='off'/>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
<alias name='serial0'/>
</serial>
<console type='tcp'>
<source mode='bind' host='IP Address' service='10001' tls='no'/>
<protocol type='raw'/>
<log file='/var/lib/nova/instances/d0ee2fcb-3fb3-482f-bfa3-1a3084c8e417/console.log' append='off'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
Can you please look into this issue and help me.
This bug tracker is for errors with the documentation, use the
following as a template and remove or add fields as you see fit.
Convert [ ] into [x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following
resources:
- The mailing list: https://lists.openstack.org
- IRC: 'openstack' channel on Freenode
-----------------------------------
Release: 23.2.1.dev5 on 2020-08-31 14:28:58
SHA: baf0d93e0fafcd992d37543aa9df3f6dc248a738
Source: https://opendev.org/openstack/nova/src/doc/source/admin/remote-console-access.rst
URL: https://docs.openstack.org/nova/wallaby/admin/remote-console-access.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1976468/+subscriptions
References