Silent failure of DockerAgent.push_image()
due to absense of exception handling
#2569
Labels
comp:agent
Related to Agent component
What Operating System(s) are you seeing this problem on?
Linux (x86-64)
Backend.AI version
main
Describe the bug
If the credential information or access token is incorrect,
DockerAgent.push_image()
fails, but the session export process is still marked as completed successfully on the terminal.backend.ai/src/ai/backend/agent/docker/agent.py
Line 1346 in 859b09d
For example, when
DockerAgent.push_image()
fails, you can tell that the request failed from the following output.However, the user is informed that the session commit request was successful, and no error messages are displayed on the manager or agent consoles.
To Reproduce
Committing the session after recording an incorrect value in the password
Expected Behavior
A success message should only be displayed in the case of success.
Anything else?
No response
The text was updated successfully, but these errors were encountered: