You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "slavkap (via GitHub)" <gi...@apache.org> on 2025/08/20 13:38:28 UTC
[PR] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
slavkap opened a new pull request, #11490:
URL: https://github.com/apache/cloudstack/pull/11490
### Description
This PR fixes:
- When a snapshot has a copy on StorPool primary storage in another zone, but the original snapshot resides on secondary storage, creating a template from the copied snapshot results in the template being created in the first zone.
- For NFS/Ceph - if the `snapshot.backup.to.secondary` setting is disabled, and a user creates a volume or template from a snapshot, the snapshot is temporarily backed up to secondary storage during the operation. After the operation, this backup should be deleted. However, the snapshot currently remains on both primary and secondary storage.
<!--- ******************************************************************************* -->
<!--- NOTE: AUTOMATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE DOCUMENTATION. -->
<!--- PLEASE PUT AN 'X' in only **ONE** box -->
<!--- ******************************************************************************* -->
### Types of changes
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [X] 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)
#### Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [X] Major
- [ ] Minor
- [ ] Trivial
### Screenshots (if appropriate):
### How Has This Been Tested?
manually tested and still testing it
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211356771
@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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211316161
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware 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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "slavkap (via GitHub)" <gi...@apache.org>.
slavkap commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211445644
Tested with Ceph
`snapshot.backup.to.secondary` = true
Create a snapshot from the ROOT volume
- create a template from the snapshot - passed
- create a volume from the snapshot - passed
`snapshot.backup.to.secondary` = false
Create a snapshot from the ROOT volume
- create a template from the snapshot - passed // The snapshot is backed up to the secondary storage, and after creating the volume, the backup is deleted
- create a volume from the snapshot - passed // The snapshot is backed up to the secondary storage, and after creating the template, the backup is deleted
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3206795940
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14681
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3206956411
@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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211564981
@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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211310534
@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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "slavkap (via GitHub)" <gi...@apache.org>.
slavkap commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3210105287
thanks @rp-, I'm working on it
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#discussion_r2291588233
##########
engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java:
##########
@@ -579,19 +579,18 @@ public VolumeInfo createVolumeFromSnapshot(Volume volume, Snapshot snapshot, Use
VolumeInfo vol = volFactory.getVolume(volume.getId());
long zoneId = volume.getDataCenterId();
DataStore store = dataStoreMgr.getDataStore(pool.getId(), DataStoreRole.Primary);
- DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot);
+ DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
SnapshotInfo snapInfo = snapshotFactory.getSnapshotWithRoleAndZone(snapshot.getId(), dataStoreRole, zoneId);
- boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole);
+ boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole, zoneId);
logger.debug("Creating volume from snapshot, with dataStore role {} and on primary storage: {}", dataStoreRole, kvmSnapshotOnlyInPrimaryStorage);
boolean storageSupportSnapshotToTemplateEnabled = snapshotHelper.isStorageSupportSnapshotToTemplate(snapInfo);
Review Comment:
```suggestion
boolean storageSupportSnapshotToTemplateEnabled = snapshotHelper.isStorageSupportSnapshotToTemplate(snapInfo);
// storageSupportSnapshotToTemplateEnabled is true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or check for StorPool storage type only]
```
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "slavkap (via GitHub)" <gi...@apache.org>.
slavkap commented on code in PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#discussion_r2291598067
##########
engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java:
##########
@@ -579,19 +579,18 @@ public VolumeInfo createVolumeFromSnapshot(Volume volume, Snapshot snapshot, Use
VolumeInfo vol = volFactory.getVolume(volume.getId());
long zoneId = volume.getDataCenterId();
DataStore store = dataStoreMgr.getDataStore(pool.getId(), DataStoreRole.Primary);
- DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot);
+ DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
SnapshotInfo snapInfo = snapshotFactory.getSnapshotWithRoleAndZone(snapshot.getId(), dataStoreRole, zoneId);
- boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole);
+ boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole, zoneId);
logger.debug("Creating volume from snapshot, with dataStore role {} and on primary storage: {}", dataStoreRole, kvmSnapshotOnlyInPrimaryStorage);
boolean storageSupportSnapshotToTemplateEnabled = snapshotHelper.isStorageSupportSnapshotToTemplate(snapInfo);
try {
- if (storageSupportSnapshotToTemplateEnabled) { // true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or StorPool storage type only]
- dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
+ if (!storageSupportSnapshotToTemplateEnabled) { // true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or StorPool storage type only]
Review Comment:
thanks, @Suresh
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3206958713
@sureshanaparti 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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3206955825
Hi @rp- Can you test this PR with linstor and share your results. 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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti merged PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#discussion_r2291577646
##########
engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java:
##########
@@ -579,19 +579,18 @@ public VolumeInfo createVolumeFromSnapshot(Volume volume, Snapshot snapshot, Use
VolumeInfo vol = volFactory.getVolume(volume.getId());
long zoneId = volume.getDataCenterId();
DataStore store = dataStoreMgr.getDataStore(pool.getId(), DataStoreRole.Primary);
- DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot);
+ DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
SnapshotInfo snapInfo = snapshotFactory.getSnapshotWithRoleAndZone(snapshot.getId(), dataStoreRole, zoneId);
- boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole);
+ boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole, zoneId);
logger.debug("Creating volume from snapshot, with dataStore role {} and on primary storage: {}", dataStoreRole, kvmSnapshotOnlyInPrimaryStorage);
boolean storageSupportSnapshotToTemplateEnabled = snapshotHelper.isStorageSupportSnapshotToTemplate(snapInfo);
try {
- if (storageSupportSnapshotToTemplateEnabled) { // true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or StorPool storage type only]
- dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
+ if (!storageSupportSnapshotToTemplateEnabled) { // true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or StorPool storage type only]
Review Comment:
```suggestion
if (!storageSupportSnapshotToTemplateEnabled) { // this condition is false only for StorPool [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) later - may impact other storages, or StorPool storage type only]
```
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211361992
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware 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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211570163
@sureshanaparti 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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3213640926
<b>[SF] Trillian test result (tid-14096)</b>
Environment: kvm-ol8 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 51731 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11490-t14096-kvm-ol8.zip
Smoke tests completed. 146 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#discussion_r2291588725
##########
engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java:
##########
@@ -579,19 +579,18 @@ public VolumeInfo createVolumeFromSnapshot(Volume volume, Snapshot snapshot, Use
VolumeInfo vol = volFactory.getVolume(volume.getId());
long zoneId = volume.getDataCenterId();
DataStore store = dataStoreMgr.getDataStore(pool.getId(), DataStoreRole.Primary);
- DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot);
+ DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
SnapshotInfo snapInfo = snapshotFactory.getSnapshotWithRoleAndZone(snapshot.getId(), dataStoreRole, zoneId);
- boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole);
+ boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole, zoneId);
logger.debug("Creating volume from snapshot, with dataStore role {} and on primary storage: {}", dataStoreRole, kvmSnapshotOnlyInPrimaryStorage);
boolean storageSupportSnapshotToTemplateEnabled = snapshotHelper.isStorageSupportSnapshotToTemplate(snapInfo);
try {
- if (storageSupportSnapshotToTemplateEnabled) { // true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or StorPool storage type only]
- dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
+ if (!storageSupportSnapshotToTemplateEnabled) { // true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or StorPool storage type only]
Review Comment:
```suggestion
if (!storageSupportSnapshotToTemplateEnabled) {
```
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#discussion_r2291588233
##########
engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java:
##########
@@ -579,19 +579,18 @@ public VolumeInfo createVolumeFromSnapshot(Volume volume, Snapshot snapshot, Use
VolumeInfo vol = volFactory.getVolume(volume.getId());
long zoneId = volume.getDataCenterId();
DataStore store = dataStoreMgr.getDataStore(pool.getId(), DataStoreRole.Primary);
- DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot);
+ DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
SnapshotInfo snapInfo = snapshotFactory.getSnapshotWithRoleAndZone(snapshot.getId(), dataStoreRole, zoneId);
- boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole);
+ boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole, zoneId);
logger.debug("Creating volume from snapshot, with dataStore role {} and on primary storage: {}", dataStoreRole, kvmSnapshotOnlyInPrimaryStorage);
boolean storageSupportSnapshotToTemplateEnabled = snapshotHelper.isStorageSupportSnapshotToTemplate(snapInfo);
Review Comment:
```suggestion
boolean storageSupportSnapshotToTemplateEnabled = snapshotHelper.isStorageSupportSnapshotToTemplate(snapInfo);
// storageSupportSnapshotToTemplateEnabled is true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or StorPool storage type only]
```
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211557295
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14701
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3206413070
@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware 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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "rp- (via GitHub)" <gi...@apache.org>.
rp- commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211103371
> @rp-, can you please test this again if you have time?
works 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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3210236465
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware 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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "nvazquez (via GitHub)" <gi...@apache.org>.
nvazquez commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3206407112
@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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "rp- (via GitHub)" <gi...@apache.org>.
rp- commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3209256862
```
2025-08-21 06:56:18,117 DEBUG [c.c.a.ApiServer] (qtp1438988851-18:[ctx-7efce117, ctx-b0128148]) (logid:619c3a5e) Retrieved cmdEventType from job info: VOLUME.CREATE
2025-08-21 06:56:18,118 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-82:[ctx-aa54f249, job-170]) (logid:1c225a39) Add job-170 into job monitoring
2025-08-21 06:56:18,119 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp1438988851-18:[ctx-7efce117, ctx-b0128148]) (logid:619c3a5e) submit async job-170, details: AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin","cmdInfo":"{\"snapshotid\":\"ffd6b8a4-18ec-4e0c-b437-f41353a49d42\",\"sessionkey\":\"6m0yzvxJKeK7qzZvnst3VAYZZSo\",\"httpmethod\":\"POST\",\"ctxAccountId\":\"2\",\"uuid\":\"7b333b33-4c91-42f3-bd0b-6455d8b75360\",\"domainid\":\"563b4c50-7dfd-11f0-a9b9-525400000078\",\"cmdEventType\":\"VOLUME.CREATE\",\"response\":\"json\",\"ctxUserId\":\"2\",\"name\":\"fsdf\",\"zoneid\":\"45e225f9-894b-4e0f-8aef-f576f117052f\",\"ctxStartEventId\":\"393\",\"id\":\"18\",\"ctxDetails\":\"{\\\"interface com.cloud.storage.Snapshot\\\":\\\"ffd6b8a4-18ec-4e0c-b437-f41353a49d42\\\",\\\"interface com.cloud.dc.DataCenter\\\":\\\"45e225f9-894b-4e0f-8aef-f576f117052f\\\",\\\"interface com.cloud.domain.Domain\\\":\\\"563b4c50-7dfd-11f0-a9b9-525400000078\
\\",\\\"interface com.cloud.storage.Volume\\\":\\\"7b333b33-4c91-42f3-bd0b-6455d8b75360\\\"}\",\"account\":\"admin\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":170,"initMsid":90520730730616,"instanceId":18,"instanceType":"Volume","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"641fbb02-a925-444a-b49b-b75a27e35705"}
2025-08-21 06:56:18,119 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-82:[ctx-aa54f249, job-170]) (logid:641fbb02) Executing AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin","cmdInfo":"{\"snapshotid\":\"ffd6b8a4-18ec-4e0c-b437-f41353a49d42\",\"sessionkey\":\"6m0yzvxJKeK7qzZvnst3VAYZZSo\",\"httpmethod\":\"POST\",\"ctxAccountId\":\"2\",\"uuid\":\"7b333b33-4c91-42f3-bd0b-6455d8b75360\",\"domainid\":\"563b4c50-7dfd-11f0-a9b9-525400000078\",\"cmdEventType\":\"VOLUME.CREATE\",\"response\":\"json\",\"ctxUserId\":\"2\",\"name\":\"fsdf\",\"zoneid\":\"45e225f9-894b-4e0f-8aef-f576f117052f\",\"ctxStartEventId\":\"393\",\"id\":\"18\",\"ctxDetails\":\"{\\\"interface com.cloud.storage.Snapshot\\\":\\\"ffd6b8a4-18ec-4e0c-b437-f41353a49d42\\\",\\\"interface com.cloud.dc.DataCenter\\\":\\\"45e225f9-894b-4e0f-8aef-f576f117052f\\\",\\\"interface com.cloud.domain.Domain\\\":\\\"563b4c50-7dfd-11f0-a9b9-525400000078\\\",\\\"interface com
.cloud.storage.Volume\\\":\\\"7b333b33-4c91-42f3-bd0b-6455d8b75360\\\"}\",\"account\":\"admin\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":170,"initMsid":90520730730616,"instanceId":18,"instanceType":"Volume","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"641fbb02-a925-444a-b49b-b75a27e35705"}
2025-08-21 06:56:18,120 DEBUG [c.c.a.ApiServlet] (qtp1438988851-18:[ctx-7efce117, ctx-b0128148]) (logid:619c3a5e) ===END=== 192.168.125.1 -- POST
command=createVolume
response=json
zoneid=45e225f9-894b-4e0f-8aef-f576f117052f
name=fsdf
snapshotid=ffd6b8a4-18ec-4e0c-b437-f41353a49d42
domainid=563b4c50-7dfd-11f0-a9b9-525400000078
account=admin
sessionkey=6m0yzvxJKeK7qzZvnst3VAYZZSo
2025-08-21 06:56:18,126 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) LocalStoragePoolAllocator is returning null since the disk profile does not use local storage and bypassStorageTypeCheck is false.
2025-08-21 06:56:18,126 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Could not find any available Storage Pool using Storage Pool Allocator [LocalStoragePoolAllocator].
2025-08-21 06:56:18,126 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Looking for pools in dc [1], pod [1] and cluster [null]. Disabled pools will be ignored.
2025-08-21 06:56:18,127 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Found pools [[StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}]] that match with tags [[]].
2025-08-21 06:56:18,128 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Checking if storage pool [StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}] is suitable to disk [DskChr[DATADISK|8589934592|]].
2025-08-21 06:56:18,128 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Volume [Volume {"id":18,"instanceId":null,"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360","volumeType":"DATADISK"}] is not allocated to any pool. Cannot check compatibility with pool [StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}].
2025-08-21 06:56:18,128 INFO [c.c.s.StorageManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Storage pool StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"} does not supply IOPS capacity, assuming enough capacity
2025-08-21 06:56:18,129 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Checking pool StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"} for storage, totalSize: 257182138368, usedBytes: 9224268800, usedPct: 0.035866677439321475, disable threshold: 0.85
2025-08-21 06:56:18,129 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Destination pool: StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
2025-08-21 06:56:18,131 DEBUG [c.c.a.ApiServlet] (qtp1438988851-23:[ctx-080d1748]) (logid:3f42bd99) ===START=== 192.168.125.1 -- GET jobId=641fbb02-a925-444a-b49b-b75a27e35705&command=queryAsyncJobResult&response=json&
2025-08-21 06:56:18,132 DEBUG [c.c.a.ApiServlet] (qtp1438988851-23:[ctx-080d1748]) (logid:3f42bd99) Two factor authentication is already verified for the user 2, so skipping
2025-08-21 06:56:18,133 DEBUG [c.c.a.ApiServer] (qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"8167e0a7-7dfd-11f0-a9b9-525400000078"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
2025-08-21 06:56:18,134 INFO [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) Account for user id 8168499c-7dfd-11f0-a9b9-525400000078 is Root Admin or Domain Admin, all APIs are allowed.
2025-08-21 06:56:18,134 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
2025-08-21 06:56:18,134 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) API rate limiting is disabled. We will not use ApiRateLimitService.
2025-08-21 06:56:18,136 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Pool ID for the volume Volume {"id":18,"instanceId":null,"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360","volumeType":"DATADISK"} is null
2025-08-21 06:56:18,138 DEBUG [c.c.a.ApiServlet] (qtp1438988851-23:[ctx-080d1748, ctx-ff7b89bc]) (logid:3f42bd99) ===END=== 192.168.125.1 -- GET jobId=641fbb02-a925-444a-b49b-b75a27e35705&command=queryAsyncJobResult&response=json&
2025-08-21 06:56:18,138 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Found storage pool StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"} of type Linstor with overprovisioning factor 2
2025-08-21 06:56:18,138 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Total over provisioned capacity calculated is 2 * (239.52 GB) 257182138368
2025-08-21 06:56:18,138 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Total capacity of the pool StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"} is (479.04 GB) 514364276736
2025-08-21 06:56:18,139 DEBUG [c.c.s.StorageManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Checking pool: StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"} for storage allocation , maxSize : (479.04 GB) 514364276736, totalAllocatedSize : (22.65 GB) 24321341440, askingSize : (8.00 GB) 8589934592, allocated disable threshold: 0.85
2025-08-21 06:56:18,139 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Found suitable cluster storage pool [StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}] to allocate disk [DskChr[DATADISK|8589934592|]] to it, adding to list.
2025-08-21 06:56:18,140 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) ClusterScopeStoragePoolAllocator is returning [1] suitable storage pools [[StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}]].
2025-08-21 06:56:18,140 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Using volume allocation algorithm random to reorder pools.
2025-08-21 06:56:18,140 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) VM [null] does not have a preferred storage pool or it cannot be used. Volume Orchestrator will use the available Storage Pool [StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}], which was discovered using Storage Pool Allocator [ClusterScopeStoragePoolAllocator].
2025-08-21 06:56:18,140 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Found a suitable pool [{"name":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}] to create the volume [{"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360"}] in.
2025-08-21 06:56:18,142 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Creating volume from snapshot, with dataStore role Primary and on primary storage: false
2025-08-21 06:56:18,144 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Found [0] snapshots [[]] that have checkpoints for volume with id [16].
2025-08-21 06:56:18,150 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Found [0] snapshots [[]] that have checkpoints for volume with id [18].
2025-08-21 06:56:18,153 DEBUG [o.a.c.s.d.d.LinstorPrimaryDataStoreDriverImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) LinstorPrimaryDataStoreDriverImpl.canCopy: SNAPSHOT -> VOLUME
2025-08-21 06:56:18,153 DEBUG [o.a.c.s.d.d.LinstorPrimaryDataStoreDriverImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) LinstorPrimaryDataStoreDriverImpl.canCopy: SNAPSHOT -> VOLUME
2025-08-21 06:56:18,153 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) copyAsync inspecting src type SNAPSHOT copyAsync inspecting dest type VOLUME
2025-08-21 06:56:18,153 DEBUG [o.a.c.s.c.a.StorageCacheRandomAllocator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Can't find staging storage in zone: 1
2025-08-21 06:56:18,154 ERROR [o.a.c.s.m.AncientDataMotionStrategy] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Failed to create volume from test on pool StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"} java.lang.NullPointerException: Cannot invoke "org.apache.cloudstack.engine.subsystem.api.storage.DataStore.getId()" because "store" is null
at org.apache.cloudstack.storage.cache.manager.StorageCacheManagerImpl.createCacheObject(StorageCacheManagerImpl.java:230)
at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.cacheSnapshotChain(AncientDataMotionStrategy.java:252)
at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyVolumeFromSnapshot(AncientDataMotionStrategy.java:287)
at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:519)
at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:88)
at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:117)
at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromSnapshot(VolumeServiceImpl.java:1683)
at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeFromSnapshot(VolumeOrchestrator.java:622)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at jdk.proxy3/jdk.proxy3.$Proxy257.createVolumeFromSnapshot(Unknown Source)
at com.cloud.storage.VolumeApiServiceImpl.createVolumeFromSnapshot(VolumeApiServiceImpl.java:1106)
at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:1055)
at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:251)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at jdk.proxy3/jdk.proxy3.$Proxy283.createVolume(Unknown Source)
at org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd.execute(CreateVolumeCmd.java:224)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:689)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:637)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
2025-08-21 06:56:18,155 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) copy failed com.cloud.utils.exception.CloudRuntimeException: Failed to create volume from test on pool StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}
at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyVolumeFromSnapshot(AncientDataMotionStrategy.java:313)
at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:519)
at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:88)
at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:117)
at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromSnapshot(VolumeServiceImpl.java:1683)
at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeFromSnapshot(VolumeOrchestrator.java:622)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at jdk.proxy3/jdk.proxy3.$Proxy257.createVolumeFromSnapshot(Unknown Source)
at com.cloud.storage.VolumeApiServiceImpl.createVolumeFromSnapshot(VolumeApiServiceImpl.java:1106)
at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:1055)
at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:251)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at jdk.proxy3/jdk.proxy3.$Proxy283.createVolume(Unknown Source)
at org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd.execute(CreateVolumeCmd.java:224)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:689)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:637)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
2025-08-21 06:56:18,158 ERROR [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Failed to create volume from snapshot [{"name":"test","uuid":"ffd6b8a4-18ec-4e0c-b437-f41353a49d42"}] due to [com.cloud.utils.exception.CloudRuntimeException: Failed to create volume from test on pool StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}].
2025-08-21 06:56:18,159 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Found [0] snapshots [[]] that have checkpoints for volume with id [18].
2025-08-21 06:56:18,161 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Updating resource Type = volume count for Account with id = 2 Operation = decreasing Amount = 1
2025-08-21 06:56:18,162 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170, ctx-74db615a]) (logid:641fbb02) Updating resource Type = primary_storage count for Account with id = 2 Operation = decreasing Amount = (8.00 GB) 8589934592
2025-08-21 06:56:18,166 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-82:[ctx-aa54f249, job-170]) (logid:641fbb02) Unexpected exception while executing org.apache.cloudstack.api.command.admin.volume.CreateVolumeCmdByAdmin com.cloud.utils.exception.CloudRuntimeException: Failed to create volume: Volume {"id":18,"instanceId":null,"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360","volumeType":"DATADISK"}
at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:1083)
at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:251)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at jdk.proxy3/jdk.proxy3.$Proxy283.createVolume(Unknown Source)
at org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd.execute(CreateVolumeCmd.java:224)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:689)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:637)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to create volume from snapshot [{"name":"test","uuid":"ffd6b8a4-18ec-4e0c-b437-f41353a49d42"}] due to [com.cloud.utils.exception.CloudRuntimeException: Failed to create volume from test on pool StoragePool {"id":1,"name":"Linstor","poolType":"Linstor","uuid":"bfd430ec-5689-4acb-9c35-4b08a4bb9dcd"}].
at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeFromSnapshot(VolumeOrchestrator.java:630)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at jdk.proxy3/jdk.proxy3.$Proxy257.createVolumeFromSnapshot(Unknown Source)
at com.cloud.storage.VolumeApiServiceImpl.createVolumeFromSnapshot(VolumeApiServiceImpl.java:1106)
at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:1055)
... 29 more
2025-08-21 06:56:18,166 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-82:[ctx-aa54f249, job-170]) (logid:641fbb02) Complete async job-170, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to create volume: Volume {"id":18,"instanceId":null,"name":"fsdf","uuid":"7b333b33-4c91-42f3-bd0b-6455d8b75360","volumeType":"DATADISK"}"}
```
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on code in PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#discussion_r2291577646
##########
engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java:
##########
@@ -579,19 +579,18 @@ public VolumeInfo createVolumeFromSnapshot(Volume volume, Snapshot snapshot, Use
VolumeInfo vol = volFactory.getVolume(volume.getId());
long zoneId = volume.getDataCenterId();
DataStore store = dataStoreMgr.getDataStore(pool.getId(), DataStoreRole.Primary);
- DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot);
+ DataStoreRole dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
SnapshotInfo snapInfo = snapshotFactory.getSnapshotWithRoleAndZone(snapshot.getId(), dataStoreRole, zoneId);
- boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole);
+ boolean kvmSnapshotOnlyInPrimaryStorage = snapshotHelper.isKvmSnapshotOnlyInPrimaryStorage(snapshot, dataStoreRole, zoneId);
logger.debug("Creating volume from snapshot, with dataStore role {} and on primary storage: {}", dataStoreRole, kvmSnapshotOnlyInPrimaryStorage);
boolean storageSupportSnapshotToTemplateEnabled = snapshotHelper.isStorageSupportSnapshotToTemplate(snapInfo);
try {
- if (storageSupportSnapshotToTemplateEnabled) { // true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or StorPool storage type only]
- dataStoreRole = snapshotHelper.getDataStoreRole(snapshot, zoneId);
+ if (!storageSupportSnapshotToTemplateEnabled) { // true only for StorPool now [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) - may impact other storages, or StorPool storage type only]
Review Comment:
```suggestion
if (!storageSupportSnapshotToTemplateEnabled) { // this condition is false only for StorPool [TODO: Update to check storage supports snapshot to volume (DataStoreCapabilities.CAN_CREATE_VOLUME_FROM_SNAPSHOT) later - may impact other storages, or StorPool storage type only]
```
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3211810413
LGTM. Verified volume snapshot creation with volumes on NFS primary (backed to NFS image store) & PowerFlex pools, and able to create template & volume from snapshots on NFS image store, create template from snapshot on PowerFlex storage pool.
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3209184916
<b>[SF] Trillian test result (tid-14089)</b>
Environment: kvm-ol8 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 50462 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11490-t14089-kvm-ol8.zip
Smoke tests completed. 146 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3206416063
## [Codecov](https://app.codecov.io/gh/apache/cloudstack/pull/11490?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.63%. Comparing base ([`f2d6356`](https://app.codecov.io/gh/apache/cloudstack/commit/f2d635683bf75baf1251c4326a8947572df13ba6?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`762edb0`](https://app.codecov.io/gh/apache/cloudstack/commit/762edb01ef9e9ef32c8034a4fbbaad8f1cb49b50?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
> :exclamation: There is a different number of reports uploaded between BASE (f2d6356) and HEAD (762edb0). Click for more details.
>
> <details><summary>HEAD has 1 upload less than BASE</summary>
>
>| Flag | BASE (f2d6356) | HEAD (762edb0) |
>|------|------|------|
>|unittests|1|0|
></details>
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #11490 +/- ##
=============================================
- Coverage 17.35% 3.63% -13.73%
=============================================
Files 5886 441 -5445
Lines 525685 37023 -488662
Branches 64159 6785 -57374
=============================================
- Hits 91247 1345 -89902
+ Misses 424138 35517 -388621
+ Partials 10300 161 -10139
```
| [Flag](https://app.codecov.io/gh/apache/cloudstack/pull/11490/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/11490/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `3.63% <ø> (ø)` | |
| [unittests](https://app.codecov.io/gh/apache/cloudstack/pull/11490/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 Sentry](https://app.codecov.io/gh/apache/cloudstack/pull/11490?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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "slavkap (via GitHub)" <gi...@apache.org>.
slavkap commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3210138793
@rp-, can you please test this again if you have time?
--
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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3210230222
@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] Fix of create a template from a StorPool snapshot on another zone [cloudstack]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #11490:
URL: https://github.com/apache/cloudstack/pull/11490#issuecomment-3210450792
Packaging result [SF]: ✔️ el8 ✔️ el9 ✖️ debian ✔️ suse15. SL-JID 14690
--
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