Commit Graph

304 Commits

Author SHA1 Message Date
Alena Prokharchyk 0aec9e7f74 CS-16111 - DB upgrade; fixed foreign keys names
Reviewed-by: Frank Zhang
2012-08-21 14:36:45 -07:00
Murali Reddy ba85d7e7b4 bug CS-16103: [SRX] After Upgrade 2.2.14 -> Burbank - Destroy VM results in 'Unable to expunge VM'
fixing a bug where network offering id for network is overwritten with differnt id
Reviewed-by:Koushik
2012-08-21 16:27:43 +05:30
Vijayendra Bhamidipati 0cf0523afe CS-16042: 3.0.x to 3.0.5 Upgrade: VMWare : Upgrade Procedure for using the new Burbank System Template in place of Acton System Template Required
Description:

    Modifying reference to system VM template for vmware for the
    2.2.14 to 3.0 upgrade path so that it picks up the burbank
    template if upgrading from 2.2.14 to 3.0.5 or beyond, and
    the acton template if upgrading from 2.2.14 to 3.0.[0-4].
2012-08-17 15:59:35 -07:00
Vijayendra Bhamidipati 4d7c6f43ac CS-16042: 3.0.x to 3.0.5 Upgrade: VMWare : Upgrade Procedure for using the new Burbank System Template in place of Acton System Template Required
Description:

    Updating system VM template for vmware for 3.0.5.
2012-08-17 12:24:27 -07:00
Murali Reddy 9862378ed5 bug CS-15232: After upgrade 2.2.14 -> Bonita CloudStack-tag-3.0.3-prerelease3-3.0.3-0.2592-rhel5 with external devices F5-SRX, Unable to acquire IP in original network of F5SRX devices
ensuring that networks using external load balancer/firewall in 2.2.14 or prior releases deployments has entry
  in network_external_lb_device_map and network_external_firewall_device_map
2012-08-12 18:48:38 +05:30
Alena Prokharchyk a25cf5e08f VPC: CS-15827 - register only VpcVirtualNetworkApplianceMgr 2012-08-03 11:47:50 -07:00
prachi 102a563cdd CS-12510: Deleting the host_details and inserting them back causes deadlocks.
Changes:
- 3.0.4 release has a patch where a unique key is added on host_details.
- But this key is not present in 3.0.4 GA
- So 3.0.5 upgrade has to consider both cases and add the key only if it does not exist in the 3.0.4 version.
2012-08-02 16:16:26 -07:00
Murali Reddy 0aadda26e9 Bug CS-15639: Upgrade 2.2.14-> Burbank fails with db upgrade error " Exception while adding F5 load balancer due to..."
pushing changes commited for bug CS-15495 in 3.0.3 to 3.0.x branch
2012-07-31 18:11:28 +05:30
Alena Prokharchyk f243765758 304-305 DB upgrade: upgrade for VPC and resourceTags feature 2012-07-19 16:54:00 -07:00
Alena Prokharchyk ba0c448174 Added upgrade path from 3.0.4 to 3.0.5 (Burbank) release 2012-07-19 16:54:00 -07:00
prachi 317e0df566 CS-15606 Dogfood Setup: Virtual Router (DHCP Server) fails to create in Pods
Reviewed-By: Alena

Changes:
- Correct the virtual router entries from table' virtual_router_providers' that wrongly refer to SecurityGroupProvider instead of VirtualRouter provider in physical_network_service_providers table
- For such entries, we update them to point to the VirtualRouter provider in physical_network_service_providers table
2012-07-18 16:54:47 -07:00
prachi 302485e8ef CS-15578 (spinned off from 15495) Upgrade from 2.2.14 -> 3.0.3-> 3.04 failed with exception"mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException
reviewed-by: kishan

- Add physical network to the removed data_center as well and mark it as removed, to avoid foreign constraint failures
- Since rest all stuff related to multiple physcial networks is done based on networks having non-null removed field, nothing will apply to this zone.
2012-07-18 16:54:22 -07:00
prachi f06d73a6f3 CS-15407 [2.2.14 to 3.0.4 upgrade] After upgrade VLAN allocation doesn't happen properly for multiple physical networks
Reviewed-By: Alena

Changes:
- Upgrade insturctions updated to secify 'isolated' networks
2012-07-18 16:53:42 -07:00
prachi 58dab4b62e CS-15476: Multiple physical networks are created with same label (to same NIC) after upgrade
Reviewed-By: Alena

Changes:
- Error out upgrade when we find there will be multiple physical networks with same traffic label
2012-07-18 16:53:20 -07:00
prachi 30737b8cdd CS-15407 [2.2.14 to 3.0.4 upgrade] After upgrade VLAN allocation doesn't happen properly for multiple physical networks
Reviewed-By: Alena

- Update instructions for setups with multiple physical networks and guest vnets
- if there are such setups upgraded to 3.0.3 and face problems starting VMs, then they need to roll back to 2.2.14 and carry out the instructions and then upgrade to 3.0.4
2012-07-18 16:52:39 -07:00
prachi 2e7ec3798d CS-15516 com.cloud.utils.exception.CloudRuntimeException: Exception while adding PhysicalNetworks : Caused by: java.sql.SQLException: No value specified for parameter 1
Reviewed-By: Prachi

- Same bug in 303 to 304.
2012-07-18 16:49:57 -07:00
prachi a7ae4b9988 CS 15516: com.cloud.utils.exception.CloudRuntimeException: Exception while adding PhysicalNetworks : Caused by: java.sql.SQLException: No value specified for parameter 1
Reviewed-by: Prachi

Changes:
Missed on setting the zoneId parameter.
2012-07-18 16:49:28 -07:00
prachi 5e03887430 CS-15406 [2.2.14 to 3.0.4 upgrade] Hosts going to Alert state after upgrade as it cann't find any name-label set to "cloud-private"
Reviewed-By: Alena

Changes:
- Looks like we cannot default to 'cloud-private' label.
- If it is not set, CS figures out the default management interface and usus its name.
- We will use the global config variable as the label. if it is null, the label on the physical network will be null.
2012-07-18 16:48:19 -07:00
prachi bef9670476 CS-15407 [2.2.14 to 3.0.4 upgrade] After upgrade VLAN allocation doesn't happen properly for multiple physical networks
Reviewed-by: Alena

Changes:
- If a 2.2.14 setup uses guest vnet and has multiple network tags, we cannot upgrade this to 3.0.x since on upgrade we dont know how to assign the vnets to physical networks
- So we error out and provide instructions
- If an already upgraded 3.0.3 setup has this some guest networks using vnet but the assignment of vnet to physical network is wrong, upgrade to 3.04 will detect it and error out with further steps
2012-07-18 16:45:30 -07:00
prachi b818e6f68f CS-15450: vmware:upgrade fails from 2.2.14GA to 3.04
CS-15414 [upgrde from 2.2.14 to 3.0.4] Need to decrypt xen.guest.network.device value before setting the traffic label after upgrade.

Reviewed-by: Alena

- This uncovered a generic case where only 1 network tag is used and other few untagged networks.
- Upgrdae 303 to 304, should create a physical network for the untagged networks.
- Earlier we were doing this only if the 303 db has multiple physical networks. But in this case the 303 db will  have just 1 physcial network (created due to the single tag used on 2.2.14).
- So  we need to create the extra physical network for the untagged networks irrespective of the number of physical networks present in 303 db.

- This commit also take care of the decryption of the xen.guest.network.device value
2012-07-18 16:43:21 -07:00
prachi 64ce2eac32 CS-15396: [2.2.14 to 3.0.4 upgrade] data_center table doesn't contain "uuid" after upgrade
Reviewed-By: Sheng Yang

Changes:
- Add uuid to data_center while upgrading from 2.2.14 to 3.0x.
- For previous setups that have already been updated, correctly add the uuid in 304 upgrade
2012-07-18 16:39:13 -07:00
prachi 709f1b9c78 CS-15381: Upgrade from 3.0.3 to 3.0.4 is failing
CS-15382: Hosts going to Alert state if there were destroyed networks with non-existent tags prior to upgrade

Reviewed-By: Alena P.

Changes:
- If 2.2.14, create the SG provider by looking at is_security_group_enabled flag
- if 3.0.3, create the SG provider by looking at the ntwk_service_map.
2012-07-18 16:34:13 -07:00
prachi a8fd70fe0a Bug 14773 - VM's are unable to start after upgrade from 2.2.14 to 3.0.3
Reviewed-By: Alena P.

Changes:
- Added upgrade path to 304. This would check the missing portions of the previous upgrades and try to correct.
- This will check if the setup has multiple physical networks with Guest traffic type. If yes then:
- Check if the previous upgrade has left behind any guest networks that were untagged in 2.2.14. For such networks, add a new physical network
- Check if the multiple physical network has tags. If no add tag and clone the network offerings for the networks on this physical network and add this tag to them
- Also clone the network offering service map.
- Thus this creates copies of offerings for each physical network.
2012-07-18 16:32:23 -07:00
kishan c4cf065a3f bug CS-15221: Encrypt config value before changing category to Hidden. Regression due to af1fc1cf5d361cb6d43e0107a644c42f645a0ccc
status CS-15221: resolved fixed
reviewed-by: Nitin
2012-06-28 15:54:45 -07:00
Alena Prokharchyk e0723cd9cc CS-15220: fixed db upgrade for networks using external devices
Reviewed-by: Sheng Yang

Conflicts:

	server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-06-04 19:21:35 -07:00
Murali reddy 895c361dca bug CS-13897: DB upgrade for external Firewall/external LB devices
status CS-13897: resolved fixed
2012-05-22 20:31:22 +05:30
Salvatore Orlando f04b62cadc CS-14741: Fixing upgrade script from 2.2.14 to 3.0 2012-05-09 13:05:34 +01:00
kishan 32085c960e bug CS-14763: Added missing 301 to 302 path for 2.2.10 upgrade
status CS-14763: resolved fixed
reviewed-by: Abhi

Conflicts:

	server/src/com/cloud/upgrade/PremiumDatabaseUpgradeChecker.java
2012-05-04 16:09:28 +05:30
Kelven Yang cd13762e44 Console proxy refactoring incremental check-in - new VNC protocol implementation 2012-05-01 13:45:15 +01:00
Alena Prokharchyk 0077234576 Fixed unittest and some issues with 2.2.14-3.0 upgrade 2012-05-01 13:34:05 +01:00
kishan f2a08afd6f bug CS-14695: Encrypt VNC password during 3.0.0 upgrade
status CS-14695: resolved fixed
reviewed-by: Abhi
2012-05-01 11:16:24 +05:30
Alena Prokharchyk e5ed22f55f bug 14694: when select valid clusters, exclude the removed ones
status 14694: resolved fixed
2012-04-30 13:10:49 -07:00
Alena Prokharchyk 319d4c5cfd Catch all exceptions when change engine and row_format - can fail when table is full. Just skip as its not a critical fix 2012-04-24 15:49:14 -07:00
kishan d122637761 bug CS-14587: Process 500 rows at a time to encrypt vnc_password in vm_instance table. Added addtional logging.
status CS-14587: resolved fixed
reviewed-by: Alena
2012-04-22 22:33:22 +05:30
Alena Prokharchyk 5603359794 Fixed db upgrade bug: do vnc password encryption only for non-removed vms 2012-04-21 22:30:16 -07:00
Alena Prokharchyk 8973955350 More logging to the db upgrade 2012-04-21 22:29:43 -07:00
Alena Prokharchyk 7d3eea8225 Fixed db upgrade for 2.1-3.0 2012-04-20 12:00:24 -07:00
kishan e730f888d1 bug CS-14576: Fail 2.2.14 to 3.0.0 upgrade if encryption is not enabled
status CS-14576: resolved fixed
reviewed-by: Nitin

Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade2214to30.java
2012-04-20 16:05:11 +05:30
prachi a5fddd604a Bug 14158 - 2.2.x - 3.0 db upgrade for multiple physical networks
-Create multiple physical networks if there are distinct tags found in network_tags table.
-One physical network per tag.
-Currently all tags flow to xenserver traffic type label.
2012-04-19 15:11:32 -07:00
kishan 133745b652 bug CS-14566: set up physical networks before encrypting config values
status CS-14566: resolved fixed
reviewed-by: Nitin
2012-04-19 21:59:30 +05:30
Alena Prokharchyk d51d018a1b CS-14553: db upgrade - for default network offerings:
1) Change display text to match fresh 3.0.2
2) Delete lb service for the offerings using VR as a provider and not having source nat service
2012-04-18 17:10:41 -07:00
kishan b88019ad8f bug CS-14532: during 2211-2212 upgrade, do not add resource count entries for resourceTypes that were added in later releases
status CS-14532: resolved fixed
reviewed-by: Nitin
2012-04-18 15:40:30 +05:30
Abhi 341ad9444a bug CS-14466: removing blank statement 2012-04-13 13:42:25 +05:30
Abhi 5709cc5832 bug CS-13303: updating resource state on upgrade 2012-04-12 17:47:34 +05:30
Abhi 7eb1330800 bug CS-13303: updating resource state on upgrade 2012-04-12 17:14:50 +05:30
frank 2530ea17dd CS-14429 Cloud db schema differences between fresh installed 3.0.2 & upgraded 3.0.2
do check befor droping index i_host__allocation_state`(`allocation_state`)
2012-04-11 17:25:15 -07:00
Alena Prokharchyk be04f2bd63 Remove obsolete network_tags table as a part of db upgrade cleanup 2012-04-11 16:23:39 -07:00
Alena Prokharchyk cd774c9fab Db upgrade path for 3.0.2 to 3.0.3 2012-04-09 15:50:23 -07:00
Alena Prokharchyk 0bd655f79b bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering
2) Added new api - changeServiceForSystemVm - to support service offering upgrade for system vms
3) Removed global config parameters that are not in use anymore: consoleproxy.ram.size, consoleproxy.cpu.mhz, secstorage.vm.ram.size, secstorage.vm.cpu.mhz
2012-04-03 10:51:35 -07:00
frank 72d284de7d Switch to Apache license 2012-04-03 04:54:14 -07:00