Coder Social home page Coder Social logo

vMotion Issue about vspc.py HOT 4 CLOSED

CollabSensei avatar CollabSensei commented on August 22, 2024
vMotion Issue

from vspc.py.

Comments (4)

xuguanghan avatar xuguanghan commented on August 22, 2024

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.

nicobbg avatar nicobbg commented on August 22, 2024

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.

nicobbg avatar nicobbg commented on August 22, 2024

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.

pbhenson avatar pbhenson commented on August 22, 2024

Fixed in master.

from vspc.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.