JBoss Fuse
  1. JBoss Fuse
  2. ENTESB-175

fabric:create --clean does not remove directories

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Won't Fix Won't Fix
    • Affects Version/s: 7.0.0.fuse-037
    • Fix Version/s: 7.0.1
    • Component/s: None
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      Hi,

      If I create two children off my root container:

      FuseESB:karaf@root> fabric:container-create-child root child 2
      The following containers have been created successfully:
      	child1
      	child2
      FuseESB:karaf@root> fabric:container-list
      [id]                           [version] [alive] [profiles]                     [provision status]
      root*                          1.0       true    fabric, fabric-ensemble-0000-1 
        child1                       1.0       false   default                        
        child2                       1.0       false   default   
      

      In the file system, I can see my two new instances:

      wildflower:instances sjavurek$ ls -al
      total 8
      drwxr-xr-x   5 sjavurek  staff  170 May 17 11:38 .
      drwxr-xr-x@ 17 sjavurek  staff  578 May 17 11:34 ..
      drwxr-xr-x   8 sjavurek  staff  272 May 17 11:38 child1
      drwxr-xr-x   8 sjavurek  staff  272 May 17 11:38 child2
      -rw-r--r--   1 sjavurek  staff  717 May 17 11:38 instance.properties
      
      

      And then try to clean them, I see them removed from the container list in Fuse ESB but not from the directory:

                          
      FuseESB:karaf@root> fabric:create --clean
      FuseESB:karaf@root> fabric:container-list
      [id]                           [version] [alive] [profiles]                     [provision status]
      root*                          1.0       true    fabric, fabric-ensemble-0000-1 
      
      

      File System still lists them as displayed above.

        Activity

        Hide
        Ioannis Canellos
        added a comment -

        AFAIK the fabric:create --clean was never meant to stop/destroy containers, but create a clean registry.
        So I wouldn't consider this a bug. Maybe we need to treat it as a feature request.

        Show
        Ioannis Canellos
        added a comment - AFAIK the fabric:create --clean was never meant to stop/destroy containers, but create a clean registry. So I wouldn't consider this a bug. Maybe we need to treat it as a feature request.
        Hide
        Jonathan Anstey
        added a comment -

        Opened a feature request for this in ENTESB-189. In the meantime to start with a fresh local fabric, you'll need to call "fabric:container-delete [name]" on each conatiner, and then call "fabric:create --clean".

        Show
        Jonathan Anstey
        added a comment - Opened a feature request for this in ENTESB-189 . In the meantime to start with a fresh local fabric, you'll need to call "fabric:container-delete [name] " on each conatiner, and then call "fabric:create --clean".

          People

          • Assignee:
            Ioannis Canellos
            Reporter:
            Susan Javurek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: