Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5791E184A0 for ; Sun, 13 Dec 2015 21:24:47 +0000 (UTC) Received: (qmail 45604 invoked by uid 500); 13 Dec 2015 21:24:47 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 45574 invoked by uid 500); 13 Dec 2015 21:24:47 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 45548 invoked by uid 500); 13 Dec 2015 21:24:47 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 45542 invoked by uid 99); 13 Dec 2015 21:24:47 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Dec 2015 21:24:47 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C1C062C1F70 for ; Sun, 13 Dec 2015 21:24:46 +0000 (UTC) Date: Sun, 13 Dec 2015 21:24:46 +0000 (UTC) From: "Pierre-Luc Dion (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-8951) UI is not throwing any error message to user when "remote.access.vpn.psk.length" is set to less than minimum value (min8) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Luc Dion updated CLOUDSTACK-8951: ---------------------------------------- Fix Version/s: 4.7.0 > UI is not throwing any error message to user when "remote.access.vpn.psk.length" is set to less than minimum value (min8) > ------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8951 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8951 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Reporter: Rajani Karuturi > Priority: Critical > Fix For: 4.7.0 > > > 1. Changed the global configuration "remote.access.vpn.psk.length" to 5 but the minimum value is 8. > 2. restart the MS. > Ms failed to restart with following exception: > 015-09-16 06:08:54,230 INFO [o.a.c.f.m.MessageDispatcher] (main:null) (logid:) Build message handler cache for org.apache.cloudstack.framework.jobs.impl.AsyncJobMonitor > 2015-09-16 06:08:54,230 INFO [o.a.c.f.m.MessageDispatcher] (main:null) (logid:) Add message handler org.apache.cloudstack.framework.jobs.impl.AsyncJobMonitor.onJobHeartbeatNotify to cache > 2015-09-16 06:08:54,230 INFO [o.a.c.f.m.MessageDispatcher] (main:null) (logid:) Done building message handler cache for org.apache.cloudstack.framework.jobs.impl.AsyncJobMonitor > 2015-09-16 06:08:54,231 DEBUG [c.c.a.m.AgentManagerImpl] (main:null) (logid:) Registering listener DeploymentPlanningManagerImpl with id 9 > 2015-09-16 06:08:54,278 ERROR [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) (logid:) Failed to configure RemoteAccessVpnManagerImpl > javax.naming.ConfigurationException: Remote Access VPN: IPSec preshared key length should be between 8 and 256 > at com.cloud.network.vpn.RemoteAccessVpnManagerImpl.validateRemoteAccessVpnConfiguration(RemoteAccessVpnManagerImpl.java:268) > at com.cloud.network.vpn.RemoteAccessVpnManagerImpl.configure(RemoteAccessVpnManagerImpl.java:694) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) > at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) > at $Proxy233.configure(Unknown Source) > at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle$3.with(CloudStackExtendedLifeCycle.java:114) > at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.with(CloudStackExtendedLifeCycle.java:153) > at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.configure(CloudStackExtendedLifeCycle.java:110) > at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:56) > at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:167) > at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) > at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:339) > at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:143) > at org > But Even before restart of MS, > UI should throw proper error message to the user. > Attaching the Mslogs -- This message was sent by Atlassian JIRA (v6.3.4#6332)