|
Re: Can I clear /var/vcap/micro_bosh/data/cache?
Thanks, Adrian. I did that before, but I am not sure if I recently ran that.
Is that command supposed to clean up all unused cache entries?
Thanks.
Steffen.
Thanks, Adrian. I did that before, but I am not sure if I recently ran that.
Is that command supposed to clean up all unused cache entries?
Thanks.
Steffen.
|
By
Steffen Uhlig
·
#2442
·
|
|
Re: Can a Bosh deployment be aborted when drain script returns non-zero exit code?
You're exactly right.
From /var/vcap/bosh/log:
2017-10-19_20:09:16.76704 [Cmd Runner] 2017/10/19 20:09:16 DEBUG - Stderr:
2017-10-19_20:09:16.76704 [Cmd Runner] 2017/10/19 20:09:16 DEBUG -
You're exactly right.
From /var/vcap/bosh/log:
2017-10-19_20:09:16.76704 [Cmd Runner] 2017/10/19 20:09:16 DEBUG - Stderr:
2017-10-19_20:09:16.76704 [Cmd Runner] 2017/10/19 20:09:16 DEBUG -
|
By
Carol Morneau
·
#2441
·
|
|
Re: Can a Bosh deployment be aborted when drain script returns non-zero exit code?
it fails most likely due to this:
https://github.com/cloudfoundry/bosh-agent/blob/master/agent/script/drain/concrete_script.go#L157
wrote:
it fails most likely due to this:
https://github.com/cloudfoundry/bosh-agent/blob/master/agent/script/drain/concrete_script.go#L157
wrote:
|
By
Dmitriy Kalinin
·
#2440
·
|
|
Re: Can a Bosh deployment be aborted when drain script returns non-zero exit code?
Thanks Dmitriy for your input.
Here's an example of a drain script that does abort the deployment:
#!/bin/bash
set -e
false
Thanks Dmitriy for your input.
Here's an example of a drain script that does abort the deployment:
#!/bin/bash
set -e
false
|
By
Carol Morneau
·
#2439
·
|
|
Re: Can a Bosh deployment be aborted when drain script returns non-zero exit code?
currently bosh only relies on stdout of the script to determine success. given this historic behaviour its a bit hard to migrate to exit code paradigm (similar to our other scripts) without
currently bosh only relies on stdout of the script to determine success. given this historic behaviour its a bit hard to migrate to exit code paradigm (similar to our other scripts) without
|
By
Dmitriy Kalinin
·
#2438
·
|
|
Can a Bosh deployment be aborted when drain script returns non-zero exit code?
Hi Everybody,
Can someone explain what bosh does when a drain-script returns a non-zero exit code? From my testing, it appears to carry-on with the deployment no matter what the exit code is.
Hi Everybody,
Can someone explain what bosh does when a drain-script returns a non-zero exit code? From my testing, it appears to carry-on with the deployment no matter what the exit code is.
|
By
Carol Morneau
·
#2437
·
|
|
Re: Can I clear /var/vcap/micro_bosh/data/cache?
Hi Steffen
Did you try the bosh cleanup command?
Kind regards
Adrian
Hi Steffen
Did you try the bosh cleanup command?
Kind regards
Adrian
|
By
Adrian.Kurt@...
·
#2436
·
|
|
Can I clear /var/vcap/micro_bosh/data/cache?
Hi,
I have a BOSH director where I need to free up some disk space. I noticed a number of large files in /var/vcap/micro_bosh/data/cache. Is it safe to delete them?
Regards
Steffen
Hi,
I have a BOSH director where I need to free up some disk space. I noticed a number of large files in /var/vcap/micro_bosh/data/cache. Is it safe to delete them?
Regards
Steffen
|
By
Steffen Uhlig
·
#2435
·
|
|
Bosh Director issue accessing certificates from CredHub
The following type of errors are occurring when Director attempts to access certificates stored in CredHub during a deployment:
- Failed to fetch variable '/secrets/consul_agent_cert/v1' from config
The following type of errors are occurring when Director attempts to access certificates stored in CredHub during a deployment:
- Failed to fetch variable '/secrets/consul_agent_cert/v1' from config
|
By
Michael Stancampiano
·
#2434
·
|
|
Re: How to access the IP of my other instance inside my app
Thanks Eric. I could do it by using a small bash script . Thanks for your input.
Thanks Eric. I could do it by using a small bash script . Thanks for your input.
|
By
Ushani Balasooriya
·
#2433
·
|
|
Re: Stemcell upload issue Error: CPI error 'Bosh::Clouds::CloudError' with message
Hi - you may want to verify that your director has connectivity to the
internet and AWS API in the us-east-1 region. Perhaps you can try running
the following after SSH'ing to the director.
$
Hi - you may want to verify that your director has connectivity to the
internet and AWS API in the us-east-1 region. Perhaps you can try running
the following after SSH'ing to the director.
$
|
By
Danny Berger
·
#2432
·
|
|
Re: How to access the IP of my other instance inside my app
Hi, Ushani,
The zookeeper release gets exactly those IPs via the "address" property on
each of the instances in its "peers"
Hi, Ushani,
The zookeeper release gets exactly those IPs via the "address" property on
each of the instances in its "peers"
|
By
Eric Malm <emalm@...>
·
#2431
·
|
|
Re: Bosh Director calls CredHub twice during a deployment for the same secret
Performance is an issue, but just understanding the logic on why Director would make two calls during a deployment to obtain the same secret is important.
Thanks.
Performance is an issue, but just understanding the logic on why Director would make two calls during a deployment to obtain the same secret is important.
Thanks.
|
By
Michael Stancampiano
·
#2430
·
|
|
Stemcell upload issue Error: CPI error 'Bosh::Clouds::CloudError' with message
Hi All,
I am getting below exception while uploading stemcell using bosh v version 2.0.40-9fc1ea4-2017-09-18T23:00:15Z
~/bosh-cli-ex$ bosh -e bosh-1 upload-stemcell
Hi All,
I am getting below exception while uploading stemcell using bosh v version 2.0.40-9fc1ea4-2017-09-18T23:00:15Z
~/bosh-cli-ex$ bosh -e bosh-1 upload-stemcell
|
By
Krish J
·
#2429
·
|
|
Re: Bosh Director calls CredHub twice during a deployment for the same secret
we havent spent any time optimizing it since it shuold be pretty cheap to
make these calls. are you concerned about the perf aspect of it or
something else?
wrote:
we havent spent any time optimizing it since it shuold be pretty cheap to
make these calls. are you concerned about the perf aspect of it or
something else?
wrote:
|
By
Dmitriy Kalinin
·
#2428
·
|
|
Bosh Director calls CredHub twice during a deployment for the same secret
It appears Director calls CredHub for a single secret twice during a deployment. Here are the Director calls:
1) Calls CredHub with a GET by name. In this case the query name parameter value is the
It appears Director calls CredHub for a single secret twice during a deployment. Here are the Director calls:
1) Calls CredHub with a GET by name. In this case the query name parameter value is the
|
By
Michael Stancampiano
·
#2427
·
|
|
Re: How to access the IP of my other instance inside my app
Hi Dan,
I checked the doc and thanks for the info.
But what I really need is a way to capture the ips of instances dynamically created when we define a number in deploy. manifest.
E.g.,
-
Hi Dan,
I checked the doc and thanks for the info.
But what I really need is a way to capture the ips of instances dynamically created when we define a number in deploy. manifest.
E.g.,
-
|
By
Ushani Balasooriya
·
#2426
·
|
|
Re: How to access the IP of my other instance inside my app
Thanks Dan will check
By
Ushani Balasooriya
·
#2425
·
|
|
Re: How to access the IP of my other instance inside my app
Take a look at the example referenced from the docs. You can see the links
exposed in the spec file and how they're consumed in the various
Take a look at the example referenced from the docs. You can see the links
exposed in the spec file and how they're consumed in the various
|
By
Daniel Mikusa <dmikusa@...>
·
#2424
·
|
|
Re: How to access the IP of my other instance inside my app
Hi Daniel,
I'm trying create a cluster setup which is configurable for n number of instances. So, How can I access the IP set for a particular IP dynamically?
Or is there a way where I can access
Hi Daniel,
I'm trying create a cluster setup which is configurable for n number of instances. So, How can I access the IP set for a particular IP dynamically?
Or is there a way where I can access
|
By
Ushani Balasooriya
·
#2423
·
|