nzr-virt: sprinkle more debug
This commit is contained in:
		
							parent
							
								
									7a9659eb9e
								
							
						
					
					
						commit
						5040bc7b87
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -209,6 +209,8 @@ impl Volume { | |||
|             } | ||||
|         } | ||||
| 
 | ||||
|         tracing::debug!("Generating virt stream"); | ||||
| 
 | ||||
|         let stream = { | ||||
|             let virt_conn = cloned.get_connect().map_err(PoolError::VirtError)?; | ||||
|             let cloned = cloned.clone(); | ||||
|  | @ -225,6 +227,8 @@ impl Volume { | |||
| 
 | ||||
|         let img_size = src_img.metadata().unwrap().len(); | ||||
| 
 | ||||
|         tracing::debug!("Informing virt we want to start uploading"); | ||||
| 
 | ||||
|         { | ||||
|             let stream = stream.clone(); | ||||
|             let cloned = cloned.clone(); | ||||
|  | @ -242,6 +246,8 @@ impl Volume { | |||
| 
 | ||||
|         let stream_fh = src_img.try_clone().map_err(PoolError::FileError)?; | ||||
| 
 | ||||
|         tracing::debug!("Actually uploading!"); | ||||
| 
 | ||||
|         Self::upload_img(stream_fh, stream).await?; | ||||
| 
 | ||||
|         Ok(Self { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue