v3 cc api style guide feedback requested
Dieu Cao <dcao@...>
Hi All,
The CAPI team has created a style guide for v3 of the cloud controller api and would like to share this again with the wider cf community for feedback after initial review within the team. [1] Issues/PRs are welcome and appreciated! Thanks, Dieu CF CAPI PM [1] https://github.com/cloudfoundry/cc-api-v3-style-guide
|
|
|
|
Re: How to set cc.info with cf-release spiff templates ?
Thanks Joseph for your response. Any chance that the OSS build pipeline
toggle quoted messageShow quoted text
would update the spiff template with the current version number of the cf release being built, as to avoid each consummers of the release to manually update version number when updating cc.info.version ? Ideally by having the spiff templates override the default value (yet-to-be-specified in the release's spec file, see [3]) by the current cf release number ? I was trying to manually assign this value with meta.releases[0].version, but I see that meta.releases[0].version seems to always specify 'latest' [2]. One possibility would have to specify the current release number (e.g. '215') Thanks in advance, Guillaume. [2] https://github.com/cloudfoundry/cf-release/blob/90d730a2d13d9e065a7f348e7fd31a1522074d02/templates/cf-deployment.yml#L10 [3] https://github.com/cloudfoundry/cf-release/issues/774
On Tue, Sep 1, 2015 at 11:29 PM, CF Runtime <cfruntime(a)gmail.com> wrote:
Unfortunately those properties don't actually do what they say. A story
|
|
|
|
Re: Which kind of resources stored in cc-resources container?
Matt Reider
You can refer to this discussion for some understanding of what is stored
in the cc-resources container: https://groups.google.com/a/cloudfoundry.org/forum/#!topic/vcap-dev/nTQSn8spBPE It's basically stores larger files to speed up subsequent app push. An initial push will be slow, as all files are uploaded. A second push will be faster, as the larger files (over 64k by default, but can be adjusted up), are stored in the cc-resources container for re-use. On Tue, Sep 1, 2015 at 6:40 PM Guangcai Wang <guangcai.wang(a)gmail.com> wrote: Hi,
|
|
|
|
Re: diego questions: default memory and passing env variables
Amit Kumar Gupta
Responses inline.
On Tue, Sep 1, 2015 at 7:13 PM, Tom Sherrod <tom.sherrod(a)gmail.com> wrote: What is the default memory size of an app deployed in diego? cf appsYes. This isn't a diego thing, this is a CC thing. cf set-env doesn't appear to be getting the environment variableYou likely need to restage the application for ENV var changes to take effect. Unless I'm mistaken, this too is not diego-specific, and applies to DEA containers as well. Thanks!Best, Amit
|
|
|
|
Re: Self-signed cert for registry failing on stager
Tom Sherrod <tom.sherrod@...>
Thank you. The pointer to the code is excellent. I was looking in the right place. An odd part was I actually added the CA to the machine itself and it still did not work.
I finally opted for a mirror registry with a public cert. Now working.
|
|
|
|
diego questions: default memory and passing env variables
Tom Sherrod <tom.sherrod@...>
What is the default memory size of an app deployed in diego? cf apps indicate 1GB.
cf set-env doesn't appear to be getting the environment variable information to the running container. Is cf set-env the correct method to use? Thanks! Tom
|
|
|
|
Which kind of resources stored in cc-resources container?
iamflying
Hi,
I am using Swift as Cloud Foundry blobstore. I noticed there are four containers: cc-buildpacks cc-droplets cc-packages cc-resources For the first three containers, I can find the relationship between the object in containers and the records in postgres database. I also noticed that some objects will be stored in cc-resources when I push applications. They seem related to the type of application (ruby, java, etc). However, I cannot find what should be stored in cc-resources container. Are they uploaded automatically by buildpack? Is it decided by buildpack or application? How to configure them if it is decided by application? Thanks.
|
|
|
|
Re: Generic data points for dropsonde
Benjamin Black
great questions, dwayne.
toggle quoted messageShow quoted text
1) the partition key is intended to be used in a similar manner to partitioners in distributed systems like cassandra or kafka. the specific behavior i would like to make part of the contract is two-fold: that all data with the same key is routed to the same partition and that all data in a partition is FIFO (meaning no ordering guarantees beyond arrival time). this could help with the multi-line log problem by ensuring a single consumer will receive all lines for a given log entry in order, allowing simple reassembly. however, the lines might be interleaved with other lines with the same key or even other keys that happen to map to the same partition, so the consumer does require a bit of intelligence. this was actually one of the driving scenarios for adding the key. 2) i expect typical points to be in the hundreds of bytes to a few KB. if we find ourselves regularly needing much larger points, especially near that 64KB limit, i'd look to the JSON representation as the hierarchical structure is more efficiently managed there. b
On Tue, Sep 1, 2015 at 4:42 PM, <dschultz(a)pivotal.io> wrote:
Hi Ben,
|
|
|
|
Re: Generic data points for dropsonde
Dwayne
Hi Ben,
toggle quoted messageShow quoted text
I was wondering if you could give a concrete use case for the partition key functionality. In particular I am interested in how we solve multi line log entries. I think it would be better to solve it by keeping all the data (the multiple lines) together throughout the logging/metrics pipeline, but could see how something like a partition key might help keep the data together as well. Second question: how large do you see these point messages getting (average and max)? There are still several stages of the logging/metrics pipeline that use UDP with a standard 64K size limit. Thanks, Dwayne
On Aug 28, 2015, at 4:54 PM, Benjamin Black <bblack(a)pivotal.io> wrote:
|
|
|
|
Re: How to set cc.info with cf-release spiff templates ?
CF Runtime
Unfortunately those properties don't actually do what they say. A story has
toggle quoted messageShow quoted text
been added to the CAPI backlog to clean those up, and possibly change them: https://www.pivotaltracker.com/story/show/102523218 In the meantime, you can override `version` and `description`, they are currently used to populate the info endpoint, but they may change in the process of doing the above story. After the story is done, we'll add the attributes to the template so they are easy to override, but for now you'll need to manually edit your manifest to add the `version` and `description` properties. Joseph OSS Release Integration Team
On Thu, Aug 27, 2015 at 1:07 PM, Guillaume Berche <bercheg(a)gmail.com> wrote:
Hi,
|
|
|
|
Singapore Company Offer
Kia Group - Miss Vicky <gegew@...>
|
|
|
|
Re: Update Dashboard URL with Asynchronous Provisioning
Dieu Cao <dcao@...>
Hi John,
I added a story for the upgrade use case [1]. I believe the use case of needing to move the dashboard_url end point that does not correspond to a service lifecycle event is trickier and is tracked as part of your github issue [2]. The matching tracker story hadn't been carried over to the CAPI backlog in the team merge, so it's now back in the CAPI icebox under consideration. -Dieu CF CAPI PM [1] https://www.pivotaltracker.com/story/show/102485224 [2] https://www.pivotaltracker.com/story/show/94657436 On Thu, Aug 27, 2015 at 11:06 AM, john mcteague <john.mcteague(a)gmail.com> wrote: There are additional use cases should also be considered.
|
|
|
|
Re: Announcing Experimental support for Asynchronous Service Operations
Dieu Cao <dcao@...>
Hi Guillaume,
toggle quoted messageShow quoted text
We are looking for a couple more pieces of feedback. All feedback I've received so far has been positive. There was one report recently from Robert Moss about being able to provide the dashboard_url asynchronously instead of part of the original response [1]. I'm also considering whether that needs to be addressed prior to marking the feature complete, or if it should be a separate/additive change to the service broker api. If you've had success with the current implementation, I would be greatly interested in hearing that. -Dieu [1] https://lists.cloudfoundry.org/archives/list/cf-dev(a)lists.cloudfoundry.org/thread/LJ26K22WG7OJCAIXWYPTJQKELVAUBUZC/
On Tue, Sep 1, 2015 at 5:20 AM, Guillaume Berche <bercheg(a)gmail.com> wrote:
Hi,
|
|
|
|
Re: Announcing Experimental support for Asynchronous Service Operations
Hi,
toggle quoted messageShow quoted text
I'm wondering whether the experimental async service broker api is now ready to become official, or whether the CAPI team and PMs are still lacking feedback or have some outstanding issues that need to be addressed before calling the spec official? I was not able to spot any async-related stories in the CAPI backlog [1] We have a pending PR in cf-java-client [2] which is waiting for the async broker spec to be made official. Thanks in advance, Guillaume. [1] https://www.pivotaltracker.com/n/projects/966314 [2] https://github.com/cloudfoundry/cf-java-client/pull/282#issuecomment-115874984
On Fri, Jun 5, 2015 at 9:21 AM, James Bayer <jbayer(a)pivotal.io> wrote:
i'm very happy to see this work delivered as the 60 second limit has come
|
|
|
|
Re: Self-signed cert for registry failing on stager
Will Pragnell <wpragnell@...>
On the stager, the stager process is running with -insecureDockerRegistry-logLevel=info. Shouldn't theregistryname also be in stager arguments? No, that flag is simply a boolean switch [1]. The error:2015-08-27T18:43:00.50-0400 [STG/0] ERR builder exited with error: failed to fetch metadata from [theregistryname/tom/diegotest] with tag [latest] and insecure registries [] due to Invalid registry endpoint https://theregistryname/v1/: Gethttps://theregistryname/v1/_ping: x509: certificate signed by unknown authority. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry theregistryname` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/ theregistryname/ca.crt This message comes from `docker_app_lifecycle` [2]. It looks like that's called by the stager, but for some reason the stager isn't passing the right args through to it in your case. I'm afraid I don't know the Diego code well enough to speculate as to why, but if you want to continue tracing it through, you might want to start at [3], which is where the stager works out what args it will pass to `docker_app_lifecycle`. Hope that helps! [1]: https://github.com/cloudfoundry-incubator/stager/blob/master/cmd/stager/main.go#L82 [2]: https://github.com/cloudfoundry-incubator/docker_app_lifecycle [3]: https://github.com/cloudfoundry-incubator/stager/blob/master/backend/docker_backend.go#L321 On 28 August 2015 at 03:46, James Bayer <jbayer(a)pivotal.io> wrote: perhaps see if the lattice instructions for private registries have any
|
|
|
|
Re: Can't push app due to expired certificate
Christopher B Ferris <chrisfer@...>
Thanks for the quick response, guys!
Cheers, Christopher Ferris IBM Distinguished Engineer, CTO Open Cloud IBM Software Group, Open Technologies email: chrisfer@... twitter: @christo4ferris blog: http://thoughtsoncloud.com/index.php/author/cferris/ phone: +1 508 667 0402
----- Original message -----
|
|
|
|
Re: Can't push app due to expired certificate
Aleksey Zalesov
Thank you guys for fixing this issue!
I am able to push java apps again. -- View this message in context: http://cf-dev.70369.x6.nabble.com/Can-t-push-app-due-to-expired-certificate-tp1404p1415.html Sent from the CF Dev mailing list archive at Nabble.com.
|
|
|
|
Re: Can't push app due to expired certificate
James Bayer
i was just able to use the online version of the buildpack again after the
new cert started propagating. thanks to all who helped report and work on this so quickly! we're going to do a post-mortem on the issue to see why the certification expiration was missed. On Mon, Aug 31, 2015 at 8:33 AM, Kei YAMAZAKI <daydream.yamazaki(a)gmail.com> wrote: Disable ssl verification workaround works. -- Thank you, James Bayer
|
|
|
|
Re: Can't push app due to expired certificate
Mike Dalessio
Hi all,
A new cert has been pushed, and it looks like this issue is resolved. Please let me know if you're still experiencing SSL issues when downloading java-buildpack artifacts. On Mon, Aug 31, 2015 at 11:29 AM, Mike Dalessio <mdalessio(a)pivotal.io> wrote: Hi all,
|
|
|
|
Re: Can't push app due to expired certificate
Kei YAMAZAKI
Disable ssl verification workaround works.
https://github.com/kei-yamazaki/java-buildpack/commit/6b0551ce62f3be3b60e687775554f6f5b126cd0c It can push with -b option. cf push <APP-NAME> -b https://github.com/kei-yamazaki/java-buildpack.git\#disable-ssl-verification
|
|
|