I am trying to sync all user accounts (and passwords and homedirs)
from the frontend onto the compute node so that my application can log
in and run jobs there. It looks like 'rocks sync users' is what I
want, but that doesn't add the accounts. Do I have to manually add
accounts on each compute node, then sync the users?
What is the recommended way to duplicate all user accounts from the
frontend to the compute nodes?
Matthew Devney
mat...@devney.net
415-425-5599
Run "rocks sync users"
that should edit /etc/auto.home on the frontend
it should then push out the changes for passwd, group, /etc/auto.home
-P
--
Philip Papadopoulos, PhD
University of California, San Diego
858-822-3628 (Ofc)
619-331-2990 (Fax)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20091216/076ba11c/attachment.html
The users are not getting created on the compute nodes, nor is
/etc/auto.* being pushed out. User is added properly on the frontend
though. /etc/auto.home is edited properly on the front end. But no
changes are being pushed out.
The only error I see in syslog is:
Dec 16 10:31:32 compute-0-2 automount[3882]: lookup_read_master:
lookup(nisplus): couldn't locate nis+ table auto.master
Dec 16 10:31:32 compute-0-0 automount[3940]: lookup_read_master:
lookup(nisplus): couldn't locate nis+ table auto.master
Which according to https://bugzilla.redhat.com/show_bug.cgi?id=425968
isn't really an issue ... unless ROCKS uses nis+ on the back end?
How can I further troubleshoot why 'rocks sync users' isn't syncing users?
Matthew Devney
mat...@devney.net
for some reason sometimes greceptor service is stoped on some nodes. with
the command "tentakel service greceptor restart" your problem should be
solved.
Atentamente
Jorge Arévalo Bórquez
When I try 'tentakel service greceptor restart' I get the errors below
in syslog.
The first error is mentioned on the 5.2 Changelog here
http://www.rocksclusters.org/roll-documentation/service-pack/5.2/fixes.html
and says it's fixed, but I'm still getting it. Where can I find more
information about this error and its fix?
The second error looks like it's my problem. greceptor appears to be
looking for /etc.passwd instead of /etc/passwd . Same with a bunch of
other files.
Where does rocks keep a list of files it should modify? I'd like to
check those are the right files, /etc/passwd instead of /etc.passwd .
Matthew Devney
mat...@devney.net
Dec 16 12:43:37 compute-0-0 python: error: got a metric with a strange type (22)
Dec 16 12:43:37 compute-0-0 python: ------greceptor end traceback-----
Dec 16 12:43:37 compute-0-0 python: greceptor: got a metric with a
strange type (22)
Dec 16 12:43:37 compute-0-0 python: ------greceptor last traceback----
Dec 16 12:43:37 compute-0-0 python: Traceback (most recent call last):
Dec 16 12:43:37 compute-0-0 python: File
"/opt/rocks/lib/python2.4/site-packages/gmon/reporter.py", line 203,
in run metric = gmon.Gmetric.parse(msg)
Dec 16 12:43:37 compute-0-0 python: error: got a metric with a strange type (22)
Dec 16 12:43:37 compute-0-0 python: ------greceptor end traceback-----
Dec 16 12:43:38 compute-0-0 sshd[4345]: Accepted publickey for root
from 192.168.2.254 port 51118 ssh2
Dec 16 12:43:38 compute-0-0 sshd[4345]: pam_unix(sshd:session):
session opened for user root by (uid=0)
Dec 16 12:43:39 compute-0-0 sshd[4345]: pam_unix(sshd:session):
session closed for user root
Dec 16 12:43:39 compute-0-0 python: greceptor loading gmon.listeners: listen411
Dec 16 12:43:39 compute-0-0 sshd[4344]: Did not receive identification
string from UNKNOWN
Dec 16 12:43:39 compute-0-0 python: greceptor loading gmon.metrics:
repeater411 cleaner event411 ps
Dec 16 12:43:39 compute-0-0 python: 411-poller warning: getting file:
/etc.group: This does not appear to be a 411 shared key.
Dec 16 12:43:39 compute-0-0 python: 411-poller warning: getting file:
/etc.shadow: This does not appear to be a 411 shared key.
Dec 16 12:43:39 compute-0-0 python: 411-poller warning: getting file:
/etc.auto..smb: This does not appear to be a 411 shared key.
Dec 16 12:43:39 compute-0-0 python: 411-poller warning: getting file:
/etc.auto..misc: This does not appear to be a 411 shared key.
Dec 16 12:43:39 compute-0-0 python: 411-poller warning: getting file:
/etc.auto..master: This does not appear to be a 411 shared key.
Dec 16 12:43:39 compute-0-0 python: 411-poller warning: getting file:
/etc.passwd: This does not appear to be a 411 shared key.
Dec 16 12:43:39 compute-0-0 python: 411-poller warning: getting file:
/etc.auto..home: This does not appear to be a 411 shared key.
Dec 16 12:43:39 compute-0-0 python: 411-poller warning: getting file:
/etc.auto..net: This does not appear to be a 411 shared key.
Dec 16 12:43:39 compute-0-0 python: 411-poller warning: getting file:
/etc.auto..share: This does not appear to be a 411 shared key.