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

Hawtio console displays no containers if a folder containing an assigned profile is renamed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • jboss-fuse-6.1
    • Hawtio
    • None
    • % %
    • Hide

      In a new, clean installation of Fuse, create a new fabric. And then:

      1. In the Wiki page, create a new top-level folder
      2. Select that folder and click "Create". Choose to create a new profile.
      3. Create a new, default child container (using Hawtio or console)
      4. Select the new profile from the Wiki page, and click "Assign". Choose to assign it to to the newly-created child
      5. Ensure that the child is running, and I can do "container-info

      {child}

      " from the Karaf console
      6. In the Wiki, select the folder and do rename.

      Although the container shows up in the console on container-list, no container is shown in the Hawtio console. No other containers, created before or after the rename, show up either.

      Show
      In a new, clean installation of Fuse, create a new fabric. And then: 1. In the Wiki page, create a new top-level folder 2. Select that folder and click "Create". Choose to create a new profile. 3. Create a new, default child container (using Hawtio or console) 4. Select the new profile from the Wiki page, and click "Assign". Choose to assign it to to the newly-created child 5. Ensure that the child is running, and I can do "container-info {child} " from the Karaf console 6. In the Wiki, select the folder and do rename. Although the container shows up in the console on container-list, no container is shown in the Hawtio console. No other containers, created before or after the rename, show up either.

      In the Wiki page of the Hawtio console, renaming a folder that contains a profile that is assigned to a container has the effect that no containers are visible in the Runtime tab of the console. Containers can still be queried and managed in the Karaf console, albeit with warning messages about the missing profile.

      This problem has similarities with ENTESB-1450, which concerned deleting a profile that is assigned to a container. In this case we aren't deleting the profile, but we are effectively making it unavailable by renaming the folder that contains it.

      If Fuse cannot fix up the names of profiles when a folder is renamed, then the console should prevent the folder being renamed, or at least issue a warning.

            ggrzybek Grzegorz Grzybek
            rhn-support-kboone Kevin Boone
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: