Virtual Serial Port Concentrator for VMware instances
Go to file
Darius Davis 6de3cfdc08 vSPC: Handle VMOTION-ABORT.
VMOTION-ABORT is sent by the source host.  It does not require any
specific response or action, but we currently fail to recognize it,
which causes the _source_ vSPC connection to be terminated, and that
seems undesirable as the source should be fine -- it is the
_destination_ which has failed and is expected to disconnect.

This change handles it with a debug log message, but the side effect
of handling it is that the connection is no longer terminated.

Also fix the direction indicator for the debug message for
VMOTION-PEER-OK.

Change-Id: Id09ed363d6713c023323235a60d4c678c65079f1
2023-06-22 01:40:46 -07:00
devstack Make devstack plugin set serial_log_dir in nova.conf 2017-03-29 15:37:28 +03:00
etc Initial public version 2017-02-10 16:06:57 +02:00
vspc vSPC: Handle VMOTION-ABORT. 2023-06-22 01:40:46 -07:00
.gitignore Initial public version 2017-02-10 16:06:57 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:51:37 +00:00
.testr.conf Fix the gate jobs 2017-02-22 14:42:20 -05:00
LICENSE Initial public version 2017-02-10 16:06:57 +02:00
README.rst Add devstack plugin 2017-02-24 07:35:10 -05:00
requirements.txt Start using pbr 2017-02-22 14:42:28 -05:00
setup.cfg Remove python2 support 2018-03-01 16:09:34 +08:00
setup.py Start using pbr 2017-02-22 14:42:28 -05:00
test-requirements.txt Fix the gate jobs 2017-02-22 14:42:20 -05:00
tox.ini vSPC: Escape 'sequence' and 'secret' in replies. 2023-06-22 09:46:05 +03:00

vmware-vspc

Virtual Serial Port Concentrator for use in the vSphere environment. It collects serial console logs from VMs which have configured virtual serial port pointing to it.

Usage with OpenStack

Copy vspc.conf.sample as vspc.conf and edit as appropriate:

[DEFAULT]
debug = True
host = 0.0.0.0
port = 13370
cert = cert.pem
key = key.pem
uri = vmware-vspc
serial_log_dir = /opt/vmware/vspc

Then start with:

$ vmware-vspc --config-file vspc.conf

In nova.conf add the following properties:

[vmware]
serial_port_service_uri = vmware-vspc
serial_port_proxy_uri = telnets://<vspc_host>:13370#thumbprint=<vspc_thumbprint>

where vspc_host is the host where VSPC runs and vspc_thumbprint is the SHA1 thumbprint of the configured certificate.

Usage with Devstack

There is a devstack plugin, so simply add this to your local.conf:

[[local|localrc]]
enable_plugin vmware-vspc https://github.com/openstack/vmware-vspc