-
ACS: 4.19.1.2 There are no Volume Snapshots on this secondary storage and it has been switched to read-only. In the database I see that the secondary storage I want to delete has id 1 in image_store table. Is this a known issue with Cloudstack when deleting a secondary storage? I found some old mails in the mailinglist, but it looked like those issues were solved in versions before 4.19.1.2. As far as I understand, it should be possible to delete a secondary storage without editing the database. Can someone confirm this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@sbrueseke at the moment the following checks are done:
so no, you can not delete an secstror if it contains templates (or ISOs) or Volume - or snapshot backups. I think what you need is an API call (or extra parameter) to remove a item from a specific store. I think at the moment a snapshot can only be deleted from a zone, not form a specific store: https://cloudstack.apache.org/api/apidocs-4.20/apis/deleteSnapshot.html |
Beta Was this translation helpful? Give feedback.
-
Looks like we fixed the issue. We were unable to reproduce this issue in our testlab. We were able to delete a secondary storage without any issues in out testlab. So I still do not know what was getting us into this state.
After that we were able to delete the unneeded secondary storage. |
Beta Was this translation helpful? Give feedback.
Looks like we fixed the issue. We were unable to reproduce this issue in our testlab. We were able to delete a secondary storage without any issues in out testlab. So I still do not know what was getting us into this state.
This is what we did to fix it:
After that we were able to delete the unneeded secondary storage.
@DaanHoogland thx for your help, p…