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 13:24:17 GMT

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

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

Commit 6753beefebc9f839e817c0192b75df22fd6a2506 in cloudstack's branch refs/heads/CLOUDSTACK-8243
from [~rohit.yadav@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6753bee ]

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>


> 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