Commit Graph

2571 Commits

Author SHA1 Message Date
Alex Huang b1de7ece25 bug 9651: we're saving the tags twice. 2011-06-08 15:55:37 -07:00
alena 404e09f6ee Agent LoadBalancing in cluster management server setup is enabled by default now 2011-06-08 15:09:49 -07:00
alena f81ddc1f7b 1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain
2011-06-08 11:55:36 -07:00
Sheng Yang 872116890b Fix findByNetwork()/findByNetworkAndPod()'s return
Add null check and some missed empty check.
2011-06-08 11:45:42 -07:00
Edison Su 00268632ac bug 10177: fix multiple local secondary storage: when we starting vm, only choose the local secondary storage that related to the planned computing host
status 10177: resolved, fixed
2011-06-07 20:22:16 -04:00
Sheng Yang 7f6a3bca4c Redundant Router: Fix OVS 2011-06-07 18:02:28 -07:00
Sheng Yang 1d26d736c9 Redundant Router: Fix VPN 2011-06-07 17:34:00 -07:00
Alex Huang 65fc9bf847 bug 9651: added tags to network response for ui 2011-06-07 15:08:04 -07:00
Sheng Yang 0c92bf5b79 Some build fixes and code refactoring for redundant router 2011-06-07 14:47:46 -07:00
Sheng Yang 5db86e6c20 Fix CheckRouterAnswer's isMaster report
If we got invalid/unsuccessed answer from CheckRouterAnswer, set master to
false.

Also add missed scripts.
2011-06-07 14:47:46 -07:00
Sheng Yang 7462aa8539 Add host verification for CheckRouterCommand
We only send CheckRouterCommand to the hosts managed by current management
server.
2011-06-07 14:47:45 -07:00
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 f0352fc2ed bug 9351: xen.max.product.version is not used, remove them
status 9351: resolved fixed
2011-06-07 14:43:16 -07:00
Edison Su 0d064c46b4 listemplate should only list templates that owned by caller 2011-06-07 14:20:23 -04:00
Edison Su 04c7456ca1 remove the listnetwork, which causes mgt server uses 100% cpu, if you have 600 records in networks table 2011-06-07 13:43:51 -04:00
Edison Su 4529e1c615 Revert "listemplate should only list templates that owned by caller"
This reverts commit df1ba3b3f437644c5e565676c1d617b90bb28072.
2011-06-07 13:41:49 -04:00
Edison Su 6540154420 listemplate should only list templates that owned by caller 2011-06-07 12:33:11 -04:00
anthony 416efeb59a bug 10152: supoort XenServer 5.6 service pack 2
status 10152: resolved fixed
2011-06-07 10:39:57 -07:00
nit 679159ccf4 bug 9922 : My ISOs shouldnt list Featured ISOs when the user is not the owner of those isos.
status 9922: resolved fixed
2011-06-07 12:22:49 +05:30
alena 158807c877 Fixed unittest 2011-06-06 16:52:11 -07:00
alena a03e2b8a12 Added upgrade path from 225 to 226
Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-06-06 13:55:50 -07:00
alena 64252b48f2 bug 10166: drop account_id/domain_id fields (if exist) in domain_router table
status 10166: resolved fixed
2011-06-06 13:55:50 -07:00
alena 9a2cc8008b Db upgarde: changed 225-226 to be 226-227 2011-06-06 13:55:50 -07:00
will 5913c5a441 Added an acknowledge process for the registration complete process of cloudzones. Only after a expires=true will the token be truly expired. 2011-06-06 11:47:59 -07:00
nit c46ddeab2d bug 9886 : ExtractVolume - Put in the ACL layer check and allow datadisk to be extractable if they pass the acl layer check.
status 9886: resolved fixed
2011-06-06 16:12:29 +05:30
kishan b82fac179a bug 9785: Added Vlan Assign Release events
status 9785: resolved fixed
2011-06-06 13:33:21 +05:30
alena 14cdc7de14 bug 9127: covered failure scenarios for agent LB.
status 9127: resolved fixed

