You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/08/10 21:05:09 UTC

[GitHub] [cloudstack] GutoVeronezi opened a new pull request, #6630: Fix delete parent snapshot

GutoVeronezi opened a new pull request, #6630:
URL: https://github.com/apache/cloudstack/pull/6630

   ### Description
   
   ACS + Xenserver works with differential snapshots. ACS takes a volume full snapshot and the next ones are referenced as a child of the previous snapshot until the chain reaches the limit defined in the global setting `snapshot.delta.max`; then, a new full snapshot is taken. PR #5297 introduced disk-only snapshots for KVM volumes. Among the changes, the delete process was also refactored. Before the changes, when one was removing a snapshot with children, ACS was marking it as `Destroyed` and it was keeping the `Image` entry on the table `cloud.snapshot_store_ref` as `Ready`. When ACS was rotating the snapshots (the max delta was reached) and all the children were already marked as removed; then, ACS would start removing the whole hierarchy, completing the differential snapshot cycle. After the changes, the snapshots with children stopped being marked as removed and the differential snapshot cycle was not being completed.
   
   This PR intends to honor again the differential snapshot cycle for XenServer, making the snapshots to be marked as removed when deleted while having children and following the differential snapshot cycle.
   
   
   Also, when one takes a volume snapshot and ACS backs it up to the secondary storage, ACS inserts 2 entries on table `cloud.snapshot_store_ref` (`Primary` and `Image`). When one deletes a volume snapshot, ACS first tries to remove the snapshot from the secondary storage and mark the entry `Image` as removed; then, it tries to remove the snapshot from the primary storage and mark the entry `Primary` as removed. If ACS cannot remove the snapshot from the primary storage, it will keep the snapshot as `BackedUp`; however, If it does not exist in the secondary storage and without the entry `SNAPSHOT.DELETE` on `cloud.usage_event`. In the end, after the garbage collector flow, the snapshot will be marked as `BackedUp`, with a value in the field `removed` and still being rated. This PR also addresses the correction for this situation.
   
   ### 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)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [x] Minor
   - [ ] Trivial
   
   ### How Has This Been Tested?
   The situation was observed in XenServer environments; however, due to some internal circumstances, I had to reproduce the situation in a KVM environment (considering 2 as max deltas).
   
   I created a VM and scheduled an hourly snapshot for the `ROOT` volume, retaining 2 snapshots. After ACS take the first two snapshots (and before taking the third one), I manually changed the database to put the ID of the first snapshot as the parent of the second, to simulate the XenServer differential snapshot. After the third snapshot was generated, the first one was marked as `Destroyed`, ACS generated the entry `SNAPSHOT.DELETE` on `cloud.usage_event`, and the entries `Primary` and `Image` ended up as `Destroyed` and `Ready`, respectively. After the fourth snapshot was generated, ACS identified that the second one was the last on the hierarchy and started removing the hierarchy. In the end, the entries for the first and second snapshots were marked as removed and only the last 2 snapshots got entries in `Ready` state.
   
   I also forced errors in the deletion of the snapshot in the primary and secondary storage. At the end of both tests, ACS inserted the entries `SNAPSHOT.DELETE` on `cloud.usage_event` and the garbage collector removed the entries of the `cloud.snapshot_store_ref`.


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1279003100

   as a matter of formality ; tested on xenserver-7.4 with no visible problems from user side. after six hourly backup six entries in the db, four with phisical size 0 only one marked as primary. events:
   ```
   |id   |type                |account_id|created                |zone_id|resource_id|resource_name              |offering_id|template_id|size      |resource_type|processed|virtual_size|
   |-----|--------------------|----------|-----------------------|-------|-----------|---------------------------|-----------|-----------|----------|-------------|---------|------------|
   |2,612|VM.START            |2         |2022-10-14 08:42:38.000|1      |349        |vm1                        |1          |287        |          |XenServer    |0        |            |
   |2,613|SNAPSHOT.ON_PRIMARY |2         |2022-10-14 08:54:15.000|1      |7          |vm1_ROOT-349_20221014085410|           |           |52,428,800|             |0        |52,428,800  |
   |2,614|SNAPSHOT.CREATE     |2         |2022-10-14 08:54:25.000|1      |7          |vm1_ROOT-349_20221014085410|           |           |52,531,712|             |0        |52,428,800  |
   |2,615|SNAPSHOT.ON_PRIMARY |2         |2022-10-14 09:54:15.000|1      |8          |vm1_ROOT-349_20221014095410|           |           |52,428,800|             |0        |52,428,800  |
   |2,616|SNAPSHOT.OFF_PRIMARY|2         |2022-10-14 09:54:16.000|1      |7          |vm1_ROOT-349_20221014085410|           |           |0         |             |0        |0           |
   |2,617|SNAPSHOT.CREATE     |2         |2022-10-14 09:54:16.000|1      |8          |vm1_ROOT-349_20221014095410|           |           |0         |             |0        |52,428,800  |
   |2,618|SNAPSHOT.ON_PRIMARY |2         |2022-10-14 10:54:15.000|1      |9          |vm1_ROOT-349_20221014105410|           |           |52,428,800|             |0        |52,428,800  |
   |2,619|SNAPSHOT.OFF_PRIMARY|2         |2022-10-14 10:54:16.000|1      |8          |vm1_ROOT-349_20221014095410|           |           |0         |             |0        |0           |
   |2,620|SNAPSHOT.DELETE     |2         |2022-10-14 10:54:16.000|1      |7          |vm1_ROOT-349_20221014085410|           |           |0         |             |0        |            |
   |2,621|SNAPSHOT.CREATE     |2         |2022-10-14 10:54:16.000|1      |9          |vm1_ROOT-349_20221014105410|           |           |0         |             |0        |52,428,800  |
   |2,622|SNAPSHOT.ON_PRIMARY |2         |2022-10-14 11:54:16.000|1      |10         |vm1_ROOT-349_20221014115410|           |           |52,428,800|             |0        |52,428,800  |
   |2,623|SNAPSHOT.OFF_PRIMARY|2         |2022-10-14 11:54:16.000|1      |9          |vm1_ROOT-349_20221014105410|           |           |0         |             |0        |0           |
   |2,624|SNAPSHOT.DELETE     |2         |2022-10-14 11:54:16.000|1      |8          |vm1_ROOT-349_20221014095410|           |           |0         |             |0        |            |
   |2,625|SNAPSHOT.CREATE     |2         |2022-10-14 11:54:16.000|1      |10         |vm1_ROOT-349_20221014115410|           |           |0         |             |0        |52,428,800  |
   |2,626|SNAPSHOT.ON_PRIMARY |2         |2022-10-14 12:54:16.000|1      |11         |vm1_ROOT-349_20221014125410|           |           |52,428,800|             |0        |52,428,800  |
   |2,627|SNAPSHOT.OFF_PRIMARY|2         |2022-10-14 12:54:16.000|1      |10         |vm1_ROOT-349_20221014115410|           |           |0         |             |0        |0           |
   |2,628|SNAPSHOT.DELETE     |2         |2022-10-14 12:54:16.000|1      |9          |vm1_ROOT-349_20221014105410|           |           |0         |             |0        |            |
   |2,629|SNAPSHOT.CREATE     |2         |2022-10-14 12:54:16.000|1      |11         |vm1_ROOT-349_20221014125410|           |           |0         |             |0        |52,428,800  |
   ```


-- 
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


[GitHub] [cloudstack] rohityadavcloud merged pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
rohityadavcloud merged PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630


-- 
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


[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1212482646

   SonarCloud Quality Gate failed.&nbsp; &nbsp; [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6630)
   
   [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=BUG)  
   [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=VULNERABILITY)  
   [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6630&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6630&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6630&resolved=false&types=SECURITY_HOTSPOT)  
   [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=CODE_SMELL)
   
   [![74.1%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/60-16px.png '74.1%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6630&metric=new_coverage&view=list) [74.1% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6630&metric=new_coverage&view=list)  
   [![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6630&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6630&metric=new_duplicated_lines_density&view=list)
   
   


-- 
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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1215799008

   <b>Trillian test result (tid-4689)</b>
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 41592 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6630-t4689-kvm-centos7.zip
   Smoke tests completed. 101 look OK, 0 have errors
   Only failed 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


[GitHub] [cloudstack] DaanHoogland commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1214778546

   @blueorangutan test matrix


-- 
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


[GitHub] [cloudstack] DaanHoogland commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1275779146

   @GutoVeronezi I'll give it a quick spin. I think we can merge this otherwise.
   @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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1275779397

   @DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) 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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1278105419

   <b>Trillian test result (tid-5115)</b>
   Environment: xenserver-74 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 44100 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6630-t5115-xenserver-74.zip
   Smoke tests completed. 100 look OK, 1 have errors, 0 did not run
   Only failed and skipped tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_13_migrate_volume_and_change_offering | `Error` | 7.41 | test_volumes.py
   


-- 
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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1212889848

   Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3970


-- 
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


[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1211334278

   SonarCloud Quality Gate failed.&nbsp; &nbsp; [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6630)
   
   [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=BUG)  
   [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=VULNERABILITY)  
   [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6630&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6630&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6630&resolved=false&types=SECURITY_HOTSPOT)  
   [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=CODE_SMELL) [1 Code Smell](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6630&resolved=false&types=CODE_SMELL)
   
   [![74.7%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/60-16px.png '74.7%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6630&metric=new_coverage&view=list) [74.7% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6630&metric=new_coverage&view=list)  
   [![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6630&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6630&metric=new_duplicated_lines_density&view=list)
   
   


-- 
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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1212850790

   @DaanHoogland a 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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1277098281

   <b>Trillian test result (tid-5106)</b>
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 37458 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6630-t5106-kvm-centos7.zip
   Smoke tests completed. 101 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


[GitHub] [cloudstack] nvazquez commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
nvazquez commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1231912725

   Thanks @GutoVeronezi, would this need extra marvin 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


[GitHub] [cloudstack] DaanHoogland commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1216299970

   @blueorangutan test centos7 xenserver-71


-- 
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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1217012337

   <b>Trillian test result (tid-4704)</b>
   Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 36187 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6630-t4704-xenserver-71.zip
   Smoke tests completed. 101 look OK, 0 have errors
   Only failed 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


[GitHub] [cloudstack] DaanHoogland commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1212850294

   @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


[GitHub] [cloudstack] codecov[bot] commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1212431957

   # [Codecov](https://codecov.io/gh/apache/cloudstack/pull/6630?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#6630](https://codecov.io/gh/apache/cloudstack/pull/6630?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (8b210cb) into [main](https://codecov.io/gh/apache/cloudstack/commit/d3ec27dc7904362c0e098db7e3ca838e8afb0281?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (d3ec27d) will **increase** coverage by `0.00%`.
   > The diff coverage is `100.00%`.
   
   > :exclamation: Current head 8b210cb differs from pull request most recent head 5e268ce. Consider uploading reports for the commit 5e268ce to get more accurate results
   
   ```diff
   @@            Coverage Diff            @@
   ##               main    #6630   +/-   ##
   =========================================
     Coverage      5.87%    5.88%           
   - Complexity     3933     3938    +5     
   =========================================
     Files          2454     2454           
     Lines        242557   242576   +19     
     Branches      37965    37969    +4     
   =========================================
   + Hits          14246    14268   +22     
   + Misses       226735   226732    -3     
     Partials       1576     1576           
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/cloudstack/pull/6630?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...tack/storage/snapshot/DefaultSnapshotStrategy.java](https://codecov.io/gh/apache/cloudstack/pull/6630/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZW5naW5lL3N0b3JhZ2Uvc25hcHNob3Qvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2Nsb3Vkc3RhY2svc3RvcmFnZS9zbmFwc2hvdC9EZWZhdWx0U25hcHNob3RTdHJhdGVneS5qYXZh) | `23.04% <100.00%> (+6.52%)` | :arrow_up: |
   | [...rc/main/java/com/cloud/storage/VolumeDetailVO.java](https://codecov.io/gh/apache/cloudstack/pull/6630/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZW5naW5lL3NjaGVtYS9zcmMvbWFpbi9qYXZhL2NvbS9jbG91ZC9zdG9yYWdlL1ZvbHVtZURldGFpbFZPLmphdmE=) | `21.42% <0.00%> (+21.42%)` | :arrow_up: |
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
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


[GitHub] [cloudstack] GutoVeronezi commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
GutoVeronezi commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1274802717

   Hello guys, any update about this one?


-- 
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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1215889785

   <b>Trillian test result (tid-4690)</b>
   Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 44395 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6630-t4690-vmware-65u2.zip
   Smoke tests completed. 100 look OK, 1 have errors
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_08_upgrade_kubernetes_ha_cluster | `Failure` | 636.31 | test_kubernetes_clusters.py
   


-- 
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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1215839601

   <b>Trillian test result (tid-4688)</b>
   Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 42578 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6630-t4688-xenserver-71.zip
   Smoke tests completed. 100 look OK, 1 have errors
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_02_cancel_host_maintenace_with_migration_jobs | `Error` | 1512.23 | test_host_maintenance.py
   


-- 
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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1216300669

   @DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + xenserver-71) 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


[GitHub] [cloudstack] blueorangutan commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1214779026

   @DaanHoogland a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) 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


[GitHub] [cloudstack] GutoVeronezi commented on pull request #6630: Fix delete parent snapshot

Posted by GitBox <gi...@apache.org>.
GutoVeronezi commented on PR #6630:
URL: https://github.com/apache/cloudstack/pull/6630#issuecomment-1240821120

   @nvazquez, as tests passed with KVM, Xen and VMware, maybe there is no need for more marvin tests; however, some "monkey testing" would be nice, as @DaanHoogland suggested.


-- 
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