Commit Graph

13 Commits

Author SHA1 Message Date
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
Darius Davis 206e36008f vSPC: Escape 'sequence' and 'secret' in replies.
The values of 'sequence' and 'secret' are arbitrary byte strings which might
contain IAC (0xff) or SE (0xf0) in any position.  Lack of escaping during
transmission might cause receiver confusion and potentially vMotion failures.

This change adds escaping of these 'sequence' and 'secret' values before
transmission.  They are already being unescaped correctly during receipt; Only
the transmit side needs to be fixed.

Change-Id: I82384424d684b931805ca921d0597ad7642f66ac
2023-06-22 09:46:05 +03:00
OpenDev Sysadmins b3914a6e8c OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:37 +00:00
yan97ao b6348385c4 Remove python2 support
vmware-vspc uses lots of python 3 syntax

Change-Id: Iea1d646ff74ec1f0d8cb2f3a758aae6fc1f4a553
2018-03-01 16:09:34 +08:00
Radoslav Gerganov 622f7f9ea6 Make devstack plugin set serial_log_dir in nova.conf
The Nova patch which adds 'serial_log_dir' is still under review but we
want to set it in the devstack plugin. This will enable dowstream
developers to run tempest tests for the console output feature.

Change-Id: I4e70ebe517a28a7e6a1d4e782d21b495fb484523
2017-03-29 15:37:28 +03:00
Radoslav Gerganov 7ce7ead127 Strip extra characters from uuid
The VM uuid is sent with some extra characters like dash and spaces.
Strip those characters so log file names will have well defined format.

Change-Id: Ia41b6276851b363cd3b0aaa87d220c4e4425f8e9
2017-03-28 10:56:33 +03:00
Radoslav Gerganov 3d19555e7a Add devstack plugin
Add devstack plugin and update the usage information in the README.

Change-Id: Idc5384ae4ca0a911853741923ec967cba1b6c145
2017-02-24 07:35:10 -05:00
Radoslav Gerganov cc4d54a3a3 Add 'venv' test environment
This will fix the release job which executes:
$ tox -evenv python setup.py sdist
and currently fails: http://goo.gl/VIC4T8

Change-Id: Ie8f4aabc76c8037ace32b29ae08afe75711e3f7f
2017-02-23 10:40:43 -05:00
Radoslav Gerganov cd1a8b933d Start using pbr
Use pbr for packaging.
Also swith to py35 in tox.ini to match the configuration of the CI jobs.

Change-Id: Ib5602177d940d07813600ad7c220786f1a656c76
2017-02-22 14:42:28 -05:00
Radoslav Gerganov 4f8818aa6c add .gitreview file
Change-Id: Ia5c266cd568bae65adb6acf370e4bd50623b1549
2017-02-22 14:42:28 -05:00
Radoslav Gerganov 80c44388b1 Fix the gate jobs
Enable unit tests and fix gate jobs.

Change-Id: Ie9c4b2357820b0180cabcbc9de196d09f7e0b6a8
2017-02-22 14:42:20 -05:00
Radoslav Gerganov d29b44bdf3 Fix bug in handling VM-VC-UUID 2017-02-13 16:30:19 +02:00
Radoslav Gerganov a4c2934d50 Initial public version 2017-02-10 16:06:57 +02:00