<div dir="ltr"><div>Does this directory exist /var/lib/one//datastores/0?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 9, 2014 at 11:55 PM, Marius Rex <span dir="ltr"><<a href="mailto:MariusRex@venda.com" target="_blank">MariusRex@venda.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I am not sure I follow what you are trying to say. What is the source<br>
of my problem?<br>
<br>
All of my datastores, which live on the same NFS mount, exist on the the<br>
monitored host. They are mounted in /var/lib/one, which matches the<br>
BASE PATH for the datastore. So I do not know how the NFS mount is not<br>
'properly mounted.'<br>
<br>
The output I get from the command you specify is:<br>
<br>
[root@kvm04 ~]# /var/tmp/one/im/kvm-probes.d/monitor_ds.sh<br>
kvm /var/lib/one/datastores<br>
DS_LOCATION_USED_MB=1<br>
DS_LOCATION_TOTAL_MB=1409258<br>
DS_LOCATION_FREE_MB=1408682<br>
<br>
So it looks the probe is finding available space. But according to the<br>
output of 'onedatastore' there is no available space. Thus no VMs can<br>
be created on my KVM host/node.<br>
<br>
I am not sure what step or procedure I am missing. I do not see<br>
anything in<br>
<a href="http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_centos_kvm.html" target="_blank">http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_centos_kvm.html</a> that I have skipped.<br>
<br>
Does it matter that the KVM node already has VMs running on it?<br>
Otherwise the node fits the guide above precisely. The plan is to put<br>
everything under OpenNebula management. But since the system DS reports<br>
having no space, I cannot launch a single VM, and thus will not be able<br>
to spin any of those machines down to bring them up under OpenNebula<br>
management.<br>
<br>
-Marius<br>
<br>
<br>
<br>
On Fri, 2014-05-09 at 15:35 -0400, Ruben S. Montero wrote:<br>
><br>
> On Fri, May 9, 2014 at 3:43 PM, Marius Rex <<a href="mailto:MariusRex@venda.com">MariusRex@venda.com</a>><br>
> wrote:<br>
><br>
> The system DS is not supposed to show up with any space until<br>
> a host is<br>
> configured? That is a surprising because the pre-configured<br>
> sandbox<br>
> instance I downloaded first for testing (a Virtualbox<br>
> instance) has<br>
> space listed in the system DS even though that has no hosts<br>
> connected to<br>
> it.<br>
><br>
><br>
> I'm not sure about the sandbox configuration (e.g. there were some<br>
> data from the setup). Anyway, system DS is monitored from the hosts.<br>
> Note that System DS is not need (not even accessible for some storage<br>
> backends) in the front-end, so the space is reported by the hosts.<br>
> Also System DS is used to run VMs from it, and mainly used in the<br>
> hosts.<br>
><br>
><br>
><br>
> In any case, there are no hosts connected to the test instance<br>
> that I<br>
> gave the example on, but on some other instances which I have<br>
> configured<br>
> elsewhere do have hosts configured and they have the same<br>
> problem. I<br>
> have /var/lib/one as a NFS mount that is mounted on both the<br>
> frontend<br>
> and the node. That instance comes up with no space in the<br>
> system DS as<br>
> well.<br>
><br>
><br>
> This may be a problem with the configuration or the sytem DS not<br>
> properly mounted in the hosts. The information is obtained<br>
> with /var/tmp/one/im/kvm-probes.d, go to the host kvm04 and execute:<br>
><br>
><br>
> /var/tmp/one/im/kvm-probes.d/monitor_ds.sh<br>
> kvm /var/lib/one/datastores/<br>
><br>
><br>
> The output should be similar to...<br>
><br>
><br>
> DS_LOCATION_USED_MB=1<br>
> DS_LOCATION_TOTAL_MB=9952<br>
> DS_LOCATION_FREE_MB=6318<br>
> DS = [<br>
> ID = 101,<br>
> USED_MB = 1,<br>
> TOTAL_MB = 9952,<br>
> FREE_MB = 6318<br>
> ]<br>
><br>
><br>
><br>
> Here is some output from that showing the system DS with no<br>
> space even<br>
> though the logs say the node is successfully monitored:<br>
> <a href="http://pastebin.com/w6Wg909Y" target="_blank">http://pastebin.com/w6Wg909Y</a><br>
><br>
><br>
> -Marius<br>
> <a href="mailto:mariusrex@venda.com">mariusrex@venda.com</a><br>
><br>
><br>
> On Fri, 2014-05-09 at 05:05 -0400, Carlos Martín Sánchez<br>
> wrote:<br>
> > Hi,<br>
> ><br>
> ><br>
> > System DS are monitored with the host probes. Do you have<br>
> any hosts<br>
> > configured?<br>
> ><br>
> > --<br>
> > Carlos Martín, MSc<br>
> > Project Engineer<br>
> > OpenNebula - Flexible Enterprise Cloud Made Simple<br>
> > <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a> | @OpenNebula<br>
> ><br>
> ><br>
> > On Fri, May 9, 2014 at 12:02 AM, Marius Rex<br>
> <<a href="mailto:MariusRex@venda.com">MariusRex@venda.com</a>><br>
> > wrote:<br>
> > Platform: Centos 6.5<br>
> > versions: opennebula-4.5.80 and opennebula-4.6.0-1<br>
> ><br>
> > I have been struggling with this for a while with<br>
> various<br>
> > configurations<br>
> > and I continually run into the same problem.<br>
> ><br>
> > I cannot build out a VM as the system volumes always<br>
> come up<br>
> > with no<br>
> > space. I have been trying to reduce variables and<br>
> now at a<br>
> > very basic<br>
> > setup: I installed a fresh Centos 6 server and<br>
> pulled down the<br>
> > latest<br>
> > stable opennebula RPMs from the official repo. I am<br>
> just<br>
> > using local<br>
> > file systems for everything, and have done nothing<br>
> beyond<br>
> > installing the<br>
> > RPM and starting opennebula. My system volume comes<br>
> up with<br>
> > no<br>
> > available room, seemingly no matter what I do.<br>
> ><br>
> ><br>
> > [oneadmin@trainging ~]$ onedatastore<br>
> > list<br>
> > ID NAME SIZE AVAIL CLUSTER<br>
> IMAGES TYPE<br>
> > DS<br>
> > TM<br>
> > 0 system 0M - -<br>
> 0 sys -<br>
> > shared<br>
> > 1 default 6.6G 77% -<br>
> 0 img<br>
> > fs<br>
> > shared<br>
> > 2 files 6.6G 77% -<br>
> 0 fil<br>
> > fs<br>
> > ssh<br>
> ><br>
> ><br>
> ><br>
> > [oneadmin@trainging ~]$ onedatastore show 0<br>
> > DATASTORE 0<br>
> > INFORMATION<br>
> > ID :<br>
> > 0<br>
> > NAME :<br>
> > system<br>
> > USER : oneadmin<br>
> > GROUP : oneadmin<br>
> > CLUSTER : -<br>
> > TYPE : SYSTEM<br>
> > DS_MAD : -<br>
> > TM_MAD : shared<br>
> > BASE PATH : /var/lib/one//datastores/0<br>
> > DISK_TYPE : FILE<br>
> ><br>
> > DATASTORE<br>
> > CAPACITY<br>
> > TOTAL: : 0M<br>
> > FREE: : 0M<br>
> > USED: : 0M<br>
> > LIMIT: : -<br>
> ><br>
> > PERMISSIONS<br>
> > OWNER : um-<br>
> > GROUP : u--<br>
> > OTHER : ---<br>
> ><br>
> > DATASTORE<br>
> > TEMPLATE<br>
> > BASE_PATH="/var/lib/one//datastores/"<br>
> > SHARED="YES"<br>
> > TM_MAD="shared"<br>
> > TYPE="SYSTEM_DS"<br>
> ><br>
> > IMAGES<br>
> ><br>
> > It is the same filesystem the other volumes are on,<br>
> yet they<br>
> > have<br>
> > available space. I have tried two different<br>
> versions of<br>
> > OpenNebula. I<br>
> > have tried different base filesystems. I have<br>
> tried custom<br>
> > RPMs. It<br>
> > comes up the same every time.<br>
> ><br>
> > Is there a bug or am I missing something very<br>
> obvious?<br>
> ><br>
> ><br>
> > --<br>
> > Marius Rex<br>
> > <a href="mailto:mariusrex@venda.com">mariusrex@venda.com</a><br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> ><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>
><br>
><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>
><br>
><br>
><br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> --<br>
><br>
> Ruben S. Montero, PhD<br>
> Project co-Lead and Chief Architect<br>
> OpenNebula - Flexible Enterprise Cloud Made Simple<br>
> <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org">rsmontero@opennebula.org</a> | @OpenNebula<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</div>