`router_z1/0' is not running after update
Sam Dai
Hello,
I just installed CF release v235, I used command "./scripts/generate-bosh-lite-dev-manifest" to generate a cf.yml, I enabled routing_api by setting "routing_api: enabled: true" in cf.yml, when I run the following commands: bosh create release --force && bosh -n upload release && bosh -n deploy There is the following error: Error 400007: `router_z1/0' is not running after update The detailed error message is as below: E, [2016-04-27 15:59:31 #8426] [task:6] ERROR -- DirectorJobRunner: `router_z1/0' is not running after update /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3074.0/lib/bosh/director/instance_updater.rb:93:in `update' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3074.0/lib/bosh/director/job_updater.rb:74:in `block (2 levels) in update_canary_instance' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3074.0/lib/common/thread_formatter.rb:49:in `with_thread_name' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3074.0/lib/bosh/director/job_updater.rb:72:in `block in update_canary_instance' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3074.0/lib/bosh/director/event_log.rb:97:in `call' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3074.0/lib/bosh/director/event_log.rb:97:in `advance_and_track' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3074.0/lib/bosh/director/job_updater.rb:71:in `update_canary_instance' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3074.0/lib/bosh/director/job_updater.rb:65:in `block (2 levels) in update_canaries' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3074.0/lib/common/thread_pool.rb:77:in `call' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3074.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3074.0/lib/common/thread_pool.rb:63:in `loop' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3074.0/lib/common/thread_pool.rb:63:in `block in create_thread' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' Thanks, Sam
|
|
Re: Intended UAA-specific user identity fields in JWT access token ?
Daniel Mikusa
On Wed, Apr 27, 2016 at 10:36 AM, Sunil Babu <cloudgrp.assist(a)gmail.com>
wrote: Check on the yml config fileHow is this comment related to this email thread or helpful? Dan
|
|
Re: Intended UAA-specific user identity fields in JWT access token ?
Sunil Babu <cloudgrp.assist@...>
Check on the yml config file
toggle quoted messageShow quoted text
On Wednesday, April 27, 2016, Guillaume Berche <bercheg(a)gmail.com> wrote:
thanks Filip for the update. --
Thanks & Regards Sunil Babu K C +91-81970-35608
|
|
Re: Intended UAA-specific user identity fields in JWT access token ?
thanks Filip for the update.
toggle quoted messageShow quoted text
I'm curious to know if the various CF components using UAA (e.g. cc) are already using openid-connect to access PII and thus is the cf-release default value for the excluded claims could indeed email and user_name, or whether this is planned and can be watch in their respective backlog (I yet have to check). Seems the default value is empty for now in cf-release http://bosh.io/jobs/uaa?source=github.com/cloudfoundry/cf-release&version=236 Guillaume. Guillaume.
On Tue, Apr 19, 2016 at 4:16 PM, Filip Hanik <fhanik(a)pivotal.io> wrote:
Guillaume,
|
|
Re: Services without Servers | Equivalent of AWS Lambda
Sunil Babu <cloudgrp.assist@...>
Hi
toggle quoted messageShow quoted text
Aws lambda is event driven as an initiation happens the job is executed
On Tuesday, April 26, 2016, Dieu Cao <dcao(a)pivotal.io> wrote:
I'm not sure of your precise use cases, but I'd suggest looking into the --
Thanks & Regards Sunil Babu K C +91-81970-35608
|
|
Re: websockets and limitations of AWS ELB
Sunil Babu <placid.babu@...>
Pls use ingress and custom and from anywhere option
toggle quoted messageShow quoted text
On Tuesday, April 26, 2016, Mike Jacobi <michael.jacobi(a)altoros.com> wrote:
I've used TCP/8080 but with a TLS listener as a work-around for this
|
|
[ANN] kafka-firehose-nozzle
taichi nakashima
Hi,
In Rakuten, we use Apache Kafka for collecting all CF component logs, application logs, or system metrics (I described about it on our blog http://techblog.rakuten.co.jp/2016/01/28/rakuten-paas-kafka/ ). We open sourced one of key components for this logging stack, kafka-firehose-nozzle (https://github.com/rakutentech/kafka-firehose-nozzle), to consume log from firehose and forward to Kafka. I hope this will help CF user who wants to integrate CF loggregator with Kafka. While writing this, we also wrote small golang package for building nozzle, https://github.com/rakutentech/go-nozzle. This helps you writing a new nozzle. If you have interest, please check each repository. And PR or issues are always welcome :) Thanks. -- Taichi Nakashima (https://github.com/tcnksm)
|
|
Re: Reg combining vms in cf-231
Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM@Cisco) <ngnanase at cisco.com...>
+ Gentle Reminder
From: Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco) Sent: Tuesday, April 26, 2016 5:17 PM To: 'Amit Gupta' <agupta(a)pivotal.io> Cc: Discussions about Cloud Foundry projects and the system overall. <cf-dev(a)lists.cloudfoundry.org>; Jayarajan Ramapurath Kozhummal (jayark) <jayark(a)cisco.com> Subject: RE: Reg combining vms in cf-231 Hi Amit Thanks for your reply… Now I could combine all the jobs of cf-231 into one vm, but blobstore process alone shows the following error: 2016/04/26 11:04:29 [emerg] 23408#0: listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use) 2016/04/26 11:05:17 [emerg] 23952#0: listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use) Attached is the yml file So I had modified the blobstore:port to 82 and redeployed.. But this change is not reflecting in the VM and again getting the same error. Pls let me know if I have to modify anyother property This is a kind of showstopper for us. Regards Nithiyasri From: Amit Gupta [mailto:agupta(a)pivotal.io] Sent: Monday, April 25, 2016 9:57 PM To: Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco) <ngnanase(a)cisco.com<mailto:ngnanase(a)cisco.com>> Cc: Discussions about Cloud Foundry projects and the system overall. <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>>; Jayarajan Ramapurath Kozhummal (jayark) <jayark(a)cisco.com<mailto:jayark(a)cisco.com>> Subject: Re: Reg combining vms in cf-231 Your first job has consul services, so you'll need to colocate the consul_agent there too. You also don't have any consul servers running anywhere. On Mon, Apr 25, 2016 at 7:25 AM, Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco) <ngnanase(a)cisco.com<mailto:ngnanase(a)cisco.com>> wrote: Hi Amit I am using cf-231 release. In the spiff generated yml, I could combine api_worker and cloud_controller jobs into one, dea-spare with router. But when I remove consul as a separate VM and combine it with api_worker and cloud_controller . The consul process is not starting in router and haproxy. If I have a separate consul vm, this problem doesn’t occur. Following is the consul process error in router. error during start: timeout exceeded 2016/04/25 08:57:06 [ERR] agent.client: Failed to decode response header: EOF ++ logger -p user.info<http://user.info> -t vcap.consul-agent ++ tee -a /var/vcap/sys/log/consul_agent/consul_agent.stdout.log error during start: timeout exceeded 2016/04/25 08:58:15 [ERR] agent.client: Failed to decode response header: EOF ++ logger -p user.info<http://user.info> -t vcap.consul-agent ++ tee -a /var/vcap/sys/log/consul_agent/consul_agent.stdout.log Pls let me know how can I fix this. Regards Nithiyasri
|
|
Re: websockets and limitations of AWS ELB
I've used TCP/8080 but with a TLS listener as a work-around for this issue. It wasn't ideal, but it solved the problem and we had limited options as TCP/8080 was one of the few egress ports allowed. I think a better approach is adding a second ELB as you noted.
|
|
Re: Reg combining vms in cf-231
Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM@Cisco) <ngnanase at cisco.com...>
Hi Amit
Thanks for your reply… Now I could combine all the jobs of cf-231 into one vm, but blobstore process alone shows the following error: 2016/04/26 11:04:29 [emerg] 23408#0: listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use) 2016/04/26 11:05:17 [emerg] 23952#0: listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use) Attached is the yml file So I had modified the blobstore:port to 82 and redeployed.. But this change is not reflecting in the VM and again getting the same error. Pls let me know if I have to modify anyother property This is a kind of showstopper for us. Regards Nithiyasri From: Amit Gupta [mailto:agupta(a)pivotal.io] Sent: Monday, April 25, 2016 9:57 PM To: Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco) <ngnanase(a)cisco.com> Cc: Discussions about Cloud Foundry projects and the system overall. <cf-dev(a)lists.cloudfoundry.org>; Jayarajan Ramapurath Kozhummal (jayark) <jayark(a)cisco.com> Subject: Re: Reg combining vms in cf-231 Your first job has consul services, so you'll need to colocate the consul_agent there too. You also don't have any consul servers running anywhere. On Mon, Apr 25, 2016 at 7:25 AM, Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco) <ngnanase(a)cisco.com<mailto:ngnanase(a)cisco.com>> wrote: Hi Amit I am using cf-231 release. In the spiff generated yml, I could combine api_worker and cloud_controller jobs into one, dea-spare with router. But when I remove consul as a separate VM and combine it with api_worker and cloud_controller . The consul process is not starting in router and haproxy. If I have a separate consul vm, this problem doesn’t occur. Following is the consul process error in router. error during start: timeout exceeded 2016/04/25 08:57:06 [ERR] agent.client: Failed to decode response header: EOF ++ logger -p user.info<http://user.info> -t vcap.consul-agent ++ tee -a /var/vcap/sys/log/consul_agent/consul_agent.stdout.log error during start: timeout exceeded 2016/04/25 08:58:15 [ERR] agent.client: Failed to decode response header: EOF ++ logger -p user.info<http://user.info> -t vcap.consul-agent ++ tee -a /var/vcap/sys/log/consul_agent/consul_agent.stdout.log Pls let me know how can I fix this. Regards Nithiyasri
|
|
Re: websockets and limitations of AWS ELB
Sunil Babu <cloudgrp.assist@...>
Hi
toggle quoted messageShow quoted text
Check with 8080 port Pls let me know is it https u r using as the port mentioned is secure one In addition u can use Soap port in the protocol and port range definition Other option is to use udp or icmp in addition to the prtocols used so that from the pool of ports socket request will be. Handled Regards Sunil
On Tuesday, April 26, 2016, Shannon Coen <scoen(a)pivotal.io> wrote:
I'm interested to hear from operators how you're supporting websockets for --
Thanks & Regards Sunil Babu K C +91-81970-35608
|
|
Re: websockets and limitations of AWS ELB
Krannich, Bernd <bernd.krannich@...>
Hi Shannon,
Same problem statement and solution/workaround here. Changing such a corporate setup usually is much more time consuming (if successful at all) compared to the changes in CF setup as you describe them below. Regards, Bernd Bernd Krannich Products & Innovation Technology SAP SE Dietmar-Hopp-Allee 16 69190 Walldorf Germany mailto:bernd.krannich(a)sap.com www.sap.com<applewebdata://52CF34BC-FCAD-4C8A-90F6-8A24A9EFD5CC/www.sap.com> Pflichtangaben/Mandatory Disclosure Statements: http://www.sap.com/company/legal/impressum.epx Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank. This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. From: Shannon Coen <scoen(a)pivotal.io<mailto:scoen(a)pivotal.io>> Reply-To: "Discussions about Cloud Foundry projects and the system overall." <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>> Date: Monday 25 April 2016 at 23:00 To: Cloud Foundry Dev <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>> Subject: [cf-dev] websockets and limitations of AWS ELB I'm interested to hear from operators how you're supporting websockets for CF on AWS, both for user tailing of app logs from Loggregator, and for apps running on CF that take websocket requests. Websockets are supported in CF by having a HTTP request containing the Upgrade header reach Gorouter, which will establish a TCP connection to the backend (app instance). Since we need Gorouter to handle the upgrade, your ELB must be configured to listen on a port in TCP mode. However, in TCP mode an ELB wouldn't be able to append the required X-Forwarded-For and X-Forwarded-Proto headers. Assuming you'll keep HTTP over TLS on port 443, you'll need to open an additional port on the ELB for websockets. To support apps on PWS that take websocket requests, we've added port 4443 to the ELB in TCP mode. In response to feedback that this port is blocked to corporate firewalls, we run a second ELB just for Loggregator, listening on 443 in TCP mode. The domain name for Loggregator's route resolves to this second ELB. How are you working around this limitation? Do your users have issues with configuring clients to make websocket requests on a non-standard port? Thank you, Shannon Coen Product Manager, Cloud Foundry Pivotal, Inc.
|
|
Re: Services without Servers | Equivalent of AWS Lambda
Dieu Cao <dcao@...>
I'm not sure of your precise use cases, but I'd suggest looking into the
toggle quoted messageShow quoted text
implementation of Tasks [1] based on the v3 cloud controller api [2]. With tasks you can spin up containers on the fly fairly quickly, I wouldn't promise within milliseconds, but I've observed within a couple of seconds, and that task can be run in the context of your application code base. [1] https://docs.google.com/document/d/1CCHDUa2UWRjXkxEdksX4M9BGQ8hBqiMys46wxeF5XE4/edit?usp=sharing [2] http://v3-apidocs.cloudfoundry.org/
On Mon, Apr 25, 2016 at 10:22 AM, Mohamed, Owais <Owais.Mohamed(a)covisint.com
wrote: Hello,
|
|
Re: HTTP request status text is changed
Stanley Shen <meteorping@...>
An simple servlet can reproduce my problem on standard bosh lite CF.
1. push to the app the bosh lite cf push test -p ./test.war 2. access the servlet deployed on CF wget http://test.[my-domain]/test --2016-04-26 09:18:49-- http://test.[my-domain]/test Resolving test.[my-domain]... 54.10.100.100 Connecting to test.[my-domain]|54.10.100.100|:80... connected. HTTP request sent, awaiting response... 414 Request URI Too Long 2016-04-26 09:18:51 ERROR 414: Request URI Too Long. 3. check the servlet on non CF wget http://localhost:8080/test/test --2016-04-26 09:20:55-- http://localhost:8080/test/test Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:8080... connected. HTTP request sent, awaiting response... 414 my customized 414 error message 2016-04-26 09:20:55 ERROR 414: my customized 414 error message. "my customized 414 error message" is my customized error message for 414 status in my case, but it's always "Request URI Too Long" on CF instance now. And the servlet is very simple: {code} protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub response.sendError(414,"my customized 414 error message"); } {code} On Mon, Apr 25, 2016 at 10:54 PM, Stanley Shen <meteorping(a)gmail.com> wrote: Actually one CF instance is bosh lite one deployed on AWS, I didn't changeOn 25 April 2016 at 22:54, Stanley Shen <meteorping(a)gmail.com> wrote: Actually one CF instance is bosh lite one deployed on AWS, I didn't change
|
|
aligning cf push health-check default value
Koper, Dies <diesk@...>
Hi CLI users,
With apps deployed to DEAs, a health check is performed at application start-up targeting the app's port, unless you specified `--no-route`, in which case the process is monitored. With Diego, the health check is performed continuously and the type of check was exposed through an option to the `cf push` command. This option defaults to `port`, which isn't always appropriate for apps pushed without a route, such as worker apps. We propose fixing the `--health-check-type` option's default value to align with the behaviour seen for DEAs, i.e. to use "none" if option `--no-route` is used: --health-check-type, -u Application health check type (Default: 'none' if '--no-route' is set, otherwise 'port')` Would anyone object to such change? Cheers, Dies Koper Cloud Foundry CLI PM
|
|
Re: Binary Service Broker Feature Narrative
Danny Rosen
Following up on this thread, we plan on spending some time this week to
toggle quoted messageShow quoted text
discuss the functionality of the Binary Service Broker. If you have any additional feedback regarding the project we urge you to comment on the feature narrative [1 <https://docs.google.com/document/d/145aOpNoq7BpuB3VOzUIDh-HBx0l3v4NHLYfW8xt2zK0/edit?usp=gmail> ] [1] - https://docs.google.com/document/d/145aOpNoq7BpuB3VOzUIDh-HBx0l3v4NHLYfW8xt2zK0/edit?usp=gmail
On Wed, Apr 6, 2016 at 4:07 PM, Mike Youngstrom <youngm(a)gmail.com> wrote:
Thanks for the responses Mike. See inline:
|
|
Re: Request for Multibuildpack Use Cases
Dubois, Jan <jan.dubois@...>
The problem right now is that the buildpack names are no longer available during staging. All the code is available (because the stager needs to call `bin/detect` for each buildpack in turn), but it uses a hash as the directory name.
toggle quoted messageShow quoted text
I made a quick experiment that grabs the mapping from buildpack names to filesystem location directly out of the CCDB and stuffs it into a CF_BUILDPACKS environment variable. With that in place, it is a trivial change to extend the multi-buildpack to support admin buildpacks as well. I've put some more information into the README.md: https://github.com/jandubois/cf-buildpack-multi I haven't tested this with the legacy DEA; I only checked it with Diego. I would be happy to work on patches for CC and Stager to implement support for CF_BUILDPACKS if this approach is considered useful by the community, and acceptable to buildpack team. Please let me know what you think about this approach! Cheers, -Jan From: Jack Cai <greensight(a)gmail.com<mailto:greensight(a)gmail.com>> Reply-To: "Discussions about Cloud Foundry projects and the system overall." <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>> Date: Tuesday, April 12, 2016 at 9:36 To: "Discussions about Cloud Foundry projects and the system overall." <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>> Subject: [cf-dev] Re: Re: Request for Multibuildpack Use Cases It would be more useful if the multi-buildpack can reference an admin buildpack in addition to a remote git-hosted buildpack. :-) Jack
On Tue, Apr 12, 2016 at 6:38 AM, David Illsley <davidillsley(a)gmail.com<mailto:davidillsley(a)gmail.com>> wrote:
In the past we've used the multi-buildpack to be able to use ruby sass to compile SCSS for non-ruby projects (node and Java). In that case we used the multi-buildpack and a .buildpacks file which worked reasonably well (and was very clear). On Mon, Apr 11, 2016 at 1:15 AM, Danny Rosen <drosen(a)pivotal.io<mailto:drosen(a)pivotal.io>> wrote: Hi there, The CF Buildpacks team is considering taking on a line of work to provide more formal support for multibuildpacks. Before we start, we would be interested in learning if any community users have compelling use cases they could share with us. For more information on multibuildpacks, see Heroku's documentation [1] [1] - https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app
|
|
websockets and limitations of AWS ELB
Shannon Coen
I'm interested to hear from operators how you're supporting websockets for
CF on AWS, both for user tailing of app logs from Loggregator, and for apps running on CF that take websocket requests. Websockets are supported in CF by having a HTTP request containing the Upgrade header reach Gorouter, which will establish a TCP connection to the backend (app instance). Since we need Gorouter to handle the upgrade, your ELB must be configured to listen on a port in TCP mode. However, in TCP mode an ELB wouldn't be able to append the required X-Forwarded-For and X-Forwarded-Proto headers. Assuming you'll keep HTTP over TLS on port 443, you'll need to open an additional port on the ELB for websockets. To support apps on PWS that take websocket requests, we've added port 4443 to the ELB in TCP mode. In response to feedback that this port is blocked to corporate firewalls, we run a second ELB just for Loggregator, listening on 443 in TCP mode. The domain name for Loggregator's route resolves to this second ELB. How are you working around this limitation? Do your users have issues with configuring clients to make websocket requests on a non-standard port? Thank you, Shannon Coen Product Manager, Cloud Foundry Pivotal, Inc.
|
|
Re: Reg combining vms in cf-231
Amit Kumar Gupta
Separate VM not necessary, you need a consul server cluster though, can't
just have consul agents in client mode. Your server cluster can be colocated with other VMs, and the servers can act as clients broadcasting services. On Mon, Apr 25, 2016 at 10:37 AM, Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco) <ngnanase(a)cisco.com> wrote: Forgot to mention that I collocated consul_agent with api_worker and also
|
|
Re: Persistent problem with -p option for cups and uups
Don Nelson
Pls change the lookup location and it work'sWhat does that mean?
|
|