7 Commits

Author SHA1 Message Date
Nachi Ueno
07115eb5c0 Refactor error logging
It is hard to grep errors in current log. so in this patch,
I'm updating die function which also writes log for
screen_log_dir/error.log.
In future, we may categolize negative fault by using
this error.log.

Change-Id: I70a8cfe67ed408284f5c88c762c6bb8acb8ecdb2
2013-02-28 11:54:24 -08:00
Mate Lakat
c497a05ea2 Fix aggregates exercise
Fixes bug 1131244

aggregates.sh was making assumptions on the working directory. Thus it
failed, if the current working directory is not devstack. This pathch
makes the sourcing to use the full path for openrc.

Change-Id: I10c83c88112ead97b43873e1034b0e76e4f889f4
2013-02-21 15:25:51 +00:00
Dean Troyer
da85cdadd9 Exercise cleanup
* Make common steps consistent
* Make comments consistent

aggregates.sh
boot_from_volume.sh
client-args.sh
client-env.sh
euca.sh
floating_ips.sh
sec_groups.sh
swift.sh
volumes.sh

Change-Id: Ib93dcdfdead93c259e3cd184fbc5ccc0a4a87c9a
2013-02-15 12:34:33 -06:00
Joe Gordon
5c1bedd1ed Update aggregates test for aggregates bp
Instead of implementing availability zones in the service table,
availability zones will be implemented using general aggregate metadata.

So when an aggregate is created it will already have metadata.

Part of blueprint aggregate-based-availability-zones

Change-Id: I0fd22399b99a14087fef63fc91d0baef746efbed
2012-12-12 12:20:01 +00:00
Mate Lakat
178b8402d9 Fix aggregates test with multi host setup
Fixes bug 1046222.

The aggregate exercise assumed that you have only one compute node, thus
it failed with syntax error for two hosts. With this fix, the exercise
will pick the first compute host, and use that for the tests.

Change-Id: I85d76552295d640e1a9d86fbbed781f15529d047
2012-09-05 10:42:10 +01:00
Joe Gordon
b7ef539b12 Improve exercises/aggregates.sh
* Update for blueprint general-host-aggregates
* Test for add/remove hosts
* Now uses nova host-list

Change-Id: Id6fef649c13032cf9148d7152fa2b28654717892
2012-08-01 17:18:39 -07:00
John Garbutt
fd1c87e830 blueprint host-aggregates
add some inital tests for the host-aggregates blueprint

Change-Id: I0c07f2e7fd123bbda6d26f4ff64bea3949e57157
2012-03-28 18:24:52 -05:00