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

ASF GitHub Bot commented on BROOKLYN-546:
-----------------------------------------

Github user ahgittin commented on the issue:

    https://github.com/apache/brooklyn-server/pull/867
  
    Re the last problem, catalog being persisted, I think I'm good with option 
(1).  I was leery of using something that might have collisions 
(`name_version`, as opposed to the unique ID) but I've grown more comfortable 
that this isn't an issue in this case.  I don't see backwards compatibility 
being too much of a problem, apart from the obvious.
    
    I'm not convinced by your argument against 2.  We could say to delete from 
persistence something if it is a duplicate of a different ID _brooklyn_-managed 
bundle, then being simply a karaf cache jar wouldn't be enough to block 
persistence.  The slight mess is still that the persisted ID for the default 
catalog changes on every restart but could live with this if it's easier/safer 
than (1).


> On restart fails to install catalog bundles due to existing bundles installed 
> with different location
> -----------------------------------------------------------------------------------------------------
>
>                 Key: BROOKLYN-546
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-546
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Duncan Grant
>            Priority: Blocker
>
> Rebind will always fail on restart due to errors like the following:
> java.lang.IllegalStateException: Bundle 
> BasicManagedBundle{symbolicName=org.apache.brooklyn.software-cm-ansible, 
> version=1.0.0.SNAPSHOT, 
> url=mvn:org.apache.brooklyn/brooklyn-software-cm-ansible/1.0.0-SNAPSHOT} 
> failed installation: BundleException: Bundle symbolic name and version are 
> not unique: org.apache.brooklyn.software-cm-ansible:1.0.0.SNAPSHOT
> This seems to have been "caused" by the change: 
> https://github.com/apache/brooklyn-server/pull/862/commits/c4f9d95aa2113a1a5022da17768675599e528dd4
> This can be easily tested by starting brooklyn.  Stopping brooklyn.  And then 
> starting brooklyn.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to