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

Error when permanently deleting VFolder with specific naming pattern in WebUI #3152

Open
yomybaby opened this issue Nov 27, 2024 · 0 comments
Labels
comp:manager Related to Manager component type:bug Reports about that are not working

Comments

@yomybaby
Copy link
Member

yomybaby commented Nov 27, 2024

When attempting to permanently delete a VFolder that has been moved to the trash, an error occurs if the folder name follows a specific pattern like "e2e-test-folder-sharing1732683913062". This issue can be reproduced in the Web UI. However, if the folder is shorter folder nam, such as test, it can be permanently deleted without any issues.

Steps to Reproduce

  1. Create a VFolder with a name following the pattern "e2e-test-folder-sharing1732683913062".
  2. Move the VFolder to the trash.
  3. Attempt to permanently delete the VFolder from the trash.
  4. Observe the error.

Expected Behavior

The VFolder should be permanently deleted without any errors, regardless of its name.

Actual Behavior

An error occurs when trying to permanently delete the VFolder with a specific naming pattern.

Error Logs

(Background on this error at: https://sqlalche.me/e/14/dbapi)" from manager
2024-11-27 13:51:59.795 ERROR ai.backend.manager.server [44034] Uncaught exception in HTTP request handlers DBAPIError("(sqlalchemy.dialects.postgresql.asyncpg.Error) <class 'asyncpg.exceptions.StringDataRightTruncationError'>: value too long for type character varying(64)")
Traceback (most recent call last):
  File "/Users/codejong/Workspace/lablup/bai-dev2403/dist/export/python/virtualenvs/python-default/3.12.6/lib/python3.12/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 442, in _prepare_and_execute
    self._rows = await prepared_stmt.fetch(*parameters)

Environment

  • Branch: 24.09.1
  • Reproducible on: dogbow

Additional Information

After renaming it to a shorter name, such as e2e-test-folder-shar, it worked properly again.

@rapsealk rapsealk changed the title Error when permanently deleting vFolder with specific naming pattern in WebUI Error when permanently deleting VFolder with specific naming pattern in WebUI Nov 27, 2024
@jopemachine jopemachine added type:bug Reports about that are not working comp:manager Related to Manager component labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:manager Related to Manager component type:bug Reports about that are not working
Projects
None yet
Development

No branches or pull requests

2 participants