8257 Commits

Author SHA1 Message Date
frank
797d5ff9a7 add usage back to spec file
now FOSS including all stuff
2011-09-14 14:59:27 -07:00
anthony
313b624373 bug 9777: only allow to delete snapshot in BackedUp status
status 9777: resolved fixed
2011-09-14 14:16:19 -07:00
David Nalley
15302b03da restoring proper licensing notices originally committed in ad79436f2c304db27f5aee355527ffce18cf2590 but unintentionally reverted when trying to fix a few build issues 2011-09-14 16:35:29 -04:00
David Nalley
639f25c259 fixing usage build in amster 2011-09-14 15:29:48 -04:00
Jessica Wang
58841d0bc4 bug 11441: cloudStack - host page - Edit Host - fix a bug that hosttags editing field didn't get refresh when clicking different hosts in middle menu. 2011-09-14 12:09:04 -07:00
Jessica Wang
4e17c23f80 bug 11433: cloudStack - Acquire IP Address dialog - get element ID by a different way. 2011-09-14 11:45:46 -07:00
alena
5f9246114b bug 10435: use "hostName" instead of "name" as a search filed in listSystemVms
status 10435: resolved fixed
2011-09-14 11:01:37 -07:00
alena
b7f45cfbd6 bug 11434: don't execute destroy call when vm is already in Destroyed/Expunging state
status 11434: resolved fixed
2011-09-14 10:33:45 -07:00
prachi
ea97ce2a93 Bug 11430 - add host > Host Tags field missing from DB + UI even when host tags specified in add host 2.2.y -> 2.2.12 KVM
Changes:

A KVM agent always connects to the management server itself, we dont have to do direct connect. This part of code was missing updating the DB host entry with hosttags.
Corrected the code to save the hosttags while adding a KVM host.
2011-09-14 10:27:07 -07:00
Murali Reddy
78a5b651ac bug 11425: dont count direct IP in resource count while updating resource count through API
status 11425: resolved fixed
2011-09-14 22:52:30 +05:30
Jessica Wang
08592da39e cloudStack - VM Wizard - fix a bug that comes and goes: "$soTemplate is undefined" 2011-09-14 10:08:22 -07:00
Nitin
20f0707755 bug 11190: My changes got reverted. Putting them back - Treating the max account limits with -1 values as infinite 2011-09-14 19:35:48 +05:30
Nitin
3609d166ca bug 10856: On account delete the snapshots were not getting deleted from secondary storage. This was happenning because we were passing incorrect folder path of the snapshot. 2011-09-14 18:55:00 +05:30
Murali Reddy
72530c87c4 bug 11023: recalcuate vmware template virtuali size while upgrate above 2.2.10 2011-09-14 17:17:04 +05:30
anthony
d6cbd2b6bc bug 11275:
remove heartbeat entry for this Primary Storage, when put this Primary Storage into maintenance mode
create heartbeat entry for this Primary Storage, when cancal maintenance for this Primary Storage

