Aled Sage created BROOKLYN-559:
----------------------------------

             Summary: Rebind does not backup persisted state bundles directory 
correctly
                 Key: BROOKLYN-559
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-559
             Project: Brooklyn
          Issue Type: Bug
            Reporter: Aled Sage


To reproduce with 1.0.0-SNAPSHOT, simply start a fresh brooklyn (persisting to 
a new empty persisted state), then stop it and start it again.

What should happen on restart (for file-based persistance rather than S3, at 
least) is that it backs up the persistence directory before modifying it at all:
{noformat}
2017-11-10T18:51:11,521 INFO  124 o.a.b.c.m.p.BrooklynPersistenceUtils 
[FelixStartLevel] Back-up of persisted state created on promotion, in 
/path/to/br-1.0.0-snapshot/backups/2017-11-10-1851-zMFHJcxP-promotion-RYYo
{noformat}

However, it does not back up the bundles from the {{/bundles}} persistence 
directory. Instead it reports:
{noformat}
2017-11-10T15:47:22,704 WARN  123 
o.a.b.c.m.p.BrooklynMementoPersisterToObjectStore [tures-1-thread-1] Cannot 
find managed bundle for added bundle bjeyv3b96y; ignoring
{noformat}




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

Reply via email to