Hi Pearl


Spot on!!  😊



There was two volumes for old deleted virtual routers hanging in there...

I have successfully deleted Primary storage now.



Thank you 😊



Med vennlig hilsen



David Larsen

Senior systemkonsulent





ADCOM MOLDE, IT Data AS

Fabrikkvegen 13  | 6415 Molde

david.lar...@adcom.no | www.adcom.no







-----Opprinnelig melding-----
Fra: Pearl d'Silva <pearl.dsi...@shapeblue.com>
Sendt: onsdag 27. april 2022 13:11
Til: users@cloudstack.apache.org
Emne: Re: Request Failed (530) - Cannot delete pool Primary as there are 
associated non-destroyed vols for this pool



Hi David,



The error message indicates that there are some volumes on the primary store 
that you are attempting to remove in the database. You can validate it by using:

select * from volumes where pool_id = <id_of_pool> and removed is null;



If you have validated that the volumes returned by the above query have been 
either deleted or migrated, then you can mark them as removed in the db and 
proceed with removing the storage pool.



Thanks,

Pearl



________________________________

From: David Larsen <david.lar...@adcom.no<mailto:david.lar...@adcom.no>>

Sent: Wednesday, April 27, 2022 4:23 PM

To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org> 
<users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>

Subject: Request Failed (530) - Cannot delete pool Primary as there are 
associated non-destroyed vols for this pool





Hi







We are replacing our old datastore with a newer and faster storage.



I have successfully created new volumes and successfully migrated every 
instance/volum, systemVM’s and Virtual routers to new volumes.



We have five volumes on the old storage system and five on the new storage 
system (vmware vmfs volumes).



After everything was migrated, we put the old volumes successfully in 
maintenance mode. The next step is to delete them from Cloudstack. We have 
successfully deleted volume2, volume3, volume4 and volume 5, but not volume1. 
When we try to delete it, we get this message:



“Request Failed (530) Cannot delete pool Primary as there are associated 
non-destroyed vols for this pool”







We have checked volume1 for any volume files, but we can’t find any. Found a 
few very old .vmdk files in a folder called “fcd”, but can’t find any reference 
to them in cloudstack…(?)



Volume1 is the first vmfs volume ever created on our Cloudstack solution and is 
the only vmfs5 volume left.







Anything we have missed?







We are running Cloudstack 4.15, vcenter/vsphere 6.7







Thanks ??







Med vennlig hilsen







David Larsen

Senior systemkonsulent







[cid:image001.png@01D85A32.9061E8F0]



ADCOM MOLDE, IT Data AS

Fabrikkvegen 13  | 6415 Molde

Mobil: 959 48 308 | Sentralbord: 71 25 06 40 
david.lar...@adcom.no<mailto:david.lar...@adcom.no<mailto:david.lar...@adcom.no%3cmailto:david.lar...@adcom.no>>
 | 
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.adcom.no%2F&amp;data=05%7C01%7C%7Cc2689bedda5e4093f32708da283eaf9c%7C1dd023eed2894f208926463c9b991b5f%7C1%7C1%7C637866546962327237%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=RJlSyXmDhMHFYqgPHrAxaQvDr3kwM5c1J6QgLEMSsi8%3D&amp;reserved=0<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.adcom.no%2F&amp;data=05%7C01%7C%7Cc2689bedda5e4093f32708da283eaf9c%7C1dd023eed2894f208926463c9b991b5f%7C1%7C1%7C637866546962327237%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=RJlSyXmDhMHFYqgPHrAxaQvDr3kwM5c1J6QgLEMSsi8%3D&amp;reserved=0<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.adcom.no%2F&amp;data=05%7C01%7C%7Cc2689bedda5e4093f32708da283eaf9c%7C1dd023eed2894f208926463c9b991b5f%7C1%7C1%7C637866546962327237%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=RJlSyXmDhMHFYqgPHrAxaQvDr3kwM5c1J6QgLEMSsi8%3D&amp;reserved=0%3chttps://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.adcom.no%2F&amp;data=05%7C01%7C%7Cc2689bedda5e4093f32708da283eaf9c%7C1dd023eed2894f208926463c9b991b5f%7C1%7C1%7C637866546962327237%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=RJlSyXmDhMHFYqgPHrAxaQvDr3kwM5c1J6QgLEMSsi8%3D&amp;reserved=0>>







[Miljøfyrtürn]    [cid:image003.png@01D85A32.9061E8F0]







Følg oss pü sosiale medier: [Facebook icon] 
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fadcommolde%2F&amp;data=05%7C01%7C%7Cc2689bedda5e4093f32708da283eaf9c%7C1dd023eed2894f208926463c9b991b5f%7C1%7C1%7C637866546962327237%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=G9g%2FJ2gx%2BQd3AZhdW2SqJMpwiLzJzrVJmF9yQt3ZCnI%3D&amp;reserved=0>
 [LinkedIn icon] 
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2F10249752%3Ftrk%3Dtyah%26trkInfo%3DclickedVertical%253Acompany%252CclickedEntityId%253A10249752%252Cidx%253A2-1-2%252CtarId%253A1449043739552%252Ctas%253Aadcom%2520molde&amp;data=05%7C01%7C%7Cc2689bedda5e4093f32708da283eaf9c%7C1dd023eed2894f208926463c9b991b5f%7C1%7C1%7C637866546962327237%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=M2YH2d2GGS%2BDFu1tzdIq0G8DJi1FwTmld8fc6sRrUJE%3D&amp;reserved=0>



P Tenk pü miljøet før du skriver ut denne eposten












Reply via email to