Re: Security group rules to allow HTTP communication between 2 apps deployed on CF
Naveen Asapu
Hi Matthew Sykes,
Actually I'm trying to monitor usage of app in bluemix. for that i'm using cf-abacus in the example steps this command also there. can u suggest how to monitor app usage using curl and cloudfoundary -- Thanks Naveen Asapu
|
|
Re: Removing support for v1 service brokers
Dieu Cao <dcao@...>
We've found NATS to be unstable under certain conditions, temporary network
toggle quoted messageShow quoted text
interruptions or network instability, around the client reconnection logic. We've seen that it could take anywhere from a few seconds to half an hour to reconnect properly. We spent a fair amount of time investigating ways to improve the reconnection logic and have made some improvements but believe that it's best to work towards not having this dependency. You can find more about this in the stories in this epic [1]. Mike, in addition to removing the NATS dependency, this will remove the burden on the team, almost a weekly fight, in terms of maintaining backwards compatibility for the v1 broker spec any time we work on adding functionality to the service broker api. I'll work with the team in the next couple of weeks on specific stories and I'll link to it here. [1] https://www.pivotaltracker.com/epic/show/1440790
On Tue, Sep 22, 2015 at 10:07 PM, Mike Youngstrom <youngm(a)gmail.com> wrote:
Thanks for the announcement.
|
|
Re: Error 400007: `stats_z1/0' is not running after update
iamflying
It frequently logs the message below. It seems not helpful.
toggle quoted messageShow quoted text
{"timestamp":1442987404.9433253,"message":"collector.started","log_level":"info","source":"collector","data":{},"thread_id":70132569199380,"fiber_id":70132570371720,"process_id":19392,"file":"/var/vcap/packages/collector/lib/collector/config.rb","lineno":45,"method":"setup_logging"} the only possible error message from the bosh debug log is "ntp":{"message":"bad ntp server"} But I don't think, it is related to the failure of stats_z1 updating. I, [2015-09-23 04:55:59 #2392] [canary_update(stats_z1/0)] INFO -- DirectorJobRunner: Checking if stats_z1/0 has been updated after 63.333333333333336 seconds D, [2015-09-23 04:55:59 #2392] [canary_update(stats_z1/0)] DEBUG -- DirectorJobRunner: SENT: agent.7d3452bd-679e-4a97-8514-63a373a54ffd {"method":"get_state","arguments":[],"reply_to":"director.c5b97fc1-b972-47ec-9412-a83ad240823b.473fda64-6ac3-4a53-9ebc-321fc7eabd7a"} D, [2015-09-23 04:55:59 #2392] [] DEBUG -- DirectorJobRunner: RECEIVED: director.c5b97fc1-b972-47ec-9412-a83ad240823b.473fda64-6ac3-4a53-9ebc-321fc7eabd7a {"value":{"properties":{"logging":{"max_log_file_size":""}},"job":{"name":"stats_z1","release":"","template":"fluentd","version":"4c71c87bbf0144428afacd470e2a5e32b91932fc","sha1":"b141c6037d429d732bf3d67f7b79f8d7d80aac5d","blobstore_id":"d8451d63-2e4f-4664-93a8-a77e5419621d","templates":[{"name":"fluentd","version":"4c71c87bbf0144428afacd470e2a5e32b91932fc","sha1":"b141c6037d429d732bf3d67f7b79f8d7d80aac5d","blobstore_id":"d8451d63-2e4f-4664-93a8-a77e5419621d"},{"name":"collector","version":"889b187e2f6adc453c61fd8f706525b60e4b85ed","sha1":"f5ae15a8fa2417bf984513e5c4269f8407a274dc","blobstore_id":"3eeb0166-a75c-49fb-9f28-c29788dbf64d"},{"name":"metron_agent","version":"e6df4c316b71af68dfc4ca476c8d1a4885e82f5b","sha1":"42b6d84ad9368eba0508015d780922a43a86047d","blobstore_id":"e578bfb0-9726-4754-87ae-b54c8940e41a"},{"name":"apaas_collector","version":"8808f0ae627a54706896a784dba47570c92e0c8b","sha1":"b9a63da925b40910445d592c70abcf4d23ffe84d","blobstore_id":"3e6fa71a-07f7-446a-96f4-3caceea02f2f"}]},"packages":{"apaas_collector":{"name":"apaas_collector","version":"f294704d51d4517e4df3d8417a3d7c71699bc04d.1","sha1":"5af77ceb01b7995926dbd4ad7481dcb7c3d94faf","blobstore_id":"fa0e96b9-71a6-4828-416e-dde3427a73a9"},"collector":{"name":"collector","version":"ba47450ce83b8f2249b75c79b38397db249df48b.1","sha1":"0bf8ee0d69b3f21cf1878a43a9616cb7e14f6f25","blobstore_id":"722a5455-f7f7-427d-7e8d-e562552857bc"},"common":{"name":"common","version":"99c756b71550530632e393f5189220f170a69647.1","sha1":"90159de912c9bfc71740324f431ddce1a5fede00","blobstore_id":"37be6f28-c340-4899-7fd3-3517606491bb"},"fluentd-0.12.13":{"name":"fluentd-0.12.13","version":"71d8decbba6c863bff6c325f1f8df621a91eb45f.1","sha1":"2bd32b3d3de59e5dbdd77021417359bb5754b1cf","blobstore_id":"7bc81ac6-7c24-4a94-74d1-bb9930b07751"},"metron_agent":{"name":"metron_agent","version":"997d87534f57cad148d56c5b8362b72e726424e4.1","sha1":"a21404c50562de75000d285a02cd43bf098bfdb9","blobstore_id":"6c7cf72c-9ace-40a1-4632-c27946bf631e"},"ruby-2.1.6":{"name":"ruby-2.1.6","version":"41d0100ffa4b21267bceef055bc84dc37527fa35.1","sha1":"8a9867197682cabf2bc784f71c4d904bc479c898","blobstore_id":"536bc527-3225-43f6-7aad-71f36addec80"}},"configuration_hash":"a73c7d06b0257746e95aaa2ca994c11629cbd324","networks":{"private_cf_subnet":{"cloud_properties":{"name":"random","net_id":"1e1c9aca-0b5a-4a8f-836a-54c18c21c9b9","security_groups":["az1_cf_management_secgroup_bosh_cf_ssh_cf2","az1_cf_management_secgroup_cf_private_cf2","az1_cf_management_secgroup_cf_public_cf2"]},"default":["dns","gateway"],"dns":["192.168.110.8","133.162.193.10","133.162.193.9","192.168.110.10"],"dns_record_name":"0.stats-z1.private-cf-subnet.cf-apaas.microbosh","gateway":"192.168.110.11","ip":"192.168.110.204","netmask":"255.255.255.0"}},"resource_pool":{"cloud_properties":{"instance_type":"S-1"},"name":"small_z1","stemcell":{"name":"bosh-openstack-kvm-ubuntu-trusty-go_agent","version":"2989"}},"deployment":"cf-apaas","index":0,"persistent_disk":0,"persistent_disk_pool":null,"rendered_templates_archive":{"sha1":"0ffd89fa41e02888c9f9b09c6af52ea58265a8ec","blobstore_id":"4bd01ae7-a69a-4fe5-932b-d98137585a3b"},"agent_id":"7d3452bd-679e-4a97-8514-63a373a54ffd","bosh_protocol":"1","job_state":"failing","vm":{"name":"vm-12d45510-096d-4b8b-9547-73ea5fda00c2"},"ntp":{"message":"bad ntp server"}}}
On Wed, Sep 23, 2015 at 5:13 PM, Amit Gupta <agupta(a)pivotal.io> wrote:
Please check the file collector/collector.log, it's in a subdirectory of
|
|
Re: Error 400007: `stats_z1/0' is not running after update
Amit Kumar Gupta
Please check the file collector/collector.log, it's in a subdirectory of
the unpacked log tarball. On Wed, Sep 23, 2015 at 12:01 AM, Guangcai Wang <guangcai.wang(a)gmail.com> wrote: Actually, I checked the two files in status_z1 job VM. I did not find any
|
|
Re: Error 400007: `stats_z1/0' is not running after update
iamflying
Actually, I checked the two files in status_z1 job VM. I did not find any
toggle quoted messageShow quoted text
clues. Attached for reference.
On Wed, Sep 23, 2015 at 4:54 PM, Amit Gupta <agupta(a)pivotal.io> wrote:
If you do "bosh logs stats_z1 0 --job" you will get a tarball of all the
|
|
Re: Error 400007: `stats_z1/0' is not running after update
Amit Kumar Gupta
If you do "bosh logs stats_z1 0 --job" you will get a tarball of all the
logs for the relevant processes running on the stats_z1/0 VM. You will likely find some error messages in the collectors stdout or stderr logs. On Tue, Sep 22, 2015 at 11:30 PM, Guangcai Wang <guangcai.wang(a)gmail.com> wrote: It does not help.
|
|
Re: Introducing CF-Swagger
Thanks Mohamed and Max for sharing this great work. Besides the supporting
an official TCK, the cf-swagger repo seems great to ease the delivery of acceptance tests as part of a a service broker release (e.g. scheduled through bosh errands). +1 for formal description of CF APIs allowing partly? automated client generation, and lowering the maintenance burden w.r.t; existing CC API v2 manually maintained clients (e.g. cf-java-client, go-cfclient, nodejs, php clients...). I had also suggested swagger for consideration in the CC API v3 [1]. It seems the CAPI team was initially considering Swagger as a documentation media for CC API v3 into [2] . Dieu, would it be possible to share the "Doc of comparisons of pros and cons of different options" at [3] which does not yet seem public ? Thanks, Guillaume. [1] https://github.com/cloudfoundry/cc-api-v3-style-guide/issues/46 [2] https://www.pivotaltracker.com/n/projects/966314/stories/99237980 [3] https://docs.google.com/a/pivotal.io/document/d/1aVOZfd0n7BOLuJvK0_Sgie9Y3D7GT6NUF4V-bVG-BCs/edit?usp=sharing On Tue, Sep 22, 2015 at 9:12 PM, Michael Maximilien <maxim(a)us.ibm.com> wrote: Since I know various folks are looking at better API docs. I went ahead
|
|
Re: Error 400007: `stats_z1/0' is not running after update
iamflying
It does not help.
toggle quoted messageShow quoted text
I always see the "collector" process bouncing between "running" and "does not exit" when I use "monit summary" in a while loop. Who knows how to get the real error when the "collector" process is not failed? Thanks.
On Wed, Sep 23, 2015 at 4:11 PM, Tony <Tonyl(a)fast.au.fujitsu.com> wrote:
My approach is to login on the stats vm and sudo, then
|
|
Re: Error 400007: `stats_z1/0' is not running after update
Tony
My approach is to login on the stats vm and sudo, then
run "monit status" and restart the failed processes or simply restart all processes by running "monit restart all" wait for a while(5~10 minutes at most) If there is still some failed process, e.g. collector then run ps -ef | grep collector and kill the processes in the list(may be you need to run kill -9 sometimes) then "monit restart all" Normally, it will fix the issue "Failed: `XXX' is not running after update" -- View this message in context: http://cf-dev.70369.x6.nabble.com/cf-dev-Error-400007-stats-z1-0-is-not-running-after-update-tp1901p1902.html Sent from the CF Dev mailing list archive at Nabble.com.
|
|
Error 400007: `stats_z1/0' is not running after update
iamflying
Hi all,
I am installing cf 212 with stemcell 2989. However, I got the failure on status_z1. Started preparing configuration > Binding configuration. Done (00:00:04) Started updating job ha_proxy_z1 > ha_proxy_z1/0 (canary). Done (00:00:55) Started updating job nats_z1 > nats_z1/0 (canary). Done (00:00:56) Started updating job etcd_z1 > etcd_z1/0 (canary). Done (00:01:35) Started updating job stats_z1 > stats_z1/0 (canary). Failed: `stats_z1/0' is not running after update (00:10:26) Error 400007: `stats_z1/0' is not running after update. I checked the debug log. But I cannot find any useful information. Attached for reference. I also checked the log in stats_z1 job VM. But I cannot find any error message there. Any suggestion to investigate the issue? Thanks.
|
|
Re: Removing support for v1 service brokers
Mike Youngstrom <youngm@...>
Thanks for the announcement.
toggle quoted messageShow quoted text
To be clear is this announcement to cease support for the old v1 brokers or is this to eliminate support for the v1 api in the CC? Does the v1 CC code depend on NATS? None of my custom v1 brokers depend on NATS. Mike
On Tue, Sep 22, 2015 at 6:01 PM, Dieu Cao <dcao(a)pivotal.io> wrote:
Hello all,
|
|
Re: F5 Load Balancer Configuration for Cloud Foundry Loggregator
Mike Youngstrom <youngm@...>
If you are sharing a vip for http and websocket then 443 would be correct.
But Anthony, you can try creating a layer 4 virtual server on 4443 that goes to the same pool on the back end and configure the CC to use that port instead for loggregator connections. Mike On Tue, Sep 22, 2015 at 10:32 PM, Johannes Hiemer <jvhiemer(a)gmail.com> wrote: Are you sure your logregator endpoint is configured on 443 and not 4443?
|
|
Re: F5 Load Balancer Configuration for Cloud Foundry Loggregator
Johannes Hiemer <jvhiemer@...>
Are you sure your logregator endpoint is configured on 443 and not 4443?
toggle quoted messageShow quoted text
On 23.09.2015, at 05:26, Anthony <lee.apc(a)gmail.com> wrote:
|
|
Re: F5 Load Balancer Configuration for Cloud Foundry Loggregator
Anthony
Yep. --recent works. Other cf commands and cf curl also works.
toggle quoted messageShow quoted text
It definitely is the websockets for loggregator. Just not sure what the right config for F5 (version 10.4) should be. Regards, Anthony
On Sep 22, 2015, at 9:53 PM, Rohit Kumar <rokumar(a)pivotal.io> wrote:
Does `cf logs --recent` work for you? The recent logs request goes over HTTP. If that goes through that means only the websocket requests to loggregator servers are a problem. Rohit On Tue, Sep 22, 2015 at 8:18 PM, Anthony <lee.apc(a)gmail.com> wrote:
|
|
Re: F5 Load Balancer Configuration for Cloud Foundry Loggregator
Rohit Kumar
Does `cf logs --recent` work for you? The recent logs request goes over
toggle quoted messageShow quoted text
HTTP. If that goes through that means only the websocket requests to loggregator servers are a problem. Rohit
On Tue, Sep 22, 2015 at 8:18 PM, Anthony <lee.apc(a)gmail.com> wrote:
Thanks Mike! Unfortunately, upgrading is not an option since its a really
|
|
Re: DEA/Warden staging error
Matthew Sykes <matthew.sykes@...>
Based on your description, it doesn't sound like warden networking or the
warden iptables chains are your problem. Are you able to share all of your routes and chains via a gist? route -n ifconfig -a iptables -L -n -v -t filter iptables -L -n -v -t nat iptables -L -n -v -t mangle Any kernel messages that look relevant in the message buffer (dmesg)? Have you tried doing a network capture to verify the packets are look the way you expect? Are you sure your host routing rules are good? Do the warden subnets overlap with any network accessible to the host? Based on previous notes, it doesn't sound like this is a standard deployment so it's hard to say what could be impacting you. On Tue, Sep 22, 2015 at 1:08 PM, Kyle Havlovitz (kyhavlov) < kyhavlov(a)cisco.com> wrote: I didn’t; I’m still having this problem. Even adding this lenient security -- Matthew Sykes matthew.sykes(a)gmail.com
|
|
Re: F5 Load Balancer Configuration for Cloud Foundry Loggregator
Anthony
Thanks Mike! Unfortunately, upgrading is not an option since its a really loaded enterprise device. The interesting part is that there is a similarly set up websockets vip (plain old server i think .net) that is working on the same device.
toggle quoted messageShow quoted text
We'll work with our network folks to find other devices with newer software we can use. Would appreciate if anyone has other ideas? Regards, Anthony
On Sep 22, 2015, at 7:49 PM, Mike Youngstrom <youngm(a)gmail.com> wrote:
We are running 11.4 and 11.6. I'd give an upgrade a try before digging too much deeper. Mike On Sep 22, 2015 6:36 PM, "Anthony" <lee.apc(a)gmail.com> wrote:
|
|
join
Chunhua Zhang <chzhang@...>
--
Thanks & Best Regards, chunhua, zhang(张春华) M: +86 187 5198 6615 Department: CONSULTING Manager: Leon Cheng IT issue? Mail to: ask(a)pivotal.io
|
|
Re: Packaging CF app as bosh-release
Amit Kumar Gupta
Great. Let us know if you have further questions, or share if you end up
toggle quoted messageShow quoted text
getting something cool deployed and working, since I haven't seen Spark on BOSH or CF yet. Best, Amit
On Mon, Sep 21, 2015 at 11:33 PM, Kayode Odeyemi <dreyemi(a)gmail.com> wrote:
Yes Amit. Thanks
|
|
Re: Removing support for v1 service brokers
Camilo Aguilar
I'm curious about the reasoning for the migration out of NATS, there was
toggle quoted messageShow quoted text
any limitation you guys hit?
On Tue, Sep 22, 2015 at 8:01 PM Dieu Cao <dcao(a)pivotal.io> wrote:
Hello all,
|
|