Ask Your Question
0

Can't install DevStack on top of XCP 1.6 (cant' get stage.tgz from ansolabs)

asked 2012-12-25 11:48:51 -0500

imoiseev4list gravatar image

Hello.

I'm trying to install OpenStack on pre-installed XCP 1.6. So I'm following the instructions posted here http://wiki.openstack.org/NovaXCP . But it is impossible to run step 14 (i.e build domU image file) because build_xva.sh script tries to download stage.tgz from http://images.ansolabs.com whereas there is no such file.

Output of build_xva.sh: + STAGING_DIR=/root/devstack/tools/xen/stage + CLEAN=0 + '[' 0 = 1 ']' + BASE_IMAGE_URL=http://images.ansolabs.com/xen/stage.tgz + '[' '!' -e /root/devstack/tools/xen/stage ']' + '[' '!' -e /tmp/stage.tgz ']' + wget http://images.ansolabs.com/xen/stage.tgz -O /tmp/stage.tgz --2012-12-25 15:30:29-- http://images.ansolabs.com/xen/stage.tgz Resolving images.ansolabs.com... failed: Name or service not known. wget: unable to resolve host address `images.ansolabs.com' + tar xfz /tmp/stage.tgz

gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error exit delayed from previous errors + cd /root/devstack/tools/xen + rm -f /tmp/stage.tgz + '[' '!' -d /root/devstack/tools/xen/stage/etc ']' + echo 'Stage is not properly set up!' Stage is not properly set up! + exit 1

As I understand logic of this script was changed recently and stage.tgz was removed from http://ansolabs.com . So what am I supposed to do in this situation if I want to install stable OpenStack build on pre-installed XCP (that is on CentOS)? Is there any way to workaround the issue? Or do I need to file a bug on documentation?

Thanks, Ivan.

edit retag flag offensive close merge delete

9 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-21 20:41:42 -0500

Hi John, Sorry try again!!

I followed the instructions as per the article, I'm half way through step 4 I run install_os_domU.sh that created a VM called DevStackOSDomU. I logged in VM using root credentials but I'm unable to find the "run.sh.log" file in the VM. In /opt/stack there are two files prepare_guest.sh and prepare_guest.log. I ran prepare_guest.log and it seems it runs some commands and wait for VM to shutdown. The last line of log file is "shutdown -h now". For some reason VM never goes down. I ran preapre_guest.sh and it dowload stage.tgz and uncompress it.

As said I'm running with very limited knowledge in this area

Thanks Mukesh

edit flag offensive delete link more
0

answered 2013-03-21 20:37:49 -0500

Hi John,

I followed the instructions as per the article, I'm half way through step 4 I run install_os_domU.sh that created a VM called DevStackOSDomU. I logged in VM using root credentials but I'm unable to find the "run.sh.log" file in the VM. In /opt/stack there are two files prepare_guest.sh and prepare_guest.log. I ran prepare_guest.log and it seems it runs some commands and wait for VM to shutdown. The last line of log file is "shutdown -h now". For some reason VM never goes down. I ran preapre_guest.sh and it only created

edit flag offensive delete link more
0

answered 2012-12-27 17:50:35 -0500

imoiseev4list gravatar image

Hi, Armando. I was following instructions from http://wiki.openstack.org/NovaXCP . It proposes to download sources from https://github.com/cloudbuilders/devstack/tarball/milestone-proposed (https://github.com/cloudbuilders/devs...) . Actually, I'm not sure which branch this tarball corresponds to, looks like it is master branch. Anyway, method offered by you seems to solve the problem. At least I'm at stage of installing domU with Nova. So I think I can close the answer. Although, it is a pity that detailed instruction on wiki is incorrect. Thank you for the help!

edit flag offensive delete link more
0

answered 2012-12-27 10:15:14 -0500

armando-migliaccio gravatar image

What stable version are you trying to install? As far as I remember both Essex and Folsom should work fine. Please try to re-clone your devstack repo and switch to either one of the stable branches.

The most accurate instructions to install DevStack on XCP/XenServer can be found directly in the code:

https://github.com/openstack-dev/devs...

edit flag offensive delete link more
0

answered 2012-12-26 09:29:57 -0500

imoiseev4list gravatar image

Hi, Davanum. I'm sorry, but I don't understand how this bug is related to my question because it introduced changes in another scripts and it didn't concern stage.tgz file. The only thing I understood from this bug is that files stored on ansolabs were removed from it. But this remove (fix of the bug) in case of stage.tgz introduced my problem. So, the question is the same. Where to get correct installation instructions for installing OpenStack on pre-installed XCP (CentOS)? Or how to workaround the problem? Actually, I would prefer to use sources stable released build instead of taking current source from the git.

edit flag offensive delete link more
0

answered 2012-12-25 18:49:01 -0500

dims-v gravatar image

This bug (1078618) has already been fixed

edit flag offensive delete link more
0

answered 2013-03-21 13:28:24 -0500

johngarbutt gravatar image

To get started try here: https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md (https://github.com/openstack-dev/devs...)

If you hit problems, feel free to open a new question.

edit flag offensive delete link more
0

answered 2013-03-21 02:14:00 -0500

Hi guys

I'm having same problem, it seems that Ivan resolve the issue. I'm new to this can someone give me more information please?

Thanks Mukesh

edit flag offensive delete link more
0

answered 2012-12-27 17:51:18 -0500

imoiseev4list gravatar image

Thanks Armando Migliaccio, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-12-25 11:48:51 -0500

Seen: 93 times

Last updated: Mar 21 '13