rancher agent container dying on VM from machine other than rancher server

63 views
Skip to first unread message

Amol Shende

unread,
Jun 19, 2015, 12:11:24 AM6/19/15
to ranc...@googlegroups.com
Hi,
I am using rancher latest release 0.28.0 on OS fedora-20 (Rancher Server)

I created 2 VM's (Ubuntu) on Rancher server and added as host(rancher-agent) to Rancher Server. Its working fine.

Now, I tried to add another machine (not rancher-server) as rancher agent. It pulls rancher-agent docker image, creates container and exits the container. I tried this with 4 different machines (other than rancher server) but, on all machines rancher-agent container dies. I tested it using different OS and different users also , but its not working. 

My all machines are in same network.

I would appreciate your help.

Denise Schannon

unread,
Jun 19, 2015, 12:38:38 PM6/19/15
to ranc...@googlegroups.com
Just to clarify, are you using the command that is produced from the UI for when you're trying to add the rancher-agent? 

Amol Shende

unread,
Jun 22, 2015, 1:17:35 AM6/22/15
to ranc...@googlegroups.com
Yes

Denise Schannon

unread,
Jun 24, 2015, 1:19:42 PM6/24/15
to Amol Shende, ranc...@googlegroups.com
Do you have any docker logs for the containers? What docker version?


From: <ranc...@googlegroups.com> on behalf of Amol Shende <shend...@gmail.com>
Date: Sunday, June 21, 2015 at 10:17 PM
To: "ranc...@googlegroups.com" <ranc...@googlegroups.com>
Subject: Re: rancher agent container dying on VM from machine other than rancher server

Yes

--
You received this message because you are subscribed to the Google Groups "Rancher" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rancherio+...@googlegroups.com.
To post to this group, send email to ranc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rancherio/6cce46df-f24e-4acf-a26d-d79152466282%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Amol Shende

unread,
Jun 25, 2015, 2:53:22 AM6/25/15
to ranc...@googlegroups.com, shend...@gmail.com
Thanks,
I got solution. For rancher agent to run properly Docker Version should be >=1.6.0.
I was using docker version 1.4.0. This was the problem.
Now , I upgrade docker to 1.7.0 and its working fine.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages