Hi,

On Tue, Oct 8, 2013 at 10:22 AM, Qiubo Su (David Su) <qiub...@gmail.com>
 wrote:
>
> I want to delete the cluster, but got below error:
>
> oneadmin@pcone:~/var$ onecluster delete 100
> [ClusterDelete] Cannot delete cluster. Cluster 100 is not empty, it
> contains 1 datastores.
>
> Why the cluster can't be deleted? It is much appreciated if anyone can
> help with how to delete the cluster in this situation.
>

The cluster contains 1 datastore, you just need to remove that DS from the
cluster selecting the cluster 'none' in Sunstone, or using the command
 'onecluster deldatastore'.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org>


On Tue, Oct 8, 2013 at 10:22 AM, Qiubo Su (David Su) <qiub...@gmail.com>wrote:

> Dear OpenNebula Community,
>
> I want to delete the cluster, but got below error:
>
> oneadmin@pcone:~/var$ onecluster list
>    ID NAME                      HOSTS VNETS DATASTORES
>   100 1cluster                      0     0          1
> oneadmin@pcone:~/var$ onecluster delete 100
> [ClusterDelete] Cannot delete cluster. Cluster 100 is not empty, it
> contains 1 datastores.
>
> Then I try to deleter the datastore, but got below error:
>
> oneadmin@pcone:~/var$ onedatastore list
>   ID NAME                      CLUSTER         IMAGES TYPE     TM
>    0 system                    -                    0 -        shared
>    1 default                   1cluster             0 fs       shared
> oneadmin@pcone:~/var$ onedatastore delete 1
> [DatastoreDelete] Cannot delete datastore. System Datastores (ID < 100)
> cannot be deleted.
>
> Why the cluster can't be deleted? It is much appreciated if anyone can
> help with how to delete the cluster in this situation.
>
> Best regards,
> Q.S.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to