[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Installing OpenStack Grizzly on CentOS VM running on XenServer



Hi,

The blogpost's third point is:
cd xen-4.2.0/tools/
and the fourth is the patching
That means, that you are in the xen-4.2.0/tools/ directory.

If the configure script reports errors, you need to fix them, it usually
means, that some libraries, header files are missing from your system,
or cannot be found. In your case, the "Unable to find as86, please
install as86" suggests, that you need the as86 package to be installed
on your system.

In those cases, I usually perform these steps:
 - yum search <package name/binary name (this case as86)>
 - do a google search on the error message
 - do a google search on the error message + my distributions name

By reading the search results, you sould be able to find out, which
package contains the required binary. In my case, as I am using Ubuntu,
it turned out, that the name of the package that needs to be installed,
is "bin86". As you are on Centos, you might try dev86 as well. You might
get some pointers by searching how to build Xen on CentOS, as we are
actually building some parts of Xen (the tools), so those pages might
contain useful information.

Regarding to the faketime package, you will have to do the same. Just to
give you some background on why the faketime is needed:
The vhd file contains a timestamp, which is a simple local time. So, if
your machine, that you use for conversion is on a different timezone
than your xenserver, the local times can differ. This way, after you
transfer (or as OpenStack transfers) your image to the XenServer, it
will perform some checks on it, and it might think, that the file was
created in the future. That is counted as an error, so you won't be able
to use your bits. That's why I used faketime, to fake the local time
back to the past, so that I don't face with that problem.

I hope that helps, and let me know, if you have any other issues.

Happy Stacking with XenServer!

Mate

On Thu, May 16, 2013 at 04:04:48PM +0530, Ashutosh Narayan wrote:
> Hi Mate,
> 
> I have tested with other qcow2 format images. That was booting earlier but
> now
> that also has stopped booting. So, now i am trying with VHD images.
> When I follow this link
> http://blogs.citrix.com/2012/10/04/convert-a-raw-image-to-xenserver-vhd/
> to apply patch I get a configure error when I run ./configure
> --disable-monitors --disable-ocamltools --disable-rombios --disable-seabios
> configure: error: Unable to find as86, please install as86
> I can't run 'make' until I overcome this error.
> I need to run wget
> https://github.com/citrix-openstack/xenserver-utils/raw/master/blktap2.patch-qO
> - | patch -p0
> while being under xen-4.2.0/tools/ directory or I can patch it from any
> directory ?
> I am stuck at this step itself.
> Second it the availability of "faketime" package to move forward.
> 
> Please advice
> 
> Thank you,
> 
> 
> 
> 
> On Thu, May 16, 2013 at 2:53 PM, Mate Lakat <mate.lakat@xxxxxxxxxx> wrote:
> 
> > Hi,
> >
> > What are the problems that you are facing during the image conversion?
> > As a first step, I would suggest you to somehow test that the
> > installation is working, using a generic image.
> >
> > If the instance fails to start, there must be some error messages, which
> > will help us. Please give me some pointers, so that I can help.
> >
> > With XenAPI, you can use Raw and VHD and AMI type images. Please note,
> > that in order to use three part images, you need to make a small
> > modification in Dom0, described here:
> >
> >
> > http://docs.openstack.org/trunk/openstack-compute/install/apt/content/introduction-to-xen.html#xapi-ami-setup
> >
> > Cheers,
> > Mate
> >
> >
> > On Thu, May 16, 2013 at 12:19:26PM +0530, Ashutosh Narayan wrote:
> > > Hi John,
> > >
> > > I installed xenapi using pip. Now I don't get xenapi module error
> > > under compute.log. But instance is still not booting.
> > > XenApi supports only RAW and VHD images right ?
> > >
> > > I am having problems in creating VHD images on following this
> > > link -
> > > http://blogs.citrix.com/2012/10/04/convert-a-raw-image-to-xenserver-vhd/
> > >
> > > Please suggest
> > >
> > > On Thu, May 16, 2013 at 11:34 AM, John Garbutt <
> > John.Garbutt@xxxxxxxxxxxxxxx
> > > > wrote:
> > >
> > > >  Hi,
> > > >
> > > >  Try:
> > > > pip install xenapi
> > > >
> > > >  John
> > > >
> > > >
> > > > Ashutosh Narayan <aashutoshnarayan@xxxxxxxxx> wrote:
> > > > Hi John,
> > > >
> > > >  I am having issues in booting the instances.
> > > > Yes, I have reconfigured them to use Xen-API drivers.
> > > > Since it was a problem related to xapi, I thought
> > > > of shooting an email to this list. Folks at OpenStack
> > > > mailing list pointed me here. Hence this question.
> > > >
> > > >  I followed this link http://openstack.redhat.com/Quickstart
> > > > to install OpenStack and configured Quantum on it after
> > > > following this link -
> > https://fedoraproject.org/wiki/Packstack_to_Quantum
> > > > over a CentOS 6.3 VM
> > > >
> > > >  But when I launch an instance from dashboard, it errors out.
> > > > I contacted a folk from Citrix who sent me the link I mentioned
> > earlier,
> > > > he added that there is a patch that's going to be released on this
> > regard.
> > > > This patch may solve my problems.
> > > >
> > > >  Second, problem that I am facing is in an error in compute.log which
> > > > says -
> > > > ERROR nova.virt.driver [-] Unable to load the virtualization driver: No
> > > > module named xenapi
> > > >
> > > >  Let me know should you want to have a look at any configurations
> > files on
> > > > server at my end. I will share it.
> > > >
> > > >  Thank you,
> > > >
> > > > On Mon, May 13, 2013 at 9:43 PM, John Garbutt <
> > > > John.Garbutt@xxxxxxxxxxxxxxx> wrote:
> > > >
> > > >>  What are the actual problems you are having?
> > > >> Are you using the CentOS packages?
> > > >> Have you reconfigured them to use the XenAPI driver as in the docs you
> > > >> link below?
> > > >>
> > > >>  Probably best to follow up on the openstack list.
> > > >> There are more openstack types listening over there.
> > > >>
> > > >>  John
> > > >>
> > > >>   From: Ashutosh Narayan <aashutoshnarayan@xxxxxxxxx>
> > > >> Date: Friday, 10 May 2013 13:29
> > > >> To: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
> > > >> Subject: [Xen-API] Installing OpenStack Grizzly on CentOS VM running
> > on
> > > >> XenServer
> > > >>
> > > >>   Hi Folks,
> > > >>
> > > >>  This is my very first post to the list.
> > > >> I am facing issues in booting an instance from OpenStack because of
> > XAPI
> > > >> issues.
> > > >> My setup is CentOS 6.3 installed on XenServer 6.0.2 and OpenStack
> > > >> installed on
> > > >> this CentOS 6.3 VM. So I was asked use xenapi to make things work.
> > > >> Actually am not very clear as how these driver issues occur.
> > > >> Can some one make this clear to me ?
> > > >> A Citrix folk has pointed me to this link in order to make me
> > understand
> > > >> how
> > > >> pieces communicates -
> > > >>
> > http://docs.openstack.org/trunk/openstack-compute/admin/content/introduction-to-xen.html
> > > >> But am still unclear on this regard.
> > > >>
> > > >>  Help appreciated.
> > > >>
> > > >>  Thank you,
> > > >>  --
> > > >> Ashutosh Narayan
> > > >>
> > > >> http://ashutoshn.wordpress.com/
> > > >>
> > > >>
> > > >>
> > > >>   John Garbutt
> > > >> Software Developer IV - UK [image: experience Fanatical Support]
> >  [image:
> > > >> LINE]    Tel: +442087344853   [image: Rackspace]
> > > >>
> > > >>
> > > >>
> > > >> Rackspace International GmbH a company registered in the Canton of
> > > >> Zurich, Switzerland (company identification number CH-020.4.047.077-1
> > )
> > > >> whose registered office is at Balz-Zimmerman Strasse 7, 8302 Kloten,
> > > >> Switzerland. Rackspace International GmbH privacy policy can be
> > viewed at
> > > >> www.rackspace.co.uk/legal/swiss-privacy-policy
> > > >> -
> > > >> Rackspace Hosting Australia PTY LTD a company registered in the state
> > of
> > > >> Victoria, Australia (company registered number ACN 153 275 524) whose
> > > >> registered office is at Suite 3, Level 7, 210 George Street, Sydney,
> > NSW
> > > >> 2000, Australia. Rackspace Hosting Australia PTY LTD privacy policy
> > can be
> > > >> viewed at www.rackspace.com.au/company/legal-privacy-statement.php
> > > >> -
> > > >> Rackspace US, Inc, 5000 Walzem Road, San Antonio, Texas 78218, United
> > > >> States of America
> > > >> Rackspace US, Inc privacy policy can be viewed at
> > > >> www.rackspace.com/information/legal/privacystatement
> > > >> -
> > > >> Rackspace Limited is a company registered in England & Wales (company
> > > >> registered number 03897010) whose registered office is at 5 Millington
> > > >> Road, Hyde Park Hayes, Middlesex UB3 4AZ.
> > > >> Rackspace Limited privacy policy can be viewed at
> > > >> www.rackspace.co.uk/legal/privacy-policy
> > > >> -
> > > >> Rackspace Benelux B.V. is a company registered in the Netherlands
> > > >> (company KvK nummer 34276327) whose registered office is at
> > > >> Teleportboulevard 110, 1043 EJ Amsterdam.
> > > >> Rackspace Benelux B.V privacy policy can be viewed at
> > > >> www.rackspace.nl/juridisch/privacy-policy
> > > >> -
> > > >> Rackspace Asia Limited is a company registered in Hong Kong (Company
> > no:
> > > >> 1211294) whose registered office is at 9/F, Cambridge House, Taikoo
> > Place,
> > > >> 979 King's Road, Quarry Bay, Hong Kong.
> > > >> Rackspace Asia Limited privacy policy can be viewed at
> > > >> www.rackspace.com.hk/company/legal-privacy-statement.php
> > > >> -
> > > >> This e-mail message (including any attachments or embedded documents)
> > is
> > > >> intended for the exclusive and confidential use of the individual or
> > entity
> > > >> to which this message is addressed, and unless otherwise expressly
> > > >> indicated, is confidential and privileged information of Rackspace.
> > Any
> > > >> dissemination, distribution or copying of the enclosed material is
> > > >> prohibited. If you receive this transmission in error, please notify
> > us
> > > >> immediately by e-mail at abuse@xxxxxxxxxxxxx and delete the original
> > > >> message. Your cooperation is appreciated.
> > > >>
> > > >
> > > >
> > > >
> > > >  --
> > > > Ashutosh Narayan
> > > >
> > > > http://ashutoshn.wordpress.com/
> > > >
> > > >
> > > >
> > > >   John Garbutt
> > > > Software Developer IV - UK [image: experience Fanatical Support]
> > [image:
> > > > LINE] Tel: +442087344853 [image: Rackspace]
> > > >
> > > >
> > > >
> > > > Rackspace International GmbH a company registered in the Canton of
> > Zurich,
> > > > Switzerland (company identification number CH-020.4.047.077-1) whose
> > > > registered office is at Balz-Zimmerman Strasse 7, 8302 Kloten,
> > Switzerland.
> > > > Rackspace International GmbH privacy policy can be viewed at
> > > > www.rackspace.co.uk/legal/swiss-privacy-policy
> > > > -
> > > > Rackspace Hosting Australia PTY LTD a company registered in the state
> > of
> > > > Victoria, Australia (company registered number ACN 153 275 524) whose
> > > > registered office is at Suite 3, Level 7, 210 George Street, Sydney,
> > NSW
> > > > 2000, Australia. Rackspace Hosting Australia PTY LTD privacy policy
> > can be
> > > > viewed at www.rackspace.com.au/company/legal-privacy-statement.php
> > > > -
> > > > Rackspace US, Inc, 5000 Walzem Road, San Antonio, Texas 78218, United
> > > > States of America
> > > > Rackspace US, Inc privacy policy can be viewed at
> > > > www.rackspace.com/information/legal/privacystatement
> > > > -
> > > > Rackspace Limited is a company registered in England & Wales (company
> > > > registered number 03897010) whose registered office is at 5 Millington
> > > > Road, Hyde Park Hayes, Middlesex UB3 4AZ.
> > > > Rackspace Limited privacy policy can be viewed at
> > > > www.rackspace.co.uk/legal/privacy-policy
> > > > -
> > > > Rackspace Benelux B.V. is a company registered in the Netherlands
> > (company
> > > > KvK nummer 34276327) whose registered office is at Teleportboulevard
> > 110,
> > > > 1043 EJ Amsterdam.
> > > > Rackspace Benelux B.V privacy policy can be viewed at
> > > > www.rackspace.nl/juridisch/privacy-policy
> > > > -
> > > > Rackspace Asia Limited is a company registered in Hong Kong (Company
> > no:
> > > > 1211294) whose registered office is at 9/F, Cambridge House, Taikoo
> > Place,
> > > > 979 King's Road, Quarry Bay, Hong Kong.
> > > > Rackspace Asia Limited privacy policy can be viewed at
> > > > www.rackspace.com.hk/company/legal-privacy-statement.php
> > > > -
> > > > This e-mail message (including any attachments or embedded documents)
> > is
> > > > intended for the exclusive and confidential use of the individual or
> > entity
> > > > to which this message is addressed, and unless otherwise expressly
> > > > indicated, is confidential and privileged information of Rackspace. Any
> > > > dissemination, distribution or copying of the enclosed material is
> > > > prohibited. If you receive this transmission in error, please notify us
> > > > immediately by e-mail at abuse@xxxxxxxxxxxxx and delete the original
> > > > message. Your cooperation is appreciated.
> > > >
> > >
> > >
> > >
> > > --
> > > Ashutosh Narayan
> > >
> > > http://ashutoshn.wordpress.com/
> >
> > > _______________________________________________
> > > Xen-api mailing list
> > > Xen-api@xxxxxxxxxxxxx
> > > http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
> >
> >
> > --
> > Mate Lakat
> >
> 
> 
> 
> -- 
> Ashutosh Narayan
> 
> http://ashutoshn.wordpress.com/

-- 
Mate Lakat

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.