apache / apache/cloudstack

Refactor: implement the managesnapshot.sh features via Java and remove the script

Open
#6,424 6 comments 0 reactions 0 assignees View on GitHub
component:kvm no-issue-activity type:improvement
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

Several snapshot functionalities, in KVM, are implemented via the script `scripts/storage/qcow2/managesnapshot.sh`. From https://github.com/apache/cloudstack/pull/6422#discussion_r884991838 came the idea to improve these processes by ​​implementing the functionalities via Java, adding documentation, unit tests and logs.

##### ISSUE TYPE
* Improvement Request

##### COMPONENT NAME
KVM

Contributor guide

Open the contributing guide

Research direction

Start with scripts/storage/qcow2/managesnapshot.sh and trace the KVM snapshot callers that invoke it. Review the related pull request discussion before defining the Java replacement, documentation, unit tests, and logging scope. Done means the snapshot functionality is implemented in Java, covered by tests, documented, logged, and the script is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, java
Domain
cloud, infrastructure
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.