Skip to content

Improve the list volume api to show only the encrypted volumes #8635

Closed

Description

@kiranchavala

ISSUE TYPE

Improvement request

COMPONENT NAME

Component: Api

CLOUDSTACK VERSION

Cloudstack version 4.18 4.19

SUMMARY

List volume api should show the encrypted volumes

Steps to reproduce the issue

  1. Create service offering and disk offering with encrypt option enabled.

Screenshot
Screenshot 2024-02-09 at 10 41 58 AM

  1. Launch a vm with service offering and disk offering

  2. Go volumes view (storage > volumes) , there is no way to identify if the volume is encrypted or not

volumencrypt2

volumencrypt

  1. Also the listVolumes doesn't list only the encrypted volumes

https://cloudstack.apache.org/api/apidocs-4.19/apis/listVolumes.html

It would be handy feature for the admins and users to list only the encyrpted volumes

Example

list volume encrypted=true

Activity

  1. DaanHoogland commented on Feb 12, 2024

    @DaanHoogland
    Contributor

    @kiranchavala did you check if this is possible with the API?

  2. kiranchavala commented on Feb 12, 2024

    @kiranchavala
    MemberAuthor

    @DaanHoogland it's not possible via api call the the list volumes doesn't have the "encrypted" option

    So i would like to have the encrypted option added

  3. kiranchavala commented on Feb 13, 2024

    @kiranchavala
    MemberAuthor

    @DaanHoogland

    Also, can we list volumes by serviceofferingid

    Currently, we are able to list volumes by only disk offering id

    https://cloudstack.apache.org/api/apidocs-4.19/apis/listVolumes.html

    Do you want me to create a separate enchancment request for this ?

  4. DaanHoogland commented on Feb 13, 2024

    @DaanHoogland
    Contributor

    yes please, it might be a different technical discussion. For now, for both of them my implementation plans are not so neat hacks and the solution might be different.

  5. added this to the 4.19.1.0 milestone on Apr 30, 2024
  6. self-assigned this
    on Jun 10, 2024
  7. moved this from Todo to Dev In Progress in Apache CloudStack BugFest - Issueson Jun 10, 2024
  8. sureshanaparti commented on Jun 12, 2024

    @sureshanaparti
    Contributor

    Merged enhancement PR. Encrypted volumes can be listed using list volumes isencrypted=true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions