Chiradeep Vittal
d6a151fad4
bug 9441: cannot change unique_name in vm_template as this will cause template sync to fail
2011-04-15 16:29:15 -07:00
prachi
734e3f17c2
Bug 9331 - Even when there is no longer clusters in the pod, 'Delete Pod - Failed - because there are clusters in this pod'
...
Changes:
- Cluster entry is not removed from the table when a cluster is deleted because there are some foreign key constraints failing if the row delete is attempted. Instead the cluster is marked as 'removed'
- While deleting the pod changed the check to see if pod has any clusters - we now check that there are no clusters with removed column null.
- Also pod entry cannot be deleted from the db due to foreign key constraints. So added 'removed' column to Pod table host_pod_ref
- Now on deleting a pod, the pod will be marked as removed and pod name is set to null.
2011-04-15 16:04:16 -07:00
alena
66c75d8ed0
bug 9473: mark all volumes with Destroyed>=1 with state=Destroy
...
status 9473: resolved fixed
2011-04-15 14:08:12 -07:00
alena
7f473dad6f
2.1.x-2.2.x upgrade: in "volumes" table use state=Destroy instead of "Destroyed"
2011-04-15 11:45:55 -07:00
alena
b4a65a6766
bug 9453: domain path is not unique value, removed the constraint added during 2.1.8-2.2.2 upgrade
2011-04-14 17:03:11 -07:00
alena
52fe53f497
bug 9458: do searchIncludingRemoved when decrement resource count as corresponding domain might be removed already
...
status 9458: resolved fixed
Conflicts:
server/src/com/cloud/user/AccountManagerImpl.java
2011-04-14 15:39:51 -07:00
Frank
92155522f2
Add license header to files
2011-04-14 11:23:14 -07:00
prachi
3ad19c633f
Bug 9438 - [Cloud Stack Upgrade - 2.1.8 to 2.2.4] Secondary Storage VM could not start after stopping it
...
- In the upgrade, new XenServer template entry was added in vm_template having id=100
- However we already have another System VM XenServer template downloaded in the upgrade process that gets different id.
- SSVM could not start because the vm_instance's templateId after the upgrade was set to '100' with the assumption that the Xenserver template with id=100 will be used.
Fix to upgrade script is:
- we should not insert any entry in vm_template table for XenServer systemVM via the upgrade DB script. The latest XenServer template will get added in the upgrade process having name 'routing-xenserver-2.2.4'.
- we should update the system VM's template_id in vminstance table to point to this ''routing-xenserver-2.2.4' template.
2011-04-13 17:59:39 -07:00
alena
c9989a7ddf
bug 9420: update existing user_statistics records with device_id and device_type
...
status 9420: resolved fixed
2011-04-13 15:54:01 -07:00
Kelven Yang
1b9cbd9166
bug 9223, 9224: persist runid to form cluster session, based on cluster session and DB condition to issue isolation notification for self-fencing
2011-04-13 15:13:54 -07:00
alena
1a81515566
DB upgrade: enable securityGroup for all Basic zones
2011-04-12 10:43:54 -07:00
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
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
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
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
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
kishan
782a22d95f
Usage upgrade changes
2011-04-11 18:49:52 +05:30
Murali Reddy
598503f094
bug 9129:can't create vm if an instance limit is set at root domain
...
pushing 2.2.4 fixes
2011-04-08 13:25:51 +05:30
Alex Huang
1bc498013e
bug 9344: fixed problems with the template table
2011-04-05 18:33:38 -07:00
Kelven Yang
6143737ef6
2.2.4 to 2.2.5 upgrade sql for system vm pooling
2011-04-05 18:11:56 -07:00
keshav
8c344cb567
Changed insert to insert ignore.
2011-04-05 16:24:55 -07:00
Alex Huang
3d0c4ae937
get unittest to work temporarily
2011-04-05 15:53:33 -07:00
anthony
415b973b92
fixed db upgrade
2011-04-05 15:09:05 -07:00
prachi
92c0b3b82f
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:06:32 -07:00
alena
e0c4bb47d9
bug 9234: system network offerings are HA enabled
...
status 9234: resolved fixed
Conflicts:
setup/db/db/schema-222to224.sql
2011-04-05 13:44:44 -07:00
anthony
8d954931ea
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-04-05 12:11:02 -07:00
anthony
288a36d09f
Merge branch '2.2.4'
...
Conflicts:
api/src/com/cloud/configuration/ConfigurationService.java
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-21to22.sql
setup/db/db/schema-222to224.sql
utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
Alex Huang
8ebe8db39a
bug 9326: put unique back into create-schema.sql
2011-04-05 12:01:30 -07:00
Alex Huang
c9d4e50b96
bug 9323: guid doesn't have to be NOT NULL
2011-04-05 11:23:31 -07:00
alena
dd162339dc
bug 9325: DB upgrade - added missing constraints to ssh_keypair table
...
status 9325: resolved fixed
2011-04-05 11:22:12 -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
2230c24ab3
check in changes from 2.2.4
2011-04-05 11:01:35 -07:00
Alex Huang
e4cffa7928
removed the DEFAULT 0
2011-04-05 10:16:56 -07:00
Alex Huang
04099a4950
bug 9311: changed instance_id to nic_id
2011-04-05 09:12:55 -07:00
keshav
cf2336910f
Removed guest network and management cidr config values from upgrade.
2011-04-04 20:00:44 -07:00
Alex Huang
b2cab48e0c
bug 9308: changed instance_id to nic_id
2011-04-04 16:59:16 -07:00
Alex Huang
10e2dba837
bug 9301: added missing constraint
2011-04-04 15:30:39 -07:00
keshav
bf3c2b73e1
Removed some configuration table inserts.
2011-04-04 15:13:53 -07:00
keshav
45aebbe416
Removed some configuration table inserts.
2011-04-04 15:12:17 -07:00
alena
814804df5b
bug 9298: vm_type can be NULL in "nics" table (for placeholder nics)
...
status 9298: resolved fixed
2011-04-04 14:47:21 -07:00
alena
35c829f33b
bug 9293: 21 to 22 db upgrade - added missing constraints to load_balancer_vm_map
...
status 9293: resolved fixed
Conflicts:
setup/db/db/schema-21to22-cleanup.sql
setup/db/db/schema-21to22.sql
2011-04-04 14:47:21 -07:00