You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "JoaoJandre (via GitHub)" <gi...@apache.org> on 2026/08/20 13:45:49 UTC
[PR] Add backup file extraction feature [cloudstack]
JoaoJandre opened a new pull request, #13935:
URL: https://github.com/apache/cloudstack/pull/13935
### Description
This PR adds backup file extraction feature. Currently only supported by KBOSS.
This feature must be enabled in the backup offering through the `allowextractfile` parameter. If it is set to `true`, it will be possible to extract files from backups created with that offering.
The `listBackupFilesystems` API was added to allow listing file systems inside backup volumes:
| Parameter | Description | Required? |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `backupId` | ID of the backup for which the file systems should be listed | Yes |
| `volumeId` | ID of the volume belonging to the backup for which the file systems should be listed. If not provided, the file systems of all backup volumes will be listed | No |
<details><summary>Example execution of the <code>listBackupFilesystems</code> API</summary>
```
(labinterno) π± > list backupfilesystems backupid=ecb15182-d6a8-4044-8251-6d437b27b971
{
"count": 1,
"datastoreobject": [
{
"format": "ext4",
"isdirectory": false,
"isfilesystem": true,
"name": "/dev/sda1",
"size": 0,
"volumeid": "4af9cee2-6014-44fa-ac86-09a649b67363",
"volumename": "ROOT-198"
}
]
}
```
</details>
The `listBackupFiles` API was added to allow listing files inside backup volumes:
| Parameter | Description | Required? |
| ------------ | ------------------------------------------------------------------------------- | --------- |
| `backupId` | ID of the backup for which the files should be listed | Yes |
| `volumeId` | ID of the volume belonging to the backup for which the files should be listed | Yes |
| `filesystem` | Name of the file system that should be mounted in order to list the files | Yes |
| `path` | Path to be listed inside the mounted file system | Yes |
| `issymlink` | If the directory is a symbolic link to another directory. If not informed, ACS will check it | No |
The `filesystem` and `path` parameters expect that the files do not contain special characters such as `(`, `|`, or `>`, for example. Both are expected to receive values in the format `/path/to/something`.
<details><summary>Example execution of the <code>listBackupFiles</code> API</summary>
```
(labinterno) π± > list backupfiles backupid=ecb15182-d6a8-4044-8251-6d437b27b971 volumeid=4af9cee2-6014-44fa-ac86-09a649b67363 filesystem=/dev/sda1 path=/tmp
{
"count": 8,
"datastoreobject": [
{
"isdirectory": true,
"lastupdated": "2026-05-26T13:26:39+0000",
"name": ".ICE-unix",
"size": 4096,
"volumeid": "4af9cee2-6014-44fa-ac86-09a649b67363",
"volumename": "ROOT-198"
},
{
"isdirectory": true,
"lastupdated": "2026-05-26T13:26:39+0000",
"name": ".Test-unix",
"size": 4096,
"volumeid": "4af9cee2-6014-44fa-ac86-09a649b67363",
"volumename": "ROOT-198"
},
{
"isdirectory": true,
"lastupdated": "2026-05-26T13:26:39+0000",
"name": ".X11-unix",
"size": 4096,
"volumeid": "4af9cee2-6014-44fa-ac86-09a649b67363",
"volumename": "ROOT-198"
},
{
"isdirectory": true,
"lastupdated": "2026-05-26T13:26:39+0000",
"name": ".XIM-unix",
"size": 4096,
"volumeid": "4af9cee2-6014-44fa-ac86-09a649b67363",
"volumename": "ROOT-198"
},
{
"isdirectory": true,
"lastupdated": "2026-05-26T13:26:39+0000",
"name": ".font-unix",
"size": 4096,
"volumeid": "4af9cee2-6014-44fa-ac86-09a649b67363",
"volumename": "ROOT-198"
},
{
"isdirectory": true,
"lastupdated": "2026-05-26T13:26:45+0000",
"name": "netplan_a2jbieem",
"size": 4096,
"volumeid": "4af9cee2-6014-44fa-ac86-09a649b67363",
"volumename": "ROOT-198"
},
{
"isdirectory": true,
"lastupdated": "2026-05-26T13:26:42+0000",
"name": "systemd-private-5f39ee6fdaa3434caa2eb42ad39db34f-systemd-resolved.service-jLhWCz",
"size": 4096,
"volumeid": "4af9cee2-6014-44fa-ac86-09a649b67363",
"volumename": "ROOT-198"
},
{
"isdirectory": true,
"lastupdated": "2026-05-26T13:26:39+0000",
"name": "systemd-private-5f39ee6fdaa3434caa2eb42ad39db34f-systemd-timesyncd.service-3aOZJF",
"size": 4096,
"volumeid": "4af9cee2-6014-44fa-ac86-09a649b67363",
"volumename": "ROOT-198"
}
]
}
```
</details>
To download files, the `downloadBackupFile` API was added:
| Parameter | Description | Required? |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `backupId` | ID of the backup from which the file should be downloaded | Yes |
| `volumeId` | ID of the volume belonging to the backup from which the file should be downloaded | Yes |
| `filesystem` | Name of the file system that should be mounted in order to download the file | Yes |
| `path` | Path to be downloaded inside the mounted filesystem. If it is a file, it will be compressed using `gzip`; if it is a directory, it will be added to a `tar` archive and compressed using `gzip` | Yes |
The `filesystem` and `path` parameters expect that the files do not contain special characters such as `(`, `|`, or `>`, for example. Both are expected to receive values in the format `/path/to/something`.
<details><summary>Example execution of the <code>downloadBackupFile</code> API</summary>
```
(labinterno) π± > download backupfile backupid=ecb15182-d6a8-4044-8251-6d437b27b971 volumeid=4af9cee2-6014-44fa-ac86-09a649b67363 filesystem=/dev/sda1 path=/tmp/systemd-private-5f39ee6fdaa3434caa2eb42ad39db34f-systemd-resolved.service-jLhWCz
{
"downloadbackupfileresponse": {
"name": "systemd-private-5f39ee6fdaa3434caa2eb42ad39db34f-systemd-resolved.service-jLhWCz",
"state": "DOWNLOAD_URL_CREATED",
"url": "http://192.168.123.142/userdata/215a45db-70e1-4649-93cb-258abe572573/5967473b-29b1-4057-85a3-cd924a458033.gz"
}
}
```
</details>
The list and download file workflow was also added to the GUI.
### Types of changes
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] Build/CI
- [ ] Test (unit or integration test code)
### Feature/Enhancement Scale or Bug Severity
#### Feature/Enhancement Scale
- [X] Major
- [ ] Minor
#### Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [ ] Minor
- [ ] Trivial
### Screenshots (if appropriate):

### How Has This Been Tested?
### Test descriptions
| Test | Result |
| --- | --- |
| List filesystems for a volume containing filesystems | Filesystems returned |
| List filesystems for a volume without filesystems | Empty list returned |
| List filesystems for a backup without specifying the volume | List of all filesystems across all backup volumes returned |
| List files in a standard directory | List of files returned, with correct file types and sizes |
| List files in a symlink to a directory, specifying the `isSymlink=true` flag | List of files returned, with correct file types and sizes |
| List files in a symlink to a directory, without specifying the `isSymlink` flag | List of files returned, with correct file types and sizes |
| List files in an empty directory | Empty list returned |
| List files in a directory containing symlinks | List of files returned, including the symlink file, with its canonical path information |
| List files in a directory containing a symlink pointing to a non-existent path | List of files returned, excluding the symlink file |
| List files in a non-existent directory | Error (expected) |
| List files in a symlink pointing to another symlink | Error (expected) |
| Download a standard file | File downloaded successfully |
| Download a standard directory | File downloaded successfully |
| Download a symlink pointing to a file | File downloaded successfully |
| Download a symlink pointing to a directory | File downloaded successfully |
| Download a symlink pointing to another symlink | Error (expected) |
All the tests above were executed for both Linux ROOT volumes (ext4) and Windows ROOT volumes (NTFS).
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "RosiKyu (via GitHub) via commits" <co...@cloudstack.apache.org>.
RosiKyu commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7155615770
@blueorangutan test
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6400026476
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5949435867
<b>[SF] Trillian Build Failed (tid-17064)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6952565824
@RosiKyu a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5356863863
## [Codecov](https://app.codecov.io/gh/apache/cloudstack/pull/13935?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 3.40%. Comparing base ([`64178ea`](https://app.codecov.io/gh/apache/cloudstack/commit/64178ead02d18ec565ede449754bfad98799e857?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`554e36c`](https://app.codecov.io/gh/apache/cloudstack/commit/554e36c458647c8101e6b154136c97bf32f3911b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 4 commits behind head on main.
> :exclamation: There is a different number of reports uploaded between BASE (64178ea) and HEAD (554e36c). Click for more details.
>
> <details><summary>HEAD has 1 upload less than BASE</summary>
>
>| Flag | BASE (64178ea) | HEAD (554e36c) |
>|------|------|------|
>|unittests|1|0|
></details>
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #13935 +/- ##
=============================================
- Coverage 19.65% 3.40% -16.25%
=============================================
Files 6368 488 -5880
Lines 574943 41953 -532990
Branches 70355 7922 -62433
=============================================
- Hits 113015 1430 -111585
+ Misses 449658 40323 -409335
+ Partials 12270 200 -12070
```
| [Flag](https://app.codecov.io/gh/apache/cloudstack/pull/13935/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Ξ | |
|---|---|---|
| [uitests](https://app.codecov.io/gh/apache/cloudstack/pull/13935/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `3.40% <ΓΈ> (-0.01%)` | :arrow_down: |
| [unittests](https://app.codecov.io/gh/apache/cloudstack/pull/13935/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/cloudstack/pull/13935?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5368289065
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6469667164
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6463763301
> It would be nice if someone could test this using RPM, since I have not tested installing the RPM packages.
I can give it a quick look, @JoaoJandre . Do you need more then just a monkey test, i.e. specific functional tests? Or do you have a scripted version of the tests to perform?
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7165374423
@RosiKyu a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "GaOrtiga (via GitHub)" <gi...@apache.org>.
GaOrtiga commented on code in PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#discussion_r3845610780
##########
api/src/main/java/org/apache/cloudstack/api/command/user/backup/DownloadBackupFileCmd.java:
##########
@@ -0,0 +1,123 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package org.apache.cloudstack.api.command.user.backup;
+
+import com.cloud.event.EventTypes;
+import com.cloud.exception.InvalidParameterValueException;
+import com.cloud.user.Account;
+import org.apache.cloudstack.api.ACL;
+import org.apache.cloudstack.api.APICommand;
+import org.apache.cloudstack.api.ApiArgValidator;
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.BaseAsyncCmd;
+import org.apache.cloudstack.api.BaseCmd;
+import org.apache.cloudstack.api.Parameter;
+import org.apache.cloudstack.api.response.BackupResponse;
+import org.apache.cloudstack.api.response.ExtractResponse;
+import org.apache.cloudstack.api.response.VolumeResponse;
+import org.apache.cloudstack.backup.Backup;
+import org.apache.cloudstack.backup.BackupManager;
+
+import javax.inject.Inject;
+
+@APICommand(name = "downloadBackupFile",
+ description = "Download a file from a backup",
+ responseObject = ExtractResponse.class, since = "4.24.0.0")
Review Comment:
```suggestion
responseObject = ExtractResponse.class, since = "24.0.0")
```
##########
api/src/main/java/org/apache/cloudstack/api/command/user/backup/ListBackupFilesCmd.java:
##########
@@ -0,0 +1,118 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package org.apache.cloudstack.api.command.user.backup;
+
+import com.cloud.user.Account;
+import org.apache.cloudstack.api.ACL;
+import org.apache.cloudstack.api.APICommand;
+import org.apache.cloudstack.api.ApiArgValidator;
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.BaseListCmd;
+import org.apache.cloudstack.api.Parameter;
+import org.apache.cloudstack.api.response.BackupResponse;
+import org.apache.cloudstack.api.response.ListResponse;
+import org.apache.cloudstack.api.response.VolumeResponse;
+import org.apache.cloudstack.backup.Backup;
+import org.apache.cloudstack.backup.BackupManager;
+import org.apache.cloudstack.storage.browser.DataStoreObjectResponse;
+
+import javax.inject.Inject;
+import java.util.List;
+
+@APICommand(name = "listBackupFiles",
+ description = "List a backup inner files",
+ responseObject = DataStoreObjectResponse.class, since = "4.24.0.0")
Review Comment:
```suggestion
responseObject = DataStoreObjectResponse.class, since = "24.0.0")
```
##########
api/src/main/java/org/apache/cloudstack/api/command/user/backup/ListBackupFilesystemsCmd.java:
##########
@@ -0,0 +1,93 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package org.apache.cloudstack.api.command.user.backup;
+
+import com.cloud.user.Account;
+import org.apache.cloudstack.api.ACL;
+import org.apache.cloudstack.api.APICommand;
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.BaseListCmd;
+import org.apache.cloudstack.api.Parameter;
+import org.apache.cloudstack.api.response.BackupResponse;
+import org.apache.cloudstack.api.response.ListResponse;
+import org.apache.cloudstack.api.response.VolumeResponse;
+import org.apache.cloudstack.backup.Backup;
+import org.apache.cloudstack.backup.BackupManager;
+import org.apache.cloudstack.storage.browser.DataStoreObjectResponse;
+
+import javax.inject.Inject;
+import java.util.List;
+
+@APICommand(name = "listBackupFilesystems",
+ description = "List a backup inner file systems",
+ responseObject = DataStoreObjectResponse.class, since = "4.24.0.0")
Review Comment:
```suggestion
responseObject = DataStoreObjectResponse.class, since = "24.0.0")
```
##########
server/src/main/java/org/apache/cloudstack/backup/BackupManagerImpl.java:
##########
@@ -1900,6 +1907,107 @@ private void checkForPendingBackupJobs(final BackupVO backup) {
}
}
+ @Override
+ public List<DataStoreObjectResponse> listBackupFilesystems(long backupId, Long volumeId) {
+ BackupVO backupVO = backupDao.findById(backupId);
+ Backup.VolumeInfo backupVolumeInfo = validateBackupAndGetVolumeInfo(backupId, volumeId, backupVO);
+
+ BackupOfferingVO backupOfferingVO = backupOfferingDao.findById(backupVO.getBackupOfferingId());
+ BackupProvider backupProvider = getBackupProvider(backupOfferingVO.getProvider());
+ if (!KBOSS_BACKUP_PROVIDER.equals(backupProvider.getName())) {
+ throw new CloudRuntimeException(String.format("This feature is only supported for the %s provider currently", KBOSS_BACKUP_PROVIDER));
+ }
+
+ List<FilesystemInfoTO> filesystems = backupProvider.listBackupFilesystems(backupVO, backupVolumeInfo);
+
+ List<DataStoreObjectResponse> dataStoreObjectResponseList = new ArrayList<>();
+ for (FilesystemInfoTO fsInfoTO : filesystems) {
+ DataStoreObjectResponse dataStoreObjectResponse = new DataStoreObjectResponse(fsInfoTO.getName(), false, fsInfoTO.getSize(), null);
+ dataStoreObjectResponse.setIsFilesystem(true);
+ dataStoreObjectResponse.setFormat(fsInfoTO.getFilesystem());
+
+ VolumeVO volume = volumeDao.findByIdIncludingRemoved(fsInfoTO.getVolumeId());
+ dataStoreObjectResponse.setVolumeId(volume.getUuid());
+ dataStoreObjectResponse.setVolumeName(volume.getName());
+ dataStoreObjectResponseList.add(dataStoreObjectResponse);
+ }
+
+ return dataStoreObjectResponseList;
+ }
+
+ @Override
+ public List<DataStoreObjectResponse> listBackupFiles(long backupId, Long volumeId, String filesystem, String directory, Boolean isSymlink) {
+ BackupVO backupVO = backupDao.findById(backupId);
+ Backup.VolumeInfo backupVolumeInfo = validateBackupAndGetVolumeInfo(backupId, volumeId, backupVO);
+
+ BackupOfferingVO backupOfferingVO = backupOfferingDao.findById(backupVO.getBackupOfferingId());
+ BackupProvider backupProvider = getBackupProvider(backupOfferingVO.getProvider());
+ if (!KBOSS_BACKUP_PROVIDER.equals(backupProvider.getName())) {
+ throw new CloudRuntimeException(String.format("This feature is only supported for the %s provider currently", KBOSS_BACKUP_PROVIDER));
+ }
+
+ return backupProvider.listBackupFiles(backupVO, backupVolumeInfo, filesystem, directory, isSymlink);
+ }
+
+ @Override
+ public ExtractResponse downloadBackupFile(long backupId, Long volumeId, String filesystem, String file) {
+ BackupVO backupVO = backupDao.findById(backupId);
+ Backup.VolumeInfo backupVolumeInfo = validateBackupAndGetVolumeInfo(backupId, volumeId, backupVO);
+
+ BackupOfferingVO backupOfferingVO = backupOfferingDao.findById(backupVO.getBackupOfferingId());
+ BackupProvider backupProvider = getBackupProvider(backupOfferingVO.getProvider());
+ if (!KBOSS_BACKUP_PROVIDER.equals(backupProvider.getName())) {
+ throw new CloudRuntimeException(String.format("This feature is only supported for the %s provider currently", KBOSS_BACKUP_PROVIDER));
+ }
+
+ String url = backupProvider.downloadBackupFile(backupVO, backupVolumeInfo, filesystem, file);
+
+ ExtractResponse response = new ExtractResponse();
+ if (url == null) {
+ response.setState(Upload.Status.DOWNLOAD_URL_NOT_CREATED.toString());
+ return response;
+ }
+
+ response.setUrl(url);
+ response.setName(file.substring(file.lastIndexOf("/") + 1));
+ response.setState(Upload.Status.DOWNLOAD_URL_CREATED.toString());
+ return response;
+ }
+
+ private Backup.VolumeInfo validateBackupAndGetVolumeInfo(long backupId, Long volumeId, BackupVO backupVO) {
+ if (backupVO == null) {
+ logger.warn("Unable to find backup with ID [{}].", backupId);
+ throw new InvalidParameterValueException("Unable to find backup with given ID.");
+ }
+
+ if (backupVO.getStatus() != Backup.Status.BackedUp) {
+ throw new InvalidParameterValueException(String.format("Backup [%s] is not in the right state to list its filesystems. It should be in [%s] state, but it is in [%s] " +
+ "state.", backupVO.getUuid(), Backup.Status.BackedUp.name(), backupVO.getStatus().name()));
+ }
+
+ Long vmId = backupVO.getVmId();
+ VMInstanceVO vm = vmInstanceDao.findByIdIncludingRemoved(vmId);
+ if (vm == null) {
+ throw new CloudRuntimeException(String.format("Unable to find VM for backup [%s].", backupVO.getUuid()));
Review Comment:
```suggestion
throw new CloudRuntimeException(String.format("Unable to find VM from backup [%s].", backupVO.getUuid()));
```
##########
api/src/main/java/org/apache/cloudstack/api/command/user/backup/ListBackupFilesCmd.java:
##########
@@ -0,0 +1,118 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package org.apache.cloudstack.api.command.user.backup;
+
+import com.cloud.user.Account;
+import org.apache.cloudstack.api.ACL;
+import org.apache.cloudstack.api.APICommand;
+import org.apache.cloudstack.api.ApiArgValidator;
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.BaseListCmd;
+import org.apache.cloudstack.api.Parameter;
+import org.apache.cloudstack.api.response.BackupResponse;
+import org.apache.cloudstack.api.response.ListResponse;
+import org.apache.cloudstack.api.response.VolumeResponse;
+import org.apache.cloudstack.backup.Backup;
+import org.apache.cloudstack.backup.BackupManager;
+import org.apache.cloudstack.storage.browser.DataStoreObjectResponse;
+
+import javax.inject.Inject;
+import java.util.List;
+
+@APICommand(name = "listBackupFiles",
+ description = "List a backup inner files",
+ responseObject = DataStoreObjectResponse.class, since = "4.24.0.0")
+public class ListBackupFilesCmd extends BaseListCmd {
+
+ @Inject
+ private BackupManager backupManager;
+
+ /////////////////////////////////////////////////////
+ //////////////// API parameters /////////////////////
+ /////////////////////////////////////////////////////
+
+ @ACL
+ @Parameter(name = ApiConstants.BACKUP_ID, type = CommandType.UUID, entityType = BackupResponse.class, required = true,
+ description = "ID of the backup to list the files.")
+ private Long backupId;
+
+ @ACL
+ @Parameter(name = ApiConstants.VOLUME_ID, type = CommandType.UUID, entityType = VolumeResponse.class, required = true,
+ description = "ID of the volume.")
+ private Long volumeId;
+
+ @Parameter(name = ApiConstants.FILESYSTEM, type = CommandType.STRING, required = true,
+ description = "Filesystem to list the files in.", validations = {ApiArgValidator.LimitedSpecialCharacters})
+ private String filesystem;
+
+ @Parameter(name = ApiConstants.PATH, type = CommandType.STRING, required = true,
+ description = "Path to list files in the backed-up volume.", validations = {ApiArgValidator.LimitedSpecialCharacters})
+ private String path;
+
+ @Parameter(name = ApiConstants.IS_SYMLINK, type = CommandType.BOOLEAN,
+ description = "Path to list files in the backed-up volume.")
Review Comment:
```suggestion
description = "Indicates whether the path references a symlink.")
```
##########
plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/qemu/GuestfishClient.java:
##########
@@ -0,0 +1,420 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package org.apache.cloudstack.utils.qemu;
+
+import com.cloud.agent.api.to.FilesystemInfoTO;
+import com.cloud.utils.exception.CloudRuntimeException;
+import com.cloud.utils.script.OutputInterpreter;
+import com.cloud.utils.script.Script;
+import org.apache.cloudstack.storage.command.browser.ListDataStoreObjectsAnswer;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+
+import java.io.IOException;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+/**
+ * This class was built to use guestfish commands on qcow2 volumes.
+ * It should always be instanced with try-with-resources
+ * Otherwise, be sure to call close().
+ * */
+
+public class GuestfishClient implements AutoCloseable {
+ private Logger logger = LogManager.getLogger(getClass());
+
+ private static final int MODE_MASK = 0_170_000;
+ private static final int SYMLINK = 0_120_000;
+ private static final int DIRECTORY = 0_040_000;
+ private static final int FILE = 0_100_000;
+
+ private static final String GUESTFISH = "guestfish";
+ private static final String GUESTFISH_PID_STRING = "GUESTFISH_PID=";
+ private static final String MODE = "st_mode";
+ private static final String SIZE = "st_size";
+ private static final String ATIME_SEC = "st_atime_sec";
+
+ // Guestfish commands
+ protected static final String MOUNT_RO = "mount-ro";
+ protected static final String UMOUNT_ALL = "umount-all";
+ protected static final String TAR_OUT = "tar-out";
+ protected static final String COMPRESS_OUT = "compress-out";
+ protected static final String LIST_FILESYSTEMS = "list-filesystems";
+ protected static final String LSTATNS = "lstatns";
+ protected static final String LSTATNSLIST = "lstatnslist";
+ protected static final String IS_SYMLINK = "is-symlink";
+ protected static final String READLINK = "readlink";
+ protected static final String BLOCKDEV_GETSIZE_64 = "blockdev-getsize64";
+ protected static final String LS = "ls";
+ protected static final String EXISTS = "exists";
+
+ private static final int MILI = 1000;
+
+ private final String guestfishPid;
+ private final long volumeId;
+
+ /**
+ * No-arg constructor for test purposes
+ */
+ protected GuestfishClient() {
+ guestfishPid = "0";
+ volumeId = 0;
+ }
+
+ public GuestfishClient(String qcow2Path, long volumeId) {
+ this.volumeId = volumeId;
+
+ Script script = new Script(GUESTFISH);
+ script.add("--listen");
+ script.add("--ro");
+
+ OutputInterpreter.OneLineParser parser = new OutputInterpreter.OneLineParser();
+ String scriptResult = script.execute(parser);
+ if (scriptResult != null) {
+ throw new CloudRuntimeException("Could not start guestfish. Is it installed?");
+ }
+
+ String output = parser.getLine();
+
+ this.guestfishPid = parseGuestfishPid(output);
+
+ if (guestfishPid == null) {
+ throw new CloudRuntimeException("Could not parse guestfish PID.");
+ }
+
+ runGuestfishRemoteCommand("add-drive-ro", qcow2Path);
+ runGuestfishRemoteCommand("run");
+ }
+
+ /**
+ * List filesystems. Will not return swap or unknown filesystems.
+ */
+ public List<FilesystemInfoTO> listFilesystems() {
+ String output = runGuestfishRemoteCommand(LIST_FILESYSTEMS);
+ List<FilesystemInfoTO> result = new ArrayList<>();
+
+ logger.debug("Got the following output from list-filesystems: [{}]", output);
+ output.lines().forEach( line ->{
+ line = line.trim();
+ if (line.isEmpty()) {
+ return;
+ }
+
+ String[] parts = line.split(":");
+ if (parts.length != 2) {
+ return;
+ }
+
+ String device = parts[0].trim();
+ String type = parts[1].trim();
+ if (type.equalsIgnoreCase("swap") || type.equalsIgnoreCase("unknown")) {
+ logger.debug("Ignoring filesystem [{}] with [{}] type.", device, type);
+ return;
+ }
+
+ String size = runGuestfishRemoteCommand(BLOCKDEV_GETSIZE_64, device);
+
+ result.add(new FilesystemInfoTO(device, type, parseLong(size), volumeId));
+ });
+
+ return result;
+ }
+
+ /**
+ * List files in the given directory. If the directory is a symlink, will try to resolve it, if we are unable to resolve it in one hop, we will return an error.
+ * */
+ public ListDataStoreObjectsAnswer listFiles(String filesystem, String directory, Boolean isSymlink) {
+ try {
+ mount(filesystem);
+
+ if (isSymlink == null) {
+ String isSymlinkString = runGuestfishRemoteCommand(IS_SYMLINK, directory);
+ isSymlink = Boolean.parseBoolean(isSymlinkString);
+ }
+
+ if (isSymlink) {
+ logger.debug("Directory [{}] is a symlink, will try resolve it.", directory);
+ directory = (directory.charAt(directory.length() - 1) == '/' ? directory.substring(0, directory.length() - 1) : directory);
+ String canonicalPath = getCanonicalPath(directory);
+ if (canonicalPath == null) {
+ return new ListDataStoreObjectsAnswer();
+ }
+
+ String isSymlinkString = runGuestfishRemoteCommand(IS_SYMLINK, canonicalPath);
+ isSymlink = Boolean.parseBoolean(isSymlinkString);
+ if (isSymlink) {
+ logger.warn("Directory [{}] is a symlink chain. Unable to list its files. Please try to list the real directory.", directory);
+ return new ListDataStoreObjectsAnswer();
+ }
+ logger.debug("Directory [{}] was resolved to [{}].", directory, canonicalPath);
+ directory = canonicalPath;
+ }
+
+ String lsOutput = runGuestfishRemoteCommand(LS, directory);
+
+ List<String> fileList = lsOutput.lines().filter(StringUtils::isNotBlank).collect(Collectors.toList());
+
+ List<String> names = new ArrayList<>();
+ List<String> paths = new ArrayList<>();
+ List<String> canonicalPaths = new ArrayList<>();
+ List<Boolean> isDirs = new ArrayList<>();
+ List<Boolean> isSymlinks = new ArrayList<>();
+ List<Long> sizes = new ArrayList<>();
+ List<Long> modifiedList = new ArrayList<>();
+
+ if (fileList.isEmpty()) {
+ return new ListDataStoreObjectsAnswer(true, 0, names, paths, canonicalPaths, isDirs, sizes, modifiedList);
+ }
+
+ String details = getDetails(directory, fileList);
+ logger.trace("Got the following details for these files [{}]: [{}]", fileList, details);
+
+ addFilesToLists(directory, details, fileList, names, paths, canonicalPaths, isDirs, isSymlinks, sizes, modifiedList);
+
+ return new ListDataStoreObjectsAnswer(true, names.size(), names, paths, canonicalPaths, isDirs, isSymlinks, sizes, modifiedList);
+ } finally {
+ runGuestfishRemoteCommand(UMOUNT_ALL);
+ }
+ }
+
+ /**
+ * Extracts a file from the given filesystem and path to the destination. If followSymlink is true will try to resolve it, if we cannot do it in one hop we throw an error.
+ * */
+ public boolean extractFile(String filesystem, String filePath, String destination, boolean followSymlink) {
+ mount(filesystem);
+
+ String details = runGuestfishRemoteCommand(LSTATNS, filePath);
+ Map<String, String> stat = parseKeyValueOutput(details);
+ long mode = parseLong(stat.get(MODE));
+ long fileType = mode & MODE_MASK;
+ boolean isSymlink = fileType == SYMLINK;
+
+ if (isSymlink && followSymlink) {
+ logger.debug("File is a symlink, will try to resolve it in order to download the actual file.");
+ String canonicalPath = getCanonicalPath(filePath);
+ if (canonicalPath == null) {
+ runGuestfishRemoteCommand(UMOUNT_ALL);
+ throw new CloudRuntimeException(String.format("File [%s] is a symlink to a non-existent file. Unable to download.", fileType));
+ }
+
+ return extractFile(filesystem, canonicalPath, destination, false);
+ } else if (isSymlink) {
+ runGuestfishRemoteCommand(UMOUNT_ALL);
+ throw new CloudRuntimeException(String.format("Unable to extract file at [%s]. It seems like a symlink chain. Try to download the actual file at the end of the chain.",
+ filePath));
+ }
+
+ boolean isDirectory = fileType == DIRECTORY;
+ boolean isFile = fileType == FILE;
+ try {
+ if (isDirectory) {
+ logger.debug("Extracting directory at [{}] to [{}].", filePath, destination);
+ runGuestfishRemoteCommand(TAR_OUT, filePath, destination, "compress:gzip");
+ } else if (isFile) {
+ logger.debug("Extracting file at [{}] to [{}].", filePath, destination);
+ runGuestfishRemoteCommand(COMPRESS_OUT, "gzip", filePath, destination);
+ } else {
+ throw new CloudRuntimeException(String.format("Unable to extract file at [%s]. It is neither a file nor a directory.", filePath));
+ }
+ } catch (Exception e) {
+ logger.error("Caught exception while extracting file, will try to delete any leftovers and rethrow the exception.", e);
+ try {
+ Files.deleteIfExists(Path.of(destination));
+ } catch (IOException ignored) {
+ }
+ throw e;
+ } finally {
+ runGuestfishRemoteCommand(UMOUNT_ALL);
+ }
+ return isDirectory;
+ }
+
+ protected String getDetails(String directory, List<String> fileList) {
+ String fileListString = formatFileListForLstatnslist(fileList);
+
+ return runGuestfishRemoteCommand(LSTATNSLIST, directory, fileListString);
+ }
+
+
+ protected String formatFileListForLstatnslist(List<String> fileList) {
+ StringBuilder fileListStringBuilder = new StringBuilder();
+ for (String string : fileList) {
+ fileListStringBuilder.append("'");
+ fileListStringBuilder.append(string);
+ fileListStringBuilder.append("'");
+ fileListStringBuilder.append(" ");
+ }
+ fileListStringBuilder.deleteCharAt(fileListStringBuilder.length() - 1);
+ return fileListStringBuilder.toString();
+ }
+
+ /**
+ * Given the directory, file list and details of those files, will populate the names, paths, canonicalPaths, isDirs, isSymlinks, sizes and modifiedList lists.
Review Comment:
```suggestion
* Given the directory, file list, and details of those files, will populate the names, paths, canonicalPaths, isDirs, isSymlinks, sizes and modifiedList lists.
```
An oxford comma here makes it more readable IMO.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5954834966
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6471264329
<b>[SF] Trillian Build Failed (tid-17315)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5934363725
<b>[SF] Trillian Build Failed (tid-17060)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "RosiKyu (via GitHub) via commits" <co...@cloudstack.apache.org>.
RosiKyu commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7165349262
@blueorangutan test
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "JoaoJandre (via GitHub)" <gi...@apache.org>.
JoaoJandre commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5361042775
It would be nice if someone could test this using RPM, since I have not tested installing the RPM packages.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5933668346
@blueorangutan test
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5950808000
@blueorangutan shutup
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5951860237
Packaging result [SF]: βοΈ el8 βοΈ el9 βοΈ el10 βοΈ debian βοΈ suse15. SL-JID 19379
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6955183150
Packaging result [SF]: βοΈ el8 βοΈ el9 βοΈ el10 βοΈ debian βοΈ suse15. SL-JID 20080
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7144297624
@RosiKyu a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5369735327
@blueorangutan package el9
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5934073900
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "RosiKyu (via GitHub) via commits" <co...@cloudstack.apache.org>.
RosiKyu commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6961271038
@JoaoJandre I tested this on a KVM lab (Oracle Linux 9, advanced zone) with KBOSS, first on 24.0 without this PR, then the PR packages. The agent package installs `guestfs-tools` and `libguestfs` on the hosts by itself, and listing file systems and files, downloading a file, a folder and a symlink, the "Browse backup files" tab and KBOSS backup/restore all work for the root admin. Bad paths and an offering without `allowextractfile` are refused on download.
Two questions:
1. Which roles should be able to use this? With the PR packages, `listBackupFilesystems`, `listBackupFiles` and `downloadBackupFile` are only in the root admin's `listApis`. For a user and a domain admin they are not listed and the call gives "unknown command", while `createBackup`, `listBackups` and `restoreBackup` are listed for both. Is the feature meant to be root admin only, or should users be able to get files back from their own VM backups?
2. What exactly should `allowextractfile` control? On a KBOSS backup whose offering does not have `allowextractfile`, `downloadBackupFile` is refused ("... as its backup offering does not allow it."), but `listBackupFilesystems` and `listBackupFiles` still list the contents (for example the file names under `/root`), and the backup shows `browsable: true`, so the "Browse backup files" tab is offered for it too. Is listing meant to be allowed without the setting, with only the download blocked?
Also noticed:
- `listBackupFiles` returns all entries whatever `keyword`, `page` and `pagesize` are set to (for example `keyword=host` on `/etc` returns all 218 entries).
- A missing folder or file, or bad input, gives "Unable to list/download files of backup [...]. Please check the logs."
Thanks!
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "JoaoJandre (via GitHub) via commits" <co...@cloudstack.apache.org>.
JoaoJandre commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7133544229
> 1. Unable to list files of backup
@RosiKyu thank you for the tests and responses!
Regarding the error message, guestfish does not inform us if the path is wrong or the filesystem does not exist; it will simply throw a generic error. So we can't be sure if the problem is the wrong path/filesystem. Nonetheless, when using this feature through the GUI, this should not be an issue.
In any case, I have updated the error messages to add a note about checking if the path/filesystem is correct.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "github-actions[bot] (via GitHub) via commits" <co...@cloudstack.apache.org>.
github-actions[bot] commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6850951248
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "JoaoJandre (via GitHub) via commits" <co...@cloudstack.apache.org>.
JoaoJandre commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6988266670
> @JoaoJandre I tested this on a KVM lab (Oracle Linux 9, advanced zone) with KBOSS, first on 24.0 without this PR, then the PR packages. The agent package installs `guestfs-tools` and `libguestfs` on the hosts by itself, and listing file systems and files, downloading a file, a folder and a symlink, the "Browse backup files" tab and KBOSS backup/restore all work for the root admin. Bad paths and an offering without `allowextractfile` are refused on download.
>
> Two questions:
>
> 1. Which roles should be able to use this? With the PR packages, `listBackupFilesystems`, `listBackupFiles` and `downloadBackupFile` are only in the root admin's `listApis`. For a user and a domain admin they are not listed and the call gives "unknown command", while `createBackup`, `listBackups` and `restoreBackup` are listed for both. Is the feature meant to be root admin only, or should users be able to get files back from their own VM backups?
>
> 2. What exactly should `allowextractfile` control? On a KBOSS backup whose offering does not have `allowextractfile`, `downloadBackupFile` is refused ("... as its backup offering does not allow it."), but `listBackupFilesystems` and `listBackupFiles` still list the contents (for example the file names under `/root`), and the backup shows `browsable: true`, so the "Browse backup files" tab is offered for it too. Is listing meant to be allowed without the setting, with only the download blocked?
>
>
> Also noticed:
>
> * `listBackupFiles` returns all entries whatever `keyword`, `page` and `pagesize` are set to (for example `keyword=host` on `/etc` returns all 218 entries).
>
> * A missing folder or file, or bad input, gives "Unable to list/download files of backup [...]. Please check the logs."
>
>
> Thanks!
@RosiKyu Regarding your first question, these APIs were not included in the default roles, but custom roles can add permission for the APIs. Regarding your second question, you got it correctly, you can list the filesystems/files of a backup regardless of the configuration, but you cannot download a file unless the offering allows it, this is intended.
For the page, pagesize and keyword, I believe these parameters should not be available in these APIs. Since guestfish does not support pagination, we would have to get everything from the backup anyway and filter it inside ACS. I will remove these parameters from these two APIs.
For your last note, could you give me an example (with reproducible steps) of when does this happen?
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "github-actions[bot] (via GitHub) via commits" <co...@cloudstack.apache.org>.
github-actions[bot] commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7100236735
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "JoaoJandre (via GitHub)" <gi...@apache.org>.
JoaoJandre commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5698456396
@blueorangutan package
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5369743813
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with el9 SystemVM template(s). I'll keep you posted as I make progress.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "RosiKyu (via GitHub) via commits" <co...@cloudstack.apache.org>.
RosiKyu commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6952530387
@blueorangutan package
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "RosiKyu (via GitHub) via commits" <co...@cloudstack.apache.org>.
RosiKyu commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7144257599
@blueorangutan package
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7155634858
@RosiKyu a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7146253667
Packaging result [SF]: βοΈ el8 βοΈ el9 βοΈ el10 βοΈ debian βοΈ suse15. SL-JID 20163
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5370209668
Packaging result [SF]: βοΈ el8 βοΈ el9 βοΈ debian βοΈ suse15. SL-JID 18944
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5386065274
Packaging result [SF]: βοΈ el8 βοΈ el9 βοΈ debian βοΈ suse15. SL-JID 18962
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5698491131
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5699200976
Packaging result [SF]: βοΈ el8 βοΈ el9 βοΈ el10 βοΈ debian βοΈ suse15. SL-JID 19263
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6474128692
<b>[SF] Trillian Build Failed (tid-17317)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6465489167
Packaging result [SF]: βοΈ el8 βοΈ el9 βοΈ el10 βοΈ debian βοΈ suse15. SL-JID 19791
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "RosiKyu (via GitHub) via commits" <co...@cloudstack.apache.org>.
RosiKyu commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6956978979
@blueorangutan test
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6957955129
<b>[SF] Trillian Build Failed (tid-17586)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "RosiKyu (via GitHub) via commits" <co...@cloudstack.apache.org>.
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7156431513
<b>[SF] Trillian Build Failed (tid-17624)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "JoaoJandre (via GitHub)" <gi...@apache.org>.
JoaoJandre commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6467727001
> > It would be nice if someone could test this using RPM, since I have not tested installing the RPM packages.
>
> I can give it a quick look, @JoaoJandre . Do you need more then just a monkey test, i.e. specific functional tests? Or do you have a scripted version of the tests to perform?
@DaanHoogland
A simple test would work:
1. Install packages
2. Set the backup provider to KBOSS
3. Create a backup offering with `Allow file extraction`
4. Take a backup using such offering
5. Check if it is possible to browse/download a file
Honestly my main concern is just if the guestfish is being correctly installed when the RPMs are installed. The rest should work.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6956992746
@RosiKyu a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5934152081
<b>[SF] Trillian Build Failed (tid-17059)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5954807612
@blueorangutan test
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-5955540735
<b>[SF] Trillian Build Failed (tid-17068)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6463736040
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6463724894
@blueorangutan package
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6469637867
@blueorangutan test keepEnv
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6469797631
<b>[SF] Trillian Build Failed (tid-17312)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-6520086869
@JoaoJandre , not sure if this is because the lab is to busy or a real failure. I'll have to abandon it for a while, sorry.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add backup file extraction feature [cloudstack]
Posted by "blueorangutan (via GitHub) via commits" <co...@cloudstack.apache.org>.
blueorangutan commented on PR #13935:
URL: https://github.com/apache/cloudstack/pull/13935#issuecomment-7166480572
<b>[SF] Trillian Build Failed (tid-17634)<b/>
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org