9027 Commits

Author SHA1 Message Date
Jessica Wang
994d42920e cloudStack 3.0 new UI - NaaS - Physical Network - Edit action - hide spinning wheel on detail view when 2 API calls are finished. 2011-11-18 10:40:56 -08:00
Murali Reddy
2b61009ec5 turing off secure API calls to netscaler temporarily 2011-11-18 10:16:43 -08:00
Abhinandan Prateek
489847fcb7 bug 11867: split the host details into [all, capacity, events, stats, min] 2011-11-18 18:07:05 +05:30
Nitin Mehta
fc261e70f7 bug 11996: Improve logging and catch throwable to make it robust.
status 11996: resolved fixed
2011-11-18 12:22:50 +05:30
Abhinandan Prateek
8d61329fdc fixing a typo 2011-11-18 11:30:58 +05:30
Alena Prokharchyk
2917bc686b Fixed the typo 2011-11-17 20:11:37 -08:00
prachi
313e6ca284 Bug 8791 user dispersing allocator
Changes:
- Added a two new deployment planners  'UserDispersingPlanner' and 'UserConcentratedPodPlanner' to the DeploymentPlanners
- Planner can be chosen by setting the global config variable 'vm.allocation.algorithm' to either of the following values:
('random', 'firstfit', 'userdispersing', 'userconcentratedpod')
- By default, the value is 'random'. When the value is 'random', FirstFitPlanner is invoked as before that shuffles the resource lists.
- Now Admin can choose whether the deployment heuristic should be applied starting at cluster or pod level. This can be done by using the
global config variable 'apply.allocation.algorithm.to.pods' which is false by default. Thus by default as earlier, planner starts at clusters directly.

'UserConcentratedPodPlanner' changes:
- Earlier to 3.0, FirstFitPlanner used to reorder the clusters in case this heuristic was chosen.
- Now this is done by a separate planner and is applied only when 'vm.allocation.algorithm' is set to this planner
- It reorders the capacity based clusters/pods such that those pods having more number of Running Vms for the given account are tried first.
- Note that this userconcentration is applied only to pods and clusters. Not to hosts or storagepools within a cluster.

'UserDispersingPlanner' changes:
- 'UserDispersingPlanner' reorders the capacity ordered pods and clusters based on number of 'Running' VMs for the given account in ascending order. Aim is to choose thodes pods/clusters first which have less number of Running VMs for the given account
- Admin can provide weights to capacity and user dispersion so that both parameters get considered in reordering the pods/clusters. This can be done by setting
the global config parameter 'vm.user.dispersion.weight'. Default value is 1. Thus if this planner is chosen, by default, ordering will be done only by number of Running Vms, unless the weight is changed.
- HostAlllocators and StoragePoolAllocators also reorder the hosts and pools by ascending order of number of Running VMS/ Ready Volumes respectively for the given account. Thus try to choose that host or pool within a cluster with less number of VMs for the account.
2011-11-17 18:29:39 -08:00
Murali Reddy
36f67762d0 fix netscaler API commands 2011-11-17 17:46:33 -08:00
Jessica Wang
2474448142 cloudStack 3.0 new UI - NaaS - implement Add NetScaler. 2011-11-17 17:42:03 -08:00
Alena Prokharchyk
d0cdc451db bug 11193: throw insufficientCapacityException when run out of link local ip addresses
status 11193: resolved fixed
2011-11-17 17:35:04 -08:00
Murali Reddy
4bdcddf96c fixed bug in addSrxFirewallCmd API 2011-11-17 17:22:14 -08:00
Jessica Wang
b497a2ad10 cloudStack 3.0 new UI - NaaS - Add SRX firewall - add Network Service Provider, SRX, before add SRX firewall rule if SRX provider is disabled. 2011-11-17 17:07:21 -08:00
Jessica Wang
4bb6c48120 cloudStack 3.0 new UI - NaaS - Add F5 - add Network Service Provider, F5, before add F5 Load Balancer rule if F5 is disabled. 2011-11-17 16:50:03 -08:00
Alena Prokharchyk
337c07c0d1 Default gateway service to sourceNat service in the API 2011-11-17 16:28:10 -08:00
Alena Prokharchyk
0a10e32d69 Fixed test client 2011-11-17 16:25:54 -08:00
Jessica Wang
87f1d36723 cloudStack 3.0 new UI - NaaS - implement Add SRX firewall. 2011-11-17 16:22:59 -08:00
Brian Federle
3ac7fb889b Add error handling to notifications widget 2011-11-17 16:21:19 -08:00
Brian Federle
a68fba3a8d Pass _custom correctly to notifications 2011-11-17 16:21:19 -08:00
Sheng Yang
7724bac41b NaaS: Separate DNS service from DHCP service of virtual router
If virtual router provide DHCP but not DNS service, the DHCP response would
contained DNS server address rather than domr itself's address. Then user VM
would use specified DNS server directly.
2011-11-17 16:19:03 -08:00
Brian Federle
bce9e22c97 Fix selects 2011-11-17 16:05:34 -08:00
Jessica Wang
b79aa32e59 cloudStack 3.0 new UI - NaaS - implement Add F5 Load Balancer. 2011-11-17 16:05:05 -08:00
Brian Federle
593803c8d7 Fix service provider map 2011-11-17 15:47:03 -08:00
Brian Federle
b01388d3be Fix network offering list view 2011-11-17 15:22:34 -08:00
Brian Federle
74d53c8795 AJAX calls for add network offering form 2011-11-17 15:17:00 -08:00
Brian Federle
c6c75c498e Whitespace cleanup 2011-11-17 15:17:00 -08:00
Jessica Wang
496f591e56 cloudStack 3.0 new UI - NaaS - F5, SRX - when status is disabled, click F5 or SRX will lead to an Add form. 2011-11-17 15:00:41 -08:00
Jessica Wang
64f5681097 cloudStack 3.0 new UI - System - NaaS - populate network service provide status (enabled/disabled) in zone chart. 2011-11-17 14:49:25 -08:00
Alena Prokharchyk
5571afa471 Virtual router elements: prepare nics only when VirtualRouter is a provider for at least one service in the network 2011-11-17 14:33:22 -08:00
Brian Federle
ed176cf3c9 -Fix zone chart -- $browser is undefined error
-Support dynamic generation of create form fields (for add network offering)
-Add example add network offering form
2011-11-17 14:16:42 -08:00
Alena Prokharchyk
0bb325ac12 Call implement() and shutdown() methods for providers only when the provider serves a service for the network 2011-11-17 13:53:53 -08:00
Sheng Yang
cb6c1424ef NaaS: Add virtual router state check for virtual router element 2011-11-17 13:42:29 -08:00
prachi
b0cdb86d9e Merging listSupportedNetworkServices and listSupportedNetworkServiceProviders.
listSupportedNetworkServiceProviders returs list of services with providers and capabilities of each service.
It supports 2 parameters:
-service : list providers and capabilities of this service
-provider: list services of this provider
- if none is specified, lists all services supported
2011-11-17 12:54:31 -08:00
Brian Federle
b378964e81 Fix system devices UI 2011-11-17 11:39:43 -08:00
Sheng Yang
cdd8d741ca NaaS: Add redundant router capability to virtual router 2011-11-17 11:33:04 -08:00
Jessica Wang
968bf5cbc6 cloudStack 3.0 new UI - System - Management - details - add "View Pods" 2011-11-17 11:12:57 -08:00
Nitin Mehta
e39498f1e7 bug 11997: Introduce created and update_time in the op_host_capacity table.
status 11997: resolved fixed
2011-11-17 18:10:59 +05:30
Abhi
9086a39bda bug 11910: avoid Starting to Running state changes during full sync, as the VM startup process does not like it 2011-11-17 14:32:56 +05:30
Sheng Yang
257836284a bug 11904: Fix regression caused by OpenJDK 1.6.0 security fix
It’s due to an security fix of OpenJDK 1.6.0 added by Redhat. Here is excerpt
of [RHSA-2011:1380-01] Critical: java-1.6.0-openjdk security update(
https://www.redhat.com/archives/rhsa-announce/2011-October/msg00011.html)

    A flaw was found in the way the SSL 3 and TLS 1.0 protocols used block
    ciphers in cipher-block chaining (CBC) mode. An attacker able to perform a
    chosen plain text attack against a connection mixing trusted and untrusted
    data could use this flaw to recover portions of the trusted data sent over
    the connection. (CVE-2011-3389)

    Note: This update mitigates the CVE-2011-3389 issue by splitting the first
    application data record byte to a separate SSL/TLS protocol record. This
    mitigation may cause compatibility issues with some SSL/TLS implementations
    and can be disabled using the jsse.enableCBCProtection boolean property.
    This can be done on the command line by appending the flag
    "-Djsse.enableCBCProtection=false" to the java command.

To our knowledge, there are two condition need to be met to trigger this bug:
1.    Using old keystore generated by mgmt. server 2.2.8, which is signed with
SHA1withDSA. Any version later than 2.2.8 would generate keystore signed with
SHA1withRSA. RSA one seems fine with us so far.
2.    Use OpenJDK >=1.6.0.

The reason is, due to the security fix above, the assumption that one packet
would contain only one SSL record is broken. The decrypted data maybe only
contained the first byte of original application data. Then result in buffer
underflow when mgmt server want to read more from it.

To workaround it, according to the message above, add
"-Djsse.enableCBCProtection=false" to tomcat6.conf JAVA_OPTS line would work.
Notice the parameter would only work with latest version of OpenJDK, so simply
add it to the all setup would not work.

This patch provided a fix for it.

status 11904: resolved fixed
2011-11-16 18:40:14 -08:00
Kelven Yang
08339d663f bug 12039,12041: when taking snapshot for detached volume, keep the worker VM around until backup copy to SSVM is done
Reviewed-by: Frank
2011-11-16 18:39:59 -08:00
Kelven Yang
9676947175 bug 12039, 12041: forgot one more place. Reviewed-by: kelven 2011-11-16 18:39:58 -08:00
Kelven Yang
67a2320001 bug 12039, 12041: detach all disks before destroy worker VM to avoid accidentally delete the underlying disk along with the worker VM. Reviewed-by: Kelven 2011-11-16 18:39:58 -08:00
Murali Reddy
37908d2669 fixing bug in provider verify logic of SRX element 2011-11-16 18:23:09 -08:00
Alena Prokharchyk
8a0443341f Removed unsupported state from the network offering 2011-11-16 17:22:07 -08:00
Jessica Wang
45bfedb2c0 cloudStack 3.0 new UI - system - Advanced Zone - guest - create network - domain field and account field's showing/hiding depends on selection in scope field. 2011-11-16 17:15:38 -08:00
Jessica Wang
21a488254b cloudStack 3.0 new UI - system - Basic Zone - guest - implement create network cor Basic Zone. 2011-11-16 16:52:58 -08:00
Brian Federle
edc2df1d73 -Correctly refresh properties on detail view action
-Support async edit action
-Make action notification section optional
-Add save button to apply detail view edit
-Fix indentation, button spacing for multi-edit items
2011-11-16 16:19:17 -08:00
Alena Prokharchyk
1fadde2082 Fixed bug in list domain level networks 2011-11-16 15:07:24 -08:00
Alena Prokharchyk
790b33bdfc More validation to network and network offering creation/upgrade 2011-11-16 14:53:38 -08:00
Brian Federle
7832509e78 Fix action filters on domain details 2011-11-16 14:35:12 -08:00
Jessica Wang
7a8a260073 cloudStack 3.0 new UI - system - guest - network tabs - IP ranges - implement Add action and delete action. 2011-11-16 14:26:46 -08:00