Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Byon setup failure: No such image: calico/node:v0.4.9 #182

Closed
jleavers opened this issue Oct 20, 2015 · 3 comments
Closed

Byon setup failure: No such image: calico/node:v0.4.9 #182

jleavers opened this issue Oct 20, 2015 · 3 comments

Comments

@jleavers
Copy link

Hi,

I have created a byon config within brooklyn.properties as follows:

brooklyn.location.named.docker-cloud=byon:(hosts="192.168.1.{111-113}")
brooklyn.location.named.docker-cloud.user=root
brooklyn.location.named.docker-cloud.privateKeyFile=~/.ssh/id_rsa

I have then built 1.1.0-SNAPSHOT and run - it seems to fail attempting the docker pull:

./clocker.sh docker-cloud calico
 _                     _    _
| |__  _ __ ___   ___ | | _| |_   _ _ __ (R)
| '_ \| '__/ _ \ / _ \| |/ / | | | | '_ \
| |_) | | | (_) | (_) |   <| | |_| | | | |
|_.__/|_|  \___/ \___/|_|\_\_|\__, |_| |_|
                              |___/             0.8.0-incubating

2015-10-21 00:13:20,674 INFO  YAML app combined with command line locations; YAML locations will take precedence; this behaviour may change in subsequent versions
2015-10-21 00:13:25,738 INFO  Started Brooklyn console at https://127.0.0.1:8443/, running brooklyn-jsgui.war and [brooklyn-jsgui.war, brooklyn-clocker-console.war]
2015-10-21 00:13:25,754 INFO  Persistence disabled
2015-10-21 00:13:25,755 INFO  High availability disabled
2015-10-21 00:13:33,598 INFO  Starting Docker infrastructure id yz4YGbkG
2015-10-21 00:13:33,826 INFO  Starting Calico network id IWA0vFkY
2015-10-21 00:13:33,827 INFO  Starting SDN provider id IWA0vFkY
2015-10-21 00:13:34,110 INFO  Starting brooklyn application BasicApplicationImpl{id=oH2jx5gw} in location [FixedListMachineProvisioningLocation{id=jJUrf883, name=FixedListMachineProvisioningLocation:jJUr}]
2015-10-21 00:13:34,254 INFO  Creating new DockerLocation wrapping FixedListMachineProvisioningLocation{id=jJUrf883, name=FixedListMachineProvisioningLocation:jJUr}
2015-10-21 00:13:34,265 INFO  New Docker location DockerLocation{id=qul5RRZB, name=Docker Infrastructure yz4YGbkG, provisioner=FixedListMachineProvisioningLocation{id=jJUrf883, name=FixedListMachineProvisioningLocation:jJUr}, infrastructure=DockerInfrastructureImpl{id=yz4YGbkG}, strategies=[DockerAwarePlacementStrategy(MaxContainersPlacementStrategy@iIchpDUM), DockerAwarePlacementStrategy(BreadthFirstPlacementStrategy@k2yikusJ)]} created
2015-10-21 00:13:34,265 INFO  Starting entity DockerInfrastructureImpl{id=yz4YGbkG} at [FixedListMachineProvisioningLocation{id=jJUrf883, name=FixedListMachineProvisioningLocation:jJUr}]
2015-10-21 00:13:34,382 INFO  Starting entity CalicoNetworkImpl{id=IWA0vFkY} at [FixedListMachineProvisioningLocation{id=jJUrf883, name=FixedListMachineProvisioningLocation:jJUr}]
2015-10-21 00:13:34,419 INFO  Resize DynamicClusterImpl{id=GOGX9vI5} from 0 to 2
2015-10-21 00:13:34,500 INFO  Starting Docker host id zbjQ3Xz3
2015-10-21 00:13:34,500 INFO  Starting server pool machine with id zbjQ3Xz3
2015-10-21 00:13:34,614 INFO  Starting Docker host id g1DgqNIt
2015-10-21 00:13:34,614 INFO  Starting server pool machine with id g1DgqNIt
2015-10-21 00:13:34,701 WARN  Service is not up when setting running on EtcdClusterImpl{id=lNiw7bcM}; delayed 213ms but Sensor: service.isUp (java.lang.Boolean) did not recover from false; not-up-indicators=null
2015-10-21 00:13:34,718 INFO  Starting DockerHostImpl{id=zbjQ3Xz3}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=jJUrf883, name=FixedListMachineProvisioningLocation:jJUr} with ports [22, 2376, 2375, 2379, 2377]
2015-10-21 00:13:34,704 WARN  Setting EtcdClusterImpl{id=lNiw7bcM} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-10-21 00:13:34,710 WARN  Setting EtcdClusterImpl{id=lNiw7bcM} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-10-21 00:13:34,742 INFO  Starting DockerHostImpl{id=zbjQ3Xz3} on machine SshMachineLocation[SshMachineLocation:RRUy:192.168.1.111/192.168.1.111:22@RRUywBaH]
2015-10-21 00:13:34,738 INFO  Starting DockerHostImpl{id=g1DgqNIt}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=jJUrf883, name=FixedListMachineProvisioningLocation:jJUr} with ports [22, 2376, 2375, 2379, 2377]
2015-10-21 00:13:34,759 INFO  Starting DockerHostImpl{id=g1DgqNIt} on machine SshMachineLocation[SshMachineLocation:Pful:192.168.1.112/192.168.1.112:22@PfulsAxN]
2015-10-21 00:13:34,762 INFO  Added policy MemberTrackingPolicy{name=Docker host tracker, running=true} to CalicoNetworkImpl{id=IWA0vFkY}, during start
2015-10-21 00:13:36,866 INFO  DockerHostImpl{id=g1DgqNIt} not running in a JcloudsSshMachineLocation, not configuring extra security groups
2015-10-21 00:13:36,868 INFO  DockerHostImpl{id=zbjQ3Xz3} not running in a JcloudsSshMachineLocation, not configuring extra security groups
2015-10-21 00:13:37,658 WARN  Deprecated use of unmanaged location (DockerHostLocation{id=iNwvZa9z, name=Docker Host zbjQ3Xz3, machine=SshMachineLocation[SshMachineLocation:RRUy:192.168.1.111/192.168.1.111:22@RRUywBaH], jcloudsLocation=JcloudsLocation[docker:http://192.168.1.111:2377:/tmp/zbjQ3Xz3-cert.pem/docker:http://192.168.1.111:2377@vicxy9S5], dockerHost=DockerHostImpl{id=zbjQ3Xz3}}); will be managed automatically now but not supported in future versions
2015-10-21 00:13:37,662 INFO  New Docker host location DockerHostLocation{id=iNwvZa9z, name=Docker Host zbjQ3Xz3, machine=SshMachineLocation[SshMachineLocation:RRUy:192.168.1.111/192.168.1.111:22@RRUywBaH], jcloudsLocation=JcloudsLocation[docker:http://192.168.1.111:2377:/tmp/zbjQ3Xz3-cert.pem/docker:http://192.168.1.111:2377@vicxy9S5], dockerHost=DockerHostImpl{id=zbjQ3Xz3}} created
2015-10-21 00:13:37,663 WARN  Deprecated use of unmanaged location (DockerHostLocation{id=dExXB5Dq, name=Docker Host g1DgqNIt, machine=SshMachineLocation[SshMachineLocation:Pful:192.168.1.112/192.168.1.112:22@PfulsAxN], jcloudsLocation=JcloudsLocation[docker:http://192.168.1.112:2377:/tmp/g1DgqNIt-cert.pem/docker:http://192.168.1.112:2377@kHxOzki8], dockerHost=DockerHostImpl{id=g1DgqNIt}}); will be managed automatically now but not supported in future versions
2015-10-21 00:13:37,664 INFO  New Docker host location DockerHostLocation{id=dExXB5Dq, name=Docker Host g1DgqNIt, machine=SshMachineLocation[SshMachineLocation:Pful:192.168.1.112/192.168.1.112:22@PfulsAxN], jcloudsLocation=JcloudsLocation[docker:http://192.168.1.112:2377:/tmp/g1DgqNIt-cert.pem/docker:http://192.168.1.112:2377@kHxOzki8], dockerHost=DockerHostImpl{id=g1DgqNIt}} created
2015-10-21 00:16:04,104 INFO  Stopping running Docker instance at SshMachineLocation[SshMachineLocation:RRUy:192.168.1.111/192.168.1.111:22@RRUywBaH] before customising
2015-10-21 00:16:07,712 WARN  Service is not up when setting running on DynamicClusterImpl{id=nLYVuU4C}; delayed 211ms but Sensor: service.isUp (java.lang.Boolean) did not recover from false; not-up-indicators=null
2015-10-21 00:16:07,725 WARN  Setting DynamicClusterImpl{id=nLYVuU4C} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-10-21 00:16:07,725 WARN  Setting DynamicClusterImpl{id=nLYVuU4C} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-10-21 00:16:07,846 INFO  Waiting on SDN agent
2015-10-21 00:16:07,980 INFO  Starting clustered node: calico1
2015-10-21 00:16:08,041 WARN  Setting EtcdClusterImpl{id=lNiw7bcM} on-fire due to problems when expected running, up=false, not-up-indicators: {etcd.cluster.nodes=Should have at least one entry}
2015-10-21 00:16:08,050 INFO  Starting EtcdNodeImpl{id=mkIm5CVW} on machine SshMachineLocation[SshMachineLocation:RRUy:192.168.1.111/192.168.1.111:22@RRUywBaH]
2015-10-21 00:16:10,905 INFO  Stopping running Docker instance at SshMachineLocation[SshMachineLocation:Pful:192.168.1.112/192.168.1.112:22@PfulsAxN] before customising
2015-10-21 00:16:13,241 INFO  Adding first node EtcdClusterImpl{id=lNiw7bcM}: EtcdNodeImpl{id=mkIm5CVW}; calico1 to cluster
2015-10-21 00:16:13,866 INFO  Adding first node EtcdClusterImpl{id=lNiw7bcM}: EtcdNodeImpl{id=mkIm5CVW}; calico1 to cluster
2015-10-21 00:16:13,956 INFO  Starting CalicoNodeImpl{id=dxm57VqP} on machine SshMachineLocation[SshMachineLocation:RRUy:192.168.1.111/192.168.1.111:22@RRUywBaH]
2015-10-21 00:16:15,774 WARN  Service is not up when setting running on DynamicClusterImpl{id=JzjUSBBO}; delayed 208ms but Sensor: service.isUp (java.lang.Boolean) did not recover from false; not-up-indicators=null
2015-10-21 00:16:15,816 WARN  Setting DynamicClusterImpl{id=JzjUSBBO} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-10-21 00:16:15,886 INFO  Waiting on SDN agent
2015-10-21 00:16:32,982 INFO  Launching first calico service at 192.168.1.111
2015-10-21 00:17:43,369 WARN  Execution failed, invalid result 1 for launching CalicoNodeImpl{id=dxm57VqP} (throwing)
2015-10-21 00:17:43,370 INFO  STDERR of problem in Task[ssh: launching CalicoNodeImpl{id=dxm57VqP}:TyRQxNpB]:
stdin: is not a tty
WARNING: ipv6 forwarding is not enabled.
Traceback (most recent call last):
  File "<string>", line 1753, in <module>
  File "<string>", line 430, in node
  File "/code/build/calicoctl/out00-PYZ.pyz/docker.client", line 484, in create_container
  File "/code/build/calicoctl/out00-PYZ.pyz/docker.client", line 492, in create_container_from_config
  File "/code/build/calicoctl/out00-PYZ.pyz/docker.client", line 126, in _result
  File "/code/build/calicoctl/out00-PYZ.pyz/docker.client", line 122, in _raise_for_status
APIError: 404 Client Error: Not Found ("No such image: calico/node:v0.4.9 (tag: v0.4.9)")

2015-10-21 00:17:43,371 INFO  STDOUT of problem in Task[ssh: launching CalicoNodeImpl{id=dxm57VqP}:TyRQxNpB]:
Pulling Docker image calico/node:v0.4.9
Unexpected error executing command.
Executed /tmp/brooklyn-20151021-001632987-vlk2-launching_CalicoNodeImpl_id_dx.sh, result 1

2015-10-21 00:17:43,371 INFO  STDIN of problem in Task[ssh: launching CalicoNodeImpl{id=dxm57VqP}:TyRQxNpB]:
export RUN_DIR="/root/brooklyn-managed-processes/apps/oH2jx5gw/entities/CalicoNode_dxm57VqP"
mkdir -p $RUN_DIR
cd $RUN_DIR
( if test "$UID" -eq 0; then ( /root/brooklyn-managed-processes/installs/CalicoNode_0.4.9/calicoctl node --ip=192.168.1.111 ); else sudo -E -n -S -- /root/brooklyn-managed-processes/installs/CalicoNode_0.4.9/calicoctl node --ip=192.168.1.111; fi )
2015-10-21 00:17:43,394 WARN  Setting BasicGroupImpl{id=fFfGqNX2} on-fire due to problems when expected null / up=true: {service-lifecycle-indicators-from-children-and-members=Required entity not healthy: CalicoNodeImpl{id=dxm57VqP}}
2015-10-21 00:17:43,400 WARN  Error invoking start at CalicoNodeImpl{id=dxm57VqP}: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalStateException: Execution failed, invalid result 1 for launching CalicoNodeImpl{id=dxm57VqP}
2015-10-21 00:17:43,405 WARN  Error processing subscriptions to LSM.publish(DockerHostImpl{id=zbjQ3Xz3}.Sensor: service.isUp (java.lang.Boolean)=true @ 1445382967826): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at CalicoNodeImpl{id=dxm57VqP}: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalStateException: Execution failed, invalid result 1 for launching CalicoNodeImpl{id=dxm57VqP}
org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
    at org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:102) ~[brooklyn-utils-common-0.8.0-incubating.jar:0.8.0-incubating]
Caused by: java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at CalicoNodeImpl{id=dxm57VqP}: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalStateException: Execution failed, invalid result 1 for launching CalicoNodeImpl{id=dxm57VqP}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_60]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at CalicoNodeImpl{id=dxm57VqP}
    at org.apache.brooklyn.core.mgmt.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:269) ~[brooklyn-core-0.8.0-incubating.jar:0.8.0-incubating]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
    at org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:102) ~[brooklyn-utils-common-0.8.0-incubating.jar:0.8.0-incubating]
Caused by: java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalStateException: Execution failed, invalid result 1 for launching CalicoNodeImpl{id=dxm57VqP}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_60]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
    at org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:102) ~[brooklyn-utils-common-0.8.0-incubating.jar:0.8.0-incubating]
Caused by: java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalStateException: Execution failed, invalid result 1 for launching CalicoNodeImpl{id=dxm57VqP}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_60]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
    at org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:102) ~[brooklyn-utils-common-0.8.0-incubating.jar:0.8.0-incubating]
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Execution failed, invalid result 1 for launching CalicoNodeImpl{id=dxm57VqP}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_60]
Caused by: java.lang.IllegalStateException: Execution failed, invalid result 1 for launching CalicoNodeImpl{id=dxm57VqP}
    at org.apache.brooklyn.entity.software.base.lifecycle.ScriptHelper.logWithDetailsAndThrow(ScriptHelper.java:388) ~[brooklyn-software-base-0.8.0-incubating.jar:0.8.0-incubating]
2015-10-21 00:17:43,434 INFO  Starting clustered node: calico2
2015-10-21 00:17:43,462 INFO  Starting EtcdNodeImpl{id=KtaKgau1} on machine SshMachineLocation[SshMachineLocation:Pful:192.168.1.112/192.168.1.112:22@PfulsAxN]
2015-10-21 00:17:48,177 INFO  Adding node EtcdClusterImpl{id=lNiw7bcM}: EtcdNodeImpl{id=KtaKgau1}; calico2 to cluster
2015-10-21 00:17:48,635 INFO  Starting CalicoNodeImpl{id=s4IGVTLL} on machine SshMachineLocation[SshMachineLocation:Pful:192.168.1.112/192.168.1.112:22@PfulsAxN]
2015-10-21 00:18:13,459 INFO  Launching next calico service at 192.168.1.112
2015-10-21 00:18:38,209 WARN  Task[post-start:QBRw7tW1] was never submitted; did the code create it and forget to run it? ('cancel' the task to suppress this message)
2015-10-21 00:18:38,210 WARN  Task[post-launch-command:Pf3xsPeT] was never submitted; did the code create it and forget to run it? ('cancel' the task to suppress this message)
2015-10-21 00:18:38,211 WARN  Task[post-launch:k9rNenU0] was never submitted; did the code create it and forget to run it? ('cancel' the task to suppress this message)
@Graeme-Miller
Copy link

HI jleavers, are you still having this issue? Is it happening with Weave as well?

@jleavers
Copy link
Author

jleavers commented Nov 5, 2015

Hi,

I have retested and it looks like both are now working.

Calico

./clocker.sh docker-cloud calico
 _                     _    _
| |__  _ __ ___   ___ | | _| |_   _ _ __ (R)
| '_ \| '__/ _ \ / _ \| |/ / | | | | '_ \
| |_) | | | (_) | (_) |   <| | |_| | | | |
|_.__/|_|  \___/ \___/|_|\_\_|\__, |_| |_|
                              |___/             0.8.0-incubating

2015-11-05 13:33:47,093 INFO  YAML app combined with command line locations; YAML locations will take precedence; this behaviour may change in subsequent versions
2015-11-05 13:33:52,590 INFO  Started Brooklyn console at https://127.0.0.1:8443/, running brooklyn-jsgui.war and [brooklyn-jsgui.war, brooklyn-clocker-console.war]
2015-11-05 13:33:52,623 INFO  Persistence disabled
2015-11-05 13:33:52,623 INFO  High availability disabled
2015-11-05 13:33:58,782 INFO  Starting Docker infrastructure id E1Z0brgd
2015-11-05 13:33:58,956 INFO  Starting Calico network id prz2QRgw
2015-11-05 13:33:58,956 INFO  Starting SDN provider id prz2QRgw
2015-11-05 13:33:59,138 INFO  Starting brooklyn application BasicApplicationImpl{id=FORcpr4w} in location [FixedListMachineProvisioningLocation{id=B6ovO8Zw, name=FixedListMachineProvisioningLocation:B6ov}]
2015-11-05 13:33:59,229 INFO  Creating new DockerLocation wrapping FixedListMachineProvisioningLocation{id=B6ovO8Zw, name=FixedListMachineProvisioningLocation:B6ov}
2015-11-05 13:33:59,239 INFO  New Docker location DockerLocation{id=fpwiKvbF, name=Docker Infrastructure E1Z0brgd, provisioner=FixedListMachineProvisioningLocation{id=B6ovO8Zw, name=FixedListMachineProvisioningLocation:B6ov}, infrastructure=DockerInfrastructureImpl{id=E1Z0brgd}, strategies=[DockerAwarePlacementStrategy(MaxContainersPlacementStrategy@mnFOioAp), DockerAwarePlacementStrategy(BreadthFirstPlacementStrategy@Bs0IEJK1)]} created
2015-11-05 13:33:59,239 INFO  Starting entity DockerInfrastructureImpl{id=E1Z0brgd} at [FixedListMachineProvisioningLocation{id=B6ovO8Zw, name=FixedListMachineProvisioningLocation:B6ov}]
2015-11-05 13:33:59,317 INFO  Starting entity CalicoNetworkImpl{id=prz2QRgw} at [FixedListMachineProvisioningLocation{id=B6ovO8Zw, name=FixedListMachineProvisioningLocation:B6ov}]
2015-11-05 13:33:59,352 INFO  Resize DynamicClusterImpl{id=TrM4onO8} from 0 to 2
2015-11-05 13:33:59,389 INFO  Starting Docker host id LS4UDJ07
2015-11-05 13:33:59,389 INFO  Starting server pool machine with id LS4UDJ07
2015-11-05 13:33:59,501 INFO  Starting Docker host id JqCmY1N3
2015-11-05 13:33:59,501 INFO  Starting server pool machine with id JqCmY1N3
2015-11-05 13:33:59,587 INFO  Starting DockerHostImpl{id=LS4UDJ07}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=B6ovO8Zw, name=FixedListMachineProvisioningLocation:B6ov} with ports [22, 2376, 2375, 2379, 2377]
2015-11-05 13:33:59,613 INFO  Starting DockerHostImpl{id=JqCmY1N3}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=B6ovO8Zw, name=FixedListMachineProvisioningLocation:B6ov} with ports [22, 2376, 2375, 2379, 2377]
2015-11-05 13:33:59,620 INFO  Starting DockerHostImpl{id=LS4UDJ07} on machine SshMachineLocation[SshMachineLocation:OArm:192.168.1.111/192.168.1.111:22@OArmFcfq]
2015-11-05 13:33:59,621 INFO  Starting DockerHostImpl{id=JqCmY1N3} on machine SshMachineLocation[SshMachineLocation:oqnl:192.168.1.112/192.168.1.112:22@oqnl3j0t]
2015-11-05 13:33:59,639 WARN  Service is not up when setting running on EtcdClusterImpl{id=fiYjgPHW}; delayed 210ms but Sensor: service.isUp (java.lang.Boolean) did not recover from false; not-up-indicators=null
2015-11-05 13:33:59,639 WARN  Setting EtcdClusterImpl{id=fiYjgPHW} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-11-05 13:33:59,657 INFO  Added policy MemberTrackingPolicy{name=Docker host tracker, running=true} to CalicoNetworkImpl{id=prz2QRgw}, during start
2015-11-05 13:34:01,118 INFO  DockerHostImpl{id=JqCmY1N3} not running in a JcloudsSshMachineLocation, not configuring extra security groups
2015-11-05 13:34:01,120 INFO  DockerHostImpl{id=LS4UDJ07} not running in a JcloudsSshMachineLocation, not configuring extra security groups
2015-11-05 13:34:01,935 WARN  Deprecated use of unmanaged location (DockerHostLocation{id=CBNTB1cB, name=Docker Host LS4UDJ07, machine=SshMachineLocation[SshMachineLocation:OArm:192.168.1.111/192.168.1.111:22@OArmFcfq], jcloudsLocation=JcloudsLocation[docker:http://192.168.1.111:2377:/tmp/LS4UDJ07-cert.pem/docker:http://192.168.1.111:2377@WFfVW2mf], dockerHost=DockerHostImpl{id=LS4UDJ07}}); will be managed automatically now but not supported in future versions
2015-11-05 13:34:01,936 INFO  New Docker host location DockerHostLocation{id=CBNTB1cB, name=Docker Host LS4UDJ07, machine=SshMachineLocation[SshMachineLocation:OArm:192.168.1.111/192.168.1.111:22@OArmFcfq], jcloudsLocation=JcloudsLocation[docker:http://192.168.1.111:2377:/tmp/LS4UDJ07-cert.pem/docker:http://192.168.1.111:2377@WFfVW2mf], dockerHost=DockerHostImpl{id=LS4UDJ07}} created
2015-11-05 13:34:02,170 WARN  Deprecated use of unmanaged location (DockerHostLocation{id=uiEDRiTa, name=Docker Host JqCmY1N3, machine=SshMachineLocation[SshMachineLocation:oqnl:192.168.1.112/192.168.1.112:22@oqnl3j0t], jcloudsLocation=JcloudsLocation[docker:http://192.168.1.112:2377:/tmp/JqCmY1N3-cert.pem/docker:http://192.168.1.112:2377@nTalABtw], dockerHost=DockerHostImpl{id=JqCmY1N3}}); will be managed automatically now but not supported in future versions
2015-11-05 13:34:02,171 INFO  New Docker host location DockerHostLocation{id=uiEDRiTa, name=Docker Host JqCmY1N3, machine=SshMachineLocation[SshMachineLocation:oqnl:192.168.1.112/192.168.1.112:22@oqnl3j0t], jcloudsLocation=JcloudsLocation[docker:http://192.168.1.112:2377:/tmp/JqCmY1N3-cert.pem/docker:http://192.168.1.112:2377@nTalABtw], dockerHost=DockerHostImpl{id=JqCmY1N3}} created
2015-11-05 13:35:17,452 INFO  Stopping running Docker instance at SshMachineLocation[SshMachineLocation:OArm:192.168.1.111/192.168.1.111:22@OArmFcfq] before customising
2015-11-05 13:35:20,288 WARN  Service is not up when setting running on DynamicClusterImpl{id=z8fCuFRV}; delayed 214ms but Sensor: service.isUp (java.lang.Boolean) did not recover from false; not-up-indicators=null
2015-11-05 13:35:20,293 WARN  Setting DynamicClusterImpl{id=z8fCuFRV} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-11-05 13:35:20,577 INFO  Waiting on SDN agent
2015-11-05 13:35:20,620 INFO  Starting clustered node: calico1
2015-11-05 13:35:20,659 INFO  Starting EtcdNodeImpl{id=KurvjUVm} on machine SshMachineLocation[SshMachineLocation:OArm:192.168.1.111/192.168.1.111:22@OArmFcfq]
2015-11-05 13:35:27,032 INFO  Adding first node EtcdClusterImpl{id=fiYjgPHW}: EtcdNodeImpl{id=KurvjUVm}; calico1 to cluster
2015-11-05 13:35:27,041 INFO  Adding first node EtcdClusterImpl{id=fiYjgPHW}: EtcdNodeImpl{id=KurvjUVm}; calico1 to cluster
2015-11-05 13:35:27,414 INFO  Adding first node EtcdClusterImpl{id=fiYjgPHW}: EtcdNodeImpl{id=KurvjUVm}; calico1 to cluster
2015-11-05 13:35:27,514 INFO  Starting CalicoNodeImpl{id=ix4rLTwD} on machine SshMachineLocation[SshMachineLocation:OArm:192.168.1.111/192.168.1.111:22@OArmFcfq]
2015-11-05 13:35:53,836 INFO  Launching first calico service at 192.168.1.111
2015-11-05 13:36:02,604 INFO  Stopping running Docker instance at SshMachineLocation[SshMachineLocation:oqnl:192.168.1.112/192.168.1.112:22@oqnl3j0t] before customising
2015-11-05 13:36:04,899 WARN  Service is not up when setting running on DynamicClusterImpl{id=tFYAk40Z}; delayed 203ms but Sensor: service.isUp (java.lang.Boolean) did not recover from false; not-up-indicators=null
2015-11-05 13:36:04,932 WARN  Setting DynamicClusterImpl{id=tFYAk40Z} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-11-05 13:36:05,020 INFO  Waiting on SDN agent
2015-11-05 13:37:20,813 INFO  SDN agent running: true
2015-11-05 13:37:20,833 INFO  Starting clustered node: calico2
2015-11-05 13:37:20,854 INFO  Starting EtcdNodeImpl{id=DmS0u1pQ} on machine SshMachineLocation[SshMachineLocation:oqnl:192.168.1.112/192.168.1.112:22@oqnl3j0t]
2015-11-05 13:37:25,870 INFO  Adding node EtcdClusterImpl{id=fiYjgPHW}: EtcdNodeImpl{id=DmS0u1pQ}; calico2 to cluster
2015-11-05 13:37:26,212 INFO  Starting CalicoNodeImpl{id=MmG8pMfb} on machine SshMachineLocation[SshMachineLocation:oqnl:192.168.1.112/192.168.1.112:22@oqnl3j0t]
2015-11-05 13:37:31,763 INFO  REST using security provider org.apache.brooklyn.rest.security.provider.ExplicitUsersSecurityProvider
2015-11-05 13:37:31,766 INFO  REST allowing users: [admin]
2015-11-05 13:37:53,940 INFO  Launching next calico service at 192.168.1.112
2015-11-05 13:38:40,723 INFO  Geo info lookup for 127.0.0.1/127.0.0.1 returned: HostGeoInfo[127.0.0.1/127.0.0.1 (GB): 127.0.0.1 at (51.5,-0.12999999523163)]
2015-11-05 13:39:23,954 INFO  Created Dockerfile image with ID 7eed22f1655f91b0f7d6525f50a64361692cafa84bdf220820a833d8dcd0cb8b
2015-11-05 13:39:42,214 INFO  SDN agent running: true
2015-11-05 13:40:18,923 INFO  Created Dockerfile image with ID 874065554ae934e50bd9f9dbff0e0ca305c2f2784c3505dfb75a55636a3a1201
2015-11-05 13:40:24,143 INFO  Created SSHable Dockerfile image with ID bcba8f26c8f8c210a84fd54e82227579f3bbea93f8cbafcb69f6ebe9a29dddfa
2015-11-05 13:40:24,674 INFO  Starting Docker container id opO6ywFx
2015-11-05 13:40:24,723 INFO  Starting entity DockerContainerImpl{id=opO6ywFx} at [SshMachineLocation[SshMachineLocation:OArm:192.168.1.111/192.168.1.111:22@OArmFcfq]]
2015-11-05 13:41:26,630 INFO  Created SSHable Dockerfile image with ID 29a61628da7dc0d744993c5bb5af346953dfaf4ca840b800dcc234c822cb76b4
2015-11-05 13:41:26,636 INFO  Started application BasicApplicationImpl{id=FORcpr4w}
2015-11-05 13:41:26,637 INFO  Launched Brooklyn; will now block until shutdown command received via GUI/API (recommended) or process interrupt.
2015-11-05 13:41:26,984 INFO  Starting Docker container id by55Pv8K
2015-11-05 13:41:27,006 INFO  Starting entity DockerContainerImpl{id=by55Pv8K} at [SshMachineLocation[SshMachineLocation:oqnl:192.168.1.112/192.168.1.112:22@oqnl3j0t]]

Weave

./clocker.sh docker-cloud weave
 _                     _    _
| |__  _ __ ___   ___ | | _| |_   _ _ __ (R)
| '_ \| '__/ _ \ / _ \| |/ / | | | | '_ \
| |_) | | | (_) | (_) |   <| | |_| | | | |
|_.__/|_|  \___/ \___/|_|\_\_|\__, |_| |_|
                              |___/             0.8.0-incubating

2015-11-05 01:03:08,727 INFO  YAML app combined with command line locations; YAML locations will take precedence; this behaviour may change in subsequent versions
2015-11-05 01:03:14,214 INFO  Started Brooklyn console at https://127.0.0.1:8443/, running brooklyn-jsgui.war and [brooklyn-jsgui.war, brooklyn-clocker-console.war]
2015-11-05 01:03:14,231 INFO  Persistence disabled
2015-11-05 01:03:14,231 INFO  High availability disabled
2015-11-05 01:03:20,009 INFO  Starting Docker infrastructure id G3kOeufj
2015-11-05 01:03:20,201 INFO  Starting Weave network id yIOf8WVf
2015-11-05 01:03:20,201 INFO  Starting SDN provider id yIOf8WVf
2015-11-05 01:03:20,408 INFO  Starting brooklyn application BasicApplicationImpl{id=StHy25xA} in location [FixedListMachineProvisioningLocation{id=NhguCDU9, name=FixedListMachineProvisioningLocation:Nhgu}]
2015-11-05 01:03:20,509 INFO  Creating new DockerLocation wrapping FixedListMachineProvisioningLocation{id=NhguCDU9, name=FixedListMachineProvisioningLocation:Nhgu}
2015-11-05 01:03:20,520 INFO  New Docker location DockerLocation{id=RZWqrOkv, name=Docker Infrastructure G3kOeufj, provisioner=FixedListMachineProvisioningLocation{id=NhguCDU9, name=FixedListMachineProvisioningLocation:Nhgu}, infrastructure=DockerInfrastructureImpl{id=G3kOeufj}, strategies=[DockerAwarePlacementStrategy(MaxContainersPlacementStrategy@ToLUYxM0), DockerAwarePlacementStrategy(BreadthFirstPlacementStrategy@yXBBOj48)]} created
2015-11-05 01:03:20,521 INFO  Starting entity DockerInfrastructureImpl{id=G3kOeufj} at [FixedListMachineProvisioningLocation{id=NhguCDU9, name=FixedListMachineProvisioningLocation:Nhgu}]
2015-11-05 01:03:20,634 INFO  Resize DynamicClusterImpl{id=kdVNaybG} from 0 to 2
2015-11-05 01:03:20,644 INFO  Starting entity WeaveNetworkImpl{id=yIOf8WVf} at [FixedListMachineProvisioningLocation{id=NhguCDU9, name=FixedListMachineProvisioningLocation:Nhgu}]
2015-11-05 01:03:20,685 INFO  Added policy MemberTrackingPolicy{name=Docker host tracker, running=true} to WeaveNetworkImpl{id=yIOf8WVf}, during start
2015-11-05 01:03:20,696 INFO  Starting Docker host id IYtb4s8g
2015-11-05 01:03:20,696 INFO  Starting server pool machine with id IYtb4s8g
2015-11-05 01:03:20,804 INFO  Starting Docker host id slwE7UKN
2015-11-05 01:03:20,804 INFO  Starting server pool machine with id slwE7UKN
2015-11-05 01:03:20,892 INFO  Starting DockerHostImpl{id=slwE7UKN}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=NhguCDU9, name=FixedListMachineProvisioningLocation:Nhgu} with ports [22, 2376, 2375, 6783, 2377]
2015-11-05 01:03:20,899 INFO  Starting DockerHostImpl{id=slwE7UKN} on machine SshMachineLocation[SshMachineLocation:cKoz:192.168.1.111/192.168.1.111:22@cKozg9JD]
2015-11-05 01:03:20,905 INFO  Starting DockerHostImpl{id=IYtb4s8g}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=NhguCDU9, name=FixedListMachineProvisioningLocation:Nhgu} with ports [22, 2376, 2375, 6783, 2377]
2015-11-05 01:03:20,917 INFO  Starting DockerHostImpl{id=IYtb4s8g} on machine SshMachineLocation[SshMachineLocation:CaZg:192.168.1.112/192.168.1.112:22@CaZgOcJc]
2015-11-05 01:03:22,392 INFO  DockerHostImpl{id=slwE7UKN} not running in a JcloudsSshMachineLocation, not configuring extra security groups
2015-11-05 01:03:22,393 INFO  DockerHostImpl{id=IYtb4s8g} not running in a JcloudsSshMachineLocation, not configuring extra security groups
2015-11-05 01:03:23,250 WARN  Deprecated use of unmanaged location (DockerHostLocation{id=EF81dF19, name=Docker Host IYtb4s8g, machine=SshMachineLocation[SshMachineLocation:CaZg:192.168.1.112/192.168.1.112:22@CaZgOcJc], jcloudsLocation=JcloudsLocation[docker:https://192.168.1.112:2377:/tmp/IYtb4s8g-cert.pem/docker:https://192.168.1.112:2377@KefQ1hMs], dockerHost=DockerHostImpl{id=IYtb4s8g}}); will be managed automatically now but not supported in future versions
2015-11-05 01:03:23,251 INFO  New Docker host location DockerHostLocation{id=EF81dF19, name=Docker Host IYtb4s8g, machine=SshMachineLocation[SshMachineLocation:CaZg:192.168.1.112/192.168.1.112:22@CaZgOcJc], jcloudsLocation=JcloudsLocation[docker:https://192.168.1.112:2377:/tmp/IYtb4s8g-cert.pem/docker:https://192.168.1.112:2377@KefQ1hMs], dockerHost=DockerHostImpl{id=IYtb4s8g}} created
2015-11-05 01:03:23,398 WARN  Deprecated use of unmanaged location (DockerHostLocation{id=CDdvIrJh, name=Docker Host slwE7UKN, machine=SshMachineLocation[SshMachineLocation:cKoz:192.168.1.111/192.168.1.111:22@cKozg9JD], jcloudsLocation=JcloudsLocation[docker:https://192.168.1.111:2377:/tmp/slwE7UKN-cert.pem/docker:https://192.168.1.111:2377@lv8dGdbP], dockerHost=DockerHostImpl{id=slwE7UKN}}); will be managed automatically now but not supported in future versions
2015-11-05 01:03:23,404 INFO  New Docker host location DockerHostLocation{id=CDdvIrJh, name=Docker Host slwE7UKN, machine=SshMachineLocation[SshMachineLocation:cKoz:192.168.1.111/192.168.1.111:22@cKozg9JD], jcloudsLocation=JcloudsLocation[docker:https://192.168.1.111:2377:/tmp/slwE7UKN-cert.pem/docker:https://192.168.1.111:2377@lv8dGdbP], dockerHost=DockerHostImpl{id=slwE7UKN}} created
2015-11-05 01:05:44,702 INFO  Stopping running Docker instance at SshMachineLocation[SshMachineLocation:CaZg:192.168.1.112/192.168.1.112:22@CaZgOcJc] before customising
2015-11-05 01:05:46,838 WARN  Service is not up when setting running on DynamicClusterImpl{id=DGsl7jOv}; delayed 209ms but Sensor: service.isUp (java.lang.Boolean) did not recover from false; not-up-indicators=null
2015-11-05 01:05:46,838 WARN  Setting DynamicClusterImpl{id=DGsl7jOv} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-11-05 01:05:46,838 WARN  Setting DynamicClusterImpl{id=DGsl7jOv} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-11-05 01:05:47,080 INFO  Waiting on SDN agent
2015-11-05 01:05:47,213 INFO  Starting WeaveContainerImpl{id=mHzd7Lad} on machine SshMachineLocation[SshMachineLocation:CaZg:192.168.1.112/192.168.1.112:22@CaZgOcJc]
2015-11-05 01:05:48,210 INFO  Launching first Weave service at 169.254.0.1
2015-11-05 01:06:04,808 INFO  SDN agent running: true
2015-11-05 01:06:28,537 INFO  Created Dockerfile image with ID 1e5906a86ba2a977eb45806c000ca9266400dc02096bebdae1a7637649402607
2015-11-05 01:07:20,041 INFO  Created SSHable Dockerfile image with ID 4d45c0d38d3b45b24a170fb37b763acea9e1b1a6ee94df965afe387a37fbec14
2015-11-05 01:07:20,366 INFO  Starting Docker container id N0GLBlnl
2015-11-05 01:07:20,425 INFO  Starting entity DockerContainerImpl{id=N0GLBlnl} at [SshMachineLocation[SshMachineLocation:CaZg:192.168.1.112/192.168.1.112:22@CaZgOcJc]]
2015-11-05 01:07:20,798 INFO  Starting Docker container id MQAeaqhE
2015-11-05 01:07:20,836 INFO  Starting entity DockerContainerImpl{id=MQAeaqhE} at [SshMachineLocation[SshMachineLocation:CaZg:192.168.1.112/192.168.1.112:22@CaZgOcJc]]
2015-11-05 01:08:10,251 INFO  Stopping running Docker instance at SshMachineLocation[SshMachineLocation:cKoz:192.168.1.111/192.168.1.111:22@cKozg9JD] before customising
2015-11-05 01:08:12,378 WARN  Service is not up when setting running on DynamicClusterImpl{id=OnKI29nN}; delayed 208ms but Sensor: service.isUp (java.lang.Boolean) did not recover from false; not-up-indicators=null
2015-11-05 01:08:12,440 WARN  Setting DynamicClusterImpl{id=OnKI29nN} on-fire due to problems when expected running, up=false, not-up-indicators: null
2015-11-05 01:08:12,519 INFO  Waiting on SDN agent
2015-11-05 01:08:12,626 INFO  Starting WeaveContainerImpl{id=evqmr4Xb} on machine SshMachineLocation[SshMachineLocation:cKoz:192.168.1.111/192.168.1.111:22@cKozg9JD]
2015-11-05 01:08:13,747 INFO  Launching next Weave service at 169.254.0.2
2015-11-05 01:08:27,545 INFO  SDN agent running: true
2015-11-05 01:08:54,569 INFO  Created Dockerfile image with ID 63b4038bbe52eb35c1989134d31543699dba75753e57e79934517b9bc16e3822
2015-11-05 01:09:58,569 INFO  Created SSHable Dockerfile image with ID a03a9de0d7c5c34e65f1bec25ec346b3737c71ec40dffcb91e4151048970eb48
2015-11-05 01:09:58,579 INFO  Started application BasicApplicationImpl{id=StHy25xA}
2015-11-05 01:09:58,581 INFO  Launched Brooklyn; will now block until shutdown command received via GUI/API (recommended) or process interrupt.
2015-11-05 01:09:58,999 INFO  Starting Docker container id HzBC6QMM
2015-11-05 01:09:59,041 INFO  Starting entity DockerContainerImpl{id=HzBC6QMM} at [SshMachineLocation[SshMachineLocation:cKoz:192.168.1.111/192.168.1.111:22@cKozg9JD]]
2015-11-05 01:09:59,383 INFO  Starting Docker container id XH5btFv2
2015-11-05 01:09:59,402 INFO  Starting entity DockerContainerImpl{id=XH5btFv2} at [SshMachineLocation[SshMachineLocation:cKoz:192.168.1.111/192.168.1.111:22@cKozg9JD]]
2015-11-05 01:10:47,814 INFO  REST using security provider org.apache.brooklyn.rest.security.provider.ExplicitUsersSecurityProvider
2015-11-05 01:11:01,318 INFO  REST allowing users: [admin]
2015-11-05 01:11:02,740 INFO  Geo info lookup for 127.0.0.1/127.0.0.1 returned: HostGeoInfo[127.0.0.1/127.0.0.1 (GB): 127.0.0.1 at (51.5,-0.12999999523163)]

@grkvlt
Copy link
Member

grkvlt commented Nov 11, 2015

Possibly a temporary issue with Docker Hub?

@grkvlt grkvlt closed this as completed Nov 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants