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) <j...@apache.org>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
>

Reply via email to