Build agent-instance image for amd64, arm #18

Open
wants to merge 2 commits into
from

Projects

None yet

2 participants

@deniseschannon deniseschannon referenced this pull request in rancher/rancher May 6, 2016
Open

Make Rancher ARM compatible #4703

2 of 33 tasks complete
@imikushin imikushin changed the title from WIP: support ARM to Build agent-instance image for amd64, arm Jun 22, 2016
@withinboredom

I got this running and connected to an x86 version of rancher. Internal lb never seems to finish initializing on a rpi3. Here's the log output (if there's a way to get more detailed logs, let me know):

docker logs  r-front-lb_inbound_3
INFO: Downloading agent http://stargate.withinboredom.info:8080/v1/configcontent/configscripts
INFO: Updating configscripts
INFO: Downloading http://stargate.withinboredom.info:8080/v1//configcontent//configscripts current=
INFO: Running /var/lib/cattle/download/configscripts/configscripts-1-f0f3fb2e1110b5ada7c441705981f93a480313a324294321cff467f0c3e12319/apply.sh
INFO: Sending configscripts applied 1-f0f3fb2e1110b5ada7c441705981f93a480313a324294321cff467f0c3e12319
INFO: Updating agent-instance-startup
INFO: Downloading http://stargate.withinboredom.info:8080/v1//configcontent//agent-instance-startup current=
INFO: Running /var/lib/cattle/download/agent-instance-startup/agent-instance-startup-1-c2d97fa46f395cd32fdc6f303bae6e844b3f161f0d6e1142ca86dc66da9a8318/apply.sh
INFO: Assigning 10.42.1.246/16 to eth0
INFO: Updating services
INFO: Downloading http://stargate.withinboredom.info:8080/v1//configcontent//services current=
INFO: Running /var/lib/cattle/download/services/services-1-061405f3edd960bfdfe1cfb8447be40eab5b4b608731608e224cc51c5dc30b91/apply.sh
INFO: HOME -> ./
INFO: HOME -> ./services
INFO: Sending services applied 1-061405f3edd960bfdfe1cfb8447be40eab5b4b608731608e224cc51c5dc30b91
INFO: Getting agent-instance-scripts
INFO: Updating agent-instance-scripts
INFO: Downloading http://stargate.withinboredom.info:8080/v1//configcontent//agent-instance-scripts current=
INFO: Running /var/lib/cattle/download/agent-instance-scripts/agent-instance-scripts-1-4b5124bd74cd423f98d57550b481ec77ec3a7135c6a650886ab95c043305d642/apply.sh
INFO: HOME -> ./
INFO: HOME -> ./events/
INFO: HOME -> ./events/ping
INFO: HOME -> ./events/config.update
INFO: Sending agent-instance-scripts applied 1-4b5124bd74cd423f98d57550b481ec77ec3a7135c6a650886ab95c043305d642
INFO: Getting monit
INFO: Updating monit
INFO: Downloading http://stargate.withinboredom.info:8080/v1//configcontent//monit current=
INFO: Running /var/lib/cattle/download/monit/monit-1-c4113ae48035df162ff89a5d37af1545f002ee54e044535e42395bda7a29a953/apply.sh
INFO: ROOT -> ./
INFO: ROOT -> ./etc/
INFO: ROOT -> ./etc/monit/
INFO: ROOT -> ./etc/monit/monitrc
INFO: ROOT -> ./etc/monit/conf.d/
INFO: ROOT -> ./etc/monit/conf.d/logrotate
INFO: ROOT -> ./etc/logrotate.d/
INFO: ROOT -> ./etc/logrotate.d/rancher-logs
INFO: Sending monit applied 1-c4113ae48035df162ff89a5d37af1545f002ee54e044535e42395bda7a29a953
INFO: Getting haproxy
INFO: Updating haproxy
INFO: Downloading http://stargate.withinboredom.info:8080/v1//configcontent//haproxy current=
INFO: Running /var/lib/cattle/download/haproxy/haproxy-3-6e0a8e0f43f312d19403952224ef2fb86918597c1f12ed0caa1499b8a6df968b/apply.sh
INFO: ROOT -> ./
INFO: ROOT -> ./etc/
INFO: ROOT -> ./etc/monit/
INFO: ROOT -> ./etc/monit/conf.d/
INFO: ROOT -> ./etc/monit/conf.d/haproxy
INFO: ROOT -> ./etc/default/
INFO: ROOT -> ./etc/default/haproxy
INFO: ROOT -> ./etc/haproxy/
INFO: ROOT -> ./etc/haproxy/certs/
INFO: ROOT -> ./etc/haproxy/certs/certs.pem
INFO: ROOT -> ./etc/haproxy/certs/default.pem
INFO: ROOT -> ./etc/haproxy/haproxy.cfg
INFO: Sending haproxy applied 3-6e0a8e0f43f312d19403952224ef2fb86918597c1f12ed0caa1499b8a6df968b
INFO: HOME -> ./
INFO: HOME -> ./etc/
INFO: HOME -> ./etc/cattle/
INFO: HOME -> ./etc/cattle/startup-env
INFO: ROOT -> ./
INFO: ROOT -> ./etc/
INFO: ROOT -> ./etc/init.d/
INFO: ROOT -> ./etc/init.d/agent-instance-startup
INFO: Sending agent-instance-startup applied 1-c2d97fa46f395cd32fdc6f303bae6e844b3f161f0d6e1142ca86dc66da9a8318
 New Monit id: b03ca8cb31e4effcf6ebdc9bef40b406
 Stored in '/var/lib/monit/id'
Starting Monit 5.16 daemon with http interface at [localhost]:2812
@imikushin imikushin Build arch-specific images from the same Dockerfile
And build image-manifest.yml for meta (e.g. multi-platform) images.
0c68a23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment