cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8243) LibvirtServerDiscoverer.java has hard coded agent class
Date Fri, 22 May 2015 17:13:17 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556451#comment-14556451
] 

ASF subversion and git services commented on CLOUDSTACK-8243:
-------------------------------------------------------------

Commit 803b946c2feae193d04219d2360c6d4440f212f1 in cloudstack's branch refs/heads/4.5 from
[~rohit.yadav@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=803b946 ]

CLOUDSTACK-8243: KVM agent should not use hardcoded string tails

For KVM agent, guid is configurable in agent.properties, this fix allows the
configuration to work by removing string tail (the -LibvirtComputingResource suffix).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #286


> LibvirtServerDiscoverer.java has hard coded agent class
> -------------------------------------------------------
>
>                 Key: CLOUDSTACK-8243
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8243
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.3.0
>            Reporter: Marcus Sorensen
>            Assignee: Marcus Sorensen
>             Fix For: 4.5.2
>
>
> LibvirtServerDiscoverer.java has a hard-coded string-based reference to LibvirtComputingResource:
> String guidWithTail = guid + "-LibvirtComputingResource";
> However, this class is configurable in the agent via agent.properties, and this breaks
the configurability. This needs to be reworked ideally to discover agents regardless of what
the suffix of the guid is.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message