Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A72962009F3 for ; Fri, 20 May 2016 14:36:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A5B301609AF; Fri, 20 May 2016 12:36:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ED29B160A0E for ; Fri, 20 May 2016 14:36:14 +0200 (CEST) Received: (qmail 45727 invoked by uid 500); 20 May 2016 12:36:13 -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 45519 invoked by uid 500); 20 May 2016 12:36:13 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 45420 invoked by uid 99); 20 May 2016 12:36:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 12:36:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 231DC2C1F75 for ; Fri, 20 May 2016 12:36:13 +0000 (UTC) Date: Fri, 20 May 2016 12:36:13 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9365) updateVirtualMachine with userdata should not error when a VM is attached to multiple networks from which one or more doesn't support userdata MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 May 2016 12:36:15 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293279#comment-15293279 ] ASF GitHub Bot commented on CLOUDSTACK-9365: -------------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/cloudstack/pull/1523 > updateVirtualMachine with userdata should not error when a VM is attached to multiple networks from which one or more doesn't support userdata > ---------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9365 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9365 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Reporter: Nick Livens > Assignee: Nick Livens > > Steps to reproduce : > 1. Create 2 networks in ACS, one with userdata service enabled, one without > 2. Deploy virtual machine, use the network which supports userdata as default > 3. Update the userdata of the virtualmachine > The following exception is thrown : > {noformat:title=Exception for network which doesn't support userdata} > 2016-04-22 00:42:14,864 DEBUG [c.c.n.NetworkModelImpl] (catalina-exec-25:ctx-b6778596 ctx-707ee023 ctx-a7e4c59b) (logid:a93c19d7) Service SecurityGroup is not supported in the network id=263 > 2016-04-22 00:42:14,865 DEBUG [o.s.b.f.s.DefaultListableBeanFactory] (catalina-exec-25:ctx-b6778596 ctx-707ee023 ctx-a7e4c59b) (logid:a93c19d7) Returning cached instance of singleton bean 'messageBus' > 2016-04-22 00:42:14,885 ERROR [c.c.a.ApiServer] (catalina-exec-25:ctx-b6778596 ctx-707ee023 ctx-a7e4c59b) (logid:a93c19d7) unhandled exception executing api command: [Ljava.lang.String;@2babc2e4 > com.cloud.exception.UnsupportedServiceException: Service UserData is not supported in the network id=263 > at com.cloud.network.dao.NetworkServiceMapDaoImpl.getProviderForServiceInNetwork(NetworkServiceMapDaoImpl.java:126) > at sun.reflect.GeneratedMethodAccessor622.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > 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 com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34) > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > 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 com.sun.proxy.$Proxy40.getProviderForServiceInNetwork(Unknown Source) > at com.cloud.network.NetworkModelImpl.getUserDataUpdateProvider(NetworkModelImpl.java:888) > at com.cloud.vm.UserVmManagerImpl.updateUserDataInternal(UserVmManagerImpl.java:2501) > at com.cloud.vm.UserVmManagerImpl.updateVirtualMachine(UserVmManagerImpl.java:2474) > at com.cloud.vm.UserVmManagerImpl.updateVirtualMachine(UserVmManagerImpl.java:2340) > 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:606) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)