-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property names are different with the google CPI than others #31
Comments
Howdy @dsboulder, It looks like the |
@evandbrown I think you're right about |
Addresses #31 by restructuring the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs.
Addresses #31 by restructuring the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs.
Addresses #31 by restructuring the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs.
Addresses #31 by restructuring the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs.
Addresses #31 by restructuring the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs.
Addresses #31 by restructuring the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs.
Addresses #31 by restructuring the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs.
@dsboulder Clarifying question: the It was easy to reorder the struct fields, and I think all that's left is the job spec's |
Addresses #31 by restructuring the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs.
@Cpp4Life what do you think? |
Addresses #31 by restructuring the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs.
@cppforlife for real. Dmitriy might have a plan to normalize them better, I agree with you Eric that it makes sense under Agent, it's just not what the other ones do. |
@dsboulder @evandbrown The vSphere and AWS CPIs allow the user to specify blobstore + ntp either under |
Maybe then the best solution is to allow parameters to come in with either name. What do you think @evandbrown? |
@dsboulder totally agree. @ljfranklin's comment and a convo w/ Corrie today made things crystal clear. should have this working very shortly... |
@dsboulder #37 (pending BATS and int tests) supports a template with
Does this look correct? Full template here:
|
all: Normalize cloud_provider options for bosh-init This commit restructures the mbus, ntp, and blobstore configuration properties to be consistent with existing CPIs. Addresses #31. A bosh-init manifest's cloud_provider.properties section should include the following keys: google agent blobstore `ntp For example: properties: google: *google_properties agent: {mbus: "https://mbus:mbus-password@0.0.0.0:6868"} blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache} ntp: *ntp This is a departure from previous versions of the CPI that expectd agent and ntp keys to children of the agent key.
I think that's correct! We'll know for sure when we put it in OpsManager next week or the week after. That'll expose any inconsistencies. If you'd like, we could build a CPI ourselves from this branch and use it first to verify that it fixes the naming issues. |
Cool! The branch is merged and released. CPI 24.0.0 (e2f77a0a8696b29fdb676cf447cfd9bc6841b648) with stemcell 3262.2 (f46d82a6ae6e89a5635cb3122389f0c8459a82e0) is the latest. Also, the README.md is now updated from CI with the current releases. We'll keep this open until you ack everything's working! |
Thanks @evandbrown for fixing — I got burned on this one, too. FYI, after reading this thread, I was able to deploy with the following changes to my [previously working] manifest — agent:
mbus: https://mbus:mbus-password@0.0.0.0:6868
- blobstore:
- provider: local
- options:
- blobstore_path: /var/vcap/micro_bosh/data/cache
+ blobstore:
+ provider: local
+ path: /var/vcap/micro_bosh/data/cache On a completely unrelated note, is specifying the + subnetwork_name: cf-e6ecf3fd8a498fbe
tags:
- cf-internal
- cf-bosh
@@ -170,7 +171,7 @@ cloud_provider:
host: 104.154.39.128 # <--- replace with External IP
port: 22
user: vcap # <--- replace with the user corresponding to your private ssh key
- private_key: ../../.ssh/google # <--- replace with the location of your google_compute_engine ssh private key
+ private_key: /Users/cunnie/.ssh/google # <--- replace with the location of your google_compute_engine ssh private key The error I received before making the above changes was this:
|
Thanks for the feedback, @cunnie! If there's anything we can do to make it more precisely match the AWS manifest, let me know and I'm happy to keep improving.
|
@evandbrown I was wrong: my Google BOSH manifest's |
Hey GCP CPI developers -
I noticed some inconsistencies when using the google CPI next to the AWS, OpenStack, and vSphere CPIs. There's a few properties that aren't named the same with the google CPI, here's what they are:
agent:
properties section seems to expectblobstore
andntp
settings. Usually these settings are at the root level and are pulled in by the other CPIs.agent
section has a similar inconsistency in it. Usually theblobstore
andntp
settings are not inside the agent section.blobstore_options
like this:{provider: "local", options: {blobstore_path: "/var/vcap/micro_bosh/data/cache"}}
. Other CPIs have the blobstore path more at the root level like this:{provider: "local", path: "/var/vcap/micro_bosh/data/cache"}
If y'all help make those changes, it'll be much easier for existing BOSH users of another IaaS to learn GCP. I've already had 5 or 6 people run into this, including me. Thanks!!!
The text was updated successfully, but these errors were encountered: