8167 Commits

Author SHA1 Message Date
Sheng Yang
abc44ac283 bug 11266: Add lock file for every script in the systemVM
To prevent them from racy.

status 11266: resolved fixed
2011-09-09 18:27:33 -07:00
Kelven Yang
3c41775184 1) Increase working buffer size to 1M when downloading/uploading VMDK, hopefully can improve OVF exporting/importing performance. 2) use atomic SQL operation to get rid of global lock usage 2011-09-09 17:07:09 -07:00
alena
5a67bfd7f0 bug 11393: insert agent.lb.enabled config parameter (if doesn't exist) as a part of db upgrade
status 11393: resolved fixed
2011-09-09 14:06:11 -07:00
Naredula Janardhana Reddy
f9b0962ad9 bug 10617: Intermediate checking
Changes :
         - Fixing API doc +response name + errorMessage
         - Adding seperate events to Egress rules
         - Egress rules Using the same database table as that of ingress with new column type.

   Pending Tasks:
         - db upgrade
         - database table rename from security_ingress_rule to generic name, renaming some of the jave class from ingress to generic name.
         - Retesting on kvm
2011-09-09 18:14:19 +05:30
Nitin
50efe56335 bug 11051: listHostsCmd - Fixed the capacity and stats response. Also removed the unwarranted code. 2011-09-09 14:23:13 +05:30
kishan
4e663bbef9 bug 8338: Added usage.aggregation.range parameter. Also included in 2211 to 2212 upgrade 2011-09-09 13:43:13 +05:30
prachi
d854923ac5 Bug 11200 - maximum number of guests per host
Manual Migration should fail if the destination host chosen by Admin already has max guest VMs running.
2011-09-08 18:33:55 -07:00
prachi
bd09e70509 Bug 11200 - maximum number of guests per host
Changes to schema file to insert default records in hypervisor_capabilities table.
2011-09-08 18:23:37 -07:00
prachi
4ad9ac5e71 Bug 11200 - maximum number of guests per host
Changes:

To make sure migration does not attempt to pick a host that has running VMs more than the max guest VM's limit:

- Changed manual migration to call host allocators to return a list of hosts suitable for migration. Host allocators check for the max guest VM limit.
- Earlier we returned hosts with enough capacity but now Host Allocators make other checks along with capacity. So the list of hosts returned are hosts that have enough capacity AND satisfy all other conditions like host tags, max guests limit etc. Or in other words Allocators dont return the hosts that dont satisfy all conditions even if they have capacity.
-Therefore, now we mark the list of hosts returned for manual migration as 'suitable' hosts instead of 'hasenoughCapacity' in the HostResponse.
- HA migration already calls allocators, so no change is needed there.
2011-09-08 18:08:31 -07:00
Kelven Yang
980c1cafd8 Merge VmwareResource.Initialize() 2011-09-08 17:47:03 -07:00
Kelven Yang
3b0fe32842 bug 11386: check host status before responding StartupCommand 2011-09-08 17:43:12 -07:00
Kelven Yang
048dc4eb62 bug 11381: Set HypervisorVersion to StartupRoutingCommand when a VMWare host connects 2011-09-08 17:04:48 -07:00
keshav
e3252e5e66 Excluded external firewall/LB from host stats collection, and included them in ping checks 2011-09-08 16:43:37 -07:00
Kelven Yang
aa7f06d7eb bug 11384: deprecate vmware.guest.nic.device.type global configuration variable 2011-09-08 16:11:17 -07:00
Kelven Yang
9736c1e3b1 bug 11283: deal with empty snapshot disk chain 2011-09-08 16:10:58 -07:00
alena
6e6b6ab2ab Fixed the bug in AgentLB: consider only hosts of type=Routing when calculate average load 2011-09-08 14:57:04 -07:00
Kelven Yang
a118880836 bug 10874: don't invalid run session of other management server even if it detects it is unreachable as the event may just be temporary network condition 2011-09-08 14:22:52 -07:00
Osamu
b339b5f9c0 amended. 2011-09-09 04:38:21 +09:00
Osamu
d49d6a529f Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-09-08 23:00:07 +09:00
anthony
4423da06a2 1. added timeout in Command Class, then each command can configure itself timeout, if timeout is not configed, use the default timeout , which is 30 minute
2. added following configurable timeout
       PrimaryStorageDownloadWait("Storage", TemplateManager.class, Integer.class, "primary.storage.download.wait", "10800", "In second, timeout for download template to primary storage", null),
       CreateVolumeFromSnapshotWait("Storage", StorageManager.class, Integer.class, "create.volume.from.snapshot.wait", "10800", "In second, timeout for create template from snapshot", null),
       CopyVolumeWait("Storage", StorageManager.class, Integer.class, "copy.volume.wait", "10800", "In second, timeout for copy volume command", null),
       CreatePrivateTemplateFromVolumeWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.volume.wait", "10800", "In second, timeout for CreatePrivateTemplateFromVolumeCommand", null),
       CreatePrivateTemplateFromSnapshotWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.snapshot.wait", "10800", "In second, timeout for CreatePrivateTemplateFromSnapshotCommand", null),
       BackupSnapshotWait("Storage", StorageManager.class, Integer.class, "backup.snapshot.wait", "10800", "In second, timeout for BackupSnapshotCommand", null),
2011-09-07 19:17:54 -07:00
Kelven Yang
3f40fdd6e1 Add explicit setting to VMware VM to allow device hot-plug 2011-09-07 18:22:02 -07:00
Kelven Yang
905df61aac bug 11362: Make VM network adapter device type be selectable based on VM-specific details 2011-09-07 17:58:42 -07:00
David Nalley
31c8cc8dc7 bug 11361: removing duplicate entries from message.properties
status 11361: resolved fixed
Most of these were truly duplicates. In the one case that was not a duplicate, I checked the behavior in CloudStack and used the string that it presented.
2011-09-07 20:29:42 -04:00
frank
7ef5b9e52f remove premium dependency from RPM spec 2011-09-07 16:16:02 -07:00
Kelven Yang
f70958809b bug 11360: make user_vm_details generic to all VMs instead of user-only VMs, VM details info will be carried down to hypervisor resource 2011-09-07 15:42:40 -07:00
prachi
84868b7f9c Bug 11200 - maximum number of guests per host
Changes:
- Adding a new table 'hypervisor_capabilities' that will record capabilities for each hypervisor version. Added db schema changes for this.
- Currently a few capabilities have been added, namely, 'max_guests_limit' and 'security_group_enabled'
- Added a new column 'hypervisor_version' to host table. StartupRouting command now takes in this parameter. It should be set when a host connects.
- If a host's hypervisor version is not present, we find all the capabilities rows for that hypervisor type and use the first record.
- 'max_guests_limit' is the maximum number of running guest Vms that a host can have for the given hypervisor.
- Host Allocators use this limit and skip a host if the number of running VMs on that host exceeds this limit.
2011-09-07 14:53:05 -07:00
anthony
ed82f7695a XenServer 5.6 SP2 support is disabled by branch merge.
added it back
2011-09-07 14:47:45 -07:00
alena
b883b25a12 bug 11348: make content type for "json" files configurable
status 11348: resolved fixed
2011-09-07 14:22:01 -07:00
alena
ba2c6695cc bug 11326: don't try to transfer the agent if it's a forward agent
status 11326: resolved fixed

Also added more logging to the agent rebalance code.

Conflicts:

	server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
2011-09-07 12:47:25 -07:00
anthony
13ee22d421 bug 10078:
1. introduce migratewait in global configuration, the default value is 1 hour
 2. use async xapi VM migration API

status 10078: resolved fixed
2011-09-07 12:36:17 -07:00
kishan
3dce7ebd03 bug 10782: Add SSL properties in db.properties. Modified JDBC URL to use SSL properties when enabled 2011-09-07 19:52:10 +05:30
Prasanna Santhanam
3603e2bbe2 setup and tests for kumquat
(cherry picked from commit ef4225ed66f31c51a49a1280a7879718f6a34852)
2011-09-07 18:33:24 +05:30
kishan
066537a565 bug 4282: Removed caching of signatures. Added detailed error message expires parameter parsing 2011-09-07 17:51:09 +05:30
alena
47d9cbd2ee bug 11331: allow extending vnet range as a part of updateZone call
status 11331: resolved fixed
2011-09-06 17:40:28 -07:00
Abhinandan Prateek
3c6a0efa29 bug 11181: adding a param so that mysql can cache the listVM prepared statement sql effectively 2011-09-07 05:50:33 +05:30
Abhinandan Prateek
5a19056aa2 bug 10824: clearing up older entries in resolv.conf and dnsmasq-resolv.conf before adding so that duplicate entries do not end up in these files.
status 10842: resolved fixed
2011-09-07 05:11:33 +05:30
alena
6dfd2f280b 1) More logging to cloud-sysvmadm script - to give the user better details on which domR is being restarted at the moment
2) When domR is executed in parallel thread, make sure that the thread "exit 0" after the restart is done
2011-09-06 16:11:17 -07:00
Kelven Yang
254fa22cc7 fix the broken system VM build after renaming of some third-party libraries 2011-09-06 16:10:28 -07:00
alena
fb01f58bcb bug 11329: changed default number of parallel threads to be 10 in cloud-sysvmadm
status 11329: resolved fixed
2011-09-06 11:31:50 -07:00
Prasanna Santhanam
e6e21b2f2d some stress tests for guava 1. testDeploy in multiple accounts 2. testDestroy in multiple accounts 3. combine stress in 1. and 2.
(cherry picked from commit 6784d04e05e1ccde1eb3534c8fb245fb138703c2)
2011-09-06 18:38:15 +05:30
Prasanna Santhanam
f8556ccb3b Adding primary storage in the cluster and ipranges to the zone
(cherry picked from commit ef9b6ff6f999ea0323983647a98a9da9b7545488)
2011-09-06 18:38:03 +05:30
Prasanna Santhanam
1c899ba9b1 advanced network, single pod, guava environment
(cherry picked from commit 49db10343833593519b8bb39f31280276910d84d)
2011-09-06 11:34:20 +05:30
Prasanna Santhanam
7134be84e1 renaming to fruit 2011-09-06 09:46:53 +05:30
kishan
f9d5a46871 Compare current and previous network stats before updating. Ignore stats if the current stats are not same as the prev stats. Set NetworkUsageAnswer log level to debug 2011-09-05 18:41:42 +05:30
Naredula Janardhana Reddy
b35e85c571 bug 10712: Display name instead of id 2011-09-05 15:55:07 +05:30
Naredula Janardhana Reddy
3c1f6fd24b bug 10467: Incorrect display of domain router linklocalmac address and linklocal netmask fixed 2011-09-05 13:42:12 +05:30
alena
8fb76e747e bug 11321: update vms in obsolete "Creating" state to "Error" state.
status 11321: resolved fixed
2011-09-02 17:30:50 -07:00
alena
65194a0c20 bug 10550: check if the network is configured properly on the backend before vm creation
status 10550: resolved fixed
2011-09-02 17:02:37 -07:00
alena
3c0396bb20 bug 10751: don't remove already removed templates during the account cleanup
status 10751: resolved fixed
2011-09-02 16:06:55 -07:00
alena
b93318cb73 bug 11002: userVmDao - create searchBuilder as a part of dao init process (otherwise it's not threadsafe)
status 11002: resolved fixed
2011-09-02 15:51:52 -07:00