RosiKyu commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7126357597
@JoaoJandre thank you for the answers!
**Steps to reproduce for my last note:**
1. `list backupfiles backupid={backup} volumeid={root volume}
filesystem=/dev/VolGroup00/LogVol00 path=/nonexistent`
Result: `(HTTP 530, error code 4250) Unable to list files of backup
[{backup}]. Please check the logs.`
2. `list backupfiles backupid={backup} volumeid={root volume}
filesystem=/dev/sdz9 path=/` (a file system that is not in the backup)
Result: the same message.
3. `download backupfile backupid={backup} volumeid={root volume}
filesystem=/dev/VolGroup00/LogVol00 path=/etc/does-not-exist`
Result: the job fails with `Unable to download files of backup
[{backup}]. Please check the logs.`
The calls are refused, which is right. My note is only about the message: it
doesn't tell the user that the folder, file or file system was not found, so a
user has to ask an admin to read the logs.
Also, the GitHub build of the last commit fails at checkstyle, so I can't
retest it yet:
```
[ERROR]
/home/runner/work/cloudstack/cloudstack/api/src/main/java/org/apache/cloudstack/api/command/user/backup/ListBackupFilesystemsCmd.java:24:8:
Unused import - org.apache.cloudstack.api.BaseListCmd. [UnusedImports]
[ERROR]
/home/runner/work/cloudstack/cloudstack/api/src/main/java/org/apache/cloudstack/api/command/user/backup/ListBackupFilesCmd.java:25:8:
Unused import - org.apache.cloudstack.api.BaseListCmd. [UnusedImports]
```
The PR also has merge conflicts with main now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]