Commit Graph

2641 Commits

Author SHA1 Message Date
Alex Huang 36ee97334b bug 10352: fixed the issue. I mistakenly threw an exception when I was not suppose to 2011-06-17 17:18:04 -07:00
alena 9fa2e68be6 Validate network domain in upateNetwork command 2011-06-17 16:59:15 -07:00
Edison Su 240ca7f1f0 bug 10303: don't show system vm template for templatefilter == (self and feature)
status 10303: resolved fixed
2011-06-17 10:49:27 -04:00
Alex Huang 3d0b30073e bug 10341: deploying virtual router and deploying dhcp server should not be acquiring locks in lock table 2011-06-17 08:17:13 -07:00
Edison Su ad5162ef86 fix ebtable cleanup issue: on ubuntu, it's not got deleted if vm is stopped 2011-06-16 19:26:24 -04:00
alena f0e7d5e7ce Use different method for getting component locator in EncodedStringTypeAdapter 2011-06-16 17:24:35 -07:00
Kelven Yang 2a6307f272 1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled 2011-06-16 16:22:11 -07:00
alena c0bca3c24d bug 10088: Fixed apiXmlDoc generator to generate correct set of domain admin commands - got broken by checkin fff4112c0b2407e754318ea31f2f1bb7e92b8f12 "Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN"
status 10088: resolved fixed
2011-06-16 12:17:51 -07:00
alena 57e4af6fd5 bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:47:54 -07:00
Murali Reddy 00bd79ffee bug 9419: implement api to reset resource count
adding couple of fixes
2011-06-16 19:01:03 +05:30
Murali Reddy c7e347e9a4 bug 9419: implement api to reset resource count 2011-06-16 19:00:42 +05:30
Murali Reddy aa4f654929 bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-16 18:59:38 +05:30
alena ad9302dac6 ApiResponseSerializer - no need to use reflection to get the field value 2011-06-15 17:40:02 -07:00
Edison Su 83f0623f30 bug 10205: download user upload template for each local secondary storage
status 10205: resolved fixed
2011-06-15 16:41:51 -04:00
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