Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Cannot delete registry auth. #391

Open
cblmemo opened this issue Dec 27, 2024 · 0 comments
Open

[Bug] Cannot delete registry auth. #391

cblmemo opened this issue Dec 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cblmemo
Copy link

cblmemo commented Dec 27, 2024

Describe the bug
Sometimes the deletion of registry auth will throw unclear error.

Using python:

def delete_register_auth(registry_auth_id: str) -> None:
    """Deletes a registry auth."""
    try:
        runpod.runpod.delete_container_registry_auth(registry_auth_id)
    except runpod.runpod.error.QueryError as e:
        logger.warning(f'Failed to delete registry auth {registry_auth_id}: {e}'
                       'Please delete it manually.')

got:

{'errors': [{'message': 'Something went wrong. Please try again later or contact support.', 'path': ['deleteRegistryAuth'], 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}], 'data': {'deleteRegistryAuth': None}}
Failed to delete registry auth <auth-id>: Something went wrong. Please try again later or contact support.Please delete it manually.

Using cloud console:

image

To Reproduce
This error cannot be stably reproduced. It happens 3 times for about 20 auth registry.

Expected behavior
Delete successful without any error, or more information.

Screenshots
see the description above.

Desktop (please complete the following information):

  • OS: Macos
  • Browser safari

CLI (please complete the following information):

  • Device: Debian GNU/Linux 11 (bullseye)
  • OS: Debian GNU/Linux 11 (bullseye)
  • Version: python sdk, runpod==1.7.7

Additional context
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants