Commit Graph

12786 Commits

Author SHA1 Message Date
Brian Federle ce536daffa CS-15619: Concatenate long tier names, to prevent overlap 2012-07-19 14:31:23 -07:00
Alena Prokharchyk 6224423ecc More logging to the VirtualRouter manager 2012-07-19 14:02:04 -07:00
Jessica Wang bcaa706197 cloudstack 3.0 UI - call getExtaPropertiesForIpObj() to get extra properties for IP Address object when every time it's refreshed by listPublicIpAddresses API call. 2012-07-19 11:21:04 -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 ff8acfa50a CS-15404 [2.2.14 to 3.0.4 upgrade] After upgrade cloud.physical_network.id starts from 200 which is not the case with fresh installation
Reviewed-By: Alena

Changes:
- We need to set the id while creating physical network entry.
2012-07-18 16:49:05 -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
Sheng Yang 78391cef8a S2S VPN: Fix NPE when executes list command 2012-07-18 15:54:38 -07:00
Alena Prokharchyk f778f0f174 Fixed update endpointe.url global config var 2012-07-18 15:45:42 -07:00
Sheng Yang 664c8b3b2c CS-15511: Fix parameter transfer in bash 2012-07-18 15:31:59 -07:00
frank 46d80f6e90 change version to 3.0.5 2012-07-18 14:15:38 -07:00
Jessica Wang de4d5cdc94 cloudstack 3.0 UI - multiEdit widget - make headerFields hidden as default. 2012-07-18 11:40:09 -07:00
Jessica Wang a4f1ecff64 cloudstack 3.0 UI - Guest Network section - detailView - add VPC ID field. 2012-07-18 11:33:41 -07:00
bfederle 81e7c819dc Detail view edit->cancel button: Don't use BG 2012-07-18 11:33:12 -07:00
bfederle c69da45217 UI: Implement tagging widget
Implement a special form on input text field, for handling tag-based
fields. This will tags as a set of list items, which can be removed
and added to. This is for any comma-delimited field.

Currently, this is only supported on detail view widgets, by adding
'isTag: true' as a new attribute for any tag field. Tags are modified
when clicking the 'edit' action.
2012-07-18 11:33:12 -07:00
Jessica Wang ba7d0ba4f9 cloudstack 3.0 UI - "listPublicIpAddresses&id=N" API has been fixed to return a record. Here is related UI change. 2012-07-18 11:13:13 -07:00
Alena Prokharchyk 9bebe245ca More logging on nic release 2012-07-18 10:59:07 -07:00
Jessica Wang 3c58197de2 cloudstack 3.0 UI - VPC - add LB rule - fix a JS error "args.context.networks is undefined" when configure stickiness. 2012-07-18 10:40:40 -07:00
Sheng Yang 3dca5a8689 CS-15615: Fix Site2SiteVpnService injection 2012-07-18 09:58:14 -07:00
anthony 642a82f7ea VPC : static route, cidr should be subnet/cidrsize 2012-07-17 18:57:30 -07:00
Sheng Yang d2643c0fdf CS-15574: Delete VPN gateway and connection when deleting VPC 2012-07-17 18:06:15 -07:00
Alena Prokharchyk 14c3ef17ad VPC: added one more default network offering for VPC - the one not having LB service 2012-07-17 17:47:02 -07:00
kishan 402df4f50c disabled upgrade unit tests 2012-07-17 17:27:04 -07:00
Sheng Yang 0ff69f11a4 CS-15536: Insert VPN mangle policy to FORWARD and OUTPUT
In order to get traffic tagged while ACL chain involved in PREROUTING chain.

Also using more generic tag checking in nat table.
2012-07-17 17:22:00 -07:00
Sheng Yang c36de737db S2S VPN: Use source NAT ip address for VPN gateway 2012-07-17 17:22:00 -07:00
Alena Prokharchyk 3994d8427c VPC: fixed listPublicIpAddresses for the addresses with NULL network_id 2012-07-17 17:10:08 -07:00
Jessica Wang 86fee33b41 cloudstack 3.0 UI - bypass an error caused by "listPublicIpAddresses&id=N" API until it is fixed to correctly return a record. 2012-07-17 16:40:06 -07:00
Jessica Wang e1e7780efc cloudstack 3.0 UI - multiEdit widget - make headerFields shown as default for now until "listPublicIpAddresses&id=N" API is fixed to return an object. 2012-07-17 15:51:51 -07:00
Alena Prokharchyk 97a142c0fc Fixed unittest 2012-07-17 15:46:44 -07:00
Jessica Wang 140768c82b cloudstack 3.0 UI - multiEdit widget - make headerFields hidden as default. 2012-07-17 15:42:01 -07:00
Jessica Wang 32fe57aa77 cloudstack 3.0 UI - VPC - IP Address - after a Port Forwarding rule is added, hide tier dropdown. 2012-07-17 15:22:50 -07:00
Jessica Wang f43a92a2af cloudstack 3.0 UI - VPC - IP Address - after a LB rule is added, hide tier dropdown. 2012-07-17 15:12:46 -07:00
anthony b35218db2f CS-15555 : typo fix 2012-07-17 12:51:27 -07:00
bfederle 843b3dceaf CS-15572: Fix page index for list view filters
This fixes an issue where the page index is not reset back 1 when
activating the search or filter functionality, causing truncation when
trying to scroll down to later pages.
2012-07-17 11:38:56 -07:00
Vijayendra Bhamidipati 14fb597131 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-16 17:28:57 -07:00
Vijayendra Bhamidipati 3a2d85d2e4 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-16 17:22:02 -07:00
Vijayendra Bhamidipati 27d78616a4 CS-15567: When guest network updated with different network rate, api.commands.UpdateNetworkCmd execution consistently fails first time with error "ipassoc failed due to bash: /root/ipassoc.sh: Permission denied", retry succeeds,VM created with old network rate
Description:

	Changing path ipassoc.sh is referred to in VmwareResource.java
	to reflect new patch in /opt/cloud/bin inside the virtual
	router VM.
2012-07-16 17:19:52 -07:00
anthony eb56f43230 CS-15587 : use /opt/cloud/bin/ipassoc.sh 2012-07-16 17:18:02 -07:00
Jessica Wang d4f8d3b3a4 cloudstack 3.0 UI - network page - Guest Network section - select a VPC network - IP Address' configuration chart will be the same as the one from VPC section. 2012-07-16 17:05:39 -07:00
Jessica Wang b3aad47570 cloudstack 3.0 UI - VPC - private gateway - make root-admin able to see private gateways created by other people. 2012-07-16 16:06:57 -07:00