* Refactored openstack class to be parameterizable
* Added basic authorization tests
* Added unauthorized exception
* Renamed users to be more specific of their type
Change-Id: I53fc0aa96c23b8cb33f329ff0d753f7f2d6e8d14
It seems that skip on a class does not prevent the setup code from running. It just skips the test methods.
Change-Id: I3b5dae3e5439844351a9342b25f35927ca41630b
* Renamed 'nova' to 'compute'
* Merged 'env' with 'compute'
* Created new 'identity' section
* Added defensive code for bad configs
Change-Id: Ifd7506ed82ae2870600a8676a5e811769517a65d
There's a narrow race condition in ServersClient.wait_for_server_status()
with a false negative reported when the expected state transition occurs
during the last build_interval period of the acceptable time window.
More likely to be seen if the build_time is shortened down from the
default 600s.
Change-Id: Ibe45df5d6689aa7a8a196b09744d7fcb4f183364
Transparently redrive calls throttled by nova rate limiting, with
an intra-retry delay governed by the Retry-After response header.
Invocations are retried at most twice.
This avoids spurious test failures when the target nova installation
is using the default rate limits, or explicitly configured limits too
low for the cadence of tempest test cases.
Change-Id: I6c701b24f59998a98e6f515a2861a458470ee40c
Make TestserverActions.test_build_server tolerant of imageRef configured
as a glance URI, by asserting on endswith as opposed to doing an equality
comparison with the image UUID.
Change-Id: I99f82dbfce8ae506596e123dda43729e500bf0e0
The auth creds dict was created but not passed to the glance client,
causing the following tests to fail with 401 Unauthorized:
CreateRegisterImagesTest.test_register_then_upload
CreateRegisterImagesTest.test_register_with_invalid_data
Change-Id: Icca9632f5de66ee7e957116e8dc60b53de9c1c87
Throw exception for 409.
Eliminate test for fetching key becuase there is no such API.
Eliminate negative test for empty public key because (spec?) the nova code doesn't care.
Change tests that were checking for 4xx responses to catch the thrown exceptions.
Change-Id: I3e880f888ec2534d87d035cea722fad4a5987444
Fix test_server_actions.
conf_from_devstack needs to set image_ref_alt
Add throw for all unlisted 4xx cases in rest_client
Change-Id: Ie511bfd28bda2e21e1ada7f3cbcd43304279ba67
The problems were:
1. FloatingIP client does not use json/headers for POST
2. The API data for associate/disassociate floating ip were wrong
3. The negative cases were too specific about what exception would be thrown
Also made test_server_metadata work.
Change-Id: I5bea4e03203391042589ba264d9eaed3ef1199b3
Make test_flavors.py pass.
There were some "expect failures" for bugs that have been fixed in Essex.
Added release_name, defaulting to essex, to allow skipping of tests of things
that are broken in diablo but fixed in essex.
Change-Id: I38ada5ee200104efe112a3bcd12b902c63e4b9ed