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 2021/05/12 03:58:16 UTC

[GitHub] [cloudstack] div8cn opened a new issue #5019: Listsnapshots.physicalsize has been 0

div8cn opened a new issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   The physicalsize field in the listsnapshots interface is always displayed as 0
   
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.15.0.0
   libvirt 6.0.0
   qemu 6.0.0
   ceph 15.2.10
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] wido commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
wido commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-839984889


   > It's probably a limitation of ceph, as far as I know ceph does not support snapshots @div8cn (because you cannot have snapshots on raw disks unless snapshot is stored externally)
   > @wido @GabrielBrascher can you check and advise?
   
   Ceph supports snapshots. You can snapshot and clone RBD images from Ceph.
   
   See: https://docs.ceph.com/en/latest/rbd/rbd-snapshot/


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-839716979


   It's probably a limitation of ceph, as far as I know ceph does not support snapshots @div8cn (because you cannot have snapshots on raw disks unless snapshot is stored externally)
   @wido @GabrielBrascher can you check and advise?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-925508418


   Moved to the 4.16.1 milestone 


-- 
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] GabrielBrascher commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-1003068455


   @sureshanaparti @div8cn 
   
   I've tested on KVM with different primary storage pools: `Local storage`, `NFS`, and `Ceph`.
   I have been able to reproduce this issue but it was not related to the storage pool. The factor that seems to be playing the key role (at least on my tests) here is the OS type.
   
   To show that, here follows an output from _cloudmonkey_:
   ```
   (cloudstack) 🐱 > list snapshots filter=name,osdisplayname,physicalsize,virtualsize
   count = 6
   snapshot:
   +-----------------------------+-------------------------------+-----------------+-----------------+
   |            NAME             |         OSDISPLAYNAME         |  PHYSICALSIZE   |   VIRTUALSIZE   |
   +-----------------------------+-------------------------------+-----------------+-----------------+
   | test-local-snapshot         | Other PV Virtio-SCSI (64-bit) | 3.408003072e+09 | 1.073741824e+10 |
   | migration-rbd-test-snapshot | Other PV Virtio-SCSI (64-bit) | 3.59661568e+09  | 5.36870912e+10  |
   | snap-123                    | Other PV (64-bit)             |               0 | 2.14749184e+08  |
   | primary-nfs-snap2           | Other PV (64-bit)             |               0 | 2.14749184e+08  |
   | primary-nfs-snap            | Other PV (64-bit)             |               0 | 2.14749184e+08  |
   | test-snap1                  | Other PV (64-bit)             |               0 | 2.14749184e+08  |
   +-----------------------------+-------------------------------+-----------------+-----------------+
   ```
   
   @div8cn can you please confirm if that is also observed on your 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] rhtyd commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-909047248


   Ping @GabrielBrascher @wido 


-- 
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 issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-890684130


   @GabrielBrascher @wido is there any update on this issue?


-- 
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] sureshanaparti commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-1017213795


   > Hi @div8cn Can you confirm on your test results please. Thanks.
   
   Hi @div8cn Any update on the test results.


-- 
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] sureshanaparti commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-1012323591


   Hi @div8cn Can you confirm on your test results please. 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



[GitHub] [cloudstack] rhtyd commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-923722517


   @GabrielBrascher @nvazquez @sureshanaparti @davidjumani @shwstppr @Pearl1594 @DaanHoogland @weizhouapache - any update on this, who's assigned/working on this? 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



[GitHub] [cloudstack] sureshanaparti commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-995790306


   ping @GabrielBrascher @wido any update on this issue?


-- 
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] rhtyd commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-909047248


   Ping @GabrielBrascher @wido 


-- 
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 commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-1025482808


   Tested this, couldn't reproduce this against 4.16.0:
   ```
   > list snapshots  filter=name,osdisplayname,physicalsize,virtualsize,
   count = 3
   snapshot:
   +---------------------------------+------------------+--------------+--------------+
   |              NAME               |  OSDISPLAYNAME   | PHYSICALSIZE | VIRTUALSIZE  |
   +---------------------------------+------------------+--------------+--------------+
   | homelab_ROOT-107_20220131003215 | Ubuntu 20.04 LTS |  24328011776 | 107374182400 |
   | homelab_ROOT-107_20220124003215 | Ubuntu 20.04 LTS |  22850371584 | 107374182400 |
   | homelab_ROOT-107_20220117003215 | Ubuntu 20.04 LTS |  20795097088 | 107374182400 |
   +---------------------------------+------------------+--------------+--------------+
   ```


-- 
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 commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-1025483324


   @div8cn pl reopen if you still are able to reproduce this. Based on comment and reproduction attempts by Gabriel and me, I'll close this as it doesn't appear an issue 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



[GitHub] [cloudstack] rhtyd commented on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-909047248


   Ping @GabrielBrascher @wido 


-- 
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 edited a comment on issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
rohityadavcloud edited a comment on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-1025482808


   Tested this, couldn't reproduce this against 4.16.0 env with Ceph storage (snapshots on ceph):
   ```
   > list snapshots  filter=name,osdisplayname,physicalsize,virtualsize,
   count = 3
   snapshot:
   +---------------------------------+------------------+--------------+--------------+
   |              NAME               |  OSDISPLAYNAME   | PHYSICALSIZE | VIRTUALSIZE  |
   +---------------------------------+------------------+--------------+--------------+
   | homelab_ROOT-107_20220131003215 | Ubuntu 20.04 LTS |  24328011776 | 107374182400 |
   | homelab_ROOT-107_20220124003215 | Ubuntu 20.04 LTS |  22850371584 | 107374182400 |
   | homelab_ROOT-107_20220117003215 | Ubuntu 20.04 LTS |  20795097088 | 107374182400 |
   +---------------------------------+------------------+--------------+--------------+
   ```


-- 
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 closed issue #5019: Listsnapshots.physicalsize has been 0

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019


   


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