Fedora Account System
Red Hat Associate
Red Hat Customer
+++ This bug was initially created as a clone of Bug #2212312 +++ Description of problem: Downloading memory dump using virtctl panics. Either using create and download of memory dump: $ virtctl memory-dump get myvm --claim-name=memoryvolume --create-claim --output=memoryDump.dump.gz nor downloading last associated memory dump with the vm: $ virtctl memory-dump download myvm --output=memoryDump.dump.gz Version-Release number of selected component (if applicable): 4.14.0, 4.13.1 How reproducible: Always Steps to Reproduce: Tests Suite.[sig-storage] Memory dump Memory dump with download [test_id:9344]should create memory dump and download it Actual results: memory dump download fails Expected results: Downloading memory dump using virtctl should work
Work Around: Instead of using the get command with --output which gets and downloads the memory dump: $ virtctl memory-dump get myvm --claim-name=memoryvolume --create-claim --output=memoryDump.dump.gz you can do only get of memory dump and then download using virtctl vmexport download: $ virtctl memory-dump get myvm --claim-name=memoryvolume --create-claim $ virtctl vmexport download vm1-export --vm=myvm --volume=memoryvolume --output=memoryDump.dump.gz For downloading only of the last memory dump instead of using the memory-dump download command: $ virtctl memory-dump download myvm --output=memoryDump.dump.gz Use the vmexport download after searching which is the last memory dump associated with the vm $ virtctl vmexport download vm1-export --vm=myvm --volume={vm.Status.MemoryDumpRequest.ClaimName} --output=memoryDump.dump.gz
Verified on CNV v4.13.1.rhel9-152
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 (OpenShift Virtualization 4.13.1 Images), 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/RHEA-2023:3686