Commit Graph

5387 Commits

Author SHA1 Message Date
prachi fc35aed2c9 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:31:27 -07:00
Edison Su 711a19e7d3 move kvm/xenserver fence builder into oss 2011-04-12 17:12:40 -04:00
Chiradeep Vittal fe4d5845c2 bug 9330: ensure that console proxies are always created from the same hypervisor type 2011-04-12 15:15:01 -07:00
Chiradeep Vittal a9f88c5b0c bug 9330: discover system vm template for a given hypervisor type 2011-04-12 14:49:41 -07:00
Kelven Yang c54ec3a4de Fix a problem in userdata.sh to set permissions in .htaccess file, extra quot cause apache internal server error 2011-04-12 14:40:31 -07:00
alena d86487f74a SecurityGroupDao: do join with "nics" table instead of "user_vm" as we keep ip address information in nics. 2011-04-12 11:15:22 -07:00
alena 624d1c0438 DB upgrade: enable securityGroup for all Basic zones 2011-04-12 10:41:59 -07:00
nit 1bfde99462 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 14:24:40 +05:30
will a2151207e6 bug 9395: Added missing </div> that caused Safari to not show certain elements when adding a Pod in the Add Zone wizard. 2011-04-11 19:22:37 -07:00
alena 5ee6a8757a bug 9378: db upgrade - update guest_os_id in vm_instance table for system vms.
status 9378: resolved fixed
2011-04-11 17:55:40 -07:00
alena 5de4f05a1c bug 9391: removed source_id, source_type from "volumes" table as we don't use them any more
status 9391: resolved fixed
2011-04-11 17:33:38 -07:00
anthony bd6661c3d2 bug 9392: don't lock domr entry, otherwise updating domr state fails
status 9392: resolved fixed
2011-04-11 16:08:05 -07:00
alena 90f79a8211 bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
status 9398: resolved fixed
2011-04-11 15:25:34 -07:00
Chiradeep Vittal 4de0401608 bug 9330: ensure that existing system vms are updated to new xenserver template 2011-04-11 15:22:09 -07:00
Chiradeep Vittal e90f03c6c0 bug 9330: add kvm / vmware builtin template definitions 2011-04-11 14:49:45 -07:00
Chiradeep Vittal a8487454e8 bug 9330: add kvm / vmware system vm template definitions 2011-04-11 14:35:27 -07:00
alena 6bcf0dd51f bug 9396: removed status field from volumes table as this field is no longer used
status 9396: resolved fixed
2011-04-11 13:58:26 -07:00
alena 21f7b90a5b bug 9373: db upgrade - added missing constraints for user_ip_address table
status 9373: resolved fixed
2011-04-11 13:47:21 -07:00
prachi 04b9f7c7a5 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:30:35 -07:00
alena 6bd5fa1f9c 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 12:21:18 -07:00
alena 77e183cc17 bug 9376: added missing constraints to vm_instance table
status 9376: resolved fixed
2011-04-11 10:35:45 -07:00
alena 93429a16d8 bug 9381: set accountId=domainId=1 for system vms in vm_instance table
status 9381: resolved fixed
2011-04-11 10:10:05 -07:00
alena 6f0da71c1a bug 9380: db upgrade - use the same case for 'hypervisor_type' in 'vm_instance' table
status 9380: resolved fixed
2011-04-11 09:59:23 -07:00
alena e8b1eb9ccf bug 9348: added missing ALTER statement to 222-224 db upgrade script
status 9348: resolved fixed
2011-04-11 09:50:50 -07:00
kishan b5bf6e9bee Usage upgrade changes 2011-04-11 18:54:10 +05:30
kishan 6794f086ff add support to run scripts on usage DB 2011-04-11 18:53:50 +05:30
prachi 65d589da73 Bug 8932 - add md5 sum to list templates call
Modified TemplateResponse to contain a new field 'checksum' of the template. The value is pulled from the vm_template table, 'checksum' column.

Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
2011-04-08 15:20:47 -07:00
Murali Reddy 95cd5b6f3b bug 9273: [Stress Test] 'Count' in resource_count table has negative values
changing destroy volume logic to decrement volume resource count only for user vm's
2011-04-09 02:01:54 +05:30
Murali Reddy 55caa1d60a bug 9312: deleteAccount API does not decrement User VM resource count when VM is destroyed
status 9312: closed fixed

Decrementing the resource count when we expunge VM.
2011-04-08 17:22:13 +05:30
Murali Reddy ba7abb4da8 bug 9129:can't create vm if an instance limit is set at root domain 2011-04-08 07:07:50 +05:30
Murali Reddy 4822fcae13 Bug 9273 - Count' in resource_count table has negative values
Resolved Fixed
2011-04-06 18:18:38 +05:30
Frank 737b005f62 Bug 9218 - service cloud-management restart OR stop FAILED
Resloved Fixed
2011-04-05 20:41:08 -07:00
Alex Huang e349159d0f bug 9344: fixed problems with the template table 2011-04-05 18:34:12 -07:00
Kelven Yang 623792dfaf bug 9328: always add explict route to domR 2011-04-05 17:29:52 -07:00
keshav fd759306eb Changed insert to insert ignore. 2011-04-05 16:43:33 -07:00
prachi 5fbf83c24f Bug 9045: No 'Starting job for VM.MIGRATE' & 'Successfully completed VM.MIGRATE' events shown for VM manual migration
Changes:
- Added the required 'ActionEvent' annotation to the API, so that the events get added.
2011-04-05 16:36:00 -07:00
anthony 5353e4abac hostid and poolid may overlap, fixed deletePoolStats 2011-04-05 16:01:30 -07:00
Chiradeep Vittal a7b7420df6 bug 9092: consistent naming 2011-04-05 15:35:58 -07:00
prachi 9f10d9957e Bug 9309 - In Manual migration, do not consider 'reserved_capacity' when computing available memory in destination
Changes:
- Now while listing hosts for migration, capacity is calculated as total_capacity -used_capacity
 instead of total_capacity -(used_capacity + reserved_capacity)
- Also, the capacity columns in op_host_capacity are now 'signed' type so that the subtractions in queries does not overflow.
- Added this to DB upgrade 222 to 224 change as well.
2011-04-05 14:16:21 -07:00
alena c31330b6d9 bug 9234: system network offerings are HA enabled
status 9234: resolved fixed
2011-04-05 13:42:34 -07:00
Alex Huang cb323775ba bug 9326: put unique back into create-schema.sql 2011-04-05 12:01:50 -07:00
Alex Huang c9d4e50b96 bug 9323: guid doesn't have to be NOT NULL 2011-04-05 11:23:31 -07:00
alena 914952cd86 bug 9325: DB upgrade - added missing constraints to ssh_keypair table
status 9325: resolved fixed
2011-04-05 11:18:46 -07:00
Alex Huang 3f8dc115ec bug 9323: dropped the snapshots_seq 2011-04-05 11:09:39 -07:00
Alex Huang e4cffa7928 removed the DEFAULT 0 2011-04-05 10:16:56 -07:00
alena 61f968592b bug 9306: set isolationUri/broadcastUri for SSVM/domR/CPVM public nics
status 9306: resolved fixed
2011-04-05 09:18:43 -07:00
Alex Huang 04099a4950 bug 9311: changed instance_id to nic_id 2011-04-05 09:12:55 -07:00
Chiradeep Vittal d958aefe46 bug 8959: 1. rp_filter prevents connections that span eth2 and eth3 because of default route
2. delete before add of default nat rules
status 8959: resolved fixed
2011-04-04 18:57:25 -07:00
alena 49cbcac29f bug 8959: fixed mac address generation for public ip addresses 2011-04-04 18:31:19 -07:00
alena 534623706d bug 9305: set Mode field for domR/CPVM/SSVM nics
status 9305: resolved fixed
2011-04-04 18:31:07 -07:00