Giter Club home page Giter Club logo

Comments (4)

cppforlife avatar cppforlife commented on June 8, 2024

@jriguera to confirm, cpi ends up selecting local datastore connected to a host that's in the maintenance mode, which leads vm scheduled on that host, and hence a failure? we can definitely look into possibility of filtering out such datastores.

from bosh-vsphere-cpi-release.

jriguera avatar jriguera commented on June 8, 2024

@cppforlife Yep, that is exactly the use case, we use a pattern to select the datastores where we want to have the vms running. I would love if the cpi has the functionality to skip a server if it is in maintenance mode, when a vm needs to be deployed. About the logic to implement when a vm is already deployed (in order to delete the ephemeral disks), I am not sure, but I think the proper way is just fail and tell the user that the vm is on a server which is in maintenance.

For now, the way to deal with hardware failures (we do not use DRS/vmotion because we use local SSDs) is taking out of the VCenter cluster the failed server, but people who manages the VMware platform do not like this solution.

I can provide more details if you wish.

Thanks!

from bosh-vsphere-cpi-release.

jriguera avatar jriguera commented on June 8, 2024

From my understanding, one possible implementation would be add a filter to this function https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release/blob/7fb6677a6a8dd9d4221dd57c171c9b0932d152fb/src/vsphere_cpi/lib/cloud/vsphere/vm_creator.rb#L23 ; a filter like https://github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release/blob/5ea37ac72ee6da4b2e260af8590cd78326e02374/src/vsphere_cpi/lib/cloud/vsphere/resources/cluster.rb#L123

But for each datastore, has to retrieve all server where such datastore is available and apply the filter. Other implementation would be check the server once the datastore is known.

from bosh-vsphere-cpi-release.

yeshwantbabar avatar yeshwantbabar commented on June 8, 2024

Fixed in version 46.

from bosh-vsphere-cpi-release.

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.