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
alena
01538e4d1e
bug 9511: use new StringBuffer for each PF/StaticNat rule
...
status 9511: resolved fixed
2011-06-13 22:31:49 -07:00
Abhinandan Prateek
6c35a97cd8
added check for null
2011-06-14 10:31:03 +05:30
Edison Su
5b19a5e731
reduce agent package size
2011-06-13 18:14:51 -04: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
Alex Huang
f93612df37
bug 10094: distinguish between no transition from one state to another vs there's a concurrent operation
2011-06-13 17:33:51 -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
Alex Huang
283a559f03
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:40:04 -07:00
alena
975809b4e8
No need to tream "return" char twice
2011-06-13 10:53:42 -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
Frank
b406d1e185
Add cloud-ovm.jar to classpath
2011-06-10 18:37:13 -07:00
Frank
9f03d4fb90
include cloud-ovm.jar in spec file
2011-06-10 18:05:14 -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
Jessica Wang
9b2350d074
CloudStack UI - Add Template dialog- When hypervisor type is "Ovm", format field should be populated with "RAW".
2011-06-10 15:17:35 -07:00
Frank
5f5509ac00
use isHvm of template to decide to boot a HVM vm
2011-06-10 14:35:46 -07:00
Edison Su
4d3481ac5e
bug 10212: Finally, user data works. Don't return newline to them
...
status 10212: resolved, fixed
2011-06-10 15:34:06 -04: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
Edison Su
49550aff44
fix ebtable, which should only add a new DNAT rule for dhcp server
2011-06-10 11:39:43 -04:00
Frank
a782ac301c
Fix build
2011-06-10 10:56:40 -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
alena
85af11fac9
bug 9519 : add index to avoid table locking
...
Conflicts:
setup/db/create-index-fk.sql
2011-06-09 18:05:14 -07:00
alena
d8ceebffe5
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 18:05:14 -07:00
alena
5116abbcc5
DB upgrade merge from 224 branch
2011-06-09 18:05:14 -07:00
Alex Huang
f7dcbd75e3
host_address in storage_pool should not have gotten the change to char(40)
2011-06-09 18:05:14 -07:00
Edison Su
2da052a463
fix user data
2011-06-09 18:04:48 -04: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
Sheng Yang
3106df1c72
bug 9495: Fix DomR logging error on boot
...
status: resolved fixed
2011-06-09 15:10:06 -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
Jessica Wang
55b9eaaa81
bug 10199: CloudStack UI - Network Offering page - name field is not allowed to be modified.
2011-06-08 19:07:20 -07:00
Edison Su
084e467f99
bug 10026: running qemu as root
...
status 10026: resolved fixed
2011-06-08 18:00:14 -04:00
Kelven Yang
497e586329
Fix the annoying NPE in StatsCollector
2011-06-08 17:10:44 -07:00
Edison Su
b828af8f58
fix ubuntu reboot issue, sometimes when you install agent, the init script is not installed into /etc/rc*
2011-06-08 16:57:05 -04:00
Edison Su
e7365fd143
bug 9896: RHEL 6 doesn;t support to attach an SCSI disk to a windows VM, then I have to attach a virtio disk.
...
So for a windows guest, the root disk is an IDE disk(in case there is no virtio driver installed inside guest), but all the data disks will be virtio disks.
That means if you want this feature, people need to install virtio disk driver inside windows guest to get data disk work.
status 9896: resolved fixed
2011-06-08 16:11:02 -04: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
357e05f5c7
Handle 2.1.x bugs when do 21x to 22x DB upgrade:
...
* remove records from load_balancer_vm_map if the parent record is missing in load_balancer table
* remove user vm records from vm_instance table when corresponding record is missing in user_vm table
2011-06-08 14:58:59 -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