Skip to content

Conversation

@markstgodard
Copy link
Contributor

Hi Diego team

Container networking team PR to do the following:

  • netman pulls etcd properties from config_from_cf
  • remove unused cf_etcd section

Please let us know if you have any questions or concerns.

For more information, please see
https://www.pivotaltracker.com/story/show/131579069

Thanks

@markstgodard && @karampok
Container Networking Team

@cfdreddbot
Copy link

Hey markstgodard!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

1 similar comment
@cfdreddbot
Copy link

Hey markstgodard!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/131853557

The labels on this github issue will be updated when the story is started.

@emalm
Copy link
Contributor

emalm commented Oct 7, 2016

Thanks, @markstgodard, generally sounds reasonable. A few details:

Could you please make those changes?

Best,
Eric

@markstgodard
Copy link
Contributor Author

Hi @ematpl

Thanks good catch, updated PR.

Cheers

@emalm
Copy link
Contributor

emalm commented Oct 7, 2016

Thanks. @markstgodard. Generally, it's best to set nil as the fallback everywhere instead of "" or false, so that the final manifest will use job spec defaults. If you look at that capture section in the bottom half of the internal template, you'll see that the only values are (( merge )) or (( merge || nil ))/~. I don't see why you would need specific overrides for those defaults, since the client configuration for your components should be determined entirely by the information in the CF manifest, and in any case if you did they should go in the diego.yml template, not the config-from-cf ones.

Best,
Eric

- netman pulls etcd properties from config_from_cf
- remove unused cf_etcd section

https://www.pivotaltracker.com/story/show/131579069

Signed-off-by: David McClure <[email protected]>
@mcwumbly
Copy link

mcwumbly commented Oct 7, 2016

Thanks @ematpl

@markstgodard and I have pushed a new commit with the suggested changes.

@jenspinney
Copy link
Contributor

Hi @markstgodard and @mcwumbly,

It doesn't look like the data in these fields are actually being included in the final diego.yml file. You'd also need to modify diego-release/manifest-generation/diego.yml to reference these properties in order for it to have an effect.

When I manually modified my cf.yml file to have bogus values for the certs and keys, these values didn't show up at all in the final diego.yml. Or are you using this intermediate file, config-from-cf.yml, directly during your manifest generation and not actually referencing diego.yml?

Thanks,
Jen

@markstgodard
Copy link
Contributor Author

Hi @jenspinney

Correct, the later, we are referencing in our netman stubs

For example: this branch etcd-tls-from-cf is what we will eventually merge into master and use: https://github.com/cloudfoundry-incubator/netman-release/tree/etcd-tls-from-cf

https://github.com/cloudfoundry-incubator/netman-release/blob/etcd-tls-from-cf/manifest-generation/stubs/bosh-lite-netman-diego.yml#L24-L31

If this PR is getting too wonky to discuss async, we can quickly x-team pair if you like

Cheers

@jenspinney jenspinney merged commit 0672cd6 into cloudfoundry:develop Oct 12, 2016
@jenspinney
Copy link
Contributor

Ok, looks good then. Sorry for the delay!

bdshroyer pushed a commit that referenced this pull request Mar 27, 2017
[finishes #142522481]

Submodule src/github.com/onsi/ginkgo c3a655f..67b9df7:
  > Remove the spec_iterator.test binary (#336)
  > Shared queue implementation for parallel tests
  > Revert "Don't colorize output by default if not writing to a TTY (#328)" (#331)
  > Don't colorize output by default if not writing to a TTY (#328)
  > Use SVG badge for build status (#330)
  > Add the ability to use ./... to recursively test directories (#319)
  > Include captured output from failed tests into JUnit (#318)
  > Aggregate flaked specs (#316)
  > Add colours for Windows in suite-runner & watch (#312)
  > Fix tests for single node machine (#311)
  > Add ability to specify a custom bootstrap file (#302)
  > Revert "remove -i in invocations of go test.  fixes #305"
  > Update .travis.yml
  > fix imports for generate command (#279)
  > Merge branch 'koron-windows-colorise'
  > remove -i in invocations of go test.  fixes #305
  > remove unnecessary variable
  > backfill GinkgoRandomSeed test
  > Expose the random seed via GinkgoRandomSeed() (#293)
  > Include flake count in test summary (#291)
  > #287 Ensure Logf/Skipf insert newline characters (#288)
  > Add package path prefix to compilation output path only if missing (#284)
  > Redo flags again, add a bunch of pass-throughs. (#282)
  > Spelling fix (#283)
  > Covermode flag (and reworked pass-through flags passing) (#281)
  > Make JUnit reporter include failure location in message. (#262)
  > remove 1.4 from travis.yml
  > Add gcflags option (#276)
  > Revert "Use the go1.5 build tag to handle vendor exceptions" (#274)
  > Merge pull request #272 from fsouza/fix-vendor
  > Add flaky test mitigation (#261)
  > Allow units and precision in benchmark (#266)
  > Add Solaris support (#264)
  > Merge pull request #259 from kwadrat/master
  > Merge branch 'apvail-spell-fix'
  > Fix go16 vendor
  > Merge pull request #250 from james-lawrence/master
  > Merge pull request #228 from jayunit100/RegexFileNameFiltering
  > Fix test flakiness
Submodule src/github.com/onsi/gomega c463cd2..334b8f4:
  > Merge pull request #206 from xoebus/patch-1
  > Merge pull request #205 from onsi/revert-201-json_formatting
  > Merge pull request #201 from madamkiwi/json_formatting
  > Merge pull request #199 from kevgo/patch-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants