Commit Graph

6236 Commits

Author SHA1 Message Date
alena 00a35314bb 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:28:22 -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 11816a174d added missing check for null 2011-06-14 10:24:49 +05:30
Sheng Yang b1ced0e478 Fix buildsystem.sh script
And the script can only be used with the machine installed grub-legacy(e.g. grub
0.97) rather than grub2(grub-pc).
2011-06-13 19:37:21 -07:00
Alex Huang 59fc206664 bug 10260: propagate ha and deployment planner fixes 2011-06-13 17:33:10 -07:00
Alex Huang 63113661d1 bug 10260: propagate ha and deployment planner fixes 2011-06-13 17:33:09 -07:00
Alex Huang d39048faca bug 10260: propagate ha and deployment planner fixes 2011-06-13 17:33:09 -07:00
Alex Huang 5df1aa02f4 bug 10094: distinguish between no transition from one state to another vs there's a concurrent operation 2011-06-13 17:33:09 -07:00
Jessica Wang b4f7080531 cloudStack UI - localize new translation labels. 2011-06-13 17:28:30 -07:00
Jessica Wang f8a54b96e6 cloudStack UI - Stop Instance action - change warning text. 2011-06-13 17:18:33 -07:00
Jessica Wang 0611c92cad cloudStack UI - Instance page - Stop Instance - show "Force Stop Instance" option for root-admin. 2011-06-13 16:54:54 -07:00
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
Jessica Wang fae0d33a49 bug 10232: CloudStack UI - Instance page - fix a bug that VMName was not decoded when encode.api.response is set to true. 2011-06-13 14:59:13 -07:00
Alex Huang 9461990d9e revert accidental checkin 2011-06-13 14:51:07 -07:00
alena a0b1c3bd7a 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:19:20 -07:00
Alex Huang 2a9dc74645 Changed disconnection messages to be logged at debug level because there's been various reports that agents are dropping connections. This should help in figuring it out. 2011-06-13 11:39:39 -07:00
Jessica Wang f904493ed9 cloudStack UI - instance page - remove vmGroup submenu since it keeps confusing users. 2011-06-13 11:08:35 -07:00
alena f40d21a80f No need to tream "return" char twice 2011-06-13 10:54:44 -07:00
Jessica Wang 56c8fe637e cloudStack UI - secondary storage page - remove middle menu item after Delete Secondary Storage action succeeds. 2011-06-13 10:36:02 -07:00
alena 1d21522e57 bug 10233: listNetworks - don't default isSystem=false when id parameter is specified
status 10233: resolved fixed
2011-06-13 09:53:26 -07:00
alena 113623cb07 API response encoding is false by default 2011-06-13 09:30:56 -07:00
kishan 39ded44bb6 bug 8373: Added new API listEventTypes 2011-06-13 19:11:48 +05:30
kishan 5a6664ab12 bug 8373: Added new API listEventTypes 2011-06-13 19:11:12 +05:30
nit 197dc6cf6e registerIso - remove hardcoding of GuestosId when its None. Retrieve it from DB. 2011-06-13 19:04:27 +05:30
Murali Reddy b625bb1d27 bug 9419: implement api to reset resource count 2011-06-13 16:32:26 +05:30
kishan 8ae65de6b3 bug 8699: Added event for glabal config update
status 8699: resolved fixed
2011-06-13 15:34:27 +05:30
kishan 44ec82a28b bug 8992: Added volume ID for snapshot create starting and completed events
status 8992: resolved fixed
2011-06-13 15:08:10 +05:30
Abhinandan Prateek a4bdeffd61 bug 8962: changes for vms using virtual network 2011-06-13 14:56:00 +05:30
Murali Reddy 6310991bdc 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-13 10:55:57 +05:30
Murali Reddy 8d56093bdc 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-13 09:13:15 +05:30
Alex Huang d01e20c443 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:25:48 -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
nit 53cb1beff5 bug 9885 : registerIso - Improving the documentation for the parameter bootable,guestOsId. The later needs to be passed whenever the bootable parameter is true.
status 9885: resolved fixed
2011-06-11 14:26:27 +05:30
Sheng Yang 79c5013ee2 bug 9516: Fix network.throttling.rate on DomR other vnifs
It's due to nobody tell getNetworkRate() the id of router, then the function is
fail to follow the policy.

status: resolved fixed
2011-06-10 19:24:45 -07:00
alena ef3ea765bf 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 18:10:44 -07:00
alena f4ad575270 Revert "Temp fix to encode username, account name, and email before they are returned from the API"
This reverts commit e07221761a57b2c3df715bd939734f6661ebd976.
2011-06-10 18:10:36 -07:00
Kelven Yang 1e9efb2f86 bug 10214: merge fixes from 2.2.8/2.2.4 2011-06-10 14:29:01 -07:00
alena e74fef711c 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:40:26 -07:00
Prasanna Santhanam 4eb094bf9c adding templates file for the simulator 2011-06-10 20:07:43 +05:30
Osamu 2c0007aebd amended some Japanese messages. 2011-06-10 20:02:11 +09:00
Osamu 63110b5ad3 amend some messages 2011-06-10 15:44:55 +09:00
Sheng Yang d9fb62d819 Only issue CheckRouterCommand to redundant routers 2011-06-09 18:15:04 -07:00
alena 99d1cb4718 bug 9519 : add index to avoid table locking
Conflicts:

	setup/db/create-index-fk.sql
2011-06-09 17:32:27 -07:00
alena 54ee9b0520 bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource
status 9618: resolved fixed

Conflicts:

	setup/db/db/schema-222to224.sql
2011-06-09 17:28:14 -07:00
alena e7e5703184 DB upgrade merge from 224 branch 2011-06-09 17:19:27 -07:00
Alex Huang dd8ca0cf72 host_address in storage_pool should not have gotten the change to char(40) 2011-06-09 17:14:51 -07:00
kishan 4b4d7abad1 bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
status 9891: resolved fixed
2011-06-09 17:01:53 -07:00
kishan 64b7cea7c7 bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
status 9891: resolved fixed
2011-06-09 17:01:45 -07:00
alena 53bdd625b8 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)

Conflicts:

	server/src/com/cloud/vm/dao/DomainRouterDao.java
	server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
2011-06-09 16:24:48 -07:00