8154 Commits

Author SHA1 Message Date
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
Kelven Yang
4ef35767f5 bug 11324: merge fix from branch 2.2.10 2011-09-02 15:37:32 -07:00
Kelven Yang
4d3d47f01c bug 11304: restore host status after initialization failure 2011-09-02 15:19:36 -07:00
anthony
c683fda236 set timeout for CheckOnHostCommand to 50 s 2011-09-02 15:01:32 -07:00
anthony
c7fb330914 put getConnection into try 2011-09-02 15:01:28 -07:00
alena
eb9b5c1f65 bug 11259: ROOT admin can extract template/iso even when it's not mark as extractable
status 11259: resolved fixed
2011-09-02 12:37:15 -07:00
alena
ecd99ad379 bug 11332: don't try to log vm's information when the vm is already Expunged
status 11332: resolved fixed

Conflicts:

	server/src/com/cloud/vm/dao/VMInstanceDaoImpl.java
2011-09-02 12:08:39 -07:00
frank
3b8851ad68 Bug 9479 - provide option for built in https
use our certificate as java trust store
2011-09-02 11:00:04 -07:00
Naredula Janardhana Reddy
10d2ca8d0a bug 10617: blocking between security groups for egress rules fixed. 2011-09-02 16:17:08 +05:30
Edison Su
d18a1ddc28 fix the long time issue that sometimes libvirt reports volume missing 2011-09-02 01:01:27 -07:00
frank
57dbe64f9e Bug 9479 - provide option for built in https
Listen on 6443 instead of 8443 because tomcat6 will change 8443 to a random one when CATALINA_HOME is not /usr/share/tomcat6
change iptable rule
2011-09-01 17:45:18 -07:00
frank
c5bbdb12a1 Bug 9479 - provide option for built in https
Listen on 6443 instead of 8443 because tomcat6 will change 8443 to a random one when CATALINA_HOME is not /usr/share/tomcat6
2011-09-01 17:41:52 -07:00
frank
c7b3c81485 Bug 9479 - provide option for built in https
small fix on cloud-setup-managment
2011-09-01 17:09:06 -07:00
frank
4dab93761b fix build in inline with alex's new dependent jar files 2011-09-01 16:15:14 -07:00