1508 Commits

Author SHA1 Message Date
Sheng Yang
d09008ff72 bug 10692: Fix the limitation of SSL packet is 16k using compression 2011-07-12 14:50:00 -07:00
Sheng Yang
8725257f6b bug 10692: Fix the limitation of SSL packet is 16k using compression 2011-07-12 13:09:52 -07:00
anthony
d8da1e9412 bug 10690: add "live" option to migrate
status 10690: resolved fixed
2011-07-11 19:36:09 -07:00
anthony
67d51edbd3 bug 10690: add "live" option to migrate
status 10690: resolved fixed
2011-07-11 19:35:28 -07:00
Alex Huang
c537d8a00b more logging for gson 2011-07-11 14:19:35 -07:00
Alex Huang
b9d4d65714 more logging to figure out problems with gson 2011-07-11 14:18:12 -07:00
Alex Huang
e5994a6485 added logging for the gson error 2011-07-09 10:58:14 -07:00
Edison Su
81475c256b fix user/meta data: if data is empty, return a blank file, not 404 2011-07-08 13:50:27 -07:00
Kelven Yang
49999bf609 bug 10618: another place that could possibly throw NPE 2011-07-08 09:55:32 -07:00
Kelven Yang
97cdf2eccd bug 10618: another place that could possibly throw NPE 2011-07-08 09:54:22 -07:00
alena
9be9a970c9 bug 10409: added domainSuffix parameters to account/domain objects 2011-07-06 16:57:19 -07:00
Nitin
fb981be800 bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
status 10580: resolved fixed
2011-07-06 18:20:17 +05:30
Nitin
1c73e378da bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
status 10580: resolved fixed
2011-07-06 18:15:18 +05:30
Abhinandan Prateek
6137a6582d bug 8962: chnaged the log level from wrn to debug for error message - VM does not exists, while stopping VM
bug status: resolved fixed
2011-07-04 17:02:44 +05:30
Edison Su
56bc4f27a9 fix user/meta data: if data is empty, return a blank file, not 404 2011-07-01 12:58:14 -07:00
kishan
9a6c567269 bug 10503: Skip usage events when StopAnswer details is Vm does not exist
status 10503: resolved fixed
2011-07-01 18:27:27 +05:30
kishan
1dcbfe09f9 reverting fix for 10503, VM stop answer 2011-07-01 18:10:49 +05:30
kishan
dde4b48088 bug 10503: Return StopAnswer status as false while stopping an already stopped Vm
status 10503: resolved fixed
2011-07-01 16:54:42 +05:30
kishan
36d7ee5634 bug 10372: Added Vm State Machine listener for usage events
status 10372: resolved fixed
2011-07-01 16:37:53 +05:30
kishan
12068f957c bug 10503: Return StopAnswer status as false while stopping an already stopped Vm
status 10503: resolved fixed
2011-07-01 13:54:43 +05:30
anthony
2602614fd3 set correct secondary storage host id in snapshot table 2011-06-28 14:08:39 -07:00
anthony
1e7399dd19 set correct secondary storage host id in snapshot table 2011-06-28 14:08:18 -07:00
alena
18dc85c765 Pass isForRebalance parameter to processConnect method of all the listeners - some listeners don't have to be notified when connection happens as a a part of Agent Rebalance process (VirtualMachineManagerImpl listener for instance) 2011-06-27 10:37:00 -07:00
alena
826f5eedf1 bug 10447: don't notify VirtualMachineManager listener when do host rebalance - vm sync is not needed in this case.
status 10447: resolved fixed
2011-06-27 10:37:00 -07:00
alena
41f12eb642 Pass isForRebalance parameter to processConnect method of all the listeners - some listeners don't have to be notified when connection happens as a a part of Agent Rebalance process (VirtualMachineManagerImpl listener for instance) 2011-06-27 10:20:41 -07:00
alena
0bf34f3612 bug 10447: don't notify VirtualMachineManager listener when do host rebalance - vm sync is not needed in this case.
status 10447: resolved fixed
2011-06-27 10:20:40 -07:00
alena
74f34a0e0c bug 10435: removed vpn feature
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
Alex Huang
a254e90ab3 Renamed IPAssoc to IpAssoc to be consistent with agent commands 2011-06-21 10:15:42 -07:00
Alex Huang
8459ae0beb Renamed IPAssoc to IpAssoc to be consistent with agent commands 2011-06-21 09:25:29 -07:00
Sheng Yang
9466106c40 bug 9154: Add isRedundantRouter to DomainRouterResponse 2011-06-15 14:39:28 -07:00
Sheng Yang
6f0edd9541 bug 9154: Add router fault state report 2011-06-14 20:33:18 -07:00
Sheng Yang
07a61686db bug 9154: Add redundant state to DomainRouterResponse 2011-06-14 19:31:24 -07:00
Sheng Yang
aef562c69d bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
Then we can distingush BACKUP state from UNKNOWN state(which means we didn't get
valid answer from CheckRouterCommand).
2011-06-14 18:48:56 -07:00
Sheng Yang
a492c07e4c bug 9154: redundant virtual router
Add CheckRouterCommand for XenServer

Now VMware/Xen/KVM all support redundant virtual router.
2011-06-14 15:45:29 -07:00
alena
01538e4d1e bug 9511: use new StringBuffer for each PF/StaticNat rule
status 9511: resolved fixed
2011-06-13 22:31:49 -07:00
alena
30617a947c bug 9511: use new StringBuffer for each PF/StaticNat rule
status 9511: resolved fixed
2011-06-13 22:15:15 -07:00
Abhinandan Prateek
6c35a97cd8 added check for null 2011-06-14 10:31:03 +05:30
Abhinandan Prateek
11816a174d added missing check for null 2011-06-14 10:24:49 +05:30
anthony
e91e0b4174 bug 9997:
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.

status 9997: resolved fixed
2011-06-13 16:45:13 -07:00
Alex Huang
9461990d9e revert accidental checkin 2011-06-13 14:51:07 -07:00
Alex Huang
c62643536a Added new search 2011-06-12 06:04:27 -07:00
Alex Huang
2688d61a1e bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object. 2011-06-11 13:45:28 -07:00
Alex Huang
44d15d38b0 bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object. 2011-06-11 13:45:00 -07:00
Abhinandan Prateek
8e4ec4ce09 bug 8962: moving vm from one account to other 2011-06-09 15:02:47 +05:30
Sheng Yang
62ac899091 bug 9154: Initial check in for enabling redundant virtual router
This patch enable redundant virtual routers.

1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):

UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;

2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.

3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.

4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.

5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.

After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.

Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -07:00
anthony
416efeb59a bug 10152: supoort XenServer 5.6 service pack 2
status 10152: resolved fixed
2011-06-07 10:39:57 -07:00
Alex Huang
a0ce3da191 fixed problem with header 2011-06-05 13:51:29 -07:00
Alex Huang
d9e0bcfa1e bug 10126: Renamed getPodId() to getPodIdToDeployIn() 2011-06-03 22:17:08 -07:00
Edison Su
3cddd72c9b fix template sync issue 2011-06-02 22:38:13 -04:00
Alex Huang
2dbb8eb502 bug 9651: Make same VLAN work on two different nics 2011-06-01 17:07:44 -07:00