<div dir="ltr">Hi<div><br></div><div>It seems that the problem is related to scheduling, note that once you assign a Datastore (images and system both are needed) to a cluster, OpenNebula will only allocate VMs to hosts in that cluster (so they are assumed to be configure with access to the datastores and networks in the cluster)</div>

<div><br></div><div>So could you double check that hosts, datastores and networks are in ifx_cluster? From the log they need to be in cluster 101</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><br>

<div class="gmail_quote">On Wed, Apr 16, 2014 at 2:11 AM, Neil Schneider <span dir="ltr"><<a href="mailto:neil@ifxonline.com" target="_blank">neil@ifxonline.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Update. I switched from using iscsi to nfs. Same problem. Sunstone shows<br>
the mounted file system. Then when I try to instantiate a host, the<br>
Sunstone forgets all about the mounted system datastore and then I get the<br>
error.<br>
<br>
 Apr 15 16:52:45 2014 : No system datastore meets SCHED_DS_REQUIREMENTS:<br>
CLUSTER_ID = 101 & !(PUBLIC_CLOUD = YES)<br>
<br>
Is there a problem with Sunstone that it can't deal with nfs or iscsi<br>
mounted file systems? Or has it something to do with mounting two<br>
filesystems at the same time?<br>
<br>
I've been googling until my fingers bleed and I'm unable to find any<br>
information about how to fix this problem?<br>
<br>
Sure could use  some help with this problem, or at least a link to<br>
information.<br>
<br>
BTW, I'm running OpenNebula 4.4. It's running on a host and virtual<br>
machine running CentOS 6.5.<br>
<div><div class="h5"><br>
On Tue, April 15, 2014 12:24 pm, Neil Schneider wrote:<br>
> I have OpenNebula running inside a virtual machine on a host, where I'm<br>
> provisioning other VMs. According to what I read in the docs this is a<br>
> standard implementation. I'm having a couple of issues. Some I was able to<br>
> resolve by changing file ownership.<br>
><br>
> Here's my setup.<br>
><br>
> cloud1:<br>
> # uname -a<br>
> Linux cloud1 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014<br>
> x86_64 x86_64 x86_64 GNU/Linux<br>
><br>
> [root@cloud1]# cat /etc/tgt/targets.conf<br>
><br>
> default-driver iscsi<br>
><br>
> <target ign.2014-03-26.com.ifxintranet:cloud1.target1><br>
>         direct-store /dev/sda5 # LUN 1<br>
>         direct-store /dev/sda6  # LUN 2<br>
>         write-cache off<br>
>         vendor_id IFXOnline<br>
>         initiator-address 10.1.2.3<br>
>         incominguser IFX_iscsi OaKa3jei<br>
> </target><br>
><br>
> As you can see I've configured the host as an iscsi target.<br>
><br>
> Here's the opennebula vm.<br>
><br>
> [root@opennebula ~]# cat /etc/iscsi/initiatorname.iscsi<br>
> InitiatorName=ign.2014-03-26.com.ifxintranet:cloud1<br>
><br>
> [root@opennebula ~]# df -h<br>
> Filesystem            Size  Used Avail Use% Mounted on<br>
> /dev/mapper/vg_opennebula-lv_root<br>
>                        17G   13G  3.2G  81% /<br>
> tmpfs                 1.1G     0  1.1G   0% /dev/shm<br>
> /dev/vda1             485M   54M  406M  12% /boot<br>
> /dev/sda1             193G  188M  183G   1% /var/lib/one/datastores/110<br>
> /dev/sdb1             193G  2.7G  180G   2% /var/lib/one/datastores/1<br>
><br>
> And I've test from the host, everything  works fine.<br>
> /var/lib/one/datastores/110 is a system datastore. However from the web<br>
> interface of sunstone the disk space is wrong.<br>
><br>
> 110 only shows 38.4GB disk space with 30.4GB used.<br>
> /var/lib/one/datastores/1 shows 12.4GB used of 192.2GB total space. They<br>
> should both have the same size of disk. I created the LUNS from same sized<br>
> disks on the host.<br>
><br>
> Anybody familiar enough with iscsi to help me understand why this isn't<br>
> working right? If you need more information, please ask. I'll do my best<br>
> to provide it.<br>
><br>
><br>
><br>
> --<br>
> Neil Schneider<br>
> Systems Administrator<br>
><br>
> IFX<br>
> 12750 High Bluff Drive, Suite 460<br>
> San Diego, CA 92130<br>
><br>
> Phone 858-724-1024 | Fax 858-724-1043 | <a href="http://www.ifxonline.com" target="_blank">http://www.ifxonline.com</a><br>
><br>
</div></div>> _______________________________________________<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>
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>
</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>