<div dir="ltr">Hi,<div><br></div><div>On Tue, Oct 8, 2013 at 10:22 AM, Qiubo Su (David Su) <span dir="ltr"><<a href="mailto:qiubosu@gmail.com" target="_blank">qiubosu@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div>I want to delete the cluster, but got below error:<br><br>oneadmin@pcone:~/var$ onecluster delete 100<br>[ClusterDelete] Cannot delete cluster. Cluster 100 is not empty, it contains 1 datastores.<br>
<br></div></div><div>Why the cluster can't be deleted? It is much appreciated if anyone can help with how to delete the cluster in this situation.</div></div></blockquote><div><br></div><div>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'.</div>
<div><br></div><div>Regards</div><div class="gmail_extra">--<br><div><div dir="ltr"><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div>
<br><br><div class="gmail_quote">On Tue, Oct 8, 2013 at 10:22 AM, Qiubo Su (David Su) <span dir="ltr"><<a href="mailto:qiubosu@gmail.com" target="_blank">qiubosu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Dear OpenNebula Community,<br><br>I want to delete the cluster, but got below error:<br><br>oneadmin@pcone:~/var$ onecluster list<br> ID NAME HOSTS VNETS DATASTORES<br>
100 1cluster 0 0 1<br>oneadmin@pcone:~/var$ onecluster delete 100<br>[ClusterDelete] Cannot delete cluster. Cluster 100 is not empty, it contains 1 datastores.<br><br></div>Then I try to deleter the datastore, but got below error:<br>
<br>oneadmin@pcone:~/var$ onedatastore list<br> ID NAME CLUSTER IMAGES TYPE TM <br> 0 system - 0 - shared <br> 1 default 1cluster 0 fs shared <br>
oneadmin@pcone:~/var$ onedatastore delete 1<br>[DatastoreDelete] Cannot delete datastore. System Datastores (ID < 100) cannot be deleted.<br><br></div><div>Why the cluster can't be deleted? It is much appreciated if anyone can help with how to delete the cluster in this situation.<br>
</div><br></div>Best regards,<br></div>Q.S.<br><div><div><div><br><div><br><br></div></div></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div></div></div>