Skip to content

[sweep:integration] robot cert nicknames#8259

Merged
fstagni merged 1 commit into
DIRACGrid:integrationfrom
DIRACGridBot:cherry-pick-2-915bffece-integration
Jul 15, 2025
Merged

[sweep:integration] robot cert nicknames#8259
fstagni merged 1 commit into
DIRACGrid:integrationfrom
DIRACGridBot:cherry-pick-2-915bffece-integration

Conversation

@DIRACGridBot

Copy link
Copy Markdown

Sweep #8255 robot cert nicknames to integration.

Adding original author @marianne013 as watcher.

BEGINRELEASENOTES

*ConfigurationSystem
FIX: Stops VOMS2CSSynchronizer crashing on robot DNs that don't follow the CERN pattern.

ENDRELEASENOTES

Comment on lines +92 to +98
nameok = False
if len(names) > 1:
for name in names[1:]:
if not name.isdigit():
nameok = True
if nameok:
names.pop(0)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the logic here intended to be this (I think it's equivalent to what is currently written):

Suggested change
nameok = False
if len(names) > 1:
for name in names[1:]:
if not name.isdigit():
nameok = True
if nameok:
names.pop(0)
for name in names[1:]:
if not name.isdigit():
# Remove the "robot.*" prefix
names.pop(0)
break

@fstagni
fstagni merged commit 1532612 into DIRACGrid:integration Jul 15, 2025
31 of 32 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep:from rel-v8r0 sweep:ignore Prevent sweeping from being ran for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants