7 Replies Latest reply on Aug 6, 2012 1:22 PM by ch3lmi

    WSX won't show console on my ESXi 5 VMs

    jeremyd2019 Novice

      WSX sounds like it could potentially be a great thing.  I am currently running an XP vm just to run the vSphere console to manage my free ESXi instance.  I would very much like not having to do that.  Workstation 8 helped quite a bit in that regard, and this seems to fill in the gap where I want to access VMs from somewhere other than my licensed Workstation host.

       

      WSX loads up, and shows a list of VMs on my server, but when I try to view a running VM, or start a VM, all I get is a black screen.

       

      [E 120318 00:04:38 websocket:257] Uncaught exception in /session/
          Traceback (most recent call last):
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 254, in wrapper
              return callback(*args, **kwargs)
            File "build/bdist.linux-x86_64/egg/wsx/session_socket.py", line 99, in on_message
            File "build/bdist.linux-x86_64/egg/wsx/session_socket.py", line 226, in handle_vm_setScreenResolution
            File "build/bdist.linux-x86_64/egg/pyVmomi/VmomiSupport.py", line 537, in <lambda>
            File "build/bdist.linux-x86_64/egg/pyVmomi/VmomiSupport.py", line 346, in _InvokeMethod
            File "build/bdist.linux-x86_64/egg/pyVmomi/SoapAdapter.py", line 1188, in InvokeMethod
          vim.fault.RestrictedVersion: (vim.fault.RestrictedVersion) {
             dynamicType = <unset>,
             dynamicProperty = (vmodl.DynamicProperty) [],
             msg = 'fault.RestrictedVersion.summary',
             faultCause = <unset>,
             faultMessage = (vmodl.LocalizableMessage) []
          }
      [E 120318 00:04:38 websocket:257] Uncaught exception in /mks/d50836042135c29edf9bf66f34348f33ac1915fc
          Traceback (most recent call last):
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 254, in wrapper
              return callback(*args, **kwargs)
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/gen.py", line 107, in wrapper
              runner.run()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/gen.py", line 321, in run
              yielded = self.gen.send(next)
            File "build/bdist.linux-x86_64/egg/wsx/mks.py", line 61, in open
            File "build/bdist.linux-x86_64/egg/pyVmomi/VmomiSupport.py", line 537, in <lambda>
            File "build/bdist.linux-x86_64/egg/pyVmomi/VmomiSupport.py", line 346, in _InvokeMethod
            File "build/bdist.linux-x86_64/egg/pyVmomi/SoapAdapter.py", line 1188, in InvokeMethod
          vim.fault.RestrictedVersion: (vim.fault.RestrictedVersion) {
             dynamicType = <unset>,
             dynamicProperty = (vmodl.DynamicProperty) [],
             msg = 'fault.RestrictedVersion.summary',
             faultCause = <unset>,
             faultMessage = (vmodl.LocalizableMessage) []
          }
      [E 120318 00:04:38 iostream:307] Uncaught exception, closing connection.
          Traceback (most recent call last):
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 304, in wrapper
              callback(*args)
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/httpserver.py", line 250, in _on_headers
              self.request_callback(self._request)
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/web.py", line 1362, in __call__
              handler._execute(transforms, *args, **kwargs)
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 120, in _execute
              self.ws_connection.accept_connection()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 454, in accept_connection
              self._accept_connection()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 496, in _accept_connection
              self._receive_frame()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 525, in _receive_frame
              self.stream.read_bytes(2, self._on_frame_start)
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 180, in read_bytes
              self._check_closed()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 535, in _check_closed
              raise IOError("Stream is closed")
          IOError: Stream is closed
      [E 120318 00:04:38 ioloop:413] Exception in callback <tornado.stack_context._StackContextWrapper object at 0x1781b50>
          Traceback (most recent call last):
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/ioloop.py", line 399, in _run_callback
              callback()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 304, in wrapper
              callback(*args)
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/httpserver.py", line 250, in _on_headers
              self.request_callback(self._request)
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/web.py", line 1362, in __call__
              handler._execute(transforms, *args, **kwargs)
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 120, in _execute
              self.ws_connection.accept_connection()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 454, in accept_connection
              self._accept_connection()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 496, in _accept_connection
              self._receive_frame()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 525, in _receive_frame
              self.stream.read_bytes(2, self._on_frame_start)
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 180, in read_bytes
              self._check_closed()
            File "/opt/vmware/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 535, in _check_closed
              raise IOError("Stream is closed")
          IOError: Stream is closed

        • 1. Re: WSX won't show console on my ESXi 5 VMs
          Linjo Champion
          User Moderators

          What Linux-distro and kernel are you running?

          Installed Python 2.6?

           

          // Linjo

          • 2. Re: WSX won't show console on my ESXi 5 VMs
            nunofgs Novice

            I have the same problem. Ubuntu 12.04 and python 2.6

            • 3. Re: WSX won't show console on my ESXi 5 VMs
              Felix-The-Cat Enthusiast

              Hi everybody

              Thanks for posting and sorry to hear you have a problem with WSX...

              As it been mention in VMware Workstation Technology Preview - July 2012 Overview :

              This feature is still HIGHLY experimental at this time

              For more information about WSX you can read this blog post from the lead developer Christian Hammond http://blog.chipx86.com/.

               

              ------------------------------

               

              Cheers,

               

              FTC

              • 4. Re: WSX won't show console on my ESXi 5 VMs
                Enthusiast

                Hello,

                 

                Can you tell me what version of ESXi you have installed? The error being sent indicates that there's a product restriction, and these restrictions seem to have to do with accessing the console screen. Very strange. Are you able to see the console using vSphere Client?

                 

                A more up-to-date backtrace would definitely help.

                 

                Thanks!

                • 5. Re: WSX won't show console on my ESXi 5 VMs
                  nunofgs Novice

                  Sure. I'm using ESXi 5.0.0., 623860. Yes, I can access the console just fine in vSphere client.

                   

                  My ubuntu machine (where I installed VMware-WSX-1.0-754035.i386.bundle) is a virtual machine on that same ESXi server. That ubuntu machine is 12.04, 32bits. I installed python 2.6 from this source: sudo add-apt-repository ppa:fkrull/deadsnakes

                   

                  Full stacktrace:

                   

                   

                  [E 120726 09:28:02 websocket:257] Uncaught exception in /session/
                      Traceback (most recent call last):
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 254, in wrapper
                          return callback(*args, **kwargs)
                        File "build/bdist.linux-x86_64/egg/wsx/session_socket.py", line 120, in on_message
                        File "build/bdist.linux-x86_64/egg/wsx/session_socket.py", line 254, in handle_vm_setScreenResolution
                        File "build/bdist.linux-x86_64/egg/pyVmomi/VmomiSupport.py", line 537, in <lambda>
                        File "build/bdist.linux-x86_64/egg/pyVmomi/VmomiSupport.py", line 346, in _InvokeMethod
                        File "build/bdist.linux-x86_64/egg/pyVmomi/SoapAdapter.py", line 1188, in InvokeMethod
                      vim.fault.RestrictedVersion: (vim.fault.RestrictedVersion) {
                         dynamicType = <unset>,
                         dynamicProperty = (vmodl.DynamicProperty) [],
                         msg = 'fault.RestrictedVersion.summary',
                         faultCause = <unset>,
                         faultMessage = (vmodl.LocalizableMessage) []
                      }
                  [E 120726 09:28:02 websocket:257] Uncaught exception in /mks/92addbb03a1a7080f17da7eb433c4a303708f176
                      Traceback (most recent call last):
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 254, in wrapper
                          return callback(*args, **kwargs)
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/gen.py", line 107, in wrapper
                          runner.run()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/gen.py", line 321, in run
                          yielded = self.gen.send(next)
                        File "build/bdist.linux-x86_64/egg/wsx/mks.py", line 70, in open
                        File "build/bdist.linux-x86_64/egg/pyVmomi/VmomiSupport.py", line 537, in <lambda>
                        File "build/bdist.linux-x86_64/egg/pyVmomi/VmomiSupport.py", line 346, in _InvokeMethod
                        File "build/bdist.linux-x86_64/egg/pyVmomi/SoapAdapter.py", line 1188, in InvokeMethod
                      vim.fault.RestrictedVersion: (vim.fault.RestrictedVersion) {
                         dynamicType = <unset>,
                         dynamicProperty = (vmodl.DynamicProperty) [],
                         msg = 'fault.RestrictedVersion.summary',
                         faultCause = <unset>,
                         faultMessage = (vmodl.LocalizableMessage) []
                      }
                  [E 120726 09:28:02 iostream:307] Uncaught exception, closing connection.
                      Traceback (most recent call last):
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 304, in wrapper
                          callback(*args)
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/httpserver.py", line 250, in _on_headers
                          self.request_callback(self._request)
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/web.py", line 1362, in __call__
                          handler._execute(transforms, *args, **kwargs)
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 120, in _execute
                          self.ws_connection.accept_connection()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 454, in accept_connection
                          self._accept_connection()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 496, in _accept_connection
                          self._receive_frame()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 525, in _receive_frame
                          self.stream.read_bytes(2, self._on_frame_start)
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 180, in read_bytes
                          self._check_closed()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 535, in _check_closed
                          raise IOError("Stream is closed")
                      IOError: Stream is closed
                  [E 120726 09:28:02 ioloop:413] Exception in callback <tornado.stack_context._StackContextWrapper object at 0x8d11964>
                      Traceback (most recent call last):
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/ioloop.py", line 399, in _run_callback
                          callback()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 304, in wrapper
                          callback(*args)
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/httpserver.py", line 250, in _on_headers
                          self.request_callback(self._request)
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/web.py", line 1362, in __call__
                          handler._execute(transforms, *args, **kwargs)
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 120, in _execute
                          self.ws_connection.accept_connection()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 454, in accept_connection
                          self._accept_connection()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 496, in _accept_connection
                          self._receive_frame()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/websocket.py", line 525, in _receive_frame
                          self.stream.read_bytes(2, self._on_frame_start)
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 180, in read_bytes
                          self._check_closed()
                        File "/usr/lib/vmware/lib/python2.6/site-packages/tornado/iostream.py", line 535, in _check_closed
                          raise IOError("Stream is closed")
                      IOError: Stream is closed
                  • 6. Re: WSX won't show console on my ESXi 5 VMs
                    nunofgs Novice

                    By the way, I noticed in the stack trace several: "build/bdist.linux-x86_64/", yet I installed WSX 32-bits. Could that have anything to do it?

                    • 7. Re: WSX won't show console on my ESXi 5 VMs
                      ch3lmi Lurker

                      Hi,

                       

                      I see the exact same issue here also with ubuntu 12.04 and ESXi 5.0.0 623860.
                      I can also access the console fine in the vsphere client.
                      I today installed WSX on a Windows 7 32 bit version also connecting to an ESXi 5.0.0 623860 (but a different one) and had the exact same issue.
                      I am neither able to power up/down VMs nor to show console.
                      Here my stacktrace (from the ubuntu machine, don't have the one from Windows at hand):
                      [E 120806 22:17:42 logging:1412] Uncaught exception in /mks/44405341ec5a08a19ed6aff087e1f2403df715d09a669d69d4776c3ff13e7154
                          Traceback (most recent call last):
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.websocket", line 254, in wrapper
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.gen", line 107, in wrapper
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.gen", line 321, in run
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/wsx.mks", line 75, in open
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/pyVmomi.VmomiSupport", line 537, in <lambda>
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/pyVmomi.VmomiSupport", line 346, in _InvokeMethod
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/pyVmomi.SoapAdapter", line 1188, in InvokeMethod
                          vim.fault.RestrictedVersion: (vim.fault.RestrictedVersion) {
                             dynamicType = <unset>,
                             dynamicProperty = (vmodl.DynamicProperty) [],
                             msg = 'fault.RestrictedVersion.summary',
                             faultCause = <unset>,
                             faultMessage = (vmodl.LocalizableMessage) []
                          }
                      [E 120806 22:17:42 logging:1412] Uncaught exception, closing connection.
                          Traceback (most recent call last):
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.iostream", line 304, in wrapper
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.httpserver", line 250, in _on_headers
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.web", line 1362, in __call__
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.websocket", line 120, in _execute
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.websocket", line 454, in accept_connection
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.websocket", line 496, in _accept_connection
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.websocket", line 525, in _receive_frame
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.iostream", line 180, in read_bytes
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.iostream", line 535, in _check_closed
                          IOError: Stream is closed
                      [E 120806 22:17:42 logging:1412] Exception in callback <tornado.stack_context._StackContextWrapper object at 0x1e00680>
                          Traceback (most recent call last):
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.ioloop", line 399, in _run_callback
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.iostream", line 304, in wrapper
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.httpserver", line 250, in _on_headers
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.web", line 1362, in __call__
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.websocket", line 120, in _execute
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.websocket", line 454, in accept_connection
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.websocket", line 496, in _accept_connection
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.websocket", line 525, in _receive_frame
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.iostream", line 180, in read_bytes
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/tornado.iostream", line 535, in _check_closed
                          IOError: Stream is closed
                      [I 120806 22:17:47 logging:1437] 304 GET /static/wsx/images/16x16/connected.png (192.168.0.135) 0.38ms
                      [E 120806 22:17:50 logging:1412] Unknown error when processing vm.setPowerState:
                          Traceback (most recent call last):
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/wsx.session_socket", line 132, in on_message
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/wsx.session_socket", line 376, in handle_vm_setPowerState
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/pyVmomi.VmomiSupport", line 537, in <lambda>
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/pyVmomi.VmomiSupport", line 346, in _InvokeMethod
                            File "/build/mts/release/bora-792926/bora/build/wsx8niO7p/build/pyi.linux2/vmware-wsx-server/outPYZ1.pyz/pyVmomi.SoapAdapter", line 1188, in InvokeMethod
                          vim.fault.RestrictedVersion: (vim.fault.RestrictedVersion) {
                             dynamicType = <unset>,
                             dynamicProperty = (vmodl.DynamicProperty) [],
                             msg = 'fault.RestrictedVersion.summary',
                             faultCause = <unset>,
                             faultMessage = (vmodl.LocalizableMessage) []
                          }
                      [I 120806 22:17:50 logging:1437] 304 GET /static/wsx/images/spinner.gif (192.168.0.135) 0.36ms

                       

                       

                      Could this be related to ESXi 5 ?

                      I'm open for any kind of testing.