this spuriously fails in devstack gate, and need to turn
this on to get to the bottom of the fails.
Change-Id: I7d5c1b4d3230efacdd8a3b89e5e40e98ac894a1d
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
Fixes bug 1087656
In euca exercise, the timeout for one of the volume operations was
specified as ASSOCIATE_TIMEOUT, whereas the timeout error message was
mentioning RUNNING_TIMEOUT. This fix changes the timeout to
RUNNING_TIMEOUT so that it is consistent with the error message.
As RUNNING is usually larger than ASSOCIATE, it leaves more time for the
volume operation.
Change-Id: Ic016c7920ae6e4ec9a476bb5612b7df9eed01c75
sudo is only allowed in stack.sh on the CI, so move setup_quantum code
to the stack.sh.
also fixes quantum debug command setup for linuxbridge and ryu
Change-Id: I11bc0aa242a690e25acc088b3e9f483ceab38f26
from time to time horizon gets broken in devstack and it
takes a while to figure out why. Put a sanity check into
devstack exercises that checks for horizon front page being
up and not just a stack trace to use as a simple gate.
Change-Id: I13a6c59881f618d5194b1625b67115013c9cb6c2
Exercises use nova volume-* commands still. This works fine,
however moving forward now that cinder is the default volume service
we should use the cinderclient explicitly for the applicable calls.
Attach/Detach are still novaclient commands, however the others
(create, delete, list, etc) should be cinderclient.
Change-Id: I336de1b69a32eee6c91655b0a5bf8541b243f2f0
Now that a bootable volume can be created directly based on
image ID, we can dispense with the complexity around using
a builder instance to acheive the same effect.
Change-Id: Ied1f6863a4dd21685e2f135841b9e2c4d499675f
Change: I3bbcc5b9f8a4da2fcdb9f6f70913c2d6bc6e2b9b
added some timing messages around the volume operations in
exercises/volumes.sh. This was a good idea, but some
useless timing info was added to failed cases, this patch
pulls that back out. The only parameter used to detect
failure is a timeout, so outputing the time elapses in
these cases is useless.
Change-Id: I609a803a7293aa8a8e3cec186984de59bfe9b409
Looking at some failures lately in Jenkins/Devstack runs and it would
be handy to see if failures were time-out related versus flat out failed
operations.
More interestingly it might be worthwile to harvest the completion time
info from the jenkins logs and keep track of any significant deviations
introduced by code changes.
Change-Id: I3bbcc5b9f8a4da2fcdb9f6f70913c2d6bc6e2b9b
This modifies the euca test to include describe-availability-zones
so that it is covered. This allows us to not need to hard-code a
zone name for the volume tests.
Change-Id: Iaae0589d4338d948981ca6e2229d2ceb73ff38ef
Excercise euca2ools volumes commands when
exercising the other euca2ools as well.
Change-Id: Ia43bd233c63224eac5e851b3b8a3dbdbf3b5e1f0
Signed-off-by: Chuck Short <chuck.short@canonical.com>
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
* fix problem with deleting security groups too early in
floating_ips.sh and euca.sh
* create and clean up security groups
* cosmetic cleanups
Change-Id: Ie45e03f889c540ec83f27a02b10e787060c5d4d7
Added quantum_v2.sh for quantum v2 api exercise.
Quantum exercise script requires the following settings:
- Q_USE_NAMESPACE=False
- LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver
And the following services enabled:
- quantum, q-svc, q-agt, q-dhcp
Change-Id: I5767f94c94187a4ca0fd189244fa6f5781519ab4
If console scripts are generated via entry-points, they will go into
/usr/local/bin on python setup.py develop and they will not be found in
/opt/stack/$PROJECT/bin any more. This patch supports a transition to
entry-points console scripts, but should still allow the old thing too.
Change-Id: I816f5f796ad00ac55a8352743ba01723df140072
This patch adds several options to allow using OpenVZ virt layer.
- modifies stack.sh and stackrc to recognize a new VIRT_TYPE option
- set IMAGE_URLS to an openvz image, if VIRT_TYPE == openvz
It also makes a few changes to some tests so that some implicit
defaults (such as the guest user account) can be overridden.
Change-Id: I0dde2dffbf3848fac1dd27eb37af84c0ac73d9aa
* Update for blueprint general-host-aggregates
* Test for add/remove hosts
* Now uses nova host-list
Change-Id: Id6fef649c13032cf9148d7152fa2b28654717892
* using the new functional pattern: cinder_XXX functions are in
lib/cinder
* enable with 'c-api,c-sch,c-vol' in ENABLED_SERVICES, n-vol is still the default
* exercises/volumes.sh runs for cinder and n-vol
* move config to /etc/cinder
* change volume_group to stack-volumes; this also renames the backing file
to /opt/stack/data/stack-volumes-backing-file.
* removes osapi_volume from nova.conf enabled_apis
* integrates cinder + keystone
* launches c-sch
* tweaks for multi node
* move enabled_apis substitution to init_cinder
18Jun2010
* restored & rebased
* update setup.py to use setup_develop() in lib/cinder
Change-Id: I1e1aa4387031c56e4fa239eb73bea2af8cef0e38
* python-glanceclient overrides the old client shipped with glance in /usr/local/bin
* start adding exercises
Change-Id: I460ed5749bca69425f23d328c0537c2ef91f84a4
Debo~ Dutta@Cisco, Dave Lapsley@Nicira
* original at https://review.openstack.org/#change,3682
* Allow this exercise to be skipped if quantum is not enabled
Change-Id: I8463f654fb85394d78dd01c93c7f7b2706511030
- 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
* Replace die_if_error() with the simpler die()
* Attempt to clean up unnecessary trace output
* Formatting cleanups on all exercise scripts
Change-Id: I72a542b3a59ee9bf12bee6bcc605edd7579205e0
- Fix keystone s3token configuration (in admin api not public api).
- Set s3 service in keystone to swift if installed.
- Fixes a bug in bundle.sh
- Adds config options for nova to use swift as s3 store
Change-Id: Ic2fca5aba06a25c0b3a74f1e97d062390a8e2ab1
* Launches a cirros builder instance
* Mounts a disk to the builder instance
* Creates a bootable volume from builder
* Launches the volume-backed instance
* Update glance syntax
* Don't require instance-to-web communication (that only works with
fully configured floating ips)
* Add footer/header
Change-Id: Ia6dcf399ee49154aaf4e597b060164c2f41cf3d2