Commit Graph

13045 Commits

Author SHA1 Message Date
Jessica Wang db489d018a cloudstack 3.0 UI - Guest Network section - pass listAll=true to listNetworks API even id parameter is passed. 2012-08-01 16:45:32 -07:00
Jessica Wang 32c295aa6c cloudstack 3.0 UI - Guest Network section - pass listAll=true to listNetworks API. 2012-08-01 16:36:08 -07:00
Alena Prokharchyk f80bfb35f5 VPC: CS-15798 - added vpc resource limit. Check vpc functional spec for more details:
http://wiki.cloudstack.org/display/RelOps/Inter-VLAN+Routing+functional+spec
2012-08-01 16:19:30 -07:00
Brian Federle 63b3b92176 listView UI: Fix case where $breadcrumb isn't present 2012-08-01 15:54:07 -07:00
Jessica Wang 541bb95d63 CS-15792: cloudstack 3.0 UI - VPC - pass domainid+account instead of listAll to all listNetworks API calls under VPC section. 2012-08-01 15:50:56 -07:00
Sheng Yang 4ddc002764 S2S VPN: CS-15810: Add check for customer gateway subnets / VPC CIDR overlap 2012-08-01 15:29:36 -07:00
Alena Prokharchyk 751ebce589 VPC: CS-15791 - allow having the same NetworkACL for 2 different protocols 2012-08-01 15:25:06 -07:00
Alena Prokharchyk 204b6e6ad9 VPC: add account/domain info to the API vpc response 2012-08-01 15:11:52 -07:00
Alena Prokharchyk 9630cf574f Fixed numerous bugs in listNetworks call related to filtering by projectId/listAll/domainId/etc. All the rules below are followed now:
1) When account/domainId or projectId are passed in:

* list all account specific networks of the account/project
* list all domain level networks from the domainId + subdomains if the targeted network has allowSubdomainAccess = true

In other words, we use all the networks that can be used for vm deployment by account/domainId.

If listAll is not specified in the request, account/domainId are being defaulted to the account/domainId of the caller
listAll is ignored if the call is being done by the regular user.

2) listAll is passed in by the Root admin, we list:

* all Account specific networks in the system
* all domain specific networks in the system

3) listAll is passed by the Domain admin, we list:

* All Account specific networks belonging to domain/subdomains of the domain admin.
* All domain specific networks belonging to domain/subdomains of the domain admin
* All domain specific networks allowing subdomain access belonging to the parent domain.

4) domainId - can be passed either with or without listAll. We list:

* all account specific networks belonging to the domain
* all domain specific networks of the domain
* all domain specific networks of the subdomains if isRecursive = true is passed in
2012-08-01 14:47:50 -07:00
prachi c55489224b CS-12510: Deleting the host_details and inserting them back causes deadlocks.
Reviewed-By: Alex

Changes:
- Deleting and inserting the host_details in one transaction leads to this MySQL deadlock issue sometimes
- This fix is to use the ON DUPLICATE KEY UPDATE MySQL query that will insert the deatils if they are new or update the ones that are existing.
- This needs a UNIQUE constraint on host_details.
2012-08-01 14:38:24 -07:00
Brian Federle 721a85f1b5 CS-15799: Show 'network domain' instead of 'network domain text' 2012-08-01 14:33:59 -07:00
Pranav Saxena 6cc7cda9ce CS:15792- S2S VPN : A tier created in VPC from a domain-admin account does not show up in the VPC configuration page. Instead, it is seen in the guest networks page 2012-08-02 02:59:30 +05:30
Brian Federle 505a9ad982 CS-15740: Show 'please select a tier' instead of blank default option
For VPC enable static NAT dialog, a tier always needs to be selected
-- this is now indicated in the default option select.
2012-08-01 14:28:07 -07:00
Brian Federle f6cc891831 cloudBrowser / list view UI: Show subsection in breadcrumb
If in a section with multiple subsections, show active subsection in
the breadcrumb.

For example, if in storage->snapshots, display 'Storage - Snapshots'
based on the 'title' attribute for the main section and subsetion.

-- Note: this disables the 'fixSize' functionality which resizes long
   breadcrumb trails, due to incompatibility with this new feature. It
   is going to be reimplemented anyway, as it is fairly glitchy in its
   current incarnation.
2012-08-01 13:24:51 -07:00
Jessica Wang e49f07e0e3 CS-15184: host page - remove host action - change confirmation message. 2012-08-01 13:17:32 -07:00
Jessica Wang ea9fe42c50 cloudstack 3.0 UI - autoscale - edit mode - update autoscaleVmGroup. 2012-08-01 12:18:29 -07:00
Jessica Wang 301a3be8ec cloudstack 3.0 UI - autoscale - edit mode - disable autoscaleVmGroup before calling other updateXXXXXXX APIs and enable it back afterwards. 2012-08-01 10:19:50 -07:00
Jessica Wang 9d23cd672e cloudstack 3.0 UI - autoscale - edit mode - API calls end after updating VM profile. 2012-08-01 09:39:44 -07:00
Nitin Mehta 7e1c434f20 bug CS-13935: correcting description for create.volume.from.snapshot.wait global setting
Reviewed-by: Kishan
2012-08-01 16:48:00 +05:30
Koushik Das 7dad7b0da9 CS-15790 : Failed to do DB upgrade from 3.0.4 to Burbank [SQL syntax error with schema-304to305.sql script
Reviewed-by: Nitin
2012-08-01 16:22:25 +05:30
Deepak Garg 3b3c62d5cc CS-15744. Fixed the error message 2012-08-01 12:25:02 +05:30
Deepak Garg cb0bcfa63a CS-15745. Fixed the maxmembers variable 2012-08-01 12:20:16 +05:30
Pranav Saxena e51076af3f CS-14907:download volume option should be present only in READY state since it has moved to primary storage 2012-08-01 10:54:48 +05:30
Vijay a0d6dd4ad3 CS-15788 Update of AutoScale Vm Profile is failing when the vm group's state is in disabled state.
Corrected the check on path of updateAutoScaleVmProfile.
2012-08-01 08:24:53 +05:30
Vijay fcb3076375 CS-15783 On a AutoScaleVmGroup creation, the asynchronous jobs cannot be listed momentorily.
This happened because of an assert to introduce the mapping between job
instance and instance id. Have done it in AsyncJobReponse. Also,updated
JobInstance type in VmGroup commands.
2012-08-01 08:24:51 +05:30
Jessica Wang 1dc3a3910c cloudstack 3.0 UI - autoscale - add validation that LB name, public port, private port field have to be filled before creating autoscale. 2012-07-31 18:02:48 -07:00
Jessica Wang cedf4f4c47 cloudstack 3.0 UI - autoscale - service offering, disk offering, security group can not be changed after autosccale is created. So, disable the 3 dropdowns in edit mode. 2012-07-31 17:45:22 -07:00
Alena Prokharchyk 21f2d1b779 VPC: moved vpc related code from NetworkManager to VpcManager 2012-07-31 16:58:14 -07:00
Jessica Wang cee948681f cloudstack 3.0 UI - autoscale is not supported in VPC. So, hide autoscale button in LB listing in IP Addresses under VPC. 2012-07-31 16:45:22 -07:00
Jessica Wang ced94b532b cloudstack 3.0 UI - autoscale - edit mode - pass id parameter to updateAutoScaleVmProfile API. 2012-07-31 16:02:18 -07:00
Jessica Wang efc16fd99d cloudstack 3.0 UI - autoscale - edit mode - fix a bug that counter column in Scale Up Policy/Scale Down Policy was shown as UUID instead of name. 2012-07-31 15:21:18 -07:00
Jessica Wang d218641559 cloudstack 3.0 UI - autoscale - rename add action to apply action since the action is used by both creation mode and edit mode now. 2012-07-31 15:03:30 -07:00
Alena Prokharchyk 6826dd16b5 VPC: reduced visability for some vpc related methods 2012-07-31 14:30:59 -07:00
Jessica Wang 0320fc1b65 cloudstack 3.0 UI - autoscale - implement edit mode. 2012-07-31 14:21:45 -07:00
Brian Federle 85ec574348 CS-15761: Show type of router in list view
Adds a 'type' column to virtual router list views, which is labeled
either 'VPC,' 'Project,' or 'System' [default router].

--This also fixes an issue where project routers were never listed
2012-07-31 14:20:10 -07:00
Brian Federle 0793e07ada CS-15760
Don't show Configuration tab for VPC static NAT
2012-07-31 13:44:23 -07:00
Sanjay Tripathi bcf6a87682 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-31 23:36:01 +05:30
Sanjay Tripathi 376e3fd2b9 CS-15775:Creation of Auto scale configuration through UI fails while creating autoscale profile due to args.context.ipAddresses is undefined 2012-07-31 23:34:13 +05:30
Alena Prokharchyk da8c8e9922 VPC: CS-15774 - VPC and guest networks of VPC should belong to the same zone 2012-07-31 10:37:47 -07:00
Alena Prokharchyk e4eb0c3a1b Fixed listNetworks to return domain level networks when listAll is passed to the request 2012-07-31 10:21:07 -07:00
Sanjay Tripathi b448412148 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-31 21:53:26 +05:30
Sanjay Tripathi a17e0117e5 CS-15775:Creation of Auto scale configuration through UI fails while creating autoscale profile due to args.context.ipAddresses is undefined 2012-07-31 21:51:31 +05:30
Koushik Das 6bc1d1247a Fix for CS-15631
Support for up to 16 VDIs per VM on XS 6.0 and above (16 VDIs => root + cd + 14 data volumes). Currently in CS number of data disk that can be attached to VM is hard-coded to 6. Made this setting configurable by moving it to hypervisor capabilities. Although XS 6.0 and above supports upto 16 VDIs but while testing on XS 6.0.2 found that only 13 data volumes can be attached to a VM. So for XS 6.0 and 6.0.2 max_data_volumes_limit is set to 13 currently.
Reviewed-by: Nitin
2012-07-31 19:13:05 +05:30
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
Prasanna Santhanam 50d5a17c7a Fail with non-zero exit code when toc category missing 2012-07-31 17:21:57 +05:30
Ewan Mellor 04c04aa2d4 FailOnError for deploydb and doc targets
Use failonerror=true for the exec calls used in the
deploy-cloudstack-db, deploydb-simulator, and build-apidocs targets.
2012-07-31 17:21:57 +05:30
Prasanna Santhanam 81c3f62099 failonerror for some marvin targets 2012-07-31 17:21:57 +05:30
Prasanna Santhanam 386779ca2e Simplifying the process of running the simulator.
* ant run-simulator - will seed the simulator jar and start CS
    * ant run-marvin -Dmarvin.config="/path/config/file" - will
    * configure a
    cloudstack as per the given configuration. marvin.config - defaults
to a
    two host simulator in an advanced zone

    You can then connect your debugger over localhost:8787 or use the CS
ui
    at localhost:8080/client for testing.

Conflicts:

	build/build-marvin.xml
	build/build-tests.xml
2012-07-31 17:21:57 +05:30
Pranav Saxena c1b746a4f1 CS-15770:Dedicated option should not be displayed when Basic EIP/ELB is chosen as Network Offering 2012-07-31 16:38:33 +05:30
Pranav Saxena a8c6855229 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-31 16:22:32 +05:30