cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrija Panic (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5543) Cant delete Secondary Storage NFS when ISOs exist on it
Date Wed, 18 Dec 2013 16:06:06 GMT
Andrija Panic created CLOUDSTACK-5543:
-----------------------------------------

             Summary: Cant delete Secondary Storage NFS when ISOs exist on it
                 Key: CLOUDSTACK-5543
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5543
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.0
         Environment: CentOS 6.5, NFS used for Secondary Storage
            Reporter: Andrija Panic


Not possible to remove Secondry Storage NFS because ISO files still exist on it.

Details:
After moving all public VM templates from this "old" NFS to the new NFS SS (by rsync and update
template_store_ref table to point to new NFS store - because public temlates are NOT replicated
the same way ISOs are, although they should be per my knowledge), it is still not possible
to delete/remove the NFS secondary storage from GUI, because ISOs still exist on this "old"
NFS storage.

There is no option to remove ISO files references to 1 particular NFS storage.

So eather enable GUI option to remove ISOs from storage, prior to it's removal, or complete
ignore the fact that the ISOs exit on it (since ISOs are replicated to available secondary
storages in zone).

I managed to resolve my problem with:
delete FROM cloud.template_store_ref where store_id=ID_OF_NFS_TO_BE_DELETE and template_id
in (select id from vm_template where type='user' and format='iso');



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message