[Rocks-Discuss] invalid users? Rocks sync users not working?

1,062 views
Skip to first unread message

Jonathan Gough

unread,
Feb 2, 2011, 1:28:40 PM2/2/11
to Discussion of Rocks Clusters
Hello all.

my cluster is 32 bit, running rocks 5.3

I think that rocks sync config or rocks sync users is not working...

As root:
I have added two new users (via useradd ...)
I did rocks sync users
i did rocks sync config

i logged out of the head node and logged back in via the new users
opened a shell sorted out the .ssh passwords - null
and logged out.

as

root then I tried to change the ownership of the scratch directory on all
nodes, and I get the message:
chown: `guest:users': invalid user

logged in as the user (guest)

i tried to ssh to the nodes, and I am asked to enter a password, entering
the correct password does not work.

Any ideas on what I should try next?

--

Jonathan D. Gough, Ph.D.
Assistant Professor
Department of Chemistry and Biochemistry
Long Island University, Brooklyn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110202/097812a8/attachment.html

Greg Bruno

unread,
Feb 2, 2011, 1:41:51 PM2/2/11
to Discussion of Rocks Clusters
On Wed, Feb 2, 2011 at 10:28 AM, Jonathan Gough <jonatha...@liu.edu> wrote:
> Hello all.
>
> my cluster is 32 bit, running rocks 5.3
>
> I think that rocks sync config or rocks sync users is not working...
>
> As root:
> I have added two new users (via useradd ...)
> I did rocks sync users
> i did rocks sync config
>
> i logged out of the head node and logged back in via the new users
> opened a shell sorted out the .ssh passwords - null
> and logged out.
>
> as
>
> root then I tried to change the ownership of the scratch directory on all
> nodes, and I get the message:
> chown: `guest:users': invalid user
>
> logged in as the user (guest)
>
> i tried to ssh to the nodes, and I am asked to enter a password, entering
> the correct password does not work.
>
> Any ideas on what I should try next?

is greceptor running on the compute nodes?

as root, login to a compute node and execute:

# ps auwx | grep greceptor

- gb

Jonathan Gough

unread,
Feb 2, 2011, 1:54:47 PM2/2/11
to Discussion of Rocks Clusters
I

[root@pascal ~]# ssh compute-0-0
Last login: Wed Feb 2 12:36:53 2011 from pascal.local
Rocks Compute Node
Rocks 5.3 (Rolled Tacos)
Profile built 11:15 15-Nov-2010

Kickstarted 11:21 15-Nov-2010
[root@compute-0-0 ~]# ps auwx | grep greceptor
root 1143 0.0 0.0 4124 608 pts/0 S+ 13:52 0:00 grep
greceptor
[root@compute-0-0 ~]# exit
logout

Connection to compute-0-0 closed.
[root@pascal ~]# ssh compute-1-10
Rocks Compute Node
Rocks 5.3 (Rolled Tacos)
Profile built 19:30 13-Nov-2010

Kickstarted 19:36 13-Nov-2010
[root@compute-1-10 ~]# ps auwx | grep greceptor
root 2133 0.0 0.6 45524 27932 ? Sl 2010 88:38
/opt/rocks/bin/python /opt/rocks/bin/greceptor
root 21443 0.0 0.0 4128 616 pts/0 S+ 13:52 0:00 grep
greceptor
[root@compute-1-10 ~]# exit
logout

Kickstarted 16:11 10-Oct-2010
[root@compute-1-24 ~]# ps auwx | grep greceptor
root 2077 0.0 1.8 56056 37508 ? Sl 2010 153:46
/opt/rocks/bin/python /opt/rocks/bin/greceptor
root 7962 0.0 0.0 4124 624 pts/0 S+ 13:53 0:00 grep
greceptor
[root@compute-1-24 ~]#


--

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110202/7c55ccb2/attachment.html

Jonathan Gough

unread,
Feb 2, 2011, 2:13:01 PM2/2/11
to Discussion of Rocks Clusters
i fixed it by doing this

875 service greceptor restart
876 rocks run host 'service greceptor restart'
877 rocks sync users
879 rocks run host 'chown guest:users /state/partition2/guest'


On Wed, Feb 2, 2011 at 1:58 PM, "Hung-Sheng Tsao (Lao Tsao 老曹) Ph. D." <
lao...@gmail.com> wrote:

>
>
> On 2/2/2011 1:51 PM, Jonathan Gough wrote:
> I did do that, and that is where I am stuck.
> I did
>
> 824 useradd -c 'Guest students' -n guest
> 825 passwd guest
> 826 exit
>
> then logged in as guest on the front end, did the ssh key etc, hit return
>
> logged out then back in as root
> 827 rocks sync users
> 828 rocks sync config
> 830 rocks run host 'mkdir /state/partition2/guest'
> 831 rocks run host 'chown guest:users /state/partition2/guest'
>
> I just run this in r5.4 but x64 without any problem:-(
>
> and no dice
>
> On Wed, Feb 2, 2011 at 1:44 PM, "Hung-Sheng Tsao (Lao Tsao 老曹) Ph. D." <
> lao...@gmail.com<mailto:lao...@gmail.com>> wrote:
> after you create user by useradd
> IIRC you need to run passwd <user>
> login as <user>, you will been ask about ssh key etc, you just hit <return>
> after all these steps the run rocks user sync etc


--

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110202/7dd23082/attachment.html

Jonathan Gough

unread,
Feb 2, 2011, 1:51:43 PM2/2/11
to lao...@gmail.com, Discussion of Rocks Clusters
I did do that, and that is where I am stuck.
I did

824 useradd -c 'Guest students' -n guest
825 passwd guest
826 exit

then logged in as guest on the front end, did the ssh key etc, hit return

logged out then back in as root
827 rocks sync users
828 rocks sync config
830 rocks run host 'mkdir /state/partition2/guest'
831 rocks run host 'chown guest:users /state/partition2/guest'

and no dice

On Wed, Feb 2, 2011 at 1:44 PM, "Hung-Sheng Tsao (Lao Tsao 老曹) Ph. D." <

lao...@gmail.com> wrote:

> after you create user by useradd
> IIRC you need to run passwd <user>
> login as <user>, you will been ask about ssh key etc, you just hit <return>
> after all these steps the run rocks user sync etc
>
>
> On 2/2/2011 1:28 PM, Jonathan Gough wrote:

--

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110202/ad1520de/attachment.html

Jonathan Gough

unread,
Feb 2, 2011, 1:56:05 PM2/2/11
to Discussion of Rocks Clusters
It looks like some are, and some are not.... weird. Here are 3 different
nodes. The first one is a problem.


--

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110202/922edae6/attachment.html

Reply all
Reply to author
Forward
0 new messages