snf-burnin: Replace usage of CachedAstakosClient
CachedAstakosClient is an internal class of kamaki.Instead of using this, use the AstakosClient class thatkamaki re-exports from astakosclient library.
snf-burnin: Ignore paramiko logger
burnin: Alter AstakosClient to CachedAstakosClient
Kamaki changed its API and now AstakosClient has been renamed toCachedAstakosClient whereas the AstakosClient class points to theastakosclient package.
snf-burnin: Add new NIC after ping
Burnin has a race condition where if it tries to add a new NIC beforethe server has been completely booted, the kernel will not detect thenew NIC (not until the server reboots).Fix this by adding the new NIC to the server after we have tested (ping)...
burnin: 'SSHException' has no attribute 'errno'
snf-burnin: Better log output
Testsuite ServerTestSuite will not fail if one of the generatedtests fails.
snf-burnin: Retry when SSHException
Retry when `SSHException: Error reading SSH protocol banner'.
burnin: Fix a bug when generated tests fail
When a generated test was failing (in particular theGeneratedServerTestSuite) burnin couldn't know that this test failedand wasn't exiting with an error exit status.
Fix this by forcing the test that generated the erroneous test suite to...
burnin: If machine is ERROR we cannot delete ports
If the machine is not in ACTIVE state we cannot delete its ports.This patch changes burnin so when cleaning up stale servers(where there is the possibility that the machine is not ACTIVE)it will not try to disconnect the server from the public network....
burnin: Fix a bug with missing method
Method `_disconnect_from_floating_ips' has been removed butStaleFloatingIPsTestSuite was using it. Replace this method with`_delete_floating_ips'.
burnin: Add --temp-directory option
This option is used to specify a temp directory to be usedby burnin to save it's intermediate files. The defaultvalue for this option is "/tmp/"
burnin: Change --quiet logging behavior
When --quiet flag is used, burnin will not produce a loggingfile at all (neither will log to stdout). This flag is usedwhen we simple want to check if there are stale servers fromprevious runs (we can do this based on burnin's exit status)...
burnin: Add STOPPED as valid state when deleting
After a reconciliation, a machine will go to STOPPED statebefore the DELETED state. This commit adds the STOPPED stateto the accepted states for a machine that is being destroyed.
Burnin: Small code refactoring
Burnin: Fix some verbal errors
burnin: Get quotas from Astakos service
burnin: Verify quotas
After every action that changes the user's quotasverify that quotas' changes are consistent.
burnin: Implement the new Network API
burnin: Add new logger
burnin: Parse arguments
burnin: Remove old implementation
We are going to re-implement burnin.The goal is to have a cleaner structure (not all code in one file),a better logging schema and remove code that is unused or duplicated.
Refs #3385
burnin: Add --quiet and --final-report-only flags
`final-report-only' flag is useful when burnin is used inscript files and it's output is to be sent using email.
burnin: Test name2uuid
burnin: Add FlavorsTestSuite
burnin: Add PithosTestSuite
burnin: Add ImagesTestSuite
burnin: Use descriptors as test attributes
Since each instance of the TestCase will only be used to run a singletest method (a new fixture is created for each test) the attributes cannot be saved in the class instances. Instead we use descriptors.
burnin: Write ServerTestSuite
burnin: Create a new module to split up codebase
burnin: Finish ServerTestSuite
burnin: Implement StaleServersTestSuite
This testsuite is used to inspect and delete stale servers(servers left from previous burnin runs).
burnin: Implement NetworkTestSuite
snf-ci: Update burnin command line parameters
Add the kamaki_version parameter to the ci config file.Using this parameter the user can specify a version of kamakito be used (mostly by burnin).
Force the use of version 0.11next-1811-197b413 for kamaki,...
burnin: Fix a bug with logging.Formatter
The attribute 'msg` contains the unformatted string passed in theoriginal logging call. We should use the `message' attribute which isthe logged message, computed as msg % args.
snf-burnin: Add a missing `return'
snf-burnin: `system-images-user' is not mandatory
`system-images-user' flag is not mandatory when oneuses the `show-stale' flag.
snf-burnin: Change exit code to 1 for errors
When burnin test cases fail, return 1 as exit code.
burnin: Fix a bug with image metadatas
Plankton returns properties whereas Cyclades returnsmetadata for the images.
burnin: add --system-images-user flag
With this flag one can specify the owner of thesystem images.Currently one has to specify owner's uuid.This options is mandatory.
burnin: Don't register images as public
Merge branch 'release-0.14' into develop
Conflicts: snf-astakos-app/astakos/im/views/target/redirect.py snf-cyclades-app/synnefo/logic/backend.py version
burnin: Set CONNECTION_RETRY_LIMIT=2 on all kamaki clients
burnin: Increase ping timeout
burnin: Set CONNECTION_RETRY_LIMIT for PithosClient
Set CONNECTION_RETRY_LIMIT=2 for the PithosClient
burnin: Fix typo from image_id to image-id
burnin: In sync with latest API changes
burnin: Use one single URL for entry point
Use Astakos' Authentication URL as a single entry pointfor the synnefo API.
burnin: When raising AssertionError give more details
burnin: Fix a bug in ImagesTestCase
Filter images list so it does not contain burnin's registeredimages. This way we reduce the posibility that images list anddetailed images list have different number of images.
burnin: Changes for compatibility with OS/Compute v2
Refs #3767
FIx bug in snf-burnin
"create_network" function of kamaki client, has default dchp=False.However, "test_002_connect_to_network", expects to that created NICswill have an IPv4 address, and "test_003a_setup_interface_A" triesto configure eth1 to this IP, which fails....
Fix typo
Fix bug in snf-burnin about flavor names
Since version 0.13 flavors have been renamed in order to include thedisk_template. This commit fixes the corresponding check in snf-burnin.
Change network's cidr to a valid one
When authenticating check for uuid or uniq
This way we are compatible with synnefo-0.12as well with synnefo-0.13.
Strengthen NetworkTestCase assertion checks
burnin:Get rid of `pithos_user' flag
Get the user's uniq id from astakos.
burnin:Determine uploaded image from it's location
Previous use of 'owner' was wrong as owner is different from user id weare using right now.
Cleanup after register a new image
Remove guestfs
Try to upload and register an image
Add Pithos TestCases
Revert "Re-enable `test_001_list_servers'"
This reverts commit b3e64586f762d8292d63e5f46b8156e56089f260.
Replace fabric with paramiko
Re-enable `test_001_list_servers'
Burnin meet flake8!
Don't wait for cleanup_servers in cleanup_networks
It seems that cleanup_networks always is called aftercleanup_servers, in serial execution order.
Also `--token' seems to be mandatory even wheninspecting or deleting stalled objects.
Better handling of `delete_stale' in cleanup_networks
We should not check (and wait) for staled servers tobe deleted if all we want is to show staled networks.
Minor fixes in snf-burnin - Disable multiprocessing when opts.fanout==1 - Fix custom TextTestRunner when result_dict uninitialized
Minor fixes in snf-burnin
- Fix in stale resources cleanup- Using new custom resultclass for the testrunner
Merge branch 'snf-tools' into snf-burnin-dev
Conflicts: snf-tools/synnefo_tools/burnin.py
Minor fixes
Fix public IP discovery with multiple available public networks
snf-burnin stores information about VMs/networks in the detailed log
--delete-stale checks for stale resources until action_timeout
Major changes in snf-burnin:
Minor fixes in cli dialogs
snf-burnin checks only "osfamily" and "root partition" in image metadata
Improve snf-burnin loggingImplement colored cli output
Fix snf-burnin --help outputAdd argument to select subset of testcases
Minor fixes in burnin
snf-burnin skips various tests when windows image is selected
Add cli parameter to disable ipv6 related testsFix snf-burnin to check only system's images for unique names
Implement failfast feature in snf-burnin
Do not track autogenerated version file
Initial commit to snf-tools