Dean Troyer
cc6b443545
Formatting cleanups, doc updates and whatnot
...
Change-Id: Ica8298353be22f947c8e8a03d8dc29ded9cb26dd
2013-04-09 14:05:32 -05:00
Russell Bryant
a845ddedfc
Add RUN_EXERCISES to exercise.sh.
...
The exercise.sh accepted a SKIP_EXERCISES var for limiting which
exercises run. Sometimes I only want to run one of this. This new
variable make that much easier than having to list every other exercise
as one that should be skipped.
Change-Id: I21d3cc6ead677d25f7697c6cc1fd690cbbbfbdd7
2013-03-12 18:37:40 -04:00
Dean Troyer
a3b0255313
Fix script matching in exercise.sh
...
This prevents false matches in exercise skip test
Change-Id: I5656a20bcf11b2ccaf55e280655d0600124adedc
2012-12-19 18:50:41 -06:00
Dean Troyer
05530caf2c
Source functions before stackrc
...
The enable_service() and disable_service() functions in
https://review.openstack.org/9407 require the functions
file be sourced before stackrc.
* exercise.sh
* samples/local.sh (this will require manual addition to the user's
local.sh if they based it on the sample)
* tools/build_bm.sh
Change-Id: I1bed687867e870bef5748289d712376435a776af
2012-08-01 20:03:01 -05:00
Chmouel Boudjnah
408b009ccd
Allow skipping exercises.
...
- Catch a special exit signal 55 to notify that we want to skip an
excercise.
- Move is_enabled_service to functions.
- Fix bug 928390.
Change-Id: Iebf7a6f30a0f305a2a70173fb6b988bc07e34292
2012-03-28 11:34:51 +01:00
Dean Troyer
27e326995a
Simplify die_if_error
...
* Replace die_if_error() with the simpler die()
* Attempt to clean up unnecessary trace output
* Formatting cleanups on all exercise scripts
Change-Id: I72a542b3a59ee9bf12bee6bcc605edd7579205e0
2012-03-19 10:06:15 -05:00
James E. Blair
c639ef0123
Source stackrc in exercises.
...
Exit with error if there are failed tests.
2011-11-10 15:11:28 -08:00
Todd Willey
0367cf1585
remove spacicolons.
2011-11-05 10:46:56 -04:00
Todd Willey
9e9132ddaf
Exercises: euca bugfix, output cleanup.
...
Don't log stderr per-exercise, because stdout is barfy anyway.
Move the state of skip/pass/fail to the end of the exercise run.
2011-11-04 12:09:54 -04:00
Todd Willey
2599b3165a
Wrap exercises with master script, with logs, and move common variables.
2011-11-04 10:31:37 -04:00
Jesse Andrews
f670549186
move from exercise.sh to exercises/..
2011-11-01 16:04:14 -07:00
Anthony Young
1de18c6250
Changes to make exercise.sh work with xen
2011-11-01 14:22:26 -05:00
Jesse Andrews
c2e05b6a77
typos
2011-10-31 19:31:30 -07:00
Jesse Andrews
70d2b2c224
use rackspace apt mirrors
2011-10-31 15:43:05 -07:00
Anthony Young
79e807a145
make exercise.sh timeouts configurable
2011-10-31 11:16:44 -07:00
Jesse Andrews
0c484feda4
check that you can't hit the floating ip as well
2011-10-27 14:10:47 -07:00
Jesse Andrews
467135e20c
another attempt at pause/unpause
2011-10-27 14:06:33 -07:00
Jesse Andrews
093f3f5586
Merge branch 'master' into pause
2011-10-27 12:15:24 -07:00
Jesse Andrews
b7cc5bcbb4
test pause/unpause using ping
2011-10-26 22:11:31 -07:00
Jesse Andrews
53d4a1db2b
missed removing this ping
2011-10-26 21:46:47 -07:00
Jesse Andrews
ac2e166e89
grammer
2011-10-26 21:39:56 -07:00
Jesse Andrews
5a774839d7
more converting sleep -> timeouts
2011-10-26 21:30:02 -07:00
Jesse Andrews
ab8dbce751
play with how ping tests/sleep works in exercise
2011-10-26 21:23:20 -07:00
Justin Shepherd
56a505fc2d
bug fix.. resulted in following error message:
...
./exercise.sh: line 96: [: missing `]'
2011-10-26 10:45:02 -05:00
Anthony Young
9d8e8cf1ee
association seems to take a bit longer on multi host configs
2011-10-25 00:34:35 -07:00
Anthony Young
8ecd2948ad
only attempt to ping private ip for single node deployments
2011-10-24 22:58:14 -07:00
Vishvananda Ishaya
f56e395d82
Make ec2 credentials work properly
2011-10-24 16:31:19 -07:00
Jesse Andrews
e61f3185ce
use HOST_IP as in stack.sh
2011-10-24 13:43:04 -07:00
Jesse Andrews
6fc71019c9
documentation on exercise
2011-10-24 11:29:08 -07:00
Anthony Young
d4ddf3da2d
Merge remote-tracking branch 'origin/master' into openrc
...
Conflicts:
exercise.sh
2011-10-20 11:37:53 -07:00
Anthony Young
6ab10d46a8
add an openrc file so that users can easily use the client
2011-10-20 10:24:50 -07:00
Vishvananda Ishaya
9b3536714a
fix whitespace
2011-10-20 10:08:20 -07:00
Anthony Young
583bad0b14
minor tweaks - source stackrc/localrc for excercise.sh. Also, fix typo in build_lxc.sh
2011-10-18 08:22:30 -07:00
Anthony Young
20a2caecfd
updates to exercise.sh to use some of the newer apis
2011-10-17 16:02:24 -07:00
Jesse Andrews
da89268c92
update the ping to ping, wait 5 second, really ping
2011-10-15 20:14:07 -07:00
Jesse Andrews
d888e1cdcb
update exercise to boot a server, ping it, then destroy it
2011-10-15 20:01:12 -07:00
Jesse Andrews
4e8847cd6a
update glance command in exercise.sh
2011-10-15 19:29:55 -07:00
Jesse Andrews
b9c77d69a6
add debug logging and notes about generating token
2011-10-15 18:37:25 -07:00
Jesse Andrews
f43307d408
exercise.sh was using wrong variable to generate token
2011-10-15 17:40:38 -07:00
Anthony Young
94c889ac15
make glance client work in exercise.sh
2011-10-11 18:07:48 +00:00
Anthony Young
0edde7d44f
use tenantName for NOVA_PROJECT_ID
2011-10-06 07:10:24 -07:00
Anthony Young
4387690ba5
updates to excercise.sh to get partial working-ness
2011-09-27 00:29:28 -07:00
Jesse Andrews
593828d4de
attempt to write a script that exercises nova cli
2011-09-14 22:44:50 -07:00
Jesse Andrews
b19424fb51
add docs for exercise
2011-09-14 22:03:04 -07:00
Jesse Andrews
b019151c6e
start to cli exercise
2011-09-14 19:37:10 -07:00