mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	when copy volume to secondary storage, need to add full volume path
This commit is contained in:
		
							parent
							
								
									efd249d61d
								
							
						
					
					
						commit
						536feab856
					
				@ -990,7 +990,7 @@ public class XenServerStorageProcessor implements StorageProcessor {
 | 
			
		||||
                String destVolumeUUID = destVdi.getUuid(conn);
 | 
			
		||||
 | 
			
		||||
                VolumeObjectTO newVol = new VolumeObjectTO();
 | 
			
		||||
                newVol.setPath(destVolumeUUID);
 | 
			
		||||
                newVol.setPath(destVolume.getPath() + File.separator + destVolumeUUID + ".vhd");
 | 
			
		||||
                newVol.setSize(srcVolume.getSize());
 | 
			
		||||
                return new CopyCmdAnswer(newVol);
 | 
			
		||||
            } catch (Exception e) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user