However, we are unable to delete it and are receiving an error. We used the following parameters to delete it:-
[root@eos-slave ~]# eos -b vid rm vid:tident:“keosteam@eos-mgm”:gid
error: nothing has been removed (errc=22) (Invalid argument)
[root@eos-slave ~]# eos -b vid rm vid:tident:“keosteam@eos-mgm”:gid
error: nothing has been removed (errc=22) (Invalid argument)
[root@eos-slave ~]# eos -b vid rm vid:tident:“*”:gid
error: nothing has been removed (errc=22) (Invalid argument)
[root@eos-slave ~]# eos -b vid rm vid:tident:“”:gid
error: nothing has been removed (errc=22) (Invalid argument)
[root@eos-slave ~]# eos -b vid rm tident:“”:gid
error: nothing has been removed (errc=22) (Invalid argument)
[root@eos-slave ~]#
Try first entering the eos console and then issuing the vid rm command. In this way it’s easier since yo don’t need to do any escaping of the special characters. Therefore do:
We have run suggestion as you suggested, but it’s not work. Output are below:-
============
EOS Console [root://localhost] |/> vid rm tident:“keosteam@eos-mgm”:uid
error: nothing has been removed (errc=22) (Invalid argument)
EOS Console [root://localhost] |/> vid rm tident:“keosteam@eos-mgm”:gid
error: nothing has been removed (errc=22) (Invalid argument)
EOS Console [root://localhost] |/> exit
[root@eos-mgm ~]# eos vid rm tident:“keosteam@eos-mgm”:uid
error: nothing has been removed (errc=22) (Invalid argument)
[root@eos-mgm ~]# eos vid rm tident:“keosteam@eos-mgm”:gid
error: nothing has been removed (errc=22) (Invalid argument)
[root@eos-mgm ~]#
[root@eos-mgm ~]# eos vid rm tident:“@eos-mgm*“:gid
error: nothing has been removed (errc=22) (Invalid argument)
[root@eos-mgm ~]# eos vid rm tident:”*@eos-mgm”:uid
error: nothing has been removed (errc=22) (Invalid argument)
I tried running some similar commands on my setup running 5.3.32 and things work as expected, see below. What eos version are you running on the MGM?
$ eos vid set map -tident keosteam@eos-mgm vuid:99 vgid:99
success: set vid [ eos.rgid=0 eos.ruid=0 mgm.cmd=vid mgm.subcmd=set mgm.vid.auth=tident mgm.vid.cmd=map mgm.vid.gid=99 mgm.vid.key=<key> mgm.vid.pattern=keosteam@eos-mgm mgm.vid.uid=99 ]
$ eos vid ls | grep keos
tident:"keosteam@eos-mgm":gid => 99
tident:"keosteam@eos-mgm":uid => 99
$ eos
EOS Console [root://localhost] |/eos/dev/replica/> vid rm tident:"keosteam@eos-mgm":gid
success: rm vid [ eos.rgid=0 eos.ruid=0 mgm.cmd=vid mgm.subcmd=rm mgm.vid.key=tident:"keosteam@eos-mgm":gid]
EOS Console [root://localhost] |/eos/dev/replica/> vid rm tident:"keosteam@eos-mgm":uid
success: rm vid [ eos.rgid=0 eos.ruid=0 mgm.cmd=vid mgm.subcmd=rm mgm.vid.key=tident:"keosteam@eos-mgm":uid]
We have faces very complicated issue in Our Kolkata EOS2 i.e “Permission Denied and Access Restricted”. We had search many topics in eos community website and trying sort out with the help of resolution given it. But, unable sort out.
Hi @prasun ! The output is weird as the numeric uid is not translated to users. The users are needed on mgm to exist as UNIX users. In my case i have this:
in my case ignore the voms parts, those were my tryouts to have both gsi and ALICE token authentication. what is important is to have for unix authentication the aliprod/alice user defined on mgms