This problem does not occur every time but I still think it is a blocker. I have a following structure:
where each instance (except for root) has ip tables set up to only allow ssh connection. Basically what I've done (might be more understandable):
- create 4 instances on openstack (root, ssh1, ssh2, broker)
- on instances ssh1, ssh2, broker set iptables to this
- on root get the product (R15), uncomment user in etc/users.properties
- build our "blank-project" https://gitlab.cee.redhat.com/jboss-fuse-qe/jbossqe-fuse/tree/6.3.x/fuse-tests/fabric-related-tests/blank-project (optional)
- start fuse
- fabric:create --resolver localip --global-resolver localip
- fabric:profile-create --parent default --parent feature-cxf --parent feature-camel --parent mq-client complex-create
- fabric:profile-edit -f camel-jetty -f camel-jdbc -f camel-amq -f camel-jms -f fabric-cxf -f camel-jaxb -f camel-stream complex-create
- fabric:profile-edit -f activemq-camel -f camel-cxf -f fabric-cxf-registry -f spring-jdbc -f camel-jetty -f jetty complex-create
- fabric:profile-edit -b mvn:org.jboss.fuse.qa.test/useless-artifact/1.0 complex-create
- mq-create --port openwire=11111 testbroker
- profile-create --parent mq-broker-default.testbroker override
- profile-edit --pid io.fabric8.mq.fabric.server-testbroker/openwire-port=11112 override
- fabric:container-create-ssh --user hudson --password redhat --host $1 ssh1
- fabric:container-create-ssh --profile complex-create --profile feature-camel --user hudson --password redhat --host $1 ssh1
- fabric:container-create-child root offline-root-child
- fabric:container-create-child --profile complex-create ssh1 ssh1-child
- fabric:container-create-child --profile complex-create ssh2 ssh2-child
there will be a reproducer in attached files. It does NOT happen every time with these reproducers but it seems to happen every time using automated test with Fafram. From the latest attempt to reproduce this ssh2-child failed to be created correctly. This was not occurring in the previous patch (R14).
NOTE: Reproducer is done for our openstack instances. It will NOT work on any other machine due to hardcoded paths. In order to run it in different workspace please first modify the paths.
NOTE2: I can provide you with scripts to provision openstack instances on our openstack if you'd like.
NOTE3: Since FaFram is more reliable in reproducing it I will attempt to fix it in order to keep the environments.