Skip to content

Commit

Permalink
warning message for missing nickname in IAM
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaeno committed Jun 20, 2024
1 parent 36cdaf5 commit ed2bc16
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
** Release Notes

1.5.75
* warning message for missing nickname in IAM

1.5.74
* added support for D2AODs in pathena

Expand Down
11 changes: 5 additions & 6 deletions pandaclient/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1603,14 +1603,13 @@ def get_cert_attributes(verbose=False):
return EC_Failed, msg
else:
d = dict()
for l in output.split("\n"):
if ":" not in l:
for line in output.split("\n"):
if ":" not in line:
continue
l = l.encode("utf-8")
print(l)
if not l.startswith("GRST_CRED"):
print(line)
if not line.startswith("GRST_CRED"):
continue
items = l.split(":")
items = line.split(":")
d[items[0].strip()] = items[1].strip()
return 0, d
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion pandaclient/PandaToolsPkgInfo.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release_version = "1.5.74"
release_version = "1.5.75"
4 changes: 1 addition & 3 deletions pandaclient/PsubUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ def getNickname(verbose=False):
tmpLog = PLogger.getPandaLogger()
wMessage = "Could not get nickname by using voms-proxy-info which gave\n\n"
wMessage += output
wMessage += "\nPlease register nickname to ATLAS VO via\n\n"
wMessage += " https://lcg-voms2.cern.ch:8443/voms/atlas/vomrs\n"
wMessage += " [Member Info] -> [Edit Personal Info]"
wMessage += "\nPlease contact VO Admins using [email protected] mailing list to register nickname in IAM"
print("")
tmpLog.warning(wMessage)
print("")
Expand Down

0 comments on commit ed2bc16

Please sign in to comment.