Make S3 import except on ImportError rather then all exceptions

Change-Id: Icb98aed65ccba825f8402fdde95ac38b2a12c1a6
Signed-off-by: Steven Dake <sdake@redhat.com>
Update WordPress_Compsed_Instances to new test infrastructure

Change-Id: I08a175d28b99b861ce29b2278e415896e79cf72a
Signed-off-by: Steven Dake <sdake@redhat.com>
Change VerifyClass to have a generic verify_url method

Change-Id: I0e1298e7852e336d6271c4014b11935ac3ce6689
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
Add 2 instance with EBS test.

Seems to work even.

Change-Id: Ie09d97dc86a68525783f1f9c080fed13e651ef78
Signed-off-by: Ian Main <imain@redhat.com>
Merge "Make S3 import except on ImportError rather then all exceptions"
Change Stack to support user defined parameter

This change allows tests to specify DBUsername/DBPassword if necessary.
The keyname is still looked up in nova and the distribution is retrieved
from the already existing Stack parameter.

Change-Id: I3732ffb685d68c8a72a83247f74ed11a50a74cd1
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
Merge "Add 2 instance with EBS test."
Make physical resource names unique based upon stack name

Some templates use the same resource name when registering with
nova.  Nova will not allow mulitple resource names to register
with the same name in all cases, and in those it does, it often
becomes confused (in the case of EIP).  This patch creates a
dot notation

For the LB test, an example of the resources would be:
teststack.LoadBalancer.LB_instance
teststack.DatabaseServer.MySqlDatabaseServer
teststack.WikiServerOne

Fixes Issue #160
Fixes Issue #136

Thanks to asalkeld@redhat.com for helping sort out the unit
test cases.

Change-Id: I14f4551feb41c7f98caa30dd98f997da6d00c467
Signed-off-by: Steven Dake <sdake@redhat.com>
Update openstack-common

Change-Id: I002574a60b4f59543bc6aa73256c2f0b3b79d378
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
creating instances failed as a result of regression in last commit

The previous commit to the tree organizes resource names by
stack.resource.  Most of the openstack APIs take resource ids
but the instance create operation requires text identifiers.

Rewrite the text identifiers for the nova security groups before
starting an instance.

Change-Id: I8a842868781ecb353f66b5a4e3d022766a4c8a0e
Signed-off-by: Steven Dake <sdake@redhat.com>
heat : bugfix convert User resource to physical_resource_name()

engine user.py needs the self.name references changed to
self.physical_resource_name() to align with the recent resource
naming changes.

Change-Id: I4620a4afc5e9c11d7b6d9348aaac35bcfa31bbac
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat : Revert "Make sure the properties are defined in all cases."

bugfix : backout #194 fix as it breaks RDS (or maybe all resoures
implemented as nested-stacks)

This reverts commit ae0b853499296763dae77aa5c1e4c22225674489.

reopens #194

Change-Id: I349a1625a040e33e080549a137824d1d2cfca9f8
Signed-off-by: Steven Hardy <shardy@redhat.com>
Merge "Update openstack-common"
Merge "heat : bugfix convert User resource to physical_resource_name()"
Merge "heat : Revert "Make sure the properties are defined in all cases.""
There is no spoon

There is no name, only resource_name.

Change-Id: I1455d497c68fb650d3aef0f1232872f441005c0d
Signed-off-by: Steven Dake <sdake@redhat.com>
There is no spoon take 2

ugh

Change-Id: I746c721ed779b1c63592fa0e07053d27ef4231a0
Signed-off-by: Steven Dake <sdake@redhat.com>
Fix timing issue in starting openstack-network

Change-Id: I31f3092f95b140015d661ebd86bd1567c607f3d4
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat tests : functional test utils add response_xml_item

Add response_xml_item method to Stack, which allows stack
API XML responses to be more easily parsed base on xpath
prefix and keyname

Change-Id: I96437bd7ff4575e9262d46c4c21f4408041e147d
Signed-off-by: Steven Hardy <shardy@redhat.com>
Add test_WordPress_2_Instances_With_EBS_EIP.py

This work is based upon Tomas Sedovic's work.

A floating ip checker is added to instance() in util.py

Change-Id: I138a5f7bc0c5d04bc5308a80113f3057440578b9
Signed-off-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Tomas Sedovic <tsedovic@redhat.com>