Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make "cli info" show current stage information #233

Merged
merged 3 commits into from
Jan 12, 2015

Conversation

ddeflyer
Copy link
Contributor

@ddeflyer ddeflyer commented Jan 8, 2015

This is in relation to cosbench issue #227
Basically this just adds a little extra information.

Tested by loading rebuilt cosbench-controller-web_0.4.1.0.jar file onto a 0.4.1.0 install. Previously the result of running the command was (using curl instead of cli command but has the same effect):

[root@super1.harah /opt/cosbench-testing]$ curl "http://127.0.0.1:19088/controller/cli/index.action"
Drivers:
super1  http://192.168.253.164:18088/driver
super2  http://192.168.253.165:18088/driver
super3  http://192.168.253.166:18088/driver
super4  http://192.168.253.167:18088/driver
Total: 4 drivers

Active Workloads:
w9  Thu Jan 08 19:26:50 UTC 2015    PROCESSING
Total: 1 active workloads
[root@super1.harah /opt/cosbench-testing]$

Now the result is:

root@super1.harah /opt/cosbench-testing]$ ./cli.sh info
Drivers:
super1  http://192.168.253.164:18088/driver
super2  http://192.168.253.165:18088/driver
super3  http://192.168.253.166:18088/driver
super4  http://192.168.253.167:18088/driver
Total: 4 drivers

Active Workloads:
w10 Thu Jan 08 20:01:17 UTC 2015    PROCESSING  s2-prepare
Total: 1 active workloads

[root@super1.harah /opt/cosbench-testing]$ ./cli.sh info
Drivers:
super1  http://192.168.253.164:18088/driver
super2  http://192.168.253.165:18088/driver
super3  http://192.168.253.166:18088/driver
super4  http://192.168.253.167:18088/driver
Total: 4 drivers

Active Workloads:
w10 Thu Jan 08 20:01:17 UTC 2015    PROCESSING  s2-prepare
w11 Thu Jan 08 20:01:36 UTC 2015    QUEUING None
Total: 2 active workloads

[root@super1.harah /opt/cosbench-testing]$ 

notice the addition of "s3-main" to the job information.

ywang19 pushed a commit that referenced this pull request Jan 12, 2015
Make "cli info" show current stage information
@ywang19 ywang19 merged commit bfb0ff9 into intel-cloud:master Jan 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants