Commit Graph

8043 Commits

Author SHA1 Message Date
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
Jessica Tomechak 2d19f3c29f Update API Reference generator docs. 2012-02-17 03:15:40 -08:00
prachi 8516186db1 Bug 13824 - VM Deployment: If Root Volume is Ready, Planner should reuse the storagepool until cluster has capacity
Reviewed-By: Alex

Changes:
- Reuse the same storagepool where the Volume is ready on each retry of VM deployment until the cluster where the volume is has capacity
- After the cluster is out of capacity, we look in other clusters and find a new storagepool.
- At this point if the volume is recreatable on the new storagepool, depoyment will succeed provided everytyhing else goes through
- But if the volume is not recreatable and its cluster is out of capacity, we will still fail to deploy the VM

Conflicts:

	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2012-02-16 17:20:54 -08:00
Edison Su 4b7543f9a6 bug 13609: libvirt-java doesn't handle error 72, rebuild the jar
status 13609: resolved fixed
Reviewed-by: frank
2012-02-16 13:08:39 -08:00
Kelven Yang 1f679f2542 bug 13777: propagate snapshot packaging failures up. Reviewed-By: Anthony 2012-02-15 16:18:25 -08:00
Kelven Yang 1325509291 bug 13537: use --no-same-owner when we untar OVA file to work with NFSv4. Reviewed-By: Anthony 2012-02-15 15:59:01 -08:00
Chiradeep Vittal 3c10c624dd bug 13733: allow dhcp requests and responses all the time 2012-02-15 15:50:15 -08:00
Edison Su 91c35c72fe bug 13647: adding iptables rules failed, sleep and retry
status 13647: resolved fixed
Reviewed-by: Frank
2012-02-15 14:52:48 -08:00
Edison Su 1a1a2e74c2 bug 13698: set max processes per user is ulimited
status 13698: resolved fixed
Reviewed-by: alex
2012-02-14 16:23:49 -08:00
Kelven Yang a19dff444c bug 13637: don't send ENTER/BACKSPACE in javascript KEY-PRESS event. Reviewed-By: Anthony 2012-02-14 16:03:03 -08:00
Naredula Janardhana Reddy 6094787cdb Bug 12808: ignoring errors on delete.
Reviewed-by: Abhi
2012-02-14 14:14:10 +05:30
Ewan Mellor d85cc8194b Hard-code version number for the zip file, since ${version} is wrong on this
branch.
2012-02-13 14:31:50 -08:00
Ewan Mellor 37ed4b75eb Added a 'Simulator' entry to the category list. 2012-02-13 14:30:31 -08:00
Ewan Mellor c16f13841f Added build-apidocs-zip build target that generates HTML versions of the
API docs.  Uses XML/XSLT generation system originally by Abhinandan Prateek
(I think).  CSS updates from Jessica Tomechak.  gen_toc.py and build script
changes by me.

Conflicts:

	build/developer.xml
2012-02-13 14:30:30 -08:00
Chirag Jog f99a65e59b Minor fixes to test cases 2012-02-10 09:24:21 -08:00
abhi 11d37d1a23 bug 13549: cleanup stopped/starting VMs if present on host during MS startup 2012-02-10 09:52:18 +05:30
Alex Huang 4e0ef5476d bug 13478: added exception printing. Reviewed-by: Anthony 2012-02-09 16:48:04 -08:00
Alex Huang e1c81b94cf bug 13478: fixed problem with high availability manager being started too early. Reviewed-by: Anthony 2012-02-09 16:41:31 -08:00
Edison Su c54098d0b8 add certiifcate upgrade scripts 2012-02-09 14:35:05 -08:00
Edison Su 206da17422 bug 13470: check the correct old certificate
status 13470: resolved fixed
Reviewed-by: anthony
2012-02-09 12:57:50 -08:00
Edison Su c5ac969ab7 bug 13145: re-load the vm data
status 13145: resolved fixed
Reviewed-by: anthony
2012-02-09 12:57:44 -08:00
Edison Su 4eab8c4dbd Agent disconnected due to so many Fencecommand send to agent, cause agent can't get pingaswer from mgt server, then agent thinks it's ping timeout, reconnect to mgt server.
The fix is add a separate thread pool for all the reqests from mgt server(which may be time-consuming), so the pingaswer(which is response) is processed in another different thread pool. Make sure the pinganswer is get processed immeidately.
Reviewed-by: Alex
2012-02-09 12:57:01 -08:00
Edison Su d54175234a cleanup
Reviewed-by: Kelvin
2012-02-09 12:54:54 -08:00
Edison Su 4dd1fc92fe add cert chain in db, and also open the api to upload a cert chain 2012-02-09 11:50:43 -08:00
Edison Su 447c9ea27a add realhostip.crs/key/crt
Reviewed-by: frank
2012-02-09 11:38:12 -08:00
Edison Su 2326e4f080 bug 13416: backport patch from master to 2.2.14, need to restart cloud-agent on kvm host if cancelmaitaineance command is send
status 13416: resolved fixed
Reviewed-by: frank
2012-02-09 11:38:08 -08:00
Edison Su 3b795137a2 bug 13551: in some case, libvirt returns storage pool available, but mount point is not there
status 13551: resolved fixed
Reviewed-by: anthony
2012-02-09 11:36:44 -08:00
Edison Su cec4616629 bug 13556: return error if libvirt can't mount storage
status 13556: resolved fixed
Reviewed-by: anthony@citrix.com
2012-02-09 11:36:41 -08:00
Nitin Mehta 045dc02845 Bug 13564: Incorrect format was coming for kvm since there was a ohardcoding on the extension to be of size 3 Instead take the format from the ENUM.
Reviewed-By: Kishan
2012-02-09 20:21:00 +05:30
Naredula Janardhana Reddy 25053c41c8 Bug 12808:
Summary of Changes:
       - Added Static Nat to use multiple routing tables.
  Reviewed-By: Kishan
2012-02-09 20:04:35 +05:30
Murali reddy 3ac56a7354 bug 13492: vmware:Template sizes are incorrectly reported
status 13492: resolved fixed
reviewed-by: Nitin

virtual size of the private templated from size mentioned in the OVF file
2012-02-09 20:03:10 +05:30
frank 169073e730 Bug 13526 - copying template across zone failing with status HTTP Server returned 403 (expected 200 OK) Even though gets status message copy succeeded (
Bug 13429 - copy template FAIL - HTTP Server returned 403

lots of things:
1. generate a IP list of all SSVM across all zones, set this IP list to my .htaccess allowable from.
   so other SSVMs get privilege to access me.

2. broadcast my IP to other SSVMs instructing them set me to theirs .htacess allowable from. so I get
   privilege to access others

3. set outbound route for downloading through public IP. Because public ip/private ip in the same subnet in basic
zone, the http download traffic may come in through public ip but go outside through private ip which finally causes
the VM where the traffic is from to drop response packets. To resolve this, set individual route for each SSVM public
ip making sure the inter-communication between system vm happens through public IP

however, I met certificate expiraton on one SSVM, will report another bug

reviewed-by: Sheng.yang
status 13526: resolved fixed
status 13429: resolved fixed
2012-02-08 18:33:18 -08:00
frank d0d7d25ad7 Bug 13529 - Multiple Management Servers: cloud-setup-databases script fails to execute
status: 13529: resolved fixed
reviewed-by:edison
2012-02-08 16:57:12 -08:00
abhi 96b26248e9 bug 13471: disabling LB, merge 2012-02-08 19:32:35 +05:30
kishan de54351c64 Bug 11931: Add quotes to snapshot name and volume name. Fixed create template from snapshot also by adding quotes
Status 11931: resolved fixed
Reviewed-By: Nitin
2012-02-08 17:21:08 +05:30