Commit Graph

8119 Commits

Author SHA1 Message Date
anthony a8e7d7b110 CS-12972 : cap is per domain/VM 2012-06-14 17:50:05 -07:00
anthony 22a5cd1d84 CS-14784, CS-15065 , after release IP, reapply other IPs in the same eth device, to prevent secondary IPs are removed when primary IP is removed 2012-05-23 18:47:08 -07:00
Prasanna Santhanam 972690352a don't send the simulator properties to api docs 2012-05-23 16:26:47 +05:30
Prasanna Santhanam 98b6c46fdd do not send commands-simulator.properties into build 2012-05-23 14:53:27 +05:30
frank 10cde8ed95 correctly removing awsapi when clean-tomcat
Conflicts:

	build/developer.xml
2012-05-18 11:11:33 -07:00
anthony 5045356e7f CS-14237 GC commands only sent to UP host
resolved fixed
2012-05-16 17:18:36 -07:00
anthony e0c61f9f56 CS-14784 support multiple subnets
resolved fixed
2012-05-16 16:49:47 -07:00
Prasanna Santhanam a8f0683160 Add additional retries to the SSH client by default 2012-05-15 16:56:20 +05:30
frank dcf7147928 don't call _secMgr.generateSetupCommand each time copying template
it will reboot httpd making in processing copy fail
2012-05-14 14:16:20 -07:00
frank a23a250f65 Don't call configSSL() in SecStorageSetupCommand
just for test
2012-05-14 14:15:55 -07:00
Prasanna Santhanam 289c53535e MD5 Auth for accounts created on the API 2012-05-14 19:36:36 +05:30
Prasanna Santhanam d52e7de663 Build if you have python 2.7 installed 2012-05-14 15:58:35 +05:30
Prasanna Santhanam e5ad5c0e1f Install paramiko as a dependency, don't complain about the requirement 2012-05-14 14:45:49 +05:30
Prasanna Santhanam 4be3bdd38a The setup_requires must not co-exists with install_requires 2012-05-03 13:21:15 +05:30
Kelven Yang 3c55173839 bug 14090: handle the case when command is sent to a different host that is not owner of the VM 2012-04-24 16:52:03 -07:00
Prasanna Santhanam 2c1c5853e4 CS-14596: check existence of config file before loading
Check whether the config file to load cloudstack config is avvailable
in the specified path.
2012-04-23 18:52:44 +05:30
Prasanna Santhanam c66fa3f815 CS-14025: provide python eggs to easily install the python test framework
CS-14025: Status - Resolved Fixed

1. Packaging the marvin test client into an installable egg
2. There is a hudson job (marvin) that creates eggs for a specified
branch
3. Alternatively you can use the package-marvin ant target to get a
source tarball.
2012-04-23 17:57:41 +05:30
kishan bf3f9b16c1 Add trafficMonitor ping time to pingMap on connect 2012-04-18 15:20:28 +05:30
Alena Prokharchyk 8e715856df listSSHKeyPairs: list by account/domainid. Also added account/domainId info to sshKeyPair response 2012-04-16 14:19:10 -07:00
Chirag Jog 0b45544e49 Remove Project related tests. They only apply to 3.0+ releases. 2012-04-13 05:39:34 -07:00
Prasanna Santhanam 848bda9910 Merge latest testClient fixes to marvin
reviewed-by: unittest
2012-04-12 18:11:59 +05:30
Prasanna Santhanam 37e172a5d6 missing tests directory causes warnings in distutils
reviewed-by: ant run
2012-04-11 17:44:35 +05:30
Prasanna Santhanam 19f1e8759e Package management for the python testclient christened Marvin
$ant package-marvin
will create a packaged source tarball of the testclient that is
redistributable and decoupled from the rest of the cloudstack build
reviewed-by: unittest
2012-04-11 17:44:17 +05:30
Prasanna Santhanam 542a876c97 removing the dependency of apidocs on simulator
reviewed-by: Frank Zhang
2012-04-11 17:44:09 +05:30
kishan 19a17cbbf3 bug 11520: Include TrafficMonitor hosts also while scanning for direct agents to load
status 11520: resolved fixed
2012-04-11 11:36:42 +05:30
Chirag Jog e33dcfb71d Remove Cloudstack setup tests.They are covered elsewhere.
Minor fixes to routers, accounts and snapshot limits.
2012-04-08 19:28:35 -07:00
Chirag Jog 87b5bc21e3 Bug 14612: Database client returns empty list after one successful query
Status 14612: resolved fixed
reviewed-by: Prasanna Santhanam <Prasanna.Santhanam@citrix.com>

