Commit Graph

12177 Commits

Author SHA1 Message Date
prachi 63491fb893 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-06 00:03:34 -07:00
frank 86b7d7cd41 CloudStack CS-15448
java.io.FileNotFoundException: /usr/share/cloud/management/webapps7080/awsapi/WEB-INF/classes/xes.keystore (Permission denied)

resolved fixed
reviewed-by: edison
2012-07-05 16:18:24 -07:00
frank 69e60e360b CloudStack CS-15455
There are no iptable rules configured to open awsapi port (7080) for external world.

resolved fixed

reviewed-by:edison
2012-07-05 16:03:16 -07:00
prachi 61830aef95 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-05 15:43:25 -07:00
Deepti Dohare 09d9bacce4 CS-15429: Create Instance should fail if creating instance results in exceeding volume resource limit for domain-admin or user accounts
Reviewed-by: devdeep.singh@citrix.com
Change: Adding a check for diskOfferingId
2012-07-05 11:00:19 +05:30
prachi aeee0f6d33 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-02 13:47:47 -07:00
frank db894da7b5 Don't change rpm deploy script in build/build-aws-api.xml
reviewed-by: frank
2012-07-02 11:22:07 -07:00
Deepti Dohare 4840918cfb CS-15300 Limits on domain admin accounts
Reviewed-by: devdeep.singh@citrix.com

change: fix for listResourceLimits
2012-07-02 20:05:24 +05:30
prachi 7c7aab9807 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-01 18:09:00 -07:00
Deepti Dohare 13d432fe87 Fix for CS-15300 Limits on domain admin accounts
Reviewed-by: devdeep.singh@citrix.com
2012-06-30 00:17:59 +05:30
frank 6cd0febb29 CS-15376
Need to change rpm spec to deploy awsapi in its own webapps folder

reviewed-by: edison
2012-06-29 10:54:26 -07:00
prachi b3eab06b69 CS-15373: Awsapi port change to 7080.
Reviewed-By: Frank

Changes:
- Changes to deploy awsapi in separate webapps folder and listeining on 7080 port
- Revert changes which were done to open 7080 on CloudStack
2012-06-28 16:43:15 -07:00
prachi acfc1dbd79 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-06-26 15:39:45 -07:00
Prasanna Santhanam a44618e912 Implementing the SetFirewallRulesCommand for the simulator
* Essential since we need firewall rules open before applying network
 rules. Without the fix one recieves an UnsupportedCommandAnswer and
fails the application of the network rule

* Also RebootCommand responds with a RebootAnswer - minor fix

reviewed-by : Kishan
2012-06-14 13:29:37 +05:30
Edison Su cbda5d11d7 bug 13733: fix vm after reboot can't get ipaddress; status 13733: resolved fixed. Reviewed-by: Chiradeep 2012-06-07 21:28:46 -07:00
prachi a8108823f6 CS-15239 vmware:noticed nullpointer exception when we put host in maintenance mode in clustered management setup
Reviewed-By: Kelven

Changes:
- Use of class variable of type GenericSearchBuilder causes issues when multiple threads invoke this method to findCapacity
- Changing the scope of the variable to be local to these methods.
2012-06-06 15:03:40 -07:00
frank 9e4bfca027 CloudStack CS-15244
Not able to put the host in maintenance mode when one of the host in the cluster has host tag and the other host does not have a host tag. We are also not able to cancel the Maintenance mode.

fixed
reviewed-by: edison
2012-06-06 14:06:15 -07:00
Nitin Mehta fc82d5fd64 bug CS-14156: While listing Pods Having Vms for an Account during userconcentratedpod_firstfit allocation look for starting and stopping states of vms as well.
Reviewed-by: Prachi
2012-06-06 22:06:45 +05:30
kishan f19d8d0084 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-05 14:41:06 +05:30
Alena Prokharchyk 79cdb23301 CS-15220: fixed db upgrade for networks using external devices
Reviewed-by: Sheng Yang
2012-06-04 19:20:34 -07:00
frank 26fc280d7b CloudStack CS-15222
Rebalancing of hosts fails with "java.lang.ClassCastException:" since SSVM host gets picked up for rabalacing.

fixed
reviewed-by: edison
2012-06-04 18:22:46 -07:00
Vijayendra Bhamidipati 65698f817b CS-15197: Production DB upgrade 2.2.14 -> Bonita CloudStack-tag-3.0.3-prerelease1-3.0.3-0.2549-rhel5 - schema differences
reviewed-by: Salvatore
Description:

	ovs_tunnel_account is not required in 3.0.3 - the table
	ovs_tunnel_network replaces the former's functionality.
	Putting in a drop table command to remove the table,in
	the upgrade path from 302 to 303.
2012-06-04 13:40:03 -07:00
frank 2c0dd7dbaa CloudStack CS-15195
Multinode Management server - Not able to put the host in maintanace mode when the request is issed from the management server that is not the owner of the host

resolved fixed
reviewed-by: edison
2012-06-04 11:48:23 -07:00
Murali reddy e8531f5bf7 bug CS-15196: Upgrade Failed 2.2.14 -> Bonita CloudStack-tag-3.0.3-prerelease1-3.0.3-0.2549-rhel5 : Caused by: java.sql.SQLException:
status CS-15196: resolved fixed
Reviewed-by: Nitin
2012-06-04 22:38:17 +05:30
Alena Prokharchyk 9dee303788 CS-15197: correct default value for service_offering.nw_rate
Reviewed-by: Will Chan
2012-06-04 09:33:40 -07:00
Kelven Yang 9becd5e8c3 bug CS-15179: ensure route before connecting
Reviewed-by: anthony
2012-06-01 11:36:16 -07:00
Kelven Yang 3d8a14fce6 bug CS-15191: remove a sanity check that prevent us from getting traffic lable under VMware
Reviewed-by: anthony
2012-06-01 10:34:17 -07:00
kishan 699e76e33f bug CS-15091: Removed additional space in category for config param category. Regression due to af1fc1cf5d361cb6d43e0107a644c42f645a0ccc CS-14637
status CS-15091: resolved fixed
reviewed-by: Nitin
2012-06-01 20:38:46 +05:30
sateesh 3f9180d13e CS-14938 Trying to detect the traffic label for public network while adding Cluster with Nexus Vswitch in Basic Zone network
Status CS-14938: resolved fixed
Reviewed-by: Devdeep
2012-06-01 15:20:28 +05:30
kishan 13e297c3fb bug CS-15170: Add default zone to account table in cloud_usage table for fresh install also
status CS-15170: resolved fixed
reviewed-by: Nitin
2012-06-01 12:46:44 +05:30
Vijayendra Bhamidipati 7065c17910 CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
reviewed-by: Sateesh
Description:

	Missed deletion of cluster record in case of failure in
	validation of vsm:cluster mapping restriction.
2012-05-31 23:46:35 -07:00
Vijayendra Bhamidipati 99564fe297 Merge branch '3.0.3' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.3
reviewed-by: Vijay
2012-05-31 23:25:15 -07:00
Vijayendra Bhamidipati f1011ac698 CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
reviewed-by: Vijay
Description:

        Putting exception handling in place.
2012-05-31 23:18:27 -07:00
Vijayendra Bhamidipati 00dfebf26c CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
reviewed-by: Vijay
Description:

	Fixing null pointer exception introduced by previous
	checkin.
2012-05-31 17:32:49 -07:00
anthony 9f1e1faac3 CS-15155 : need to eject CD before destroy vbd
reviewed-by : kelven
2012-05-31 17:30:27 -07:00
Sheng Yang 63a6a09f85 CS-15175: Fix public interfaces of redundant router
We need to use ifup/ifdown to bring up the interfaces, because ifconfig don't
know the ip of the interface after we modify cloud-early-config to avoid
first start up of public interface.

Reviewed-by: Edison
2012-05-31 14:32:03 -07:00
Vijayendra Bhamidipati 968d1b94a0 CS-15181: Remove stale global config parameters from upgrade script
reviewed-by: Vijay
Description:
	Removing stale global config params.
2012-05-31 14:04:01 -07:00
Vijayendra Bhamidipati 9cc54d2206 Merge branch '3.0.3' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.3
reviewed-by: Vijay
2012-05-31 13:52:52 -07:00
Vijayendra Bhamidipati ea23f52003 CS-15173: Additional Cluster is allowed to add with the same VSM IPaddress as the previous cluster
reviewed-by: Vijay
Description:

	Restricting association of a Cisco Nexus VSM to a single
	cluster.
2012-05-31 13:49:48 -07:00
anthony 12285e24d5 CS-15155 : after system VMs boot up, destroy CD virtual device for System VM
when reconnect XenServer host, try to destroy CD virtual device for System VM, this is for upgrade

Reviewed-By : kelven
2012-05-31 13:40:17 -07:00
Kelven Yang 0b210f0602 CS-15080: VMware control network is CloudStack management network, correct the way to send down a correct traffic label to VMware resource
Reviewed-by: Anthony
2012-05-31 11:32:23 -07:00
Murali reddy 5ffaac9c4c bug CS-15144: Upgrade 3.0.1 -> Bonita 3.0.3 with F5 and SRX devices failed
status CS-15144: resolved fixed
reviewed-by: Murali
2012-05-31 20:11:11 +05:30
Murali reddy 815915d480 bug CS-15171: Unable to start any VM after upgrade from 3.0-> Bonita with VMWare Host
status CS-15171: resolved fixed
reviewed-by: Murali

adding missing backward compatibility (pool UUID is stripped down to 32 chars without '-')
check while mounting a data store
2012-05-31 16:39:11 +05:30
kishan 46a8284a26 bug CS-15170: Add default zone to account table in cloud_usage table
status CS-15170: resolved fixed
reviewed-by: Nitin
2012-05-31 15:38:07 +05:30
kishan 9d305e5b4a bug CS-15168: Use cagetory from DB instead of Config.java, set category to Hidden during upgrade if they are not already
status CS-15168: resolved fixed
reviewed-by: Nitin
2012-05-31 15:35:09 +05:30
kishan 0a4f635d88 bug CS-15168: Use cagetory from DB instead of Config.java, set category to Hidden during upgrade if they are not already
status CS-15168: resolved fixed
reviewed-by: Nitin
2012-05-31 14:34:41 +05:30
prachi ace109634f CS-15162: ec2-run-instances - When -n option is used to deploy multiple Vms when there is not enough capcity to deploy all the Vms, api returns error even though few of the Vms have been deployed successfully.
Reviewed-By: Sheng Yang

Changes:
- Instead of throwing out error, return the response containing the info about the instances that were launched.
2012-05-30 18:01:30 -07:00
prachi 5bb3257719 CS-14156: Handle UserConcentratedPod for DOMR creation
Reviewed-By: Alena

Changes:
- corrected the account being set in vmProfile as owner of the VM.
- It was set to the caller of the start Vm method. However in case of routers, the caller account is System account while the router owner is the network owner account.
2012-05-30 15:45:08 -07:00
Sanjay Tripathi 5890248752 CS-15146: UI issues with Nexus vswitch
reviewed-by: brian
2012-05-30 14:43:50 -07:00
Brian Federle 790bb1e71e CS-15148 : Delete Nexus dvSwitch UI option is not Functional so removing this functionality
reviewed-by: brian
2012-05-30 11:07:10 -07:00