Comments (4)
@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.
@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.
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.
Fixed in version 46.
from bosh-vsphere-cpi-release.
Related Issues (20)
- Yet another test issue
- testing again
- BOSH Vsphere CPI APIs to automatically add diego cell or BOSH VM on which garden containers can be deployed on . HOT 1
- Failed to create multi-cluster configuration based on cloud-config azs HOT 2
- create_vm fails with postgres SQL error with CPI v72 HOT 6
- create_vm fails with postgres SQL error with CPI v72 HOT 9
- bump to ruby 3.1.x for upcoming jammy release HOT 2
- `golang-1-darwin` package is unused HOT 10
- Migration from NSX-V to NSX-T HOT 2
- Bosh sometimes silently fails to add a vm to a group when using nsxt policy provider HOT 2
- TAS deployment failing - CPI error message 'Client 'admin' exceeded request rate of 100 per second' at Creating missing stage HOT 4
- Airgap compile (still) not working in v78 (release notes claim fixed in this release) HOT 2
- TAS deployment failure during network churn HOT 1
- effective_memory is possibly not the correct metric to check HOT 1
- Add config to apply tags to stemcells HOT 4
- Breaking change to NSX-T group lookup by ID instead of name with no fallback (?) HOT 8
- Unable to upload Jammy stemcell - "Permission to perform this operation was denied" HOT 2
- Support for vSphere 8 HOT 2
- Incorrect go platform binary used when compiling iso9660wrap HOT 2
- Offline deployment broken for v93 HOT 2
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 bosh-vsphere-cpi-release.