This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: I5b4bdcb674b58ab419d00ca9c6bff105ce19aca8
* this change replaces occurrences of
`traceback.format_exc()` with the appropriate version of
`LOG.exception()` in fuel-ostf
* removes importing `traceback` module.
* incorporated review comments from fuel-dev team
Change-Id: I7055aeafdcb109bd3566f118379196ea6ca6037d
Closes-Bug: #1457397
Signed-off-by: Anil Belur <askb23@gmail.com>
This method is implemented in different places more times than it used.
Do refactoring to depuplicate it.
Change-Id: If81bf233065f8f9ad0ff8b40f6fce7cdf97e56f4
Closes-Bug: #1520518
If a user deletes the net04_ext network, Sahara and Ceilo platform tests
will fail. If the user deletes the net04 net, the same tests will fail,
too. To fix the issue network resources (a network, a subnet, a router)
will be created before tests to avoid such failures.
Closes-Bug: #1469877
Change-Id: Ic6132e6b55c9ab81c6236e7217f6bdd13b1c3bbe
Fixed all places where hacking rules (v0.7) was failing
Replaced ''' with """ to make them consistent
Change-Id: I9c1c20f910df696056d2a6a91c33ff7bad266b9f
Related-Bug: #1404892
Closes-Bug: #1408240
-Autoscaling templates were updated
-Verification that second instance is loaded was changed
(before we counted common number of instances with F17 image and waited until
this number increase, but that's not correct, that's why now we count instances which
belong to test stack and wait for scale-up)
Change-Id: I6c7cecf2f38cb73ef05c6eaea2c958e0cebded5b
Closes-Bug: #1334346
Patch include fixes:
* Change uri for parsing network_provider
* For create instance method add create_kargs parameter
with specified network id
* Fix pep8 issues
Fixes bug/1247230 bug/1247082
Change-Id: I154dfec16ee54de33787766f03025840ff15783a
The presented patch provides several necessary lines of code that make it
possible to run the OSTF tests based on a config written in a file. All the
user has to do is to insert an instruction like
os.environ['CUSTOM_FUEL_CONFIG'] = 'path/to/config/file'
before the actual OSFT launch. Changing the FuelConfig() method
implementation as well as moving its call in the BaseTestCase class
into the setUpClass() method serves for this goal and ensures that
the config values will override the default ones.
client for verification of volume attachment
In case if wrong provider location is provided cinder client
says that attachment was successful. But phisically it is not happened.
To fix this change usage of cinder client to verification
of attachment to nova client.
Also delete not used modules from the package:
* common.networking_common
* etc.image_vdi
*common.extended_tempest_conf
* network_client.py: new NovaNetworkClient added
* test.py, manager.py, clients/py were updated
to silently apply appropriate network client
* base.py, test_sanity_* were updated to use
new network client and to use new
fuel_health structure of modules