Re: UAA: Level count of Spaces under an Org
Zongwei Sun
Hi Filip,
Currently, there is only one level of Org supported, so you just cannot create a child Org under an Org. People are asking if we can extend it and support multiple of Orgs. I am sure the whole implications of doing this. Any help would be appreciated. Thanks, Zongwei
|
|
Warden: staging error when pushing app
kyle havlovitz <kylehav@...>
I'm getting an error pushing any app during the staging step. The cf logs
returns only this: In the warden logs, there are a few suspect messages: {"timestamp": 1441985105.8883495, "message": "Exited with status 1 (35.120s): [[\"/opt/cloudfoundry/warden/warden/src/closefds/closefds\","log_level": "warn", "source": "Warden::Container::Linux", "data": { "handle": "18vf956il5v", "stdout": "", "stderr": "" }, "thread_id": 69890836968240, "fiber_id": 69890849112480, "process_id": 17063, "file": "/opt/cloudfoundry/warden/warden/lib/warden/container/spawn.rb", "lineno": 135, "method": "set_deferred_success" } { "timestamp": 1441985105.94083, "message": "Exited with status 23 (0.023s): [[\"/opt/cloudfoundry/warden/warden/src/closefds/closefds\","log_level": "warn", "source": "Warden::Container::Linux", "data": { "handle": "18vf956il5v", "stdout": "", "stderr": "rsync: link_stat \"/tmp/staged/staging_info.yml\" failed: No such file or directory (2)\nrsync error: some files/attrs were}, "thread_id": 69890836968240, "fiber_id": 69890849112480, "process_id": 17063, "file": "/opt/cloudfoundry/warden/warden/lib/warden/container/spawn.rb", "lineno": 135, "method": "set_deferred_success" } { "timestamp": 1441985106.0086887, "message": "Killing oom-notifier process", "log_level": "debug", "source": "Warden::Container::Features::MemLimit::OomNotifier", "data": { }, "thread_id": 69890836968240, "fiber_id": 69890848620580, "process_id": 17063, "file": "/opt/cloudfoundry/warden/warden/lib/warden/container/features/mem_limit.rb","lineno": 51, "method": "kill" } { "timestamp": 1441985106.0095143, "message": "Exited with status 0 (35.427s): [[\"/opt/cloudfoundry/warden/warden/src/closefds/closefds\","log_level": "warn", "source": "Warden::Container::Features::MemLimit::OomNotifier", "data": { "stdout": "", "stderr": "" }, "thread_id": 69890836968240, "fiber_id": 69890849112480, "process_id": 17063, "file": "/opt/cloudfoundry/warden/warden/lib/warden/container/spawn.rb", "lineno": 135, "method": "set_deferred_success" } Obviously something is misconfigured, but I'm not sure what. I don't know why the out of memory thing is appearing as the memory being used by the test app i've pushed is tiny (64M app with staticfile buildpack) and the dea config has resource.memory_mb set to 8 gigs and staging.memory_limit_mb set to 1 gigs. Is there some config I'm lacking that's causing this to fail?
|
|
Re: Consumer from doppler
Rohit Kumar
The noaa library also lets you consume data from the loggregator firehose.
toggle quoted messageShow quoted text
The firehose sample app <https://github.com/cloudfoundry/noaa/blob/master/firehose_sample/main.go> shows how you can do this. Rohit
On Fri, Sep 11, 2015 at 2:07 AM, yancey0623 <yancey0623(a)163.com> wrote:
Dear all!
|
|
Re: cloud_controller_ng process only uses 100% cpu
CF Runtime
MRI Ruby is not able to execute threads in parallel. There is a "Global
toggle quoted messageShow quoted text
Interpreter Lock" that prevents Ruby code in multiple threads from executing at the same time. Threads can still do IO operations, but it will never be able to use more than ~100% cpu. Joseph OSS Release Integration Team
On Fri, Sep 11, 2015 at 1:44 AM, Lyu yun <lvyun(a)huawei.com> wrote:
I'm using CF v195, Ruby v2.1.4;
|
|
[Bosh-lite] Can not recreate vm/job
Yitao Jiang
All,
i just recreate my router vm but failed with following execption. root(a)bosh-lite:~# bosh -n -d /vagrant/manifests/cf-manifest.yml recreate router_z1 Processing deployment manifest ------------------------------ Processing deployment manifest ------------------------------ You are about to recreate router_z1/0 Processing deployment manifest ------------------------------ Performing `recreate router_z1/0'... Director task 128 Started preparing deployment Started preparing deployment > Binding deployment. Done (00:00:00) Started preparing deployment > Binding releases. Done (00:00:00) Started preparing deployment > Binding existing deployment. Done (00:00:01) Started preparing deployment > Binding resource pools. Done (00:00:00) Started preparing deployment > Binding stemcells. Done (00:00:00) Started preparing deployment > Binding templates. Done (00:00:00) Started preparing deployment > Binding properties. Done (00:00:00) Started preparing deployment > Binding unallocated VMs. Done (00:00:00) Started preparing deployment > Binding instance networks. Done (00:00:00) Done preparing deployment (00:00:01) Started preparing package compilation > Finding packages to compile. Done (00:00:00) Started preparing dns > Binding DNS. Done (00:00:00) Started preparing configuration > Binding configuration. Done (00:00:02) Started updating job api_z1 > api_z1/0. Failed: Attaching disk '32a54912-9641-4c01-577c-99b09bb2d39c' to VM 'a5532a05-88e5-45aa-5022-ad4c6f81c4cc': Mounting persistent bind mounts dir: Mounting disk specific persistent bind mount: Running command: 'mount /var/vcap/store/cpi/disks/32a54912-9641-4c01-577c-99b09bb2d39c /var/vcap/store/cpi/persistent_bind_mounts_dir/a5532a05-88e5-45aa-5022-ad4c6f81c4cc/32a54912-9641-4c01-577c-99b09bb2d39c -o loop', stdout: '', stderr: 'mount: according to mtab /var/vcap/store/cpi/disks/32a54912-9641-4c01-577c-99b09bb2d39c is already mounted on /var/vcap/store/cpi/persistent_bind_mounts_dir/a5532a05-88e5-45aa-5022-ad4c6f81c4cc/32a54912-9641-4c01-577c-99b09bb2d39c as loop ': exit status 32 (00:10:40) Error 100: Attaching disk '32a54912-9641-4c01-577c-99b09bb2d39c' to VM 'a5532a05-88e5-45aa-5022-ad4c6f81c4cc': Mounting persistent bind mounts dir: Mounting disk specific persistent bind mount: Running command: 'mount /var/vcap/store/cpi/disks/32a54912-9641-4c01-577c-99b09bb2d39c /var/vcap/store/cpi/persistent_bind_mounts_dir/a5532a05-88e5-45aa-5022-ad4c6f81c4cc/32a54912-9641-4c01-577c-99b09bb2d39c -o loop', stdout: '', stderr: 'mount: according to mtab /var/vcap/store/cpi/disks/32a54912-9641-4c01-577c-99b09bb2d39c is already mounted on /var/vcap/store/cpi/persistent_bind_mounts_dir/a5532a05-88e5-45aa-5022-ad4c6f81c4cc/32a54912-9641-4c01-577c-99b09bb2d39c as loop ': exit status 32 -- Regards, Yitao jiangyt.github.io
|
|
cloud_controller_ng process only uses 100% cpu
Lyu yun
I'm using CF v195, Ruby v2.1.4;
CC VM using 4 core, I found ruby process(in fact is cloud_controller_ng process) can reach 104% cpu usage on average on the 4 cores, but can not reach more higher. Dose ruby 2.1.4 can parallel threads on multi core?
|
|
Consumer from doppler
Yancey
Dear all! How can i consumer all data from doppler? for example, in noaa consumer example, the GUID prama is required, it seems like that noaa can only read from a app.
|
|
Re: Starting Spring Boot App after deploying it to CF
Naga Rakesh
Did you make your jar/war executable? if not that would help.
toggle quoted messageShow quoted text
Just add the following below the dependency in pom <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins></build> spring-boot-maven-plugin will help make the jar/war executable Thanks, Venkata
On Thu, Sep 10, 2015 at 12:33 PM, Qing Gong <qinggong(a)gmail.com> wrote:
I built a Spring Boot App and using java -jar SpringBootApp.jar to run it,
|
|
Re: Starting Spring Boot App after deploying it to CF
James Bayer
i tried this simple getting-started guide [1] and it worked easily for me
toggle quoted messageShow quoted text
[2]. [1] http://spring.io/guides/gs/spring-boot/ [2] https://gist.github.com/jbayer/ecacb25822dddd44ba13
On Thu, Sep 10, 2015 at 12:33 PM, Qing Gong <qinggong(a)gmail.com> wrote:
I built a Spring Boot App and using java -jar SpringBootApp.jar to run it, --
Thank you, James Bayer
|
|
Re: Unsubscribe
Karan Makim
toggle quoted messageShow quoted text
-----Original Message-----
From: "Nithya Rajagopalan" <nith.r79(a)gmail.com> Sent: 11-09-2015 07:36 To: "cf-dev(a)lists.cloudfoundry.org" <cf-dev(a)lists.cloudfoundry.org>; "cf-eng(a)lists.cloudfoundry.org" <cf-eng(a)lists.cloudfoundry.org> Subject: [cf-dev] Unsubscribe
|
|
Re: UAA: Level count of Spaces under an Org
Filip Hanik
I think you mean Clod Controller and not UAA
toggle quoted messageShow quoted text
UAA supports nested group hierarchies. but it doesn't manage spaces and orgs.
On Thursday, September 10, 2015, Zongwei Sun <Zongwei.Sun(a)huawei.com> wrote:
Currently, there is only 1 level of Spaces under an Org with UAA. I heard
|
|
Re: Generic data points for dropsonde
Jim Park
One of the use cases that would benefit from this would be metrics sending.
Given that the current statsd protocol lacks the ability to supply metadata, such as job and index ids, some apps have taken to inserting what would otherwise be tagged data into the metric namespace. As an example: [image: Screenshot 2015-09-10 17.25.19.png] Endpoints like Datadog and OpenTSDB want key names that are not unique per instance. Graphite has wildcard semantics to accomodate this. But Datadog and OpenTSDB do not, and would need this implemented elsewhere in the delivery chain. StatsD doesn't provide a way to side-channel this information, and we don't want to implement custom parsing on consumers when we overload the metric key. I believe that this protocol will be a move towards providing a better means by which folks can supply metrics to the system without having to make convention decisions that have to be scraped out and transformed on the consumer side, as wasn't done above. A generic schema does not exist currently, and this appears to be a promising way of delivering that functionality. It would be much easier to use a generic schema to output to DataDog, OpenTSDB, Graphite, and others, than it would be to guess a schema from a flattened result (for example, "router__0" is understandably job and index, but what does the "vizzini_1_abcd" part represent? How would I parse this if I didn't have a human trace it back to source?). Thanks, Jim On Tue, Sep 8, 2015 at 7:29 AM Johannes Tuchscherer <jtuchscherer(a)pivotal.io> wrote: Ben,
|
|
CF Release Scripts Moved
Natalie Bennett
CF Release top-level scripts have been moved. The new location is under the
`scripts/` folder. Thanks, CF OSS Release Integration Team
|
|
Migrating from 10.244.0.34.xip.io to bosh-lite.com
Dan Wendorf
On the CAPI team, we were experiencing pain around the flakiness of xip.io
causing spurious test failures. We have registered bosh-lite.com, which is just an A record to 10.244.0.34, as well as for its subdomains (e.g. foo.bar.bosh-lite.com also resolves to 10.244.0.34). We would like to switch cf-release, cf-acceptance-tests, and smoke-tests to use bosh-lite.com exclusively, but wanted to check with the community to see if there are any compelling reasons not to switch. In the case that there's no reason not to switch, we wanted to give a little bit of a heads-up before making the change. In our testing of this, CATs run just fine. On our bosh-lite CF environment, we had to `cf delete-shared-domain 10.244.0.34.xip.io`, `cf target -o CATS-persistent-org && cf delete CATS-persistent-app`, and update the file in our CONFIG environment variable to make tests pass, but everything else "just worked". You can review these changes on the bosh_lite_com branches of the following repositories: cf-acceptance-tests <https://github.com/cloudfoundry/cf-acceptance-tests/tree/bosh_lite_com> cf-smoke-tests <https://github.com/cloudfoundry/cf-smoke-tests/tree/bosh_lite_com> cf-release <https://github.com/cloudfoundry/cf-release/tree/bosh_lite_com> sprout-capi <https://github.com/cloudfoundry-incubator/sprout-capi/tree/bosh_lite_com> (for those interested in configuring their bosh-lite via Sprout) Thoughts?
|
|
FYI: Survey: Cloud Foundry Service Broker Compliance
Michael Maximilien
Hi, all,
I've been working on some side projects with IBM Research to improve various aspects of CF. Some are pretty early research work and some are ready to graduate and presented to you. One of these relates to compliance of CF Service Brokers. We want to share this work and make it open. We are planning a series of meetings next week to socialize, open, and propose incubation. If interested then ping me directly. -------- In the mean time, Mohamed and Heiko, my colleagues from IBM Research, and I have put together a short (literally two minutes) survey to gage what would be the value of having Cloud Foundry (CF) service brokers compliance. https://www.surveymonkey.com/r/N37SD85 We'd be grateful if you could find some time to take this short survey before we start socializing the solution we have been working on. -------- Feel free to forward the survey link to others who may not be on this mailing list and that you think should also take the survey After we gather results, we will share a summary with everyone by next Thursday. All the best, Mohamed, Heiko, and Max ------ dr.max ibm cloud labs silicon valley, ca maximilien.org
|
|
CF-Abacus: IPMs
Michael Maximilien
Hi, all,
For anyone interested in CF-Abacus, we are having our IPMs on Friday's @ 10a PDT @ Pivotal HQ. I don't have a room reserve for tomorrow, but please ping me if you are interested in joining and I will add you to the invite list. For folks at Pivotal, the team will have our scrum right after standup near the ping pong area tomorrow, so feel free to swing by. Best, ------ dr.max ibm cloud labs silicon valley, ca maximilien.org
|
|
UAA: Level count of Spaces under an Org
Zongwei Sun
Currently, there is only 1 level of Spaces under an Org with UAA. I heard people talking about adding more levels of Spaces to it. I'd like to have some discussions if this really makes sense. Thanks.
|
|
Re: tcp-routing in Lattice
Atul Kshirsagar
Great! Give us your feedback after you have played around with tcp routing.
|
|
Re: tcp-routing in Lattice
Jack Cai
After ssh into the vagrant VM and digging into the processes/ports, I found
toggle quoted messageShow quoted text
out that in my previous attempt I was trying to map one additional port that was already occupied by garden (7777). Because of this conflict, haproxy gave up mapping all the ports. Once I changed 7777 to 17777, the issue went away. So the lesson-learn is to examine the ports that are already in use in the vagrant VM, and avoid using them. Jack
On Thu, Sep 10, 2015 at 2:18 PM, Jack Cai <greensight(a)gmail.com> wrote:
Thanks Atul and Marco for your advice.
|
|
Starting Spring Boot App after deploying it to CF
Qing Gong
I built a Spring Boot App and using java -jar SpringBootApp.jar to run it, the code works as expected. The System.out printed as expected.
public static void main(String[] args) { SpringApplication.run(Application.class, args); System.out.println("Spring Boot Test Message"); } However, when deployed in CF using cf push myApp -p SpringBootApp.jar, the main() was not executed. I have tried using META-INF/MANIFEST.MF to include the Main-Class, or using config/java-main.yml, or manifest.yml to include java_main_class, none worked. The app just would not start. Do I need to do anything else to trigger the app to start its main method? Thanks!
|
|