Commit to refresh the transaction state
2012-04-06 02:52:26 -07:00
Kelven Yang 1499e49eaa bug 14618: Protect servlet container from shutting down on unexpected runtime exceptions
Reviewed-By: Kelven
2012-04-05 14:54:42 -07:00
Kelven Yang 77ce7db07e Bug 14301: Perform socket-level only management server pings
Reviewed-By: kelven
2012-04-05 14:54:40 -07:00
Prasanna Santhanam 80c624a3d9 reveal the complete exception from the dbClient
reviewed-by: Edison Su
2012-04-04 16:41:32 +05:30
Prasanna Santhanam d30effc0ad bug 14608: Async timeout counter does not get reset across tests
status 14608: resolved fixed
reviewed-by: Chirag Jog (chirag@clogeny.com)

Set the timeout countdown to start from beginning of each pollAsync instead
of setting it once for the entire run.
2012-04-04 16:36:06 +05:30
Chirag Jog 2bcc252699 Minor Fix. Ensure to "sync" contents. 2012-04-03 22:55:46 -07:00
Alena Prokharchyk 582e0b4da6 bug 14567: put db entry insertion in try/catch block and fail gracefully when the insertion fails (can happen when 2 MS try to insert the same entry)
status 14567: resolved fixed
2012-04-02 14:20:25 -07:00
Chirag Jog e6cabe217c Fix Previous Commit. 2012-04-02 10:05:55 -07:00
Chirag Jog f2371dc684 Fixes:
1. Replace fetch_api_client with Class object for HTTP Connections.
2. Fetch Host information instead of hard-coding.
3. Fix routers, snapshots tests with minor changes.
2012-04-02 09:59:11 -07:00
Prasanna Santhanam a0a0a9f813 Correcting the reported failure message
reviewed-by: Edison Su
2012-04-02 18:03:30 +05:30
Kelven Yang a3be402c3d bug 14564: Upon management server startup, for detected inactive management server (based on timestamp), perform ping-test before we really mark it as down
Reviewed-By: kelven
2012-03-30 16:42:31 -07:00
Abhi dde4effd79 bug 13873: memory overhead can now be overridden for each version, increasing the overhead for SP2 by 1.5% 2012-03-30 16:22:13 +05:30
Kelven Yang 8852668b48 Bug 14551: add top-level catch clause to protect task/thread from stalling
Reviewed-By: Kelven
2012-03-29 18:26:48 -07:00
Prasanna Santhanam 8a4d1c4fda bug 13234: unit test to test the user decorator
status 13234: resolved fixed

Uncomment each decorator to test
- tests run as existing admin
- tests run as new user in new domain
- tests run as new user in existing domain
- tests run as old user in existing domain
- tests run as new domain admin in new domain
2012-03-29 19:19:30 +05:30
Prasanna Santhanam af45d8207d bug 13234: run tests as a regular user on testClient
status 13234: resolved fixed
reviewed-by: unittest

When multiple tests in a user-decorator suite are run only the first
test runs successfully since the apiKey has been altered to that of a
regular user. Preventing failure of other tests by detecting user
context - user, admin, domain-admin.

@UserName decorator applies to a testSuite class not a testMethod
2012-03-29 19:19:08 +05:30
Edison Su 0268665670 bug 13234: add UserName decorator on testcase, in the form of (username, domainName, accountType). status 13234: resolved fixed. Reviewed-by: prasanna 2012-03-29 19:13:12 +05:30
Edison Su 741b604c80 put correct import 2012-03-28 16:47:29 -07:00
Edison Su e8abfa4d1f bug 14535: fix multiple data disks attached to a vm, then stop/start failed. status 14535: resolved fixed; Reviewed-by: sheng 2012-03-28 16:42:43 -07:00
Kelven Yang 0028f1771d bug 14301: suppress expected exceptions from showing annoying stack dump, the message will be logged at TRACE level.
Reviewed-By: Kelven
2012-03-28 15:43:25 -07:00
Kelven Yang 7762f1c7d7 bug 14491: use template unique name instead of self-generated UUID name. Reviewed-By: Kelven(with test) 2012-03-28 14:16:29 -07:00
Edison Su d80f91a80c bug 10947: apply patch from Maurits; status 10947: resolved fixed 2012-03-28 11:28:41 -07:00
Kelven Yang 510ec31d0c bug 14301:
1) Support HTTP keep-alive in clustering communication channel
2) Increase concurrency level for clustering message delivery

Reviewed-By: Kelven (with unit test)
2012-03-26 23:12:04 -07:00
Kelven Yang ae14950095 bug 14301:
1) Drop synchronized call semantic for ClusterManagerImpl.broadcast()
2) Have no choice now but to use an unbound thread pool to notify upper layer. This is to prevent thread starvation when we have cross-management server waitings.

Reviewed-By: Kelven(with unit test)
2012-03-23 22:43:49 -07:00
Prasanna Santhanam f4f58091d8 reduce logging verbosity, set level to info
reviewed-by: Kishan
2012-03-24 09:54:22 +05:30