SSH access for project members

94 views
Skip to first unread message

Zhaofeng Li

unread,
Jun 10, 2021, 6:33:39 PM6/10/21
to cloudla...@googlegroups.com
We used to be able to access experiments started by other people in the same project, but somehow this stopped working a few weeks ago. During boot the testbed service only creates geniuser as well as the user who started the experiment. Is it possible to restore the previous behavior and allow other project members access my experiments? Thank you!

Zhaofeng

Logs from a simple experiment using the UBUNTU20-64-STD image:

zhaofeng@node0:~$ ls /users
geniuser zhaofeng
zhaofeng@node0:~$ sudo journalctl -u testbed
[snip]
Jun 10 16:36:02 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us testbed[1280]: Checking Testbed user accounts configuration ...
Jun 10 16:36:02 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us testbed[1280]: Adding group: redshift-PG0/6418
Jun 10 16:36:02 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us groupadd[1479]: group added to /etc/group: name=redshift-PG0, GID=6418
Jun 10 16:36:02 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us groupadd[1479]: group added to /etc/gshadow: name=redshift-PG0
Jun 10 16:36:02 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us groupadd[1479]: new group: name=redshift-PG0, GID=6418
Jun 10 16:36:02 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us testbed[1280]: Adding: geniuser/10005/6418/1/Geni User//users/geniuser/
Jun 10 16:36:02 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us useradd[1488]: new user: name=geniuser, UID=10005, GID=6418, home=/users/geniuser, shell=/bin/tcsh, from=none
Jun 10 16:36:02 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us useradd[1488]: add 'geniuser' to group 'root'
Jun 10 16:36:02 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us useradd[1488]: add 'geniuser' to shadow group 'root'
Jun 10 16:36:03 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us testbed[1280]: updating local home directory
Jun 10 16:36:03 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us testbed[1280]: Adding: zhaofeng/20001/6418/1/zhaofeng//users/zhaofeng/
Jun 10 16:36:03 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us useradd[1506]: new user: name=zhaofeng, UID=20001, GID=6418, home=/users/zhaofeng, shell=/bin/bash, from=none
Jun 10 16:36:03 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us useradd[1506]: add 'zhaofeng' to group 'root'
Jun 10 16:36:03 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us useradd[1506]: add 'zhaofeng' to shadow group 'root'
Jun 10 16:36:03 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us testbed[1280]: updating local home directory
Jun 10 16:36:03 node0.zhaofeng-100266.redshift-pg0.wisc.cloudlab.us testbed[1280]: Checking Testbed route configuration [snip]
zhaofeng@node0:~$ id vikram
id: ‘vikram’: no such user

Leigh Stoller

unread,
Jun 10, 2021, 6:39:18 PM6/10/21
to cloudla...@googlegroups.com
at 3:32 PM, Zhaofeng Li <zhaof...@uci.edu> wrote:

> We used to be able to access experiments started by other people in the same project, but somehow this stopped working a few weeks ago. During boot the testbed service only creates geniuser as well as the user who started the experiment. Is it possible to restore the previous behavior and allow other project members access my experiments? Thank you!

Hi, I fixed this for future experiments. A bit of over zealous optimization
that needs be a tunable parameter.

Leigh

Zhaofeng Li

unread,
Jun 10, 2021, 6:52:30 PM6/10/21
to 'SJ' via cloudlab-users
Great, created a new experiment and it worked! Thanks a lot for your help!

Zhaofeng
-- 
You received this message because you are subscribed to the Google Groups "cloudlab-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudlab-user...@googlegroups.com.


linh....@gmail.com

unread,
Feb 20, 2022, 4:45:54 PM2/20/22
to cloudlab-users
Hi, 

I am running into this issue again with my experiments on Clemson, Wisconsin, and Emulab


Is this now an option that needs to be set via genilib?

Thanks, 

Linh

linh....@gmail.com

unread,
Feb 22, 2022, 8:59:23 AM2/22/22
to cloudlab-users
I reran my experiment and ran the commands that Zhaofeng ran from the original message:

docker:~> ls /users
geniuser  lngo
docker:~> sudo journalctl -u testbed
-- Logs begin at Tue 2022-02-22 08:54:34 EST, end at Tue 2022-02-22 08:56:49 EST. --
...
Feb 22 08:55:00 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]: Mounting project and home directories ...
Feb 22 08:55:00 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]:   Mount type is NFS (using TCP transport)
Feb 22 08:55:00 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]:   Mounting ops.clemson.cloudlab.us:/share on /share
Feb 22 08:55:01 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]:   Mounting ops.clemson.cloudlab.us:/proj/cloud-edu-PG0 on /proj/clou
Feb 22 08:55:01 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]: Checking Testbed Blobs configuration ...
Feb 22 08:55:01 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]: Checking Testbed user accounts configuration ...
Feb 22 08:55:01 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]: Adding group: cloud-edu-PG0/2450
Feb 22 08:55:02 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us groupadd[935]: group added to /etc/group: name=cloud-edu-PG0, GID=2450
Feb 22 08:55:02 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us groupadd[935]: group added to /etc/gshadow: name=cloud-edu-PG0
Feb 22 08:55:02 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us groupadd[935]: new group: name=cloud-edu-PG0, GID=2450
Feb 22 08:55:02 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]: Adding: lngo/20001/2450/1/lngo//users/lngo/
Feb 22 08:55:02 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us useradd[943]: new user: name=lngo, UID=20001, GID=2450, home=/users/lngo, shell=/b
Feb 22 08:55:02 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us useradd[943]: add 'lngo' to group 'root'
Feb 22 08:55:02 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us useradd[943]: add 'lngo' to shadow group 'root'
Feb 22 08:55:02 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]: updating local home directory
Feb 22 08:55:02 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]: Adding: geniuser/2002/2450/1/Geni User//users/geniuser/
Feb 22 08:55:03 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us useradd[960]: new user: name=geniuser, UID=2002, GID=2450, home=/users/geniuser, s
Feb 22 08:55:03 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us useradd[960]: add 'geniuser' to group 'root'
Feb 22 08:55:03 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us useradd[960]: add 'geniuser' to shadow group 'root'
Feb 22 08:55:03 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]: updating local home directory
Feb 22 08:55:03 docker.lngo-118637.cloud-edu-pg0.clemson.cloudlab.us testbed[559]: Checking Testbed route configuration ...
Feb 22 08:55:03 docker.lngo-118637.cloud-edu-pg0.clemson.cloud
...


Is there a setting for other users in the same project to be able to access these experiments?

Thanks, 

Linh

Leigh Stoller

unread,
Feb 22, 2022, 9:06:22 AM2/22/22
to cloudla...@googlegroups.com

> Is there a setting for other users in the same project to be able to access these experiments?

Hi. Not a setting, but we might have to add one. In the meantime I have
adjusted the limit, try creating your experiment again please.

Thanks
Leigh

linh....@gmail.com

unread,
Feb 22, 2022, 10:36:48 AM2/22/22
to cloudlab-users
Thank you, it works now. 

Linh

Reply all
Reply to author
Forward
0 new messages