cloudfoundry-attic / bosh-notes

Collection of proposals for BOSH
Apache License 2.0
52 stars 23 forks source link

Events feature request #19

Closed supertopher closed 8 years ago

supertopher commented 8 years ago

For debugging it would be useful to show recent tasks filtered by deployment.

Ie: Today i know that i have a problem that occurred with logging. This problem is probably in the deployment cf-cfapps-io2 However, at least as far as i know i cannot looks at recent tasks that have occurred specifically to this deployment.

alternatively, if in the recent tasks we had another field shown for deployment we would be able to parse this on our own using AWK or other UNIX tools. Screenie below to illustrate what i am talking about here

screen shot 2016-02-26 at 11 12 19 am

Thx for consideration =D

allomov commented 8 years ago

I guess this issue can be closed since bosh cli (starting from 1.3213) has such feature:

$ bosh help tasks recent
tasks recent [<count>] [--no-filter] [--deployment DEPLOYMENT_NAME]
    Show <number> recent tasks
    --no-filter                                               Include all task types (ssh, logs, vms, etc)
    --deployment DEPLOYMENT_NAME                              Show tasks for given deployment

tasks [--no-filter] [--deployment DEPLOYMENT_NAME]
    Show running tasks
    --no-filter                                               Include all task types (ssh, logs, vms, etc)
    --deployment DEPLOYMENT_NAME                              Show tasks for given deployment

What do you think @cppforlife ?

cppforlife commented 8 years ago

@allomov ah that's true. seems like it's done.