Description of problem: [RFE] Better to have an output message when virtctl addvolume/removevolume to a VM Version-Release number of selected component (if applicable): CNV4.8 virtctl-4.8.0-200.el7.x86_64.rpm How reproducible: Always Steps to Reproduce: 1. Try to add/remove a volume to a VM 2. 3. Actual results: [cnv-qe-jenkins@yadu1-ft7t7-executor]$ virtctl addvolume fedora-1619603152-2246912 --volume-name=blank-dv [cnv-qe-jenkins@yadu1-ft7t7-executor]$ [cnv-qe-jenkins@yadu1-ft7t7-executor]$ virtctl removevolume fedora-1619603152-2246912 --volume-name=blank-dv [cnv-qe-jenkins@yadu1-ft7t7-executor]$ Expected results: After executing the virtctl addvolume/removevolume cmd, it would be more friendly to user if there is an output message like "Adding volume for the VM/VMI" or "Removing volume for the VM/VMI" Additional info:
It sounds like it might be nice to have a --wait mode where the command waits for the volume to transition to attached state and even prints out some of the progression of steps.
Alexander I do not see this in virtctl. If you disagree, please link to the pr.
Test on CNV-v4.9.2-11 virtctl Client Version: version.Info{GitVersion:"v0.44.3-44-g9150a3b90", GitCommit:"9150a3b909d345835f84ec7d06c6e6ff8f0b8855", GitTreeState:"clean", BuildDate:"2021-12-16T04:15:09Z", GoVersion:"go1.15.14", Compiler:"gc", Platform:"linux/amd64"} $ virtctl addvolume fedora-1619697674-6212 --volume-name=blank-dv Successfully submitted add volume request to VM fedora-1619697674-6212 for volume blank-dv $ virtctl removevolume fedora-1619697674-6212 --volume-name=blank-dv Successfully submitted remove volume request to VM fedora-1619697674-6212 for volume blank-dv
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.9.2 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0191