Skip to content

[Bug]: Can't delete proxy on Dirac9 #8497

@HeloiseJoffe

Description

@HeloiseJoffe

Search before creating an issue

  • I have searched existing issues and confirmed this is not a duplicate

Bug Description

With the migration to DIRAC 9, the ProxyDB schema has changed and proxy groups no longer exist.
However, some parts of the code still assume that groups are present.
This leads to errors both in the WebApp and in the client when trying to delete proxies.

Steps to Reproduce

For the WebApp:

  1. Go to the ProxyManager on Dirac9 WebApp
  2. Try to delete a proxy
  3. The deletion fails with the following error:
File "/vo/dirac/versions/v9.0.18-1773218259/Linux-x86_64/lib/python3.11/site-packages/DIRAC/FrameworkSystem/Service/ProxyManagerHandler.py", line 258, in export_deleteProxyBundle
    retVal = self.export_deleteProxy(_id[0], _id[1])
                                             ~~~^^^
IndexError: list index out of range
2026-04-03T06:36:36,459813Z Framework/ProxyManager NOTICE: Returning response ([::ffff:134.158.225.143]:60768)[dirac_admin:hjoffe] (0.04 secs) ERROR: Server error while serving deleteProxyBundle: list index out of range

For the client:

  1. Go to the Dirac9 client
  2. Use the dirac_proxy_destroy command
  3. The function getProxyGroups() is called, but proxy groups no longer exist in DIRAC 9

Expected Behavior

No response

Actual Behavior

No response

Environment

No response

Relevant Log Output

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions