Comments (4)
function _handle_vmotion_begin has a bug. try change to 👍
def _handle_vmotion_begin(self, data):
cookie = data + struct.pack("l", hash(self) & 0xFFFFFFFF)
if self.handler.handle_vmotion_begin(self, cookie):
logging.debug("vMotion initiated: %s" % hexdump(cookie))
self._send_vmware(VMOTION_GOAHEAD + cookie)
else:
logging.debug("vMotion denied: %s" % hexdump(cookie))
self._send_vmware(VMOTION_NOTNOW + cookie)
from vspc.py.
I confirm this issue.
Running ESXi 5.5u3, I have a cluster of 2 ESXi and when I try to migrate a VM with a serial port configured for the vSPC server it fails.
This does not happen with other VM with a serial port configured on an Avocent (a commercial virtual serial port concentrator)
Error output:
A general system error occurred: Migration to host <> failed with error Connection closed by remote host, possibly due to timeout (0xbad003f).
Migration to host <> failed with error Connection closed by remote host, possibly due to timeout (195887167).
vMotion migration [-1062076156:1476173590574550] failed to send init message to the remote host <>
vMotion migration [-1062076156:1476173590574550] (0-71743133716968) failed to receive 68/68 bytes from the remote host <>: Connection closed by remote host, possibly due to timeout
The vMotion failed because the destination host did not receive data from the source host on the vMotion network. Please check your vMotion network settings and physical network configuration and ensure they are correct.
from vspc.py.
I confirmed that the patch mentionned by xuguanghan is fixing the issue.
This issue is also a duplicate with issue #17. Can you fix this issue and merge it with master ?
from vspc.py.
Fixed in master.
from vspc.py.
Related Issues (20)
- Make fake VM client support vmotion
- Refactor common code from command-line clients
- Fails when using File backend HOT 4
- Inproper handling of NULL character and IAC character HOT 4
- Losing connection a few instants after guest reboot
- struct error in vmotion cookie handling HOT 2
- number of connections in the CLOSE-WAIT state keeps growing HOT 4
- Memory Usage HOT 1
- vMotion secret with IAC in it HOT 1
- MacOS compatibility HOT 1
- how to debug project and get vm_console_data?thanks!
- KeyError when timout reached after disconnecting the VSP
- vMotion Issue #21 not yet fixed
- Nothing appears with the client
- VMware ESXi 7.0 U3 vMotion Error HOT 1
- vSPCClient screws up pressing enter in some situations, but telnet works fine.
- AttributeError from vSPCServer when handling telnet connection to VM port HOT 3
- Need way to test vSPCServer implementation without vSphere HOT 2
- Terminal doesn't handle newlines correctly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vspc.py.