[pve-devel] last git "cleanup rbd driver" break list_images (and alloc_image) with empty pool

Alexandre DERUMIER aderumier at odiso.com
Tue Jul 17 15:46:07 CEST 2012


my test cluster is on ubuntu 12.04, using official ceph packages

version is 0.48argonaut-1precise

# rbd ls
pool rbd doesn't contain rbd images


note that if you create an image, then delete it (so pool is empty), you don't get the error anymore.


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Mardi 17 Juillet 2012 15:04:52 
Objet: RE: [pve-devel] last git "cleanup rbd driver" break list_images (and alloc_image) with empty pool 

What ceph version do you use? I do not get that error. 

> -----Original Message----- 
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel- 
> bounces at pve.proxmox.com] On Behalf Of Alexandre DERUMIER 
> Sent: Dienstag, 17. Juli 2012 14:43 
> To: pve-devel at pve.proxmox.com 
> Subject: [pve-devel] last git "cleanup rbd driver" break list_images (and 
> alloc_image) with empty pool 
> 
> Hi Dietmar, 
> 
> last git "cleanup rbd driver" 
> https://git.proxmox.com/?p=pve- 
> storage.git;a=commit;h=411476cd3260c0caf8b25a0707857de06e9a4e81 
> 
> remove 
> 
> die $err if $err && $err !~ m/doesn't contain rbd images/ ; 
> 
> 
> fresh created and empty rbd pool, throw a 500 error with "pool xxx doesn't 
> contain rbd images" message. 
> 
> So we can create a disk, as we are using list_images. 
> 
> 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 





-- 

-- 



	

Alexandre D e rumier 

Ingénieur Systèmes et Réseaux 


Fixe : 03 20 68 88 85 

Fax : 03 20 68 90 88 


45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 



More information about the pve-devel mailing list