Description of problem: Got NPE on export of disk to a glance storage domain Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create a glance domain by creating a glance provider 2. Create a disk 3. try to export the disk to the glance domain Actual results: http://pastebin.test.redhat.com/154848 Expected results: Should succeed Additional info: Tried with both preallocated/thin provisioned disks. Disks had no snapshots.
I've been able to reproduce this on master as well. UI model is capable to set the correct parameters for the export, in particular the destinationStorageDomain uuid. When the parameters are then received by the backend the destinationStorageDomain uuid is null. I have the feeling that this has to do with serialization. I'm going to look into this because it's mandatory to be fixed.
As I believed this is a serialization issue. The workaround is to add an (apparently unused) default constructor for the export parameters.
as RC is built, moving to ON_QA (hopefully did not catch incorrect bugs when doing this)
closing as this should be in 3.3 (doing so in bulk, so may be incorrect)