Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-175

fabric:create --clean does not remove directories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • fuse-esb-7.0.1, M1
    • 7.0.0.fuse-037
    • None
    • None
    • % %

    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.

      Attachments

        Activity

          People

            ikanello1@redhat.com Ioannis Kanellos
            rhn-support-sjavurek Susan Javurek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: