container cannot communicate with the host
Youzhi Zhu
Hi all
I have an app A and a service B, service B is running on the dea server(ip 10.0.0.254), app A need to connect with service B through tcp, it works normally in my LAN, but when I push A to cf, it cannot connect to B, then I execute bin/wsh to get into the container and ping the host ip, it's unreachable, as below: *root(a)18mkbd9n808:~# ping 10.0.0.254PING 10.0.0.254 (10.0.0.254) 56(84) bytes of data.From 10.0.0.254 icmp_seq=1 Destination Port UnreachableFrom 10.0.0.254 icmp_seq=2 Destination Port Unreachable^C--- 10.0.0.254 ping statistics ---2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1002ms* But if I ping another host in the LAN. it can be reached!!! *root(a)18mkbd9n808:~# ping 10.0.0.253PING 10.0.0.253 (10.0.0.253) 56(84) bytes of data.64 bytes from 10.0.0.253 <http://10.0.0.253>: icmp_seq=1 ttl=63 time=1.60 ms64 bytes from 10.0.0.253 <http://10.0.0.253>: icmp_seq=2 ttl=63 time=0.421 ms^C--- 10.0.0.253 ping statistics ---2 packets transmitted, 2 received, 0% packet loss, time 1001msrtt min/avg/max/mdev = 0.421/1.013/1.606/0.593 ms* It's wired!!! my cf-release is cf-175 and I have only one dea server.Does anyone met this situation before? thanks! |
|
Re: Setting up API endpoint failed in Local CF
Balaramaraju JLSP <balaramaraju@...>
Hi All,
I found the issue , got the details from deploy.yml thanks Balaramaraju On Fri, May 22, 2015 at 10:44 AM, Balaramaraju JLSP <balaramaraju(a)gmail.com> wrote: Hi All, -- J L S P Balaramaraju |
|
Setting up API endpoint failed in Local CF
Balaramaraju JLSP <balaramaraju@...>
Hi All,
using the *https://github.com/yudai/cf_nise_installer <https://github.com/yudai/cf_nise_installer>* i install local CF and able to the start services ".\scripts\start.sh" logs:- All processes have been started! -u admin -p c1oudc0w --skip-ssl-validation'ip.io Download CF CLI from https://github.com/cloudfoundry/cli but while setting up the endpiont is it failing vagrant(a)vagrant-ubuntu-trusty-64:/vagrant$ cf api --skip-ssl-validation https://api.vagrant-ubuntu-tip.io-64.io Setting api endpoint to https://api.vagrant-ubuntu-trusty-64.io... FAILED Error performing request: Get https://api.vagrant-ubuntu-trusty-64.ip.io/v2/info: dial tcp 50.21.180.100:443: i/o timeout any help is appreciated . -- Balaramaraju |
|
Re: cf-release v209 published
James Bayer
skinny buildpacks refer to each buildpack no longer shipping old
unsupported or insecure versions of runtimes. you can still customize the buildpacks to include older runtimes by building the buildpack yourself with the admin buildpack feature. On Thu, May 21, 2015 at 7:34 AM, Long Nguyen <long.nguyen11288(a)gmail.com> wrote: Wooot! Thanks James. Is skinny just having latest 2 version of language? -- Thank you, James Bayer |
|
Re: cf-release v209 published
Long Nguyen
Wooot! Thanks James. Is skinny just having latest 2 version of language?
toggle quoted message
Show quoted text
On May 21, 2015 at 1:42:11 AM, James Bayer (jbayer(a)pivotal.io) wrote:
more info is coming soon, we don't have all of the release notes published yet because dieu and shannon are out of the office. i wanted to share the great news that the new skinny buildpacks reduced the size of cf-release from 5.2gb -> 3.5gb! the "what's in the deploy" file is awaiting approval b/c of mailman limits. thanks buildpacks team! -- Thank you, James Bayer _______________________________________________ cf-dev mailing list cf-dev(a)lists.cloudfoundry.org https://lists.cloudfoundry.org/mailman/listinfo/cf-dev |
|
Re: cf-release v209 published
Wayne E. Seguin
That's an incredible savings and excellent to see, thanks Buildpacks team!
toggle quoted message
Show quoted text
:) On Thu, May 21, 2015 at 1:42 AM, James Bayer <jbayer(a)pivotal.io> wrote:
more info is coming soon, we don't have all of the release notes published |
|
cf-release v209 published
James Bayer
more info is coming soon, we don't have all of the release notes published
yet because dieu and shannon are out of the office. i wanted to share the great news that the new skinny buildpacks reduced the size of cf-release from 5.2gb -> 3.5gb! the "what's in the deploy" file is awaiting approval b/c of mailman limits. thanks buildpacks team! -- Thank you, James Bayer |
|
cf-release v209 published
James Bayer
more info is coming soon, we don't have all of the release notes published
yet because dieu and shannon are out of the office. i wanted to share the great news that the new skinny buildpacks reduced the size of cf-release from 5.2gb -> 3.5gb! thanks buildpacks team! -- Thank you, James Bayer |
|
Buildpacks PMC - 2015-05-20 Notes
Mike Dalessio
Howdy all,
We had a meeting of the Buildpacks PMC today, which was only lightly attended and we adjourned quickly. Permanent notes are at: https://github.com/cloudfoundry/pmc-notes/blob/master/Buildpacks/2015-05-20-buildpacks.md but I've helpfully also included a snapshot of those notes below. Happy Wednesday! -mike --- *# Buildpacks PMC Meeting 2015-05-20* *## Agenda* 1. Update on Java Buildpack (Ryan Morgan) 2. Update on core Buildpacks (Mike Dalessio) 3. Open Discussion *## Attendees* * Chip Childers, Cloud Foundry Foundation * Mike Dalessio, Pivotal (PMC lead) * Matthew Sykes, IBM *## Update on Java Buildpack (Ryan Morgan)* * Added support for Wily Introscope. * Memory calculator re-written in Go and supports java memory configuration at startup time rather than staging time. Some details on this feature were posted to cf-dev by Chris Frost last week. * Team currently discussing how to 'pin' buildpack dependency versions to allow for repeatable offline buildpack creation. * Team also discussing moving from Jenkins to Concourse for CI. Mike will follow up with the team to discuss how `buildpack-packager` might be used to pin cached dependencies. *## Update on core Buildpacks (Mike Dalessio)* The [binary buildpack][binary] was added into `cf-release` last week ([PR here][binary-pr]), and moved into the `cloudfoundry` github org. This is the same idea as what's commonly called a "null" buildpack, where developers can simply execute a binary at runtime. The [staticfile buildpack][static] was added into `cf-release` last week ([PR here][static-pr]), and moved into the `cloudfoundry` github org. Originally created by Dr. Nic, this buildpacks allows a static website to be published behind nginx, and for nginx to be configured in a few interesting ways. At long last, [skinny buildpacks][skinny] made it into `cf-release` ([PRs here][skinny-pr]). There was also some interesting discussion on the mailing lists, both [old][skinny-thread1] and [new][skinny-thread2]. Notable near-term goals: * ability to generate and test CF rootfs-specific binaries; and tooling for CF operators to do the same * work more closely with the java-buildpacks team *## Open Discussion* Mike: Just want to note that IBM open-sourced their linux-based ASP.NET/Mono buildpack this week. Looks awesome! https://github.com/cloudfoundry-community/asp.net5-buildpack --- [binary]: https://github.com/cloudfoundry/binary-buildpack [binary-pr]: https://github.com/cloudfoundry/cf-release/pull/677 [static]: https://github.com/cloudfoundry/staticfile-buildpack [static-pr]: https://github.com/cloudfoundry/cf-release/pull/668 [skinny]: https://github.com/cloudfoundry-incubator/buildpack-packager/issues/4 [skinny-pr]: https://github.com/cloudfoundry/cf-release/pulls?utf8=%E2%9C%93&q=is%3Apr+buildpack+skinny+ [skinny-thread1]: https://groups.google.com/a/cloudfoundry.org/forum/#!searchin/vcap-dev/addressing$20buildpack/vcap-dev/1HmGK4wU3Rc/lk186OOtdbMJ [skinny-thread2]: http://lists.cloudfoundry.org/pipermail/cf-dev/2015-May/000005.html |
|
Re: [vcap-dev] Java OOM debugging
Daniel Mikusa
On Thu, May 14, 2015 at 10:23 AM, Daniel Jones <
daniel.jones(a)engineerbetter.com> wrote: Hi Lari,Since it seems activity related, have you tried monitoring the number of threads in the JVM? While you can cap the number of threads Tomcat uses for processing requests, I don't believe that you can cap the number of threads it's possible to create in the JVM. The reason I mention this is because each thread causes the amount of memory required to go up by the thread stack size (Xss * <threads> = total thread memory). Perhaps as activity increases, so does the thread count and that's pushing you over the limit. Are you setting a custom -Xss value or using the default? From memory, the default is pretty large. If you're not using a custom one, you might try a smaller one, like 256k and see if that has any impact on the problem. Alternatively, you could adjust the memory weightings in the build pack so that heap consumes a smaller amount of the total memory and there's more memory available for native / stack and other memory. I'm not sure I follow your question, but in terms of NIO I suspect the JVM is going to handle memory allocation not Tomcat. Given that, I it should happen just like any other Java code that uses the NIO. APR is unlikely to be an issue, see my next comment. Is there a way of telling from pmap whether pages are being used for NIOUnless you compile the APR native library and include it with your version of the build pack, Tomcat's not going to use it. It'll use NIO by default, with Tomcat version 8. You can confirm by looking at the logs when you start your app. One of the first things it logs will be the protocol handler. This is from a test app, where it's using NIO. Ex: ``` [CONTAINER] org.apache.coyote.http11.Http11NioProtocol INFO Initializing ProtocolHandler ["http-nio-63227"] ``` Dan
|
|
Re: [vcap-dev] Java OOM debugging
Daniel Mikusa
On Thu, May 14, 2015 at 2:59 PM, Lari Hotari <Lari(a)hotari.net> wrote:
On 15-05-14 10:23 AM, Daniel Jones wrote:Sorry for the duplicate. Resending as my first reply didn't go back to theThanks again for your input. Have you seen this problem with versionsI don't have proper data gathered from older than 8.0.20, so I cannot list. Since the Connector in server.xml is not specifically setting an implementation it should use the NIO connector, which is the default in Tomcat 8. A quick test on PWS confirmed this for me. https://github.com/cloudfoundry/java-buildpack/blob/master/resources/tomcat/conf/server.xml#L22 It would be interesting to see if the BIO or APR connectors have similar issues. BIO would be easy to test, just add `protocol="org.apache.coyote.http11.Http11Protocol"` to the Connector tag on line #22. APR would be trickier as you'd need to compile the native library and pull that into the environment. Dan
|
|
Announcing cf-riak-cs-release v10
Marco Nicosia
On behalf of the CF Core Services team, I am pleased to announce v10 of
cf-riak-cs-release <https://github.com/cloudfoundry/cf-riak-cs-release>. cf-riak-cs-release <https://github.com/cloudfoundry/cf-riak-cs-release> is a BOSH release that delivers an S3-compatible, highly available object store-as-a-service for Cloud Foundry. Through Cloud Foundry, users can provision S3-style buckets and deliver unique credentials to bound applications. v10 is a minor update, mostly enabling additional security and some additional documentation: - Default to SSL endpoints for communication between Cloud Controller and Broker. 93485814 <https://www.pivotaltracker.com/story/show/93485814> - Improve documentation around contributions. 90029504 <https://www.pivotaltracker.com/story/show/90029504> - Expose ssl_enabled flag to enforce SSL. 80055322 <https://www.pivotaltracker.com/story/show/93485814> - Addition of a small utility script to run the broker-registrar errand on bosh-lite. - Deployment manifest stub changes We've also promoted the domain properties to top-level properties in manifests: - domain is now .properties.domain - meta.cf.apps_domain is now .properties.app_domains.[0] All this and more can be found on Github <https://github.com/cloudfoundry/cf-riak-cs-release> and bosh.io <http://bosh.io/releases/github.com/cloudfoundry/cf-riak-cs-release?version=10> <http:>. -- Marco Nicosia Product Manager Pivotal Software, Inc. |
|
Re: [vcap-dev] cfenv, inspired by cf shell helper
Mike Youngstrom <youngm@...>
I finally got around to using this tool. Don't know why it took me so
toggle quoted message
Show quoted text
long. :) Nice work Ben! Mike On Mon, Jun 2, 2014 at 9:57 AM, Ben Hale <bhale(a)gopivotal.com> wrote:
After reading Dan's post |
|
Utilities PMC - 2015-05-19 Notes
Mike Dalessio
Hi all,
We had a meeting of the Utilities PMC today, permanent notes are at: https://github.com/cloudfoundry/pmc-notes/blob/master/Utilities/2015-05-19-utilities.md I've copied the notes below. -mike ---- *# Utilities PMC Meeting 2015-05-19* *## Agenda* 1. Update on CI tools (Mike Dalessio) 2. Update on CLI (Greg Oehman) 3. Update on Eclipse plugin and Java tools (Ryan Morgan) 4. Proposal to move `pivotal-cf-experimental/jibber_jabber` into `cloudfoundry-incubator` 5. Incubating HP projects: Next steps 6. Open Discussion *## Attendees* - Chip Childers, Cloud Foundry Foundation - Mike Dalessio, Pivotal (PMC lead) - Gert Drapers, HP - Ryan Morgan, Pivotal *## Update on CI tools (Mike Dalessio)* The Toolsmiths team is considering two new tracks of work: __"krafa"__ is a simple web server and CLI tool used to manage a pool of CF environments. Pipelines can "reserve" an environment for the duration of its build, and then release it back into the pool. Environments can have tags that can be filtered against in a reservation query. We're also considering a track of work that would examine a project's source tree, discover dependencies (and locked versions of those dependencies), and then check a NIST database for vulnerabilities in those dependencies. This may end up as a docker image that can be added to a Concourse pipeline, and may be extended to include other security checks. __Chip__ suggested that we should talk to Intel about their tools as well. Chip will try to find the right contact there for a conversation. __Gert__ asked about code-style enforcement tools on C# projects. He will send some information on what HP is using. *## Update on CLI (Greg Oehman)* Agenda item skipped, as both Greg and Michael Fraenkel are traveling. *## Update on Eclipse plugin and Java tools (Ryan Morgan)* * Eclipse tooling 1.8.2 released last week, enabling JRebel remoting. Was demoed at summit. - Video is being made to explain how to use JRebel with a CF app. URL forthcoming when it's done. * Proposal for moving the plugin to the Eclipse Foundation has been completed, awaiting input from Chip. * Started work on what will be the 1.8.3 release - Exploring using Diego SSH access to debug without a sidecar process. *## Proposal to move `pivotal-cf-experimental/jibber_jabber` into `cloudfoundry-incubator`* `jibber_jabber` provides i18n support to the CLI. It's being proposed to incubate it. Chip weighed in that we're still unwinding things from the Foundation spinout, so let's just move it in and move on. Action item: - [ ] Mike will move this repo into `cloudfoundry-incubator` *## Incubating HP projects: Next steps* Several repositories are being incubated as of CF Summit: * [Visual Studio plugin][vsp] * [MSBuild tasks][msbuild] * [.NET SDK][sdk] After some discussion, it was decided to put all three repos under a single umbrella project. [vsp]: https://github.com/cloudfoundry-incubator/cf-vs-extension [msbuild]: https://github.com/cloudfoundry-incubator/cf-msbuild-tasks [sdk]: https://github.com/cloudfoundry-incubator/cf-dotnet-sdk Chip provided some context around what a "project" is, in that he views it as a backlog of work, and not necessarily a 1-to-1 relationship with a code repository. HP's team will work via a distributed committer model for the time being. Gert will provide details around who is the PM, and who the approved committers are. Mike will create a public Pivotal Tracker project, and Chip will create a Github team for the repositories. HP will maintain downstream forks of the incubating repositories for now, so that they can sign their binaries for their product. Action Items: - [ ] Gert to provide a list of approved committers - [ ] Mike Dalessio to create a public Tracker project and add people - [ ] Chip to create a Github team to commit to the cf-incubator org repositories *## Open Discussion* No other topics raised. |
|
Re: Purge files on NFS or S3?
CF Runtime
Hi John,
James is correct, the resources do not get cleaned up. The system does not have any runtime dependencies on any of them however. They are used when pushing an app to prevent the user from having to push a large file that the system has already seen. You should be able to delete the contents of the resources blobstore. This is the path defined by properties.cc.resource_pool.resource_directory_key in your deployment manifest. Removing anything in the buildpacks, droplets, or packages folders can cause problems in the running system. - CF Runtime Team john, i think the resource files may grow forever right now withoutfind out more.wrote: so needfar, and I wonder if there's a systematic way to purge files we don't (or how do I know I don't need them)? |
|
Re: cloud foundry
James Bayer
i strongly recommend that you move on to cf v2 for new deployments. cf v1
toggle quoted message
Show quoted text
has not been actively maintained for quite some time. On Tue, May 19, 2015 at 1:05 AM, 张祥 <zx1084583686(a)gmail.com> wrote:
when i install the cloudfoundry v1,i met a problem,could you help me ? --
Thank you, James Bayer |
|
Re: Reg Mysql in pivotal cloud with plan 1GB with 400 connections
James Bayer
this email list is about cloud foundry oss, not pivotal commercial
toggle quoted message
Show quoted text
software. you can always open a support case at pivotal.io/support for commercial product inquiries. the pcf mysql product is based on the oss cf mysql [1]. for each bosh deployment of mysql you get a mysql compatible cluster. the cluster uses mariadb and galera for the database nodes. the default configurations for tunable parameters are listed in the spec file: https://github.com/cloudfoundry/cf-mysql-release/blob/master/jobs/mysql/spec what those values should be for your deployment and application workloads are going to be highly dependent on what tradeoffs you want to make. the service plan you use should indicate the number of connections available with your plan, and how you configure max connections in your application typically depends on the database access framework you use. [1] github.com/cloudfoundry/cf-mysql-release On Tue, May 19, 2015 at 12:27 AM, Dew Agarwal <dew.agarwal(a)gmail.com> wrote:
Hi Team, --
Thank you, James Bayer |
|
Re: Limit application instances number
Pablo Alonso Rodriguez <palonsoro@...>
Thank you for your answers.
|
|
Re: cloud foundry
Takeshi Morikawa
Cloud Foundry v1 (dev_setup) is no longer supported
toggle quoted message
Show quoted text
http://grokbase.com/t/cloudfoundry.org/vcap-dev/13bd5tmwh2/got-error-error-installing-chef-during-vcap-installation 2015-05-19 17:05 GMT+09:00 张祥 <zx1084583686(a)gmail.com>: when i install the cloudfoundry v1,i met a problem,could you help me ? |
|
cloud foundry
张祥 <zx1084583686 at gmail.com...>
when i install the cloudfoundry v1,i met a problem,could you help me ?
[image: 内嵌图片 1] |
|