[Gluster-infra] Root password reset on slave21.cloud.gluster.org
Niels de Vos
ndevos at redhat.com
Fri Mar 20 17:44:38 UTC 2015
On Fri, Mar 20, 2015 at 01:16:10PM -0400, Dan Lambright wrote:
> Im done with it. Im using slave48 now.
>
> It would be good if this was more self service. For example, I can
> disconnect a slave after logging into jenkins, but cannot login to the
> slave without knowing its root password. It appears one necessary step
> in the process is to reset the root password, and find Justin and
> Nieles for to do that. Could this process be simplified? e.g. a Groovy
> script, or some such?
We actually could setup a Jenkins job to reset the root password of
slaves. A similar thing is done for rebooting stuck VMs:
http://build.gluster.org/job/reboot-vm/
https://github.com/justinclift/glusterfs_patch_acceptance_tests/blob/master/rax-reboot/reboot-slave.py
Resetting the root password seems pretty simple:
http://docs.rackspace.com/servers/api/v2/cs-devguide/content/Change_Password-d1e3234.html
I might look into doing that over the weekend. But, in case someone
wants to have a go at it, please let me know :-)
Niels
>
> ----- Original Message -----
> > From: "Niels de Vos" <ndevos at redhat.com>
> > To: "Justin Clift" <justin at gluster.org>
> > Cc: gluster-infra at gluster.org, "Dan Lambright" <dlambrig at redhat.com>
> > Sent: Friday, March 20, 2015 1:09:45 PM
> > Subject: Re: [Gluster-infra] Root password reset on slave21.cloud.gluster.org
> >
> > On Fri, Mar 20, 2015 at 04:38:56PM +0000, Justin Clift wrote:
> > > On 20 Mar 2015, at 13:46, Niels de Vos <ndevos at redhat.com> wrote:
> > > > Dan is debugging why tier.t tests sometimes(?) fail on the Jenkins
> > > > slaves. For this, I have reset the root password so that he can login.
> > >
> > > Cool. It's a good idea to disconnect it in Jenkins too, so that new
> > > tasks don't get run on it while stuff is being looked into.
> > >
> > > Disconnecting it in Jenkins doesn't abort the currently running task,
> > > so it's a safe process to do.
> > >
> > > I've just done it for slave21 in this instance. ;)
> >
> > I think Dan was already done with it, but please check with him.
> >
> > Niels
> >
More information about the Gluster-infra
mailing list