Commit Graph

8077 Commits

Author SHA1 Message Date
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
Prasanna Santhanam f91c681545 testCase level logger and testClient class attr
reviewed-by: Chirag Jog

Each testCase class will use its own logger to distinguish log
messages when multiple suites are run. This will aid debugging

Every cloudstackTestCase will also contiain a class level attr of the
testClient which was previously available only to setUp/tearDown. Now
even setUpClass/tearDownClass can use this attribute.
2012-03-24 09:54:22 +05:30
Kelven Yang 80abeb7522 bug 14301: fix regressions caused by new clustering transport. Correct usage of HttpClient to avoid socket staying in CLOSE_WAIT state for too long. Reviewed-By: Kelven 2012-03-23 09:04:49 -07:00
Kelven Yang 9feebe8682 bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven
Conflicts:

	server/src/com/cloud/cluster/ClusterServiceServletImpl.java
2012-03-23 09:04:10 -07:00
Kelven Yang 64899e05ec bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven
Conflicts:

	server/src/com/cloud/cluster/ClusterServiceServletImpl.java
	server/src/com/cloud/cluster/DummyClusterManagerImpl.java
2012-03-23 09:00:45 -07:00
Kelven Yang 66ebcd9df5 Bug 14213: use UUID name in secondary storage for templates. Reviewed-By: edison 2012-03-21 16:43:02 -07:00
Prasanna Santhanam 61b7824db5 correcting the ip sequence
corrected the sequence in which private and public IPs of the pods are
generated. each 8bit mask should remain in 0-255 range.
2012-03-21 13:58:51 +05:30
Prasanna Santhanam 9cec7875de can't append str to logger message 2012-03-21 11:13:45 +05:30
Kelven Yang b024562869 bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven 2012-03-20 16:26:58 -07:00
Kelven Yang ea92ab72fa bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven 2012-03-20 16:26:29 -07:00
Edison Su 0b4c0e3e46 bug 7080: fix usage for kvm;Reviewed-by: kishan 2012-03-20 15:04:53 -07:00
frank c76349ffe1 Bug 14149 - OVM Typo and wrong mountpoint
status 14149: resolved fixed
2012-03-19 17:38:57 -07:00
Edison Su 121ac31433 bug 7080: add network usage for kvm, get data from VR. status 7080: resolved fixed 2012-03-19 11:24:10 -07:00
Chirag Jog ce0700dbbc Fetch Domain-ids from list instead of picking up fixed values.
Fixed tests in Accounts against 2.2.14 build.
2012-03-18 23:03:31 -07:00
Prasanna Santhanam f4217babe6 adding more logging to router suite 2012-03-16 13:14:19 +05:30
frank 1033fb4a24 fix copying template 2012-03-15 14:41:19 -07:00
Prasanna Santhanam 1fcb6ccd93 defaulting test script passwords 2012-03-15 16:28:14 +05:30
Edison Su b6a1a69f52 use the timeout from the command send by mgt server 2012-03-12 12:05:48 -07:00
Chirag Jog e7e4c86533 Fixes based on Prasanna's change to testframework
Additional logs/checks around all API calls and SSH calls.
2012-03-06 09:24:59 -08:00
prachi 28ace646bf Bug 14028 - Add hostid parameter to StartVmCmd to enable admins to start VM on a particular host
- Fixing build
2012-03-05 18:00:42 -08:00
prachi 529e9e5b09 Bug 14028 - Add hostid parameter to StartVmCmd to enable admins to start VM on a particular host
Changes:
- Added hostid to StartVMCmd. Only root admin can use it.

Conflicts:

	server/src/com/cloud/vm/UserVmManagerImpl.java
2012-03-05 17:57:34 -08:00
Alena Prokharchyk fb2ed48304 bug 14103: mark account for cleanup only in cleanupAccount and disableAccount method, not in the callers methods
status 14103: resolved fixed
2012-03-05 16:16:46 -08:00
Sheng Yang 854997aab6 bug 14076: Fix the exception scope
status 14076: resolved fixed
2012-03-01 15:39:32 -08:00
frank 76e7a8633c Make direct agent pool size configurable 2012-03-01 13:46:28 -08:00
Prasanna Santhanam 929dd643ca adding logging with level and timestamp 2012-02-29 12:05:06 +05:30
Prasanna Santhanam 57bf98a0c8 adding retry logic, error handling, and urllib2 used for managing connections 2012-02-29 12:05:06 +05:30
Prasanna Santhanam 1f7c5e3b01 propagating changes from master 2012-02-29 12:05:06 +05:30
Edison Su 2f9efa96b7 fix iptable rules after reboot inside guest vm, drop rule coming ahead of dhcp rule, so user vm can't get ip address anymore 2012-02-28 20:29:51 -08:00
Edison Su 84aec81cb9 bug 13733: make sure dhcp request/response are always allowd. status 13733: resolved fixed 2012-02-28 18:23:36 -08:00
frank 6070f22209 fix Ovm network for bond device 2012-02-27 16:06:11 -08:00
Chirag Jog 13ecccff66 Updated the BVT tests with the following changes:
1. Ensure we poll + sleep instead of just sleep.
2. Additional checking for SSH command and all list commands.
2012-02-26 23:01:03 -08:00
anthony 50d77044a8 get fsimage from sp2 for XenServer 5.6 GA 2012-02-24 15:08:05 -08:00
Kelven Yang d55b338b7b bug 13808: unpack OVA if OVF file does not exist (don't rely on template installation script to unpack it for us). Reviewed-By: Edison 2012-02-24 14:07:34 -08:00
Kelven Yang 3fa9747bcd bug 13987: a regression was caused by typo. Reviewed-By:Anthony 2012-02-24 13:32:06 -08:00
Prasanna Santhanam 876ad2ba1f The HTTPConnection object times out too soon when status is being polled. This
depends on python's internal socket implementation. Added an explicit 3m
timeout. Test code MUST NOT induce sleeps longer than 3m, instead check status
periodically to keep the HTTPConnection alive.
reviewed-by: Chirag Jog <chirag@clogeny.com>
2012-02-23 18:45:53 +05:30
Edison Su 9922f214bb set migrate speed based on LAN speed 2012-02-21 13:53:31 -08:00
Chirag Jog 64ed65d16a Merge branch '2.2.y' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.y 2012-02-21 03:24:04 -08:00
Chirag Jog 2c4453e116 Add missing __init__.py for imports to work 2012-02-21 03:23:04 -08:00
Naredula Janardhana Reddy f6261f6f6c Bug 13375:
Summary of changes:
  - Fix the order of source nat ip's : Static Nat IP's will be on top of Router source nat IP's. means Static NAT ip will take higher preference when compare to router ip while picking ip for source nat.

Reviewed-by: Abhi
2012-02-20 16:35:16 +05:30
Chirag Jog 28cadfcd58 Remove Unecessary Files.
Minor cleanups.
2012-02-18 12:03:14 -08:00
Chirag Jog 885c9f64a5 Merge branch '2.2.y' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.y 2012-02-18 11:41:27 -08:00
Chirag Jog 8894b091ad Add support for P1-tests:
1. test_accounts.py
2. test_resource_limits.py
3. test_templates.py
4. test_volumes.py
2012-02-18 11:38:15 -08:00
Kelven Yang 0899dd5641 bug 13777: propagate snapshot packaging failures up. Reviewed-By: Anthony
tar command random failure may occur due to linux kernal bug (or feature) that tar can't handle well. The failuar happens when tar wants to package a newly created file before file system has fully synced
2012-02-17 15:01:05 -08:00