TestStampPattern fails to call create_server correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Expired
|
Undecided
|
Unassigned |
Bug Description
TestStampPattern can be a guide for those who wish to do an integration test that writes data to an attached volume.
The call to create_server in ScenarioTestCase passes in the full security_group object and causes this failure:
2016-02-03 11:32:31.244 8560 INFO tempest_
2016-02-03 11:32:31.244 8560 DEBUG tempest_
Body: {"server": {"name": "tempest.
Response - Headers: {'status': '400', 'content-length': '334', 'x-compute-
Body: {"badRequest": {"message": "Invalid input for field/attribute security_groups. Value: {u'rules': [], u'tenant_id': u'ab73c84264394
The solution, as seen conventionally in other calls, is to do the following:
diff --git a/tempest/
index 4e01de8..5470fe4 100644
--- a/tempest/
+++ b/tempest/
@@ -105,14 +102,13 @@ class TestStampPatter
# prepare for booting an instance
keypair = self.create_
- security_groups = [{'name': security_
# boot an instance and create a timestamp file in it
volume = self.create_
server = self.create_server(
- security_
+ security_
Changed in tempest: | |
status: | New → Confirmed |
This bug at the moment is being blocked by bug https:/ /bugs.launchpad .net/tempest/ +bug/1205344 /bugs.launchpad .net/tempest/ +bug/1205344 gets merged.
Looks like the patches that are being proposed for fixing bug 1205344 already include the fix for this bug, so I guess this bug can also be closed once https:/