status 11275: resolved fixed
2011-09-13 22:15:21 -07:00
Edison Su
a04f436147 bug 11423: get storage pool stats from "df --total" instead from libvirt
status 11423: resolved fixed
2011-09-13 18:53:21 -07:00
Edison Su
f18dd42908 bug 11239: add check for hypervisor type when deploy vm, no way to deploy a vm with hypervisor type None 2011-09-13 18:53:14 -07:00
Edison Su
3b423dbc01 fix firwall/nat rule 2011-09-13 18:53:10 -07:00
Edison Su
1d2a084bbe add jna dependenc 2011-09-13 18:52:48 -07:00
frank
71385f7cc0 check hypervisorType and StoragePoolType in OCFS2 manager when delete host
don't take lock in processResourceEvent()
2011-09-13 17:35:58 -07:00
Kelven Yang
6b33d114e8 bug 11380: taking VM snapshot is moved to do it at the same time when backup it to secondary storage, wait snapshot MOR really appears in vCenter until we continue. 2011-09-13 17:26:19 -07:00
alena
45c595d558 Don't update resource count for system account 2011-09-13 16:58:54 -07:00
Jessica Wang
de9856f1c4 cloudStack - sync UI change from 2.2.y branch to mater branch. 2011-09-13 16:00:46 -07:00
alena
569427ba1f bug 11036: if resource_count record is missing for account or domain, insert it during the management server startup (with count=0)
status 11036: resolved fixed
2011-09-13 15:23:27 -07:00
anthony
f071ce571c bug 10949: if a cluster doesn't have any hosts, set cluster guid to new one when add host to this cluster.
status 10949: resolved fixed
2011-09-13 13:53:23 -07:00
kishan
b7214e6202 bug 10626: Modified install sys tmpl script to get templateId from DB using db.properties
status 10626: resolved fixed
2011-09-14 01:08:07 +05:30
alena
b05c69f3b3 bug 11246: return lb rule Id in the async response for createLoadBalancer api
status 11246: resolved fixed
2011-09-13 12:08:12 -07:00
David Nalley
c4c0e69425 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-09-13 14:23:35 -04:00
David Nalley
62157f2550 updating usage per convo with kishan and frank 2011-09-13 14:23:18 -04:00
frank
2dcdb946d2 fix wrong unittest 2011-09-13 11:22:09 -07:00
alena
c4efac2083 Added back changed reverted by merge 2011-09-13 11:19:48 -07:00
anthony
162e5cf50a storage_ip_address in host table can be NULL 2011-09-13 11:15:47 -07:00
anthony
c5bc16ef42 XcpServerDiscoverer is only for XenServer 2011-09-13 11:11:55 -07:00
Sheng Yang
0553c543a1 bug 11421: Add missing source cmd for ipassoc.sh
status 11421: resolved fixed
2011-09-13 11:08:32 -07:00
anthony
7da10dc158 bug 11403:
use unique_name to do update
2011-09-13 11:08:27 -07:00
Edison Su
7bbe757d5b Add "Other PV" for kvm, to install pv driver in windows:
1. create a VM from iso/template whose guest os type is "Windows*"
2. attach a disk to windows VM
3. install virtio disk driver
4. stop the vm, and create template from it, chose guest os type as "Other PV"
5. create vm from the template created at step 4. Then this vm will have virtio disk, and virtio nic. Need to install virtio nic driver after VM booting up.
2011-09-13 11:07:47 -07:00
alena
d1cfe58c0f bug 11412: use "sshkeypair" instead of "keypair" in response name for ssh commands
status 11412: resolved fixed
2011-09-13 11:00:06 -07:00
kishan
d2293137c7 bug 11199: Moved DB upgrade changes to schema-2211to2212-premium
status 11199: resolved fixed
2011-09-13 23:28:54 +05:30
alena
f6a79c603f bug 11036: resource count update is refactored
status 11036: resolved fixed

1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains

Conflicts:

	core/src/com/cloud/alert/AlertManager.java
	server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
frank
e981546067 add jna as KVM agent dependency 2011-09-13 10:10:03 -07:00
Chiradeep Vittal
9b424a762d fix compilation of mocks 2011-09-13 09:22:52 -07:00
kishan
7840302c70 bug 11199: Added indexes to upgarde 2211 to 2212 script
status 11199: resolved fixed
2011-09-13 18:01:51 +05:30
kishan
1b44c0c8f5 bug 11199: Added indexes to tables in cloud_usage DB in create-schema-premium.sql
status 11199: resolved fixed
2011-09-13 17:57:21 +05:30
Edison Su
d461cfbf1b fix security group rule which not get updated into db, and simulator agents reports the wrong security group to mgt server 2011-09-12 19:09:41 -07:00
anthony
ae64c56c12 bug 11413: when mark host ad disconnected, set lastping to now - pingtimeout
status 11413: resolved fixed
2011-09-12 18:50:07 -07:00
Chiradeep Vittal
3cb4ad4934 Add more detail when unable to schedule cleanup
clean up tests for security group manager v2

move interval to listener -- allows it to be configurable if needed

fix mocks

Enhanced logging for security group manager (from zucchini)

fix merge issues

merge issues
2011-09-12 18:22:55 -07:00
Chiradeep Vittal
1f3c6efb81 Retry only a few times 2011-09-12 18:20:24 -07:00
Chiradeep Vittal
fae5e84699 if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
change some logs to debug level
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
65fb83035f Enable monitoring over JMX
Add the ability to disable some vms from being scheduled

Add ability to trigger ruleset updates from JMX

added a few more dangerous JMX operations
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
d81bc5a375 Dequeue the vm with the largest id first -- this ensures that newly started vms get updated early 2011-09-12 18:20:23 -07:00