← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1976468] [NEW] Unsupported: Text frames are not supportedConfigure remote console access in nova

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: doc

-- 
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):
  New

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



Follow ups