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

Cannot patch fabric child container to 6.3 R10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • fuse-6.x-GA
    • fuse-6.x-GA
    • Fabric8 v1, Patching
    • None
    • % %
    • Hide

      fabric:create --wait-for-provisioning
      fabric:container-create-child root child
      version-create 1.1
      patch:add file:///Users/jkasztur/Downloads/FUSE/jboss-fuse-karaf-6.3.0.redhat-365.zip
      patch:fabric-install -u admin -p admin123. --upload --version 1.1 jboss-fuse-karaf-6.3.0.redhat-365
      container-upgrade 1.1 root
      //wait for root to have successful provision (after restart)
      container-upgrade 1.1 child
      // wait for child to have provision status 'requires full restart'
      container-stop --force child
      container-start --force child

      Show
      fabric:create --wait-for-provisioning fabric:container-create-child root child version-create 1.1 patch:add file:///Users/jkasztur/Downloads/FUSE/jboss-fuse-karaf-6.3.0.redhat-365.zip patch:fabric-install -u admin -p admin123. --upload --version 1.1 jboss-fuse-karaf-6.3.0.redhat-365 container-upgrade 1.1 root //wait for root to have successful provision (after restart) container-upgrade 1.1 child // wait for child to have provision status 'requires full restart' container-stop --force child container-start --force child

    Description

      The child container can't be started after applying patch. The provision status is 'requires full restart', but the child only produces errors in log.

      2018-10-24 15:06:25,646 | ERROR | p-gml-1-thread-1 | ZooKeeperGroup                   | 83 - io.fabric8.fabric-groups - 1.2.0.redhat-630365 | 
      org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /fabric/registry/clusters/git
      	at org.apache.zookeeper.KeeperException.create(KeeperException.java:116)[89:io.fabric8.fabric-zookeeper:1.2.0.redhat-630365]
      	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)[89:io.fabric8.fabric-zookeeper:1.2.0.redhat-630365]
      	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1659)[89:io.fabric8.fabric-zookeeper:1.2.0.redhat-630365]
      	at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:230)[89:io.fabric8.fabric-zookeeper:1.2.0.redhat-630365]
      	at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:219)[89:io.fabric8.fabric-zookeeper:1.2.0.redhat-630365]
      
      2018-10-24 15:06:25,659 | WARN  | MCF-1-thread-1   | KarafContainerRegistration       | 92 - io.fabric8.runtime.fabric-runtime-container-karaf-registration - 1.2.0.redhat-630365 | Error updating Fabric Container information. This exception will be ignored.
      org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /fabric/registry/containers/alive/child
      	at org.apache.zookeeper.KeeperException.create(KeeperException.java:116)
      	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
      
      2018-10-24 15:06:25,773 | ERROR | MCF-1-thread-1   | fabric-core                      | 82 - io.fabric8.fabric-core - 1.2.0.redhat-630365 | [io.fabric8.placholder.resolver.crypt(19)] The deactivate method has thrown an exception
      java.lang.NullPointerException
      	at io.fabric8.service.EncryptedPropertyResolver.deactivate(EncryptedPropertyResolver.java:101)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_181]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_181]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_181]
      	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_181]
      	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:231)[54:org.apache.felix.scr:1.8.4]
      	at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:39)[54:org.apache.felix.scr:1.8.4]
      

      Attachments

        1. child.log.6
          1.02 MB
        2. root.log
          1.61 MB

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              jkasztur@redhat.com Jan Kasztura (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: