Commit Graph

5530 Commits

Author SHA1 Message Date
Murali Reddy
9bf2d32884 Bug 9273 : resource counts going -ve
pushing 2.2.4 fix in to master
2011-04-13 17:43:12 +05:30
anthony
e0ba2a2fa6 clean up transation code 2011-04-12 18:56:49 -07:00
prachi
80fe0b584d More changes for Bug 9387:
- Update system vm_instance's template_id if it does not match the system vm template.
- Use _templateDao.findSystemVMTemplate to find the latest system vm template.
2011-04-12 18:20:01 -07:00
prachi
47f43df01b More changes for 9387:
Checks in StorageManagerImpl :: prepare() method to avoid NPE's if DeployDestination passed in is null.
2011-04-12 18:19:59 -07:00
prachi
47c31a077a Bug 9387 - Recreate system vms if template id changed...
Changes:
- Planner must reassign the storage pool if the template id for system vms has changed.  StorageManager must then recreate the volume if the volume has been
reassigned.  This is needed to do automatic update of the system template.
2011-04-12 18:19:58 -07:00
Edison Su
72bf54469c move kvm/xenserver fence builder into oss 2011-04-12 18:03:02 -04:00
Frank
50b6aca738 Bug 8208 - bare metal provisioning
Add color to print text of python script
2011-04-12 17:37:46 -07:00
Frank
916117a319 Bug 8208 - bare metal provisioning
open udp port 69 for tftp when setting up baremetal agent
2011-04-12 17:21:22 -07:00
Frank
148a46f629 Bug 8208 - bare metal provisioning
remove PING binary from source
2011-04-12 16:38:34 -07:00
Frank
1d5d254758 Bug 8208 - bare metal provisioning
put interpreter declration before license text
2011-04-12 16:35:16 -07:00
Frank
20452b7ada Fix missing Group for cloud-agent in spec file 2011-04-12 16:18:03 -07:00
Frank
8d81d1c457 Bug 8208 - bare metal provisioning
new package baremetal agent
2011-04-12 15:52:33 -07:00
Chiradeep Vittal
b56c82e3b6 bug 9330: ensure that console proxies are always created from the same hypervisor type 2011-04-12 15:24:59 -07:00
Kelven Yang
2a45327a89 Miss out one place to use queue instead, this is for decoupling notification from heartbeat to avoid being potentially blocked in callbacks 2011-04-12 15:06:08 -07:00
Chiradeep Vittal
f37f7f36aa bug 9330: discover system vm template for a given hypervisor type 2011-04-12 14:50:24 -07:00
alena
4d8df029d3 bug 8245: mark storage pool status as Removed before performing actual cleanup
status 8245: resolved fixed
2011-04-12 14:44:55 -07:00
Kelven Yang
253b8837b4 Fix a problem in userdata.sh to set permissions in .htaccess file, extra quot cause apache internal server error 2011-04-12 14:37:09 -07:00
alena
1966b4f449 SecurityGroupDao: do join with "nics" table instead of "user_vm" as we keep ip address information in nics. 2011-04-12 11:18:50 -07:00
alena
1a81515566 DB upgrade: enable securityGroup for all Basic zones 2011-04-12 10:43:54 -07:00
nit
7d51bf41b6 bug 8710: Attaching resource domain account to a zone code 2011-04-12 18:22:26 +05:30
nit
463bb0fdec bug 9347: Adding index and foreign key constraint for upload table for migration from 2.1 to 2.2
Status 9347: resolved fixed
2011-04-12 12:35:08 +05:30
will
a3acbf60f1 bug 9395: Added missing </div> that caused Safari to not show certain elements when adding a Pod in the Add Zone wizard.
Merge from 2.2.4
2011-04-11 19:23:28 -07:00
alena
0da82b4062 bug 9353: API doc update for updateTemplatePermissions and createTemplate calls
status 9353: resolved fixed
2011-04-11 19:15:09 -07:00
alena
d1a9200f4e bug 9378: db upgrade - update guest_os_id in vm_instance table for system vms.
status 9378: resolved fixed
2011-04-11 18:19:30 -07:00
alena
acaab55c3e bug 9391: removed source_id, source_type from "volumes" table as we don't use them any more
status 9391: resolved fixed

Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-04-11 18:19:10 -07:00
alena
52bf157387 bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
status 9398: resolved fixed

Conflicts:

	server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-11 18:14:35 -07:00
alena
70151389d1 bug 9396: removed status field from volumes table as this field is no longer used
status 9396: resolved fixed
2011-04-11 18:12:04 -07:00
alena
0f2112ff26 bug 9373: db upgrade - added missing constraints for user_ip_address table
status 9373: resolved fixed
2011-04-11 18:11:52 -07:00
alena
28029b20c1 bug 9374: removed guest_ip/mac/netmask info from user_vm table. This information is kept in nics table in 2.2.x
status 9374: resolved fixed
2011-04-11 18:11:36 -07:00
alena
aea0a7326a bug 9376: added missing constraints to vm_instance table
status 9376: resolved fixed
2011-04-11 18:11:24 -07:00
alena
f6b8f23751 bug 9381: set accountId=domainId=1 for system vms in vm_instance table
status 9381: resolved fixed
2011-04-11 18:10:54 -07:00
alena
bb2d907d47 bug 9380: db upgrade - use the same case for 'hypervisor_type' in 'vm_instance' table
status 9380: resolved fixed
2011-04-11 18:10:42 -07:00
alena
407bd2ac16 bug 9348: added missing ALTER statement to 222-224 db upgrade script
status 9348: resolved fixed
2011-04-11 18:10:30 -07:00
Kelven Yang
03afe54084 Regression fixes for adding openNew() to Transaction.java 2011-04-11 17:44:31 -07:00
Kelven Yang
149eb0fade Use seperate DB connection to handle cluster management 2011-04-11 16:37:58 -07:00
anthony
ac223c197f bug 9392: don't lock domr entry, otherwise updating domr state fails
status 9392: resolved fixed
2011-04-11 16:06:12 -07:00
Chiradeep Vittal
63ada2ef7e bug 9330: ensure that existing system vms are updated to new xenserver template 2011-04-11 15:47:02 -07:00
Chiradeep Vittal
c14be6915f bug 9330: add kvm / vmware builtin template definitions 2011-04-11 15:46:48 -07:00
Chiradeep Vittal
ae9180d33b bug 9330: add kvm / vmware system vm template definitions 2011-04-11 15:46:37 -07:00
Frank
65dda266f5 Bug 8208 - bare metal provisioning
user lower case for tftp boot file
2011-04-11 14:58:09 -07:00
Frank
5645137f9c reslove conflicts api/src/com/cloud/api/ApiConstants.java 2011-04-11 14:26:48 -07:00
Frank
105db3b15a Merge branch 'baremetal' to master
modifies:
	api/src/com/cloud/api/ApiConstants.java
	api/src/com/cloud/api/commands/AddHostCmd.java
	api/src/com/cloud/api/commands/CreatePodCmd.java
	api/src/com/cloud/api/commands/DeployVMCmd.java
	api/src/com/cloud/dc/Pod.java
	api/src/com/cloud/network/NetworkService.java
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/dc/HostPodVO.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	setup/db/create-schema.sql
	utils/src/com/cloud/utils/SerialVersionUID.java
2011-04-11 14:21:41 -07:00
prachi
c3d2bab81b Some more changes for Bug 8932 - add md5 sum to list templates call:
Also changed 'RegisterTemplate' to take in a new optional parameter 'checksum'.
The value set to it is stored as-is in the DB in vm_template table, 'checksum' column.
2011-04-11 13:17:23 -07:00
Frank
0810831fd2 Bug 8208 - bare metal provisioning
set useexternalDHCP to false when creating pod
2011-04-11 10:41:45 -07:00
Nikita
977101ba48 Custom 3 folder removed 2011-04-11 10:32:52 -07:00
alena
4460d1cf2c Fixed api xml doc writer 2011-04-11 09:33:36 -07:00
nit
debe236a8d bug 8710: CONTD....Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug 2011-04-11 19:40:37 +05:30
kishan
782a22d95f Usage upgrade changes 2011-04-11 18:49:52 +05:30
Murali Reddy
290c799b2c Bug 9273 : [Stress Test] 'Count' in resource_count table has negative values
pushing 2.2.4 changes in to master
2011-04-11 15:37:53 +05:30
Murali Reddy
8b30507841 bug 9312: deleteAccount API does not decrement User VM resource count when VM is destroyed
pushing 2.2.4 changes to master branch
2011-04-11 14:35:06 +05:30