Karaf
  1. Karaf
  2. KARAF-1325

Feature "cellar-obr", "cellar-cloud", "cellar-webconsole" cannot be synchronized from node1 to node2

    Details

      Description

      1. Start two karaf instance locally, then install cellar in first karaf instance (cluster node1), and install cellar in second karaf instance (cluster node2).
      2. Install cellar-obr in cluster node1, then check if cellar-obr is already installed in cluster node2.
      3. in cluster node2, the status of cellar-obr is "uninstalled".

      About installing other features "cellar-cloud", "cellar-webconsole", the result is same to the feature "cellar-obr". All those features cannot be synchronized to another node.

      BTW, in the config "org.apache.karaf.cellar.groups.cfg":
      default.features.blacklist.inbound=cellar,jetty,http,tesb-locator-client
      default.features.blacklist.outbound=cellar,jetty,http,tesb-locator-client

        Activity

        Hide
        Jean-Baptiste Onofré added a comment -

        I guess that you updated etc/org.apache.karaf.cellar.groups.cfg file to remove cellar-* features from the blacklist (on all nodes or using Cellar itself) ?

        I will try to reproduce.

        Show
        Jean-Baptiste Onofré added a comment - I guess that you updated etc/org.apache.karaf.cellar.groups.cfg file to remove cellar-* features from the blacklist (on all nodes or using Cellar itself) ? I will try to reproduce.
        Hide
        Jean-Baptiste Onofré added a comment -

        2012-04-19 08:43:59,417 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-webconsole is marked as BLOCKED OUTBOUND
        2012-04-19 08:43:59,417 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-event is marked as BLOCKED OUTBOUND
        2012-04-19 08:43:59,424 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-cloud is marked as BLOCKED OUTBOUND
        2012-04-19 08:43:59,463 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar is marked as BLOCKED OUTBOUND
        2012-04-19 08:43:59,465 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-obr is marked as BLOCKED OUTBOUND

        Show
        Jean-Baptiste Onofré added a comment - 2012-04-19 08:43:59,417 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-webconsole is marked as BLOCKED OUTBOUND 2012-04-19 08:43:59,417 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-event is marked as BLOCKED OUTBOUND 2012-04-19 08:43:59,424 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-cloud is marked as BLOCKED OUTBOUND 2012-04-19 08:43:59,463 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar is marked as BLOCKED OUTBOUND 2012-04-19 08:43:59,465 | WARN | rint Extender: 3 | FeaturesSupport | .cellar.features.FeaturesSupport 89 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-obr is marked as BLOCKED OUTBOUND
        Hide
        Jean-Baptiste Onofré added a comment -

        And the same on the "producer":

        2012-04-19 09:12:36,573 | WARN | l Console Thread | LocalFeaturesListener | r.features.LocalFeaturesListener 83 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-cloud is marked as BLOCKED OUTBOUND

        Show
        Jean-Baptiste Onofré added a comment - And the same on the "producer": 2012-04-19 09:12:36,573 | WARN | l Console Thread | LocalFeaturesListener | r.features.LocalFeaturesListener 83 | 54 - org.apache.karaf.cellar.features - 2.2.4.SNAPSHOT | CELLAR FEATURES: feature cellar-cloud is marked as BLOCKED OUTBOUND
        Hide
        Jean-Baptiste Onofré added a comment -

        I think that the problem is around the * support in the blacklist.

        cellar feature in the blacklist is considered as cellar*.

        I'm going to improve the wildcard support.

        Show
        Jean-Baptiste Onofré added a comment - I think that the problem is around the * support in the blacklist. cellar feature in the blacklist is considered as cellar*. I'm going to improve the wildcard support.
        Hide
        Jean-Baptiste Onofré added a comment -

        OK, so the problem is that isAllowed() method always return false (which is not correct). I'm digging around that.

        Show
        Jean-Baptiste Onofré added a comment - OK, so the problem is that isAllowed() method always return false (which is not correct). I'm digging around that.
        Hide
        Jean-Baptiste Onofré added a comment -

        I found an issue when blacklist is empty, it consider as blocker (whereas it should not be the case).

        Show
        Jean-Baptiste Onofré added a comment - I found an issue when blacklist is empty, it consider as blocker (whereas it should not be the case).

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Sergey Lysenko
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development