Print errand logs before refilling resource pool


Aleksey Zalesov
 

Hi!

I want to run errand with smoke tests as fast as possible.

I have resource pool with size=1 so VM for smoke tests is already
provisioned when I run `bosh run errand smoke_tests` command.

Then bosh updates job for 45s, runs smoke tests for 4s (they fail on the
first test) and then refills resource pool for 228s. I can see the logs only
at the end of the task (277s) , though they are available in 49s.

How can I print smoke tests results before resource pool refilling starts?

--
Aleksey Zalesov



--
View this message in context: http://cf-bosh.70367.x6.nabble.com/Print-errand-logs-before-refilling-resource-pool-tp485.html
Sent from the CF BOSH mailing list archive at Nabble.com.


Dmitriy Kalinin
 

Have you tried running `bosh run errand X --keep-alive`?

On Mon, Jul 20, 2015 at 12:37 PM, lexsys <aleksey.zalesov(a)altoros.com>
wrote:

Hi!

I want to run errand with smoke tests as fast as possible.

I have resource pool with size=1 so VM for smoke tests is already
provisioned when I run `bosh run errand smoke_tests` command.

Then bosh updates job for 45s, runs smoke tests for 4s (they fail on the
first test) and then refills resource pool for 228s. I can see the logs
only
at the end of the task (277s) , though they are available in 49s.

How can I print smoke tests results before resource pool refilling starts?

--
Aleksey Zalesov



--
View this message in context:
http://cf-bosh.70367.x6.nabble.com/Print-errand-logs-before-refilling-resource-pool-tp485.html
Sent from the CF BOSH mailing list archive at Nabble.com.
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


Aleksey Zalesov
 

Thank you, Dmitry! It works.




--
View this message in context: http://cf-bosh.70367.x6.nabble.com/Print-errand-logs-before-refilling-resource-pool-tp485p491.html
Sent from the CF BOSH mailing list archive at Nabble.com.