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

Can't create containers from java using ssh after fabric:create

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • jboss-fuse-6.3
    • jboss-fuse-6.3
    • Fabric8 v1
    • None
    • % %
    • Hide

      1. unzip 015 and 026
      2. uncomment default user and start with bin/start
      3. mvn clean install with 015 - the test will pass and the child container will be created successfully (you have to kill it manually)
      4. mvn clean install with 026 - the test will not pass with authentication failed

      Show
      1. unzip 015 and 026 2. uncomment default user and start with bin/start 3. mvn clean install with 015 - the test will pass and the child container will be created successfully (you have to kill it manually) 4. mvn clean install with 026 - the test will not pass with authentication failed
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

    Description

      There is a discrepancy between 015 and 026 versions:

      015:
      after creating fabric, the ssh session is recreated (multiple times) during provision of fabric - this leads to a need to reconnect the ssh client multiple times.. after the fabric is provisioned, everything is working OK

      026:
      after executing fabric:create, the ssh session is not recreated anymore, what leads to an error when creating (for example, I believe this error will be with more commands) child-container:

      container-create-child root test
      The following containers have failed:
      	test: java.lang.SecurityException: Authentication failed
      

      I was unable to reproduce it manually using bin/client, but this issue will cause problems in our automated test suite.

      I'm attaching a reproducer, please see the steps to reproduce.

      What the reproducer does is:
      015:

      • connect client
      • fabric:create --wait-for-provisioning
      • the ssh session will be recreated - the test will catch an exception, wait for 120 seconds and reconnect again
      • container-create-child root test
      • container will be created

      026:

      • connect client
      • fabric:create --wait-for-provisioning
      • the session WILL NOT be recreated - so everything is fine
      • container-create-child root test
      • container WILL NOT be created - Authentication failed

      Attachments

        Issue Links

          Activity

            People

              acosenti Andrea Cosentino
              avano@redhat.com Andrej Vano
              Andrej Vano Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: