I have to revoke my statement about the failing patch, it does work if it's image -> volume. Unfortunately, none of the suggested patches (in #16, #20) for volume -> volume work for me, I have tried it in different ways and also in combination, nothing works and nova-api reports an error like this:
HTTP exception thrown: Can not find requested image
I have to revoke my statement about the failing patch, it does work if it's image -> volume. Unfortunately, none of the suggested patches (in #16, #20) for volume -> volume work for me, I have tried it in different ways and also in combination, nothing works and nova-api reports an error like this:
HTTP exception thrown: Can not find requested image
My current setFinalSpecBoo tFromVolumeDevi ce:
---cut here--- tFromVolumeDevi ce(finalSpec, sourceType) { vol_create) { vol_device_ name ? finalSpec. vol_device_ name : null;
finalSpec. block_device_ mapping_ v2 = []; vol_device_ name=== 'NOTSET' ){
finalSpec. block_device_ mapping_ v2.push(
'source_ type': bootSourceTypes .VOLUME,
'destination_ type': bootSourceTypes .VOLUME,
'delete_ on_termination' : finalSpec. vol_delete_ on_instance_ delete,
'uuid': finalSpec. source_ id,
'boot_index' : '0',
'volume_ size': finalSpec.vol_size
finalSpec. block_device_ mapping_ v2.push(
'device_ name': deviceName,
'source_ type': bootSourceTypes .VOLUME,
'destination_ type': bootSourceTypes .VOLUME,
'delete_ on_termination' : finalSpec. vol_delete_ on_instance_ delete,
'uuid': finalSpec. source_ id,
'boot_index' : '0',
'volume_ size': finalSpec.vol_size .source_ id = null;
function setFinalSpecBoo
if (finalSpec.
// Specify null to get Autoselection (not empty string)
var deviceName = finalSpec.
if (finalSpec.
{
}
);
}
else {
{
}
);
}
finalSpec
}
}
---cut here---
I'm not sure what I have to change here to make it work. At least image -> volume works again.