2814 Commits

Author SHA1 Message Date
Alex Huang
246c01b1ab bug 9651: added tags to network response for ui 2011-06-14 11:11:24 -07:00
alena
0a1e93e957 bug 10265: 226 to 227 db upgrade - remove unique key constraint for "network_offerings.name" field (if exists)
status 10265: resolved fixed
2011-06-14 09:32:26 -07:00
alena
78852376e2 Reverted commit made by mistake
This reverts commit bd40212c3b5e885f89d7b43a6e8ccc14fb6d19fb.
2011-06-13 22:53:05 -07:00
alena
769ec409d7 Added findRequest() method to ClusteredAgentAttache - needed for cancelling requests in transfer queue 2011-06-13 22:43:34 -07:00
alena
b2b4a63fd3 Some fixes to agent lb code:
* Schedule agent LB as a TimerTask as it can take time for the management server to start; and it can accept rebalance requests only when it's up and running
* Removed Starting state from mshost as it's not being used anywhere
* Fixed the bug where requests weren't routed properly from the old host owner to the new one.
2011-06-13 22:31:49 -07:00
Alex Huang
1ac7276942 bug 10260: propagate ha and deployment planner fixes 2011-06-13 17:36:32 -07:00
Alex Huang
1561275838 bug 10260: propagate ha and deployment planner fixes 2011-06-13 17:35:34 -07:00
Alex Huang
1d7e70acd1 bug 10260: propagate ha and deployment planner fixes 2011-06-13 17:35:20 -07:00
alena
107910ae09 bug 10232: Introduced new gson builder - used for api reponse only
It fixed the problem when the queryAsyncJobResult response was encoded twice.

UI still has some problems - no decoding is done on "Instances" tab
2011-06-13 13:17:43 -07:00
alena
3127acde93 bug 10233: listNetworks - don't default isSystem=false when id parameter is specified
status 10233: resolved fixed
2011-06-13 09:51:30 -07:00
alena
36469da8fa API response encoding is false by default 2011-06-13 09:38:18 -07:00
Alex Huang
6137f216b1 bug 10094: The problem was we added code that won't add any more ha work items if it already has one. However, that is wrong. HA Manager stores the existing snapshot of the VM state machine. Before working on HA for a VM, it checks to see if that snapshot has been changed. So by not scheduling HA work, we've effectively made HA not work under multi-failure situations. I've fixed by removing that code and instead at the time of performing HA, do a quick check to see if there are pwork underway for the same VM and work scheduled in the future for that VM. If there are work scheduled in the future, then we simply cancel the current work. If there are already work underway, then we retry again in 1 minute. 2011-06-12 09:18:21 -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
Sheng Yang
2971fb32fb bug 9516: Fix network.throttling.rate on DomR other vnifs
It's due to nobody tell getNetworkRate() it's the router who want to get network
throttling rate, then the function failed to follow the policy.

status 9516: resolved fixed
2011-06-10 19:52:59 -07:00
alena
cd7c74538b bug 9697: encode api response values
status 9697: resolved fixed

Do encoding for ASCII chars only (done to eliminate problems with multiple language support)
To disable encoding, set "encode.api.response" to false
2011-06-10 17:45:15 -07:00
alena
b888db2ac6 Revert "Temp fix to encode username, account name, and email before they are returned from the API"
This reverts commit e07221761a57b2c3df715bd939734f6661ebd976.
2011-06-10 17:45:15 -07:00
Edison Su
22d60ba621 bug 10195: if host is in Alert state, listvmcmd will mark the state of all the vms on the host as "Unknown"
status 10195: resolved, fixed
2011-06-10 14:15:50 -04:00
Kelven Yang
5f7f885c6a bug 10214: merge fix from 2.2.4 branch 2011-06-10 12:08:22 -07:00
alena
c66c3c5bf0 bug 9655: removed restriction for Direct networks - now can create 2 networks with diff vlans and the same subnet
status 9655: resolved fixed
2011-06-10 10:39:00 -07:00
kishan
4c454d36d3 bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
status 9891: resolved fixed
2011-06-09 16:57:54 -07:00
kishan
09c5351bbf bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
status 9891: resolved fixed
2011-06-09 16:54:40 -07:00
alena
b9325a28dd bug 9579: allow domain name suffix update for existing networks.
Block update only in these cases:

* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)
2011-06-09 16:10:24 -07:00
alena
4fdb6186af Revert "bug 10199: don't allow network offering Name modification."
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.

Use the following solution instead:

* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script
2011-06-09 13:32:53 -07:00
Alex Huang
9c72759007 bug 9651: update network working now 2011-06-09 11:54:47 -07:00
alena
8180e55469 bug 10199: don't allow network offering Name modification.
UI has to be fixed as well
2011-06-09 10:05:28 -07:00
Kelven Yang
497e586329 Fix the annoying NPE in StatsCollector 2011-06-08 17:10:44 -07:00
Alex Huang
575ac62926 bug 9651: propagating 3fd50fd8634958727f4c64c9d1fb7fa27e07e4c8 2011-06-08 15:58:01 -07:00
alena
2ca4cc174d Agent LoadBalancing in cluster management server setup is enabled by default now 2011-06-08 15:04:50 -07:00
alena
8948c3dd84 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

Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-06-08 12:00:19 -07:00
Edison Su
36fa0fbf52 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-08 11:14:59 -04:00
anthony
fd2ec19438 bug 9351: xen.max.product.version is not used, remove them
status 9351: resolved fixed
2011-06-07 14:45:53 -07: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