cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay Venkatachalam <Vijay.Venkatacha...@citrix.com>
Subject RE: Getting CRAZY for having a cloud working!
Date Fri, 28 Dec 2012 12:23:40 GMT

1. In the CloudStack UI, Enable maintenance mode of the zone you are using.
2. In the CloudStack UI, Enable maintenance mode of the host you are using.
3. In the CloudStack UI, Delete the host.
4. In the XenCenter client, shutdown and delete the VMs in the host (if not done already by
CS).
5. In the XenCenter client,  in the Storage tab, right click on the storage that maps to the
primary storage you have configured (my case it was NFS, if it is local storage you can leave
it) and "Forget" it.
6. In the XenServer's console, run the following command to remove the tag
> >   xe host-param-clear uuid=<hostid> param-name=tags
6. In the CloudStack UI, Add the host back
7. In the CloudStack UI, Disable the maintenance mode of the zone.

hth,
Vijay

> -----Original Message-----
> From: Andrea Ottonello [mailto:aottonello@gmail.com]
> Sent: Friday, December 28, 2012 1:44 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Re: Getting CRAZY for having a cloud working!
> 
> Hallo all! Thank you for your VERY appreciated help and have happy new
> year!
> Vijay, could you please explain a little more detailed the steps to
> remove/cleanup the host? Sorry I don't know, for example, what is a "vbd"...
> I'm quite new to Linux/Xen/Xenserver/CS, sorry for asking things that maybe
> are very simple...
> 
> 
> 2012/12/28 Vijay Venkatachalam <Vijay.Venkatachalam@citrix.com>
> 
> >
> > I had the very same problem and resolved it quite some-time back.
> >
> > **********************
> > Reason: The xenserver host did not contain system-vm.iso, vhd-util etc.
> > If you also could not find these files in your xenserver read-on
> > **********************
> >
> > A CS host tag had erroneously labeled/marked the XenServer was already
> > patched even though it was not patched. So CS did not patch the host
> > with the files (vhd-util,....).
> >
> > Solution:
> > Remove the tags in the host and re-add the host
> >
> > Steps:
> > The following sequence of steps should help fix the problem.
> > 1. Remove the host
> > 2. Cleanup the host as usual (clear vbd and any vms) 3. Remove cs tags
> > of the host using the following command.
> >   xe host-param-clear uuid=<hostid> param-name=tags 4. Add the host
> > back
> >
> >
> > > -----Original Message-----
> > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > Sent: Thursday, December 27, 2012 8:28 PM
> > > To: cloudstack-users@incubator.apache.org
> > > Subject: Re: Getting CRAZY for having a cloud working!
> > >
> > > Hallo Sebastien,
> > > thank you for your help.
> > > I will try to put management log on the site you provided.
> > > I started using 4.0 version, tried 3.0 only searching for a solution.
> > >
> > > Let's answer something:
> > > 1- yes management server is running
> > > 2- yes I defined zone, pod, cluster and host.
> > > 3- primary and secondary are defined and available.
> > > 4- I can mount NFS secondary storage and create file inside it from
> > > host, primary is locally available to host (HBA) and I can create a
> > > VM on it
> > using
> > > XenCenter, so is online and working.
> > > I also tried using NFS share for primary, or even localstorage
> > > (enabling
> > global
> > > config varable to use it for VMs).
> > > 5- zone is enabled.
> > > 6- VMs are NOT running. v-2-VM is in starting/stopped state loop,
> > > while
> > if I
> > > enable zone CS tries to create s-XX-VM, it fails, it deletes it and
> > > try
> > again
> > > creating a new one, increasing XX number of 1, in an infinite loop.
> > > This is definitely my problem. If I look at management log, it says
> > > that
> > my only
> > > available host is in avoid set, so CS doesn't know where to put VM
> > > and
> > fails. I
> > > don't know WHY my host is in "avoid set": it has 22 GB of RAM, 200
> > > GB of primary storage and 2 CPU quadcore. It is a fresh install,
> > > formatted and
> > only
> > > putted into a new pool as for installation instructions. I used same
> > name for
> > > network interfaces and primary storage. There must be something
> > > wrong/missing in Xen/XCP setup, but I'm not able to understand what.
> > > Is terribly frustrating...
> > >
> > >
> > > 2012/12/27 sebgoa <runseb@gmail.com>
> > >
> > > > Dear Andrea,
> > > >
> > > > Very sorry things are not working out of the box for you.
> > > > If you can share your management server logs on the list, maybe we
> > > > can help better.
> > > > Use http://pastie.org/ for example, to avoid your logs being
> > > > stripped out of the email.
> > > >
> > > > Since it's the holiday season, lots of folks are taking a break
> > > > and there are very few people able to help out.
> > > >
> > > > You should use the 4.0 release which is the first official Apache
> > > > release, documented at
> > > > http://incubator.apache.org/cloudstack/downloads.html
> > > >
> > > > Couple questions to understand where you are in the setup currently:
> > > >
> > > > 1-Is the management server running ?
> > > > 2-Have you defined the zone/pod/cluster/host ?
> > > > 3-Are primary and secondary storage defined and available ?
> > > > 4-Can you access primary and secondary storage from your xen host ?
> > > > 5-Is the zone enabled ?
> > > > 6-Are the system VMs running ?
> > > >
> > > > Cheers,
> > > >
> > > > -Sebastien
> > > >
> > > > On Dec 24, 2012, at 3:34 PM, Andrea Ottonello wrote:
> > > >
> > > > > Hallo all. I tried to analyze log for myself: found something
> > > > > wrong about storage, so I disabled multipath, configured zoning
> > > > > on fabric switches to permit only one path and tried for XXXth
> > > > > time to setup all again from scratch. No luck again. Starting to
> > > > > believe is a lot of crap and nothing else. I also tried
> > > > > installing CS 3.0.2 as "stable" version, NO LUCK
> > > > AGAIN.
> > > > > Tried using CentOS instead of Ubuntu, Nothing again. Ok, I will
> > > > > take my LAST try using another physical server with no SAN
> > > > > attached and using
> > > > local
> > > > > storage as primary. If even this try will not be ok, I'll give up.
> > > > > Wasted almost 3 weeks for obtaining... nothing. Ok, that is a
> > > > > open source product, but I cannot believe it to be SO INCREDIBLY
> > > > > IMPOSSIBLE to have neither a trial setup up and running.
> > > > > If anyone believe I'm simply not able to setup, I'm here: have a
> > > > PowerEdge
> > > > > 1950 DELL connected with a Brocade 200E to a EMC CX300. I have
> > > > > another server for installing VMs for management, mysql,
> > > > > secondary storage and so on. I want to use XCP/Xen as
> > > > > hypervisor, using a primary storage on my
> > > > SAN
> > > > > connected through HBAs. Give me just instructions and I will
> > > > > follow
> > them.
> > > > > That's all.
> > > > >
> > > > >
> > > > > 2012/12/19 Andrea Ottonello <aottonello@gmail.com>
> > > > >
> > > > >> I discovered ... ;)
> > > > >> Any suggestion on where to put it?
> > > > >>
> > > > >>
> > > > >>
> > > > >> 2012/12/19 Chip Childers <chip.childers@sungard.com>
> > > > >>
> > > > >>> The apache list-serv strips attachments.  They need to be
> > > > >>> placed somewhere else, with a URL pointer to the location.
> > > > >>>
> > > > >>> On Wed, Dec 19, 2012 at 10:45 AM, Marc Cirauqui
> > > > >>> <mcirauqui@gmail.com>
> > > > >>> wrote:
> > > > >>>> I can't find any attachments...
> > > > >>>>
> > > > >>>>
> > > > >>>> On Wed, Dec 19, 2012 at 4:38 PM, Andrea Ottonello <
> > > > aottonello@gmail.com
> > > > >>>> wrote:
> > > > >>>>
> > > > >>>>> I will try, thank you. Already attached log to an
email.
> > > > >>>>>
> > > > >>>>>
> > > > >>>>> 2012/12/19 Marc Cirauqui <mcirauqui@gmail.com>
> > > > >>>>>
> > > > >>>>>> I don't know your physical setup, but if you
have two
> > > > >>>>>> network
> > > > >>> interfaces,
> > > > >>>>>> you should name them in XenCenter.
> > > > >>>>>>
> > > > >>>>>> Example. In Xencenter, networking tab, you see
"Network 0"
> > > > >>>>>> and
> > > > >>> "Network
> > > > >>>>> 1"
> > > > >>>>>> (don't remember exact names). Rename them to
be "cloud-
> > > private"
> > > > >>>>>> and "cloud-public" (for example). Then in the
fancy icons
> > > > >>>>>> in setup
> > > > >>> wizard (or
> > > > >>>>>> equivalent in infrastructure tab) put those tags
in private
> > > > >>>>>> and
> > > > >>> public
> > > > >>>>>> network.
> > > > >>>>>>
> > > > >>>>>> That way CS maps vm's interfaces to the right
physical
> > > > >>>>>> interfaces in
> > > > >>>>> XS...
> > > > >>>>>> Also, please, upload your log to pastebin or
something
> > > > >>>>>> similar to
> > > > >>> check
> > > > >>>>> up.
> > > > >>>>>>
> > > > >>>>>> thx
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>> On Wed, Dec 19, 2012 at 4:24 PM, Andrea Ottonello
<
> > > > >>> aottonello@gmail.com
> > > > >>>>>>> wrote:
> > > > >>>>>>
> > > > >>>>>>> Anyway, tried to format host and install
XenServer 6.0.2,
> > > > >>>>>>> activated
> > > > >>>>> with
> > > > >>>>>>> free license, updated with last patches via
XenCenter
> > > > >>>>>>> (exception
> > > > >>> made
> > > > >>>>> for
> > > > >>>>>>> 6.1 upgrade, of course). Restored MGMT machine
to
> snapshot
> > > > >>>>>>> taken
> > > > >>> after
> > > > >>>>>>> finishing fresh setup of cloudstack (just
after
> > > > >>>>> cloud-setup-management).
> > > > >>>>>>> Tested again NFS shares on CentOS machine.
> > > > >>>>>>> ok, let's start: followed guide to configure
XenServer
> > > > >>>>>>> host
> > > > >>> (basically,
> > > > >>>>>>> installed package for CloudStack).
> > > > >>>>>>> Got to CloudStack UI, closed wizard and started
creating
> > > > >>>>>>> zone pod
> > > > >>>>> cluster
> > > > >>>>>>> storage etc.... SAME F...ING S..T error,
it doesn't start
> > > > >>>>>>> System
> > > > >>> VMs
> > > > >>>>>>> because it tells that there is no suitable
host... BUT WHY???
> > > > >>>>>>> Host
> > > > >>> is
> > > > >>>>>> right
> > > > >>>>>>> there waiting for you stupid software to
place a VM on it!
> > > > >>>>>>>
> > > > >>>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>> --
> > > > >>>>> Andrea Ottonello
> > > > >>>>>
> > > > >>>
> > > > >>
> > > > >>
> > > > >>
> > > > >> --
> > > > >> Andrea Ottonello
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > Andrea Ottonello
> > > >
> > > >
> > >
> > >
> > > --
> > > Andrea Ottonello
> >
> 
> 
> 
> --
> Andrea Ottonello

Mime
View raw message