Commit Graph

2627 Commits

Author SHA1 Message Date
alena cab765f85e Fixed the bug in updateUser api - api/secretKey update didn't work correctly when request was signed using apiKey 2011-06-15 15:02:07 -07:00
Edison Su dca3405b8b bug 10293: don't destroy volume if it's not created
status 10293: resolved fixed
2011-06-15 14:38:37 -04:00
Edison Su 2e8d1bbd6c bug 10190: add log if failed to delete host when host is in UP state 2011-06-15 12:02:31 -04:00
kishan dfd3e128f5 bug 8879: Send network usage command for domain routers in Running state only
status 8879: resolved fixed
2011-06-15 14:17:30 +05:30
kishan 090506d7f7 bug 9197: Added delete volume usage event when volume creation fails
status 9197: resolved fixed
2011-06-15 12:40:23 +05:30
kishan 8d87cf3506 bug 6770: Alert will be sent when deploying User VM fails
status 6770: resolved fixed
2011-06-15 12:40:23 +05:30
kishan ed6809c53d bug 8144: Added event for router start/stop and reboot
status 8144: resolved fixed
2011-06-15 12:40:23 +05:30
kishan 22577363ca bug 8373: Added new API listEventTypes 2011-06-15 12:40:23 +05:30
kishan 2c24002de9 bug 8699: Added event for glabal config update
status 8699: resolved fixed
2011-06-15 12:40:23 +05:30
Abhinandan Prateek db94ece73b bug 10062: better error message 2011-06-15 10:05:45 +05:30
Kelven Yang b27722b0db merge adding-host changes from 2.2.4 2011-06-14 17:16:19 -07:00
Kelven Yang 24c87c306b merge adding host fix from 2.2.4 2011-06-14 17:16:19 -07:00
Alex Huang 2cda9a91e6 bug 9651: missing changes 2011-06-14 11:11:24 -07:00
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