The feature is completed; please file separate bugs if any issue arises during the testing.
Wiki link describing how agentLB works: http://intranet.lab.vmops.com/engineering/release-2.2-features/agent-load-balancing
2011-06-05 17:35:30 -07:00
Alex Huang 019cc78976 Fixes problems in routing between management servers 2011-06-05 16:06:54 -07:00
Alex Huang a0ce3da191 fixed problem with header 2011-06-05 13:51:29 -07:00
Sheng Yang 7cf312674b bug 10135: Fix clustered agent manager's version bug
We are using v1 now, instead of v3. This bug result in all the commands from
the other clustered management server would be sent to agentmanager, and then dropped.

status 10135: resolved fixed
2011-06-04 21:28:03 -07:00
Sheng Yang ff86c865e2 bug 10135: Add SSL encryption for non-NIO link
Now Link.write() support SSL encryption. And since there is no user of
Link.read(), we comment it out.
2011-06-04 21:27:18 -07:00
Alex Huang d9e0bcfa1e bug 10126: Renamed getPodId() to getPodIdToDeployIn() 2011-06-03 22:17:08 -07:00
will f9867a6475 Temp fix to encode username, account name, and email before they are returned from the API 2011-06-03 17:08:10 -07:00
anthony db6aa765a3 bug 10146 : fixed NPE
status 10146 : resolved fixed
2011-06-03 15:52:31 -07:00
Edison Su 94b3890542 fix the race condition for download template 2011-06-03 13:19:48 -04:00
nit dbb1ed3645 bug 9729 : Remove redundant permission check from deployvm cmd.
status 9729: resolved fixed
2011-06-03 18:07:54 +05:30
alena 635a1075de bug 9127: intermediate checkin for agent load balancer 2011-06-02 21:47:54 -07:00
will 87b4b993c7 bug 10090: encoded the endpoint as well as the username for the accounts in the register callback response 2011-06-02 13:53:55 -07:00
Edison Su 9ec9d74514 zone can be deleted now 2011-06-02 12:33:37 -04:00
alena 52aab0e441 Use correct field name when search for management server by State 2011-06-02 10:18:30 -07:00
Alex Huang d140ca7555 Fixes the issue where the Job-Executor can hit an exception in cleanup and eventually the entire executor pool is gone. 2011-06-02 09:54:34 -07:00
Alex Huang 018b1c7ce9 Fixed problem that Kirk saw at upgrading between 2.2.3 and 2.2.5 at one of mour customers. The host address for storage pool is not an ip address and should not have been shrunk to 40 characters 2011-06-02 09:44:13 -07:00
nit c0ce175227 bug 8184 : listSystemVms - return gateway which is equal to the Gateway of Nic belonging to Network with trafficType=Public for Advanced zone, and trafficType=Guest in Basic zone.
status 8184: resolved fixed
2011-06-02 18:04:58 +05:30
nit 0ebce2024b bug 9729 : Permission change - allow root admin to use anybody's private template.
status 9729: resolved fixed
2011-06-02 15:14:32 +05:30
Edison Su 4a47d19c84 fix delete zone: many times, you just can't delete a zone, even you clean up all the resources 2011-06-01 20:26:29 -04:00
Alex Huang bc67b2a973 bug 9651: update now also shows tags 2011-06-01 17:50:04 -07:00
Alex Huang 2ceadec326 bug 9651: tags parameter added to createnetwork 2011-06-01 17:36:14 -07:00
alena df403c953d bug 10080: update nic profile with DNS info for the nics with reservation_strategy=Create
status 10080: resolved fixed
2011-06-01 17:05:32 -07:00
Edison Su f7414b83aa fix listtempalte and listiso, if there are multiple secondary storage 2011-06-01 16:01:51 -04:00
anthony d02e4fb37f bug 10100 : if there are more than one hypervisor type in one zone, create_template_from_snapshot may be sent to host with diferent hypervisor type
status 10100 : resolved fixed
2011-06-01 15:30:22 -07:00