Comments (9)
Hello,
In fact, we have on our side a flag which causes the error.
- type: replace
path: /instance_groups/name=bosh/properties/director/cpi?
value:
preferred_api_version: 1
It is now ok with the flag removal.
Thanks and regards,
Jean-Christophe.
from bosh-vsphere-cpi-release.
Which version of Postgres are you using?
from bosh-vsphere-cpi-release.
Hello,
Sorry for my late answer.
postgres-10 is used.
Regards,
Jean-Christophe.
from bosh-vsphere-cpi-release.
Could you try upgrading to postgres-13. Which is what is being used by bosh-deployment.
from bosh-vsphere-cpi-release.
Hi @JCL38-ORANGE -- just wanted to check in and see if moving to postgres-13 resolved your problem. thanks!
from bosh-vsphere-cpi-release.
Hello,
I am going to test it this week. I keep you informed.
Regards,
Jean-Christophe.
from bosh-vsphere-cpi-release.
Hello,
With Postgres-13 is still failing.
Some new informations on that. It seems related to a multi-cpi context with both vsphere and openstack stemcells.
The method create_missing_vm inserts a record in the vms table and more precisely in the column cid.
When the insertion is a success (CPI v66), the cid column contains a String with the "vm-guid" and POSTGRES doesn't complain about that.
For example :
INSERT INTO "vms" ("instance_id",
"agent_id",
"cpi",
"blobstore_config_sha1",
"nats_config_sha1",
**"cid"**,
"created_at",
"stemcell_api_version") VALUES (
2498,
'5928fea7-6abf-4056-bc05-12a4a6a7a029', '',
'75fd2c7097f88c4bcced6a2bba7e1effa670db03',
'ca9255aa6982364cd639cd1b088ae369a9fa04af',
**'vm-f9a7281e-7012-4584-9039-e26551dae37f'**,
'2022-03-28 16:04:46.345920+0000', 3)
When the insertion is a failure (CPI v72), the cid column contains a String with the "vm-guid" and a part of the cloud-config :
INSERT INTO "vms" ("instance_id",
"agent_id",
"cpi",
"blobstore_config_sha1",
"nats_config_sha1",
**"cid"**,
"created_at",
"stemcell_api_version") VALUES (
8527,
'7f81992c-15cb-441d-baf4-538bf187798c',
'region-1',
'df8391816f2042730b8d498bddf0aac34975420b',
'8f64c1a90fa99e8d674d3b235b3ceee3ff0eb0ac',
**('vm-854ceb4a-b970-47f4-804c-6ce8ecfc0db4', ('tf-net-osb-data-plane-dedicated-priv' = (('type' = 'manual') AND ('ip' = '192.168.61.59') AND ('netmask' = '255.255.255.0') AND ('cloud_properties' = ('name' = 'vxw-dvs-27-virtualwire-99-sid-7050-VXS_in_tf-net-osb-data-plane-dedicated-priv')) AND ('default' IN ('dns', 'gateway')) AND ('gateway' = '192.168.61.1'))))**,
'2022-03-28 13:17:44.983321+0000',
3)
In this case POSTGRES complains about that...
Thanks for your help,
Regards,
Jean-Christophe.
from bosh-vsphere-cpi-release.
This issue was marked as Stale
because it has been open for 21 days without any activity. If no activity takes place in the coming 7 days it will automatically be close. To prevent this from happening remove the Stale
label or comment below.
from bosh-vsphere-cpi-release.
This issue seems to be resolved, closing.
from bosh-vsphere-cpi-release.
Related Issues (20)
- 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
- 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
- Add opt-in support for per bosh deployment DRS rules HOT 3
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.