<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<pre style="word-wrap:break-word; font-size:10.0pt; font-family:Tahoma; color:black">Hi Antonio,

That error is most likely due to the SRs not being set up correctly on XenServer.

Could you check that you have an ext based SR as the pool default?

Use xe pool-param-get uuid=<tab><tab> param-name=default-SR

Then check that against xe sr-list params=all

See http://support.citrix.com/article/ctx116324 for further details of this.

If that doesn't work, could you paste the outputs of sr-list?

Thanks,

Bob

Antonio Tirri <antonio.tirri@gmail.com> wrote:

</pre>
<div>Thank you Bob.<br>
I expanded the RAM of my Virtual Machine, but the execution of the script show me this error:<br>
<br>
++ dirname /root/devstack/openstack-dev-devstack-f49c410/tools/xen/scripts/install-os-vpx.sh<br>
+ thisdir=/root/devstack/openstack-dev-devstack-f49c410/tools/xen/scripts<br>
+ '[' '' ']'<br>
+ '[' 'Ubuntu 11.10 (64-bit) for DevStack' ']'<br>
+ echo Ubuntu 11.10 '(64-bit)' for DevStack<br>
Ubuntu 11.10 (64-bit) for DevStack<br>
++ xe_min vm-install 'template=Ubuntu 11.10 (64-bit) for DevStack' new-name-label=DevStackOSDomU<br>
++ local cmd=vm-install<br>
++ shift<br>
++ xe vm-install --minimal 'template=Ubuntu 11.10 (64-bit) for DevStack' new-name-label=DevStackOSDomU<br>
Error: Failed to find a valid default SR for the Pool. Please provide an sr-name-label or sr-uuid parameter.<br>
+ vm_uuid=<br>
<br>
complete log is here<br>
<a href="http://www.forumaltavilla.it/joomla/Documenti/installazione2.txt">www.forumaltavilla.it/joomla/Documenti/installazione2.txt</a><br>
<br>
It seems that XenServer isn't able to find the Ubuntu image for the DomU<br>
<br>
Thanks a lot,<br>
<br>
Antonio<br>
<br>
<br>
<br>
<div class="gmail_quote">On 29 January 2013 12:26, Bob Ball <span dir="ltr"><<a href="mailto:bob.ball@citrix.com" target="_blank">bob.ball@citrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Antonio,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’m assuming that there really is enough free memory on the XS host?  Could you check with XenCenter or the following command line that XenServer knows there
 is enough memory?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">xe host-list params=memory-total,memory-free
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It’s possible that this is related to dynamic memory allocation – from the log file the devstack setup used the following:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">xe vm-memory-limits-set static-min=16MiB static-max=1024MiB dynamic-min=1024MiB dynamic-max=1024MiB uuid=e3975dab-c7a5-7490-02c6-988185a2c6f6<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Try changing the static-min value to 1024 so dynamic memory allocation is ruled out:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">xe vm-memory-limits-set static-min=1024MiB static-max=1024MiB dynamic-min=1024MiB dynamic-max=1024MiB uuid=e3975dab-c7a5-7490-02c6-988185a2c6f6<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Bob<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> openstack-bounces+bob.ball=<a href="mailto:citrix.com@lists.launchpad.net" target="_blank">citrix.com@lists.launchpad.net</a>
 [mailto:<a href="mailto:openstack-bounces%2Bbob.ball" target="_blank">openstack-bounces+bob.ball</a>=<a href="mailto:citrix.com@lists.launchpad.net" target="_blank">citrix.com@lists.launchpad.net</a>]
<b>On Behalf Of </b>Antonio Tirri<br>
<b>Sent:</b> 28 January 2013 19:15<br>
<b>To:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
<b>Subject:</b> [Openstack] [OpenStack] DevStack setup on XenServer<u></u><u></u></span></p>
</div>
</div>
<div>
<div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have to install a devstack multinode using 3 nodes configured as follows:<br>
<br>
1) Controller on Ubuntu 12.04 LTS<br>
2) Node Compute on Ubuntu 12.04 LTS with KVM hypervisor<br>
3) Node Compute on XenServer<br>
<br>
While in first two points I am successful, the third point show me the following error when i launch the script ./install_os_domU.sh<br>
<br>
---<br>
+ echo -n 'Starting VM... '<br>
Starting VM... + xe vm-start uuid=e3975dab-c7a5-7490-02c6-988185a2c6f6<br>
There are no suitable hosts to start this VM on.<br>
The following table provides per-host reasons for why the VM could not be started:<br>
<br>
xenserver-antonio    : Cannot start here [Not enough free memory]<br>
---<br>
<br>
Full log is at this address:<br>
<br>
<a href="http://www.forumaltavilla.it/joomla/Documenti/installazione.txt" target="_blank">http://www.forumaltavilla.it/joomla/Documenti/installazione.txt</a><br>
<br>
How can I solve this problem?<br>
<br>
Thank you<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>