← Back to team overview

openstack team mailing list archive

Re: [OpenStack] DevStack setup on XenServer

 

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@xxxxxxxxx> wrote:



Thank you Bob.
I expanded the RAM of my Virtual Machine, but the execution of the script show me this error:

++ dirname /root/devstack/openstack-dev-devstack-f49c410/tools/xen/scripts/install-os-vpx.sh
+ thisdir=/root/devstack/openstack-dev-devstack-f49c410/tools/xen/scripts
+ '[' '' ']'
+ '[' 'Ubuntu 11.10 (64-bit) for DevStack' ']'
+ echo Ubuntu 11.10 '(64-bit)' for DevStack
Ubuntu 11.10 (64-bit) for DevStack
++ xe_min vm-install 'template=Ubuntu 11.10 (64-bit) for DevStack' new-name-label=DevStackOSDomU
++ local cmd=vm-install
++ shift
++ xe vm-install --minimal 'template=Ubuntu 11.10 (64-bit) for DevStack' new-name-label=DevStackOSDomU
Error: Failed to find a valid default SR for the Pool. Please provide an sr-name-label or sr-uuid parameter.
+ vm_uuid=

complete log is here
www.forumaltavilla.it/joomla/Documenti/installazione2.txt<http://www.forumaltavilla.it/joomla/Documenti/installazione2.txt>

It seems that XenServer isn't able to find the Ubuntu image for the DomU

Thanks a lot,

Antonio



On 29 January 2013 12:26, Bob Ball <bob.ball@xxxxxxxxxx<mailto:bob.ball@xxxxxxxxxx>> wrote:
Hi Antonio,

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?
xe host-list params=memory-total,memory-free

It’s possible that this is related to dynamic memory allocation – from the log file the devstack setup used the following:
xe vm-memory-limits-set static-min=16MiB static-max=1024MiB dynamic-min=1024MiB dynamic-max=1024MiB uuid=e3975dab-c7a5-7490-02c6-988185a2c6f6

Try changing the static-min value to 1024 so dynamic memory allocation is ruled out:
xe vm-memory-limits-set static-min=1024MiB static-max=1024MiB dynamic-min=1024MiB dynamic-max=1024MiB uuid=e3975dab-c7a5-7490-02c6-988185a2c6f6

Thanks,

Bob

From: openstack-bounces+bob.ball=citrix.com@xxxxxxxxxxxxxxxxxxx<mailto:citrix.com@xxxxxxxxxxxxxxxxxxx> [mailto:openstack-bounces+bob.ball<mailto:openstack-bounces%2Bbob.ball>=citrix.com@xxxxxxxxxxxxxxxxxxx<mailto:citrix.com@xxxxxxxxxxxxxxxxxxx>] On Behalf Of Antonio Tirri
Sent: 28 January 2013 19:15
To: openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Subject: [Openstack] [OpenStack] DevStack setup on XenServer

I have to install a devstack multinode using 3 nodes configured as follows:

1) Controller on Ubuntu 12.04 LTS
2) Node Compute on Ubuntu 12.04 LTS with KVM hypervisor
3) Node Compute on XenServer

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

---
+ echo -n 'Starting VM... '
Starting VM... + xe vm-start uuid=e3975dab-c7a5-7490-02c6-988185a2c6f6
There are no suitable hosts to start this VM on.
The following table provides per-host reasons for why the VM could not be started:

xenserver-antonio    : Cannot start here [Not enough free memory]
---

Full log is at this address:

http://www.forumaltavilla.it/joomla/Documenti/installazione.txt

How can I solve this problem?

Thank you