Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 770D29F73 for ; Wed, 6 Mar 2013 08:03:51 +0000 (UTC) Received: (qmail 67015 invoked by uid 500); 6 Mar 2013 08:03:50 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 66596 invoked by uid 500); 6 Mar 2013 08:03:50 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 66569 invoked by uid 99); 6 Mar 2013 08:03:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 08:03:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.215.53] (HELO mail-la0-f53.google.com) (209.85.215.53) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 08:03:42 +0000 Received: by mail-la0-f53.google.com with SMTP id fr10so7161669lab.12 for ; Wed, 06 Mar 2013 00:03:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:x-originating-ip:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-gm-message-state; bh=jkyAsaLH0dUEBJFYtbCmL5LDEdN9tYwPntv46tjZqM8=; b=oPybVflZUz5ZX1FQ6sz8l9USuZxHBm6nPb3sCUGhsj9RM4KC9PQ7naRqCFTAv/Thun MEGA314qlumcpngTLo+4nl9L8NezD4qCyNsgTqqu7GFkgk/iwVyKYlug+/rMQGY8W9Om FrpHX5qMFjxffpcW9UFdKrFvnt1Cq3N6rkSxX3aM7Ai92SQp8NJnDLCyBaFGdkuzKRk2 drugUPyIIWyesiKCTM3a7Qu1pRcaY6CIyd2qn2yuIiU8YnIXLkw29PJE3n7AZZqeZcj/ R7QZG+/g0yyJMNkvjHjOV4FmULgIkOO1JGJnRqu65X7JSlx18Rdu0w+KVTKMkX+lEzyV SbCg== MIME-Version: 1.0 X-Received: by 10.152.102.177 with SMTP id fp17mr24310969lab.0.1362557000921; Wed, 06 Mar 2013 00:03:20 -0800 (PST) Sender: dcahill@midokura.jp Received: by 10.112.19.4 with HTTP; Wed, 6 Mar 2013 00:03:20 -0800 (PST) X-Originating-IP: [180.46.194.164] Date: Wed, 6 Mar 2013 17:03:20 +0900 X-Google-Sender-Auth: _sg008FYzMSh69D-LJhhUvQ1NOE Message-ID: Subject: [DISCUSS] Cloudstack agent - standardized directory for plugin jars From: Dave Cahill To: cloudstack-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d0408d69b06ce0104d73d065b X-Gm-Message-State: ALoCoQm2bMyh4dy/v5NnChYfGGGyPP+hKSZ/p5yilHQAkuN8mlo4imyreMx70l2taArKVAjuh0JE X-Virus-Checked: Checked by ClamAV on apache.org --f46d0408d69b06ce0104d73d065b Content-Type: text/plain; charset=ISO-8859-1 Moving discussion from Jira ticket to dev list as suggested by Hugo. Request from Kawai-san: > There is no place to put plugin jar files for cloudstack agent program now, while management server program has default @PLUGINJAVADIR@ where plugin classes will be loaded into server at startup. > We will need to load a class, for example when we try to use a custom "libvirt.vif.driver" which can be configured at agent.properties. Suggestion by Marcus: > I'd actually defer to the guys who have been working on the packaging. It seems like it would be distribution specific, and handled by the startup scripts. > The obvious solution to me would be to create a directory, say /usr/share/cloudstack-agent/plugins, and append that to the classpath in the init scripts so that the agent can see the plugins copied there. > Maybe go a step further and make a symlink /etc/cloudstack/agent/plugins; easier for admins to find. Noa, Hugo and I are happy with that solution, but if anyone has any thoughts, please let us know. Thanks, Dave. On Wed, Mar 6, 2013 at 4:58 PM, Hugo Trippaers (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/CLOUDSTACK-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13594478#comment-13594478] > > Hugo Trippaers commented on CLOUDSTACK-1489: > -------------------------------------------- > > Good idea, but discuss these things on list so everybody is involved. > > > cloudstack agent plugin classpath is missing > > -------------------------------------------- > > > > Key: CLOUDSTACK-1489 > > URL: > https://issues.apache.org/jira/browse/CLOUDSTACK-1489 > > Project: CloudStack > > Issue Type: Improvement > > Security Level: Public(Anyone can view this level - this is the > default.) > > Components: KVM > > Affects Versions: pre-4.0.0, 4.0.0, 4.0.1, 4.0.2 > > Environment: Linux kvm > > Reporter: Hiroaki Kawai > > Assignee: Noa Resare > > > > There is no place to put plugin jar files for cloudstack agent program > now, while management server program has default @PLUGINJAVADIR@ where > plugin classes will be loaded into server at startup. We will need to load > a class, for example when we try to use a custom "libvirt.vif.driver" which > can be configured at agent.properties. > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators > For more information on JIRA, see: http://www.atlassian.com/software/jira > --f46d0408d69b06ce0104d73d065b--