You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Marc Cirauqui <mc...@gmail.com> on 2013/01/02 12:31:08 UTC

Re: Getting CRAZY for having a cloud working!

Hi Andrea, any news?

thx


On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
Vijay.Venkatachalam@citrix.com> wrote:

> Remember the first step is to see if these steps are applicable to you.
>
> Meaning in my case when I ran a find in xenserver console I was not able
> to find the vhd-util tools.
> Meaning there should be zero results for
> >> find / -name "vhd-util"
>
> If the patches are already applied (the steps won't help) you might it
> them in
> /usr/sbin/vhd-util
> /opt/xensource/bin/vhd-util
>
>
>
> > -----Original Message-----
> > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > Sent: Friday, December 28, 2012 6:10 PM
> > To: cloudstack-users@incubator.apache.org
> > Subject: Re: Getting CRAZY for having a cloud working!
> >
> > THANK YOU VERY VERY VERY MUCH, I will try this!
> >
> >
> > 2012/12/28 Vijay Venkatachalam <Vi...@citrix.com>
> >
> > > Simple Tab should auto-fill it up
> > > You can cross verify from
> > > XenCenter: Select Host-> General->UUID
> > >
> > > > -----Original Message-----
> > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > Sent: Friday, December 28, 2012 6:01 PM
> > > > To: cloudstack-users@incubator.apache.org
> > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > >
> > > > Ehm... last thing I promise... where I get hostid? :)
> > > >
> > > >
> > > > 2012/12/28 Vijay Venkatachalam <Vi...@citrix.com>
> > > >
> > > > >
> > > > > 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 <Vi...@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 <ru...@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 <ao...@gmail.com>
> > > > > > > > > >
> > > > > > > > > >> I discovered ... ;)
> > > > > > > > > >> Any suggestion on where to put it?
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> 2012/12/19 Chip Childers <ch...@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
> > > > > > > > > >>> <mc...@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 <mc...@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
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Andrea Ottonello
> > >
> >
> >
> >
> > --
> > Andrea Ottonello
>

Re: Getting CRAZY for having a cloud working!

Posted by Marc Cirauqui <mc...@gmail.com>.
Hi,

As Nitin points out, use the provided script to troubleshoot ssvm problems.

Most probable cause, your ssvm is not connecting to internet.

thx


On Sun, Jan 6, 2013 at 1:10 PM, Nitin Mehta <Ni...@citrix.com> wrote:

> Andrea - Please try
> https://cwiki.apache.org/CLOUDSTACK/ssvm-troubleshooting.html
>
> Thanks,
> -Nitin
>
> On 06-Jan-2013, at 4:25 PM, Andrea Ottonello wrote:
>
> FINALLY a step ahead!!!! now, using a virtual management server, a virtual
> storage server for primary and secondary storage, and a virtual XenServer
> 6.0.2 host I have a Zone working!!!! Think that there is something wrong
> with XCP, don't know what... anyway, now I have a new problem: the CentOS
> builtin template reports status "Connection timeout" and ready "No", there
> is no size reported. I checked and allowed on firewall any traffic from
> both IP ranges used for public and private network, but no luck. Any idea?
> I will start to work about this issue now...
>
>
>
> 2013/1/4 Andrea Ottonello <aottonello@gmail.com<mailto:
> aottonello@gmail.com>>
>
> Here it is... now I have created a host "virtual" running on a XCP 1.6
> real host, modifying a mysql database parameter not to check for HVM
> capacity.
>
> Same problem, s-x-VM not starting.
>
> http://pastebin.com/tpLDi5ir
>
>
> 2013/1/3 Paul Angus <paul.angus@shapeblue.com<mailto:
> paul.angus@shapeblue.com>>
>
> Andrea,
>
> That sounds right, could you upload your management log to
> pastebin.comfrom around the time when you tried to add the host
>
> Regards,
>
> Paul Angus
> Cloud Architect / Senior Consultant
> paul.angus@shapeblue.com<ma...@shapeblue.com> |
> www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeBlue
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 07:55
> To: cloudstack-users
> Subject: Re: Getting CRAZY for having a cloud working!
>
> Hi Andrea,
>
> Sounds good to me. Still no luck running vms? Be advised that your
> management interface in XS should be on "MGMT" network and reachable from
> management server (I'm sure you checked thrice, just to be sure).
>
> thx
>
>
> On Thu, Jan 3, 2013 at 12:24 AM, Andrea Ottonello <aottonello@gmail.com
> <ma...@gmail.com>
> wrote:
>
> Hallo.
> On the host I have 2 ethernet NICs and 2 HBAs. In XenCenter I see them
> as "network 0" and "network 1". In XenCenter I renamed "network 0" as
> "MGMT"
> and disabled the flag to automatically assign it to VMs, and "network
> 1" to "VNET", because I want it to be dedicated to VMs. Then, when
> creating Physical Network, I gave it name VNET (globally) and assigned
> to blue icon (internal management traffic) the MGMT label, and to
> green icon (VMs
> traffic) VNET label. I didn't include red icon (storage) because it
> should be via HBAs. Are these settings wrong? I set primary storage as
> "PreSetup"
> and gave same SR-label used in XenCenter to identify it. Is it ok?
>
>
> 2013/1/2 Paul Angus <paul.angus@shapeblue.com<mailto:
> paul.angus@shapeblue.com>>
>
> Hi Andrea,
>
> It sounds like you need to label your network interfaces in on the
> XenServer host and in CloudStack.
>
> Its hard to read the early parts of the emails to see how many
> interfaces you've got on your host. But if you have just the one
> then rename it something with no spaces like 'if-cloud' its easiest
> to do it with XenCenter.
> Then you go to the GUI;  Infrastructure > YOUR_ZONE > Physical
> Network.
> Go
> to each of the physical networks you have and set the 'XenServer
> Traffic Label' for the management, storage, public and guest
> networks to
> 'if-cloud'
>
> Then add the host.
>
> I have seen some hosts fail to add if the storage network isn't
> explicitly
> defined as a network too.
>
> If you can include a link to your management server log it would help.
>
>
> Paul Angus
> Cloud Architect / Senior Consultant
> paul.angus@shapeblue.com<ma...@shapeblue.com>
> 07711 418 784
> www.shapeblue.com<http://www.shapeblue.com>
>
> -----Original Message-----
> From: Andrea Ottonello [mailto:aottonello@gmail.com]
> Sent: 02 January 2013 17:02
> To: cloudstack-users@incubator.apache.org<mailto:
> cloudstack-users@incubator.apache.org>
> Subject: Re: Getting CRAZY for having a cloud working!
>
> Hallo all and happy new year!
> Today I tried again: management vm fresh, xenserver fresh and
> updated
> (but
> still 6.0.2) with local storage, I closed wizard and before adding
> zone etc. I configured option for system VMs on local storage. Then
> added
> zone,
> pod, cluster, node... when adding node, some strange errors
> regarding
> agent
> disconnected. From XenCenter I see that local storage has changed
> name
> with
> "cloud stack bla bla bla" in description, but in management UI I
> don't
> see
> any primary storage configured.
> Ok, enough. New year, new life. If a product takes almost a month
> for simply setup a trial and even now not works, maybe is time to
> try
> something
> different. Maybe I'm unlucky and/or not capable of doing things, or
> maybe CloudStack and guides are not so "turnkey" as they claim to
> be. I don't know what else to do, just give up.
>
>
> 2013/1/2 Marc Cirauqui <mc...@gmail.com>>
>
> Hi Andrea, any news?
>
> thx
>
>
> On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
> Vijay.Venkatachalam@citrix.com<ma...@citrix.com>>
> wrote:
>
> Remember the first step is to see if these steps are applicable
> to
> you.
>
> Meaning in my case when I ran a find in xenserver console I was
> not able to find the vhd-util tools.
> Meaning there should be zero results for
> find / -name "vhd-util"
>
> If the patches are already applied (the steps won't help) you
> might it them in /usr/sbin/vhd-util /opt/xensource/bin/vhd-util
>
>
>
> -----Original Message-----
> From: Andrea Ottonello [mailto:aottonello@gmail.com]
> Sent: Friday, December 28, 2012 6:10 PM
> To: cloudstack-users@incubator.apache.org<mailto:
> cloudstack-users@incubator.apache.org>
> Subject: Re: Getting CRAZY for having a cloud working!
>
> THANK YOU VERY VERY VERY MUCH, I will try this!
>
>
> 2012/12/28 Vijay Venkatachalam
> <Vi...@citrix.com>>
>
> Simple Tab should auto-fill it up You can cross verify from
> XenCenter: Select Host-> General->UUID
>
> -----Original Message-----
> From: Andrea Ottonello [mailto:aottonello@gmail.com]
> Sent: Friday, December 28, 2012 6:01 PM
> To: cloudstack-users@incubator.apache.org<mailto:
> cloudstack-users@incubator.apache.org>
> Subject: Re: Getting CRAZY for having a cloud working!
>
> Ehm... last thing I promise... where I get hostid? :)
>
>
> 2012/12/28 Vijay Venkatachalam
> <Vi...@citrix.com>>
>
>
> 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<mailto:
> 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
> <Vi...@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<mailto:
> 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 <ru...@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
> .htm
> l
>
> 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
> <ao...@gmail.com>>
>
> I discovered ... ;) Any suggestion on where
> to put it?
>
>
>
> 2012/12/19 Chip Childers
> <ch...@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 <mc...@gmail.com>>
> wrote:
> I can't find any attachments...
>
>
> On Wed, Dec 19, 2012 at 4:38 PM, Andrea
> Ottonello <
> aottonello@gmail.com<ma...@gmail.com>
> wrote:
>
> I will try, thank you. Already attached
> log to an
> email.
>
>
> 2012/12/19 Marc Cirauqui
> <mc...@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<ma...@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
>
>
>
>
> --
> Andrea Ottonello
>
>
>
>
> --
> Andrea Ottonello
>
>
>
>
>
> --
> Andrea Ottonello
> ShapeBlue provides a range of strategic and technical consulting and
> implementation services to help IT Service Providers and Enterprises
> to build a true IaaS compute cloud. ShapeBlue’s expertise, combined
> with CloudStack technology, allows IT Service Providers and
> Enterprises to deliver true, utility based, IaaS to the customer or
> end-user.
>
> ________________________________
>
> This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is
> addressed. Any views
> or
> opinions expressed are solely those of the author and do not
> necessarily represent those of Shape Blue Ltd. If you are not the
> intended recipient
> of
> this email, you must neither take any action based upon its
> contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd
> is a company
> incorporated
> in England & Wales.
>
>
>
>
> --
> Andrea Ottonello
>
> ShapeBlue provides a range of strategic and technical consulting and
> implementation services to help IT Service Providers and Enterprises to
> build a true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack technology, allows IT Service Providers and Enterprises to
> deliver true, utility based, IaaS to the customer or end-user.
>
> ________________________________
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd. If you are not the intended recipient of
> this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you
> have received this email in error. Shape Blue Ltd is a company incorporated
> in England & Wales.
>
>
>
>
> --
> Andrea Ottonello
>
>
>
>
> --
> Andrea Ottonello
>
>

Re: Getting CRAZY for having a cloud working!

Posted by Nitin Mehta <Ni...@citrix.com>.
Andrea - Please try https://cwiki.apache.org/CLOUDSTACK/ssvm-troubleshooting.html

Thanks,
-Nitin

On 06-Jan-2013, at 4:25 PM, Andrea Ottonello wrote:

FINALLY a step ahead!!!! now, using a virtual management server, a virtual
storage server for primary and secondary storage, and a virtual XenServer
6.0.2 host I have a Zone working!!!! Think that there is something wrong
with XCP, don't know what... anyway, now I have a new problem: the CentOS
builtin template reports status "Connection timeout" and ready "No", there
is no size reported. I checked and allowed on firewall any traffic from
both IP ranges used for public and private network, but no luck. Any idea?
I will start to work about this issue now...



2013/1/4 Andrea Ottonello <ao...@gmail.com>>

Here it is... now I have created a host "virtual" running on a XCP 1.6
real host, modifying a mysql database parameter not to check for HVM
capacity.

Same problem, s-x-VM not starting.

http://pastebin.com/tpLDi5ir


2013/1/3 Paul Angus <pa...@shapeblue.com>>

Andrea,

That sounds right, could you upload your management log to pastebin.comfrom around the time when you tried to add the host

Regards,

Paul Angus
Cloud Architect / Senior Consultant
paul.angus@shapeblue.com<ma...@shapeblue.com> | www.shapeblue.com<http://www.shapeblue.com> | Twitter:@shapeBlue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS



-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
Sent: 03 January 2013 07:55
To: cloudstack-users
Subject: Re: Getting CRAZY for having a cloud working!

Hi Andrea,

Sounds good to me. Still no luck running vms? Be advised that your
management interface in XS should be on "MGMT" network and reachable from
management server (I'm sure you checked thrice, just to be sure).

thx


On Thu, Jan 3, 2013 at 12:24 AM, Andrea Ottonello <ao...@gmail.com>
wrote:

Hallo.
On the host I have 2 ethernet NICs and 2 HBAs. In XenCenter I see them
as "network 0" and "network 1". In XenCenter I renamed "network 0" as
"MGMT"
and disabled the flag to automatically assign it to VMs, and "network
1" to "VNET", because I want it to be dedicated to VMs. Then, when
creating Physical Network, I gave it name VNET (globally) and assigned
to blue icon (internal management traffic) the MGMT label, and to
green icon (VMs
traffic) VNET label. I didn't include red icon (storage) because it
should be via HBAs. Are these settings wrong? I set primary storage as
"PreSetup"
and gave same SR-label used in XenCenter to identify it. Is it ok?


2013/1/2 Paul Angus <pa...@shapeblue.com>>

Hi Andrea,

It sounds like you need to label your network interfaces in on the
XenServer host and in CloudStack.

Its hard to read the early parts of the emails to see how many
interfaces you've got on your host. But if you have just the one
then rename it something with no spaces like 'if-cloud' its easiest
to do it with XenCenter.
Then you go to the GUI;  Infrastructure > YOUR_ZONE > Physical
Network.
Go
to each of the physical networks you have and set the 'XenServer
Traffic Label' for the management, storage, public and guest
networks to
'if-cloud'

Then add the host.

I have seen some hosts fail to add if the storage network isn't
explicitly
defined as a network too.

If you can include a link to your management server log it would help.


Paul Angus
Cloud Architect / Senior Consultant
paul.angus@shapeblue.com<ma...@shapeblue.com>
07711 418 784
www.shapeblue.com<http://www.shapeblue.com>

-----Original Message-----
From: Andrea Ottonello [mailto:aottonello@gmail.com]
Sent: 02 January 2013 17:02
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: Re: Getting CRAZY for having a cloud working!

Hallo all and happy new year!
Today I tried again: management vm fresh, xenserver fresh and
updated
(but
still 6.0.2) with local storage, I closed wizard and before adding
zone etc. I configured option for system VMs on local storage. Then
added
zone,
pod, cluster, node... when adding node, some strange errors
regarding
agent
disconnected. From XenCenter I see that local storage has changed
name
with
"cloud stack bla bla bla" in description, but in management UI I
don't
see
any primary storage configured.
Ok, enough. New year, new life. If a product takes almost a month
for simply setup a trial and even now not works, maybe is time to
try
something
different. Maybe I'm unlucky and/or not capable of doing things, or
maybe CloudStack and guides are not so "turnkey" as they claim to
be. I don't know what else to do, just give up.


2013/1/2 Marc Cirauqui <mc...@gmail.com>>

Hi Andrea, any news?

thx


On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
Vijay.Venkatachalam@citrix.com<ma...@citrix.com>> wrote:

Remember the first step is to see if these steps are applicable
to
you.

Meaning in my case when I ran a find in xenserver console I was
not able to find the vhd-util tools.
Meaning there should be zero results for
find / -name "vhd-util"

If the patches are already applied (the steps won't help) you
might it them in /usr/sbin/vhd-util /opt/xensource/bin/vhd-util



-----Original Message-----
From: Andrea Ottonello [mailto:aottonello@gmail.com]
Sent: Friday, December 28, 2012 6:10 PM
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: Re: Getting CRAZY for having a cloud working!

THANK YOU VERY VERY VERY MUCH, I will try this!


2012/12/28 Vijay Venkatachalam
<Vi...@citrix.com>>

Simple Tab should auto-fill it up You can cross verify from
XenCenter: Select Host-> General->UUID

-----Original Message-----
From: Andrea Ottonello [mailto:aottonello@gmail.com]
Sent: Friday, December 28, 2012 6:01 PM
To: cloudstack-users@incubator.apache.org<ma...@incubator.apache.org>
Subject: Re: Getting CRAZY for having a cloud working!

Ehm... last thing I promise... where I get hostid? :)


2012/12/28 Vijay Venkatachalam
<Vi...@citrix.com>>


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<ma...@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
<Vi...@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<ma...@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 <ru...@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
.htm
l

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
<ao...@gmail.com>>

I discovered ... ;) Any suggestion on where
to put it?



2012/12/19 Chip Childers
<ch...@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 <mc...@gmail.com>>
wrote:
I can't find any attachments...


On Wed, Dec 19, 2012 at 4:38 PM, Andrea
Ottonello <
aottonello@gmail.com<ma...@gmail.com>
wrote:

I will try, thank you. Already attached
log to an
email.


2012/12/19 Marc Cirauqui
<mc...@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<ma...@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




--
Andrea Ottonello




--
Andrea Ottonello





--
Andrea Ottonello
ShapeBlue provides a range of strategic and technical consulting and
implementation services to help IT Service Providers and Enterprises
to build a true IaaS compute cloud. ShapeBlue’s expertise, combined
with CloudStack technology, allows IT Service Providers and
Enterprises to deliver true, utility based, IaaS to the customer or
end-user.

________________________________

This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is
addressed. Any views
or
opinions expressed are solely those of the author and do not
necessarily represent those of Shape Blue Ltd. If you are not the
intended recipient
of
this email, you must neither take any action based upon its
contents, nor copy or show it to anyone. Please contact the sender
if you believe you have received this email in error. Shape Blue Ltd
is a company
incorporated
in England & Wales.




--
Andrea Ottonello

ShapeBlue provides a range of strategic and technical consulting and
implementation services to help IT Service Providers and Enterprises to
build a true IaaS compute cloud. ShapeBlue’s expertise, combined with
CloudStack technology, allows IT Service Providers and Enterprises to
deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views or
opinions expressed are solely those of the author and do not necessarily
represent those of Shape Blue Ltd. If you are not the intended recipient of
this email, you must neither take any action based upon its contents, nor
copy or show it to anyone. Please contact the sender if you believe you
have received this email in error. Shape Blue Ltd is a company incorporated
in England & Wales.




--
Andrea Ottonello




--
Andrea Ottonello


Re: Getting CRAZY for having a cloud working!

Posted by Andrea Ottonello <ao...@gmail.com>.
FINALLY a step ahead!!!! now, using a virtual management server, a virtual
storage server for primary and secondary storage, and a virtual XenServer
6.0.2 host I have a Zone working!!!! Think that there is something wrong
with XCP, don't know what... anyway, now I have a new problem: the CentOS
builtin template reports status "Connection timeout" and ready "No", there
is no size reported. I checked and allowed on firewall any traffic from
both IP ranges used for public and private network, but no luck. Any idea?
I will start to work about this issue now...



2013/1/4 Andrea Ottonello <ao...@gmail.com>

> Here it is... now I have created a host "virtual" running on a XCP 1.6
> real host, modifying a mysql database parameter not to check for HVM
> capacity.
>
> Same problem, s-x-VM not starting.
>
> http://pastebin.com/tpLDi5ir
>
>
> 2013/1/3 Paul Angus <pa...@shapeblue.com>
>
>> Andrea,
>>
>> That sounds right, could you upload your management log to pastebin.comfrom around the time when you tried to add the host
>>
>> Regards,
>>
>> Paul Angus
>> Cloud Architect / Senior Consultant
>> paul.angus@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>>
>>
>>
>> -----Original Message-----
>> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
>> Sent: 03 January 2013 07:55
>> To: cloudstack-users
>> Subject: Re: Getting CRAZY for having a cloud working!
>>
>> Hi Andrea,
>>
>> Sounds good to me. Still no luck running vms? Be advised that your
>> management interface in XS should be on "MGMT" network and reachable from
>> management server (I'm sure you checked thrice, just to be sure).
>>
>> thx
>>
>>
>> On Thu, Jan 3, 2013 at 12:24 AM, Andrea Ottonello <aottonello@gmail.com
>> >wrote:
>>
>> > Hallo.
>> > On the host I have 2 ethernet NICs and 2 HBAs. In XenCenter I see them
>> > as "network 0" and "network 1". In XenCenter I renamed "network 0" as
>> "MGMT"
>> > and disabled the flag to automatically assign it to VMs, and "network
>> > 1" to "VNET", because I want it to be dedicated to VMs. Then, when
>> > creating Physical Network, I gave it name VNET (globally) and assigned
>> > to blue icon (internal management traffic) the MGMT label, and to
>> > green icon (VMs
>> > traffic) VNET label. I didn't include red icon (storage) because it
>> > should be via HBAs. Are these settings wrong? I set primary storage as
>> "PreSetup"
>> > and gave same SR-label used in XenCenter to identify it. Is it ok?
>> >
>> >
>> > 2013/1/2 Paul Angus <pa...@shapeblue.com>
>> >
>> > > Hi Andrea,
>> > >
>> > > It sounds like you need to label your network interfaces in on the
>> > > XenServer host and in CloudStack.
>> > >
>> > > Its hard to read the early parts of the emails to see how many
>> > > interfaces you've got on your host. But if you have just the one
>> > > then rename it something with no spaces like 'if-cloud' its easiest
>> > > to do it with XenCenter.
>> > > Then you go to the GUI;  Infrastructure > YOUR_ZONE > Physical
>> Network.
>> > Go
>> > > to each of the physical networks you have and set the 'XenServer
>> > > Traffic Label' for the management, storage, public and guest
>> > > networks to
>> > 'if-cloud'
>> > >
>> > > Then add the host.
>> > >
>> > > I have seen some hosts fail to add if the storage network isn't
>> > explicitly
>> > > defined as a network too.
>> > >
>> > > If you can include a link to your management server log it would help.
>> > >
>> > >
>> > > Paul Angus
>> > > Cloud Architect / Senior Consultant
>> > > paul.angus@shapeblue.com
>> > > 07711 418 784
>> > > www.shapeblue.com
>> > >
>> > > -----Original Message-----
>> > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
>> > > Sent: 02 January 2013 17:02
>> > > To: cloudstack-users@incubator.apache.org
>> > > Subject: Re: Getting CRAZY for having a cloud working!
>> > >
>> > > Hallo all and happy new year!
>> > > Today I tried again: management vm fresh, xenserver fresh and
>> > > updated
>> > (but
>> > > still 6.0.2) with local storage, I closed wizard and before adding
>> > > zone etc. I configured option for system VMs on local storage. Then
>> > > added
>> > zone,
>> > > pod, cluster, node... when adding node, some strange errors
>> > > regarding
>> > agent
>> > > disconnected. From XenCenter I see that local storage has changed
>> > > name
>> > with
>> > > "cloud stack bla bla bla" in description, but in management UI I
>> > > don't
>> > see
>> > > any primary storage configured.
>> > > Ok, enough. New year, new life. If a product takes almost a month
>> > > for simply setup a trial and even now not works, maybe is time to
>> > > try
>> > something
>> > > different. Maybe I'm unlucky and/or not capable of doing things, or
>> > > maybe CloudStack and guides are not so "turnkey" as they claim to
>> > > be. I don't know what else to do, just give up.
>> > >
>> > >
>> > > 2013/1/2 Marc Cirauqui <mc...@gmail.com>
>> > >
>> > > > Hi Andrea, any news?
>> > > >
>> > > > thx
>> > > >
>> > > >
>> > > > On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
>> > > > Vijay.Venkatachalam@citrix.com> wrote:
>> > > >
>> > > > > Remember the first step is to see if these steps are applicable
>> > > > > to
>> > you.
>> > > > >
>> > > > > Meaning in my case when I ran a find in xenserver console I was
>> > > > > not able to find the vhd-util tools.
>> > > > > Meaning there should be zero results for
>> > > > > >> find / -name "vhd-util"
>> > > > >
>> > > > > If the patches are already applied (the steps won't help) you
>> > > > > might it them in /usr/sbin/vhd-util /opt/xensource/bin/vhd-util
>> > > > >
>> > > > >
>> > > > >
>> > > > > > -----Original Message-----
>> > > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
>> > > > > > Sent: Friday, December 28, 2012 6:10 PM
>> > > > > > To: cloudstack-users@incubator.apache.org
>> > > > > > Subject: Re: Getting CRAZY for having a cloud working!
>> > > > > >
>> > > > > > THANK YOU VERY VERY VERY MUCH, I will try this!
>> > > > > >
>> > > > > >
>> > > > > > 2012/12/28 Vijay Venkatachalam
>> > > > > > <Vi...@citrix.com>
>> > > > > >
>> > > > > > > Simple Tab should auto-fill it up You can cross verify from
>> > > > > > > XenCenter: Select Host-> General->UUID
>> > > > > > >
>> > > > > > > > -----Original Message-----
>> > > > > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
>> > > > > > > > Sent: Friday, December 28, 2012 6:01 PM
>> > > > > > > > To: cloudstack-users@incubator.apache.org
>> > > > > > > > Subject: Re: Getting CRAZY for having a cloud working!
>> > > > > > > >
>> > > > > > > > Ehm... last thing I promise... where I get hostid? :)
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > 2012/12/28 Vijay Venkatachalam
>> > > > > > > > <Vi...@citrix.com>
>> > > > > > > >
>> > > > > > > > >
>> > > > > > > > > 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 <ru...@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
>> > > > > > > > > > > > > .htm
>> > > > > > > > > > > > > l
>> > > > > > > > > > > > >
>> > > > > > > > > > > > > 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
>> > > > > > > > > > > > > > <ao...@gmail.com>
>> > > > > > > > > > > > > >
>> > > > > > > > > > > > > >> I discovered ... ;) Any suggestion on where
>> > > > > > > > > > > > > >> to put it?
>> > > > > > > > > > > > > >>
>> > > > > > > > > > > > > >>
>> > > > > > > > > > > > > >>
>> > > > > > > > > > > > > >> 2012/12/19 Chip Childers
>> > > > > > > > > > > > > >> <ch...@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 <mc...@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
>> > > > > > > > > > > > > >>>>> <mc...@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
>> > > > > > > > >
>> > > > > > > >
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > --
>> > > > > > > > Andrea Ottonello
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > > Andrea Ottonello
>> > > > >
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Andrea Ottonello
>> > > ShapeBlue provides a range of strategic and technical consulting and
>> > > implementation services to help IT Service Providers and Enterprises
>> > > to build a true IaaS compute cloud. ShapeBlue’s expertise, combined
>> > > with CloudStack technology, allows IT Service Providers and
>> > > Enterprises to deliver true, utility based, IaaS to the customer or
>> end-user.
>> > >
>> > > ________________________________
>> > >
>> > > This email and any attachments to it may be confidential and are
>> > > intended solely for the use of the individual to whom it is
>> > > addressed. Any views
>> > or
>> > > opinions expressed are solely those of the author and do not
>> > > necessarily represent those of Shape Blue Ltd. If you are not the
>> > > intended recipient
>> > of
>> > > this email, you must neither take any action based upon its
>> > > contents, nor copy or show it to anyone. Please contact the sender
>> > > if you believe you have received this email in error. Shape Blue Ltd
>> > > is a company
>> > incorporated
>> > > in England & Wales.
>> > >
>> >
>> >
>> >
>> > --
>> > Andrea Ottonello
>> >
>> ShapeBlue provides a range of strategic and technical consulting and
>> implementation services to help IT Service Providers and Enterprises to
>> build a true IaaS compute cloud. ShapeBlue’s expertise, combined with
>> CloudStack technology, allows IT Service Providers and Enterprises to
>> deliver true, utility based, IaaS to the customer or end-user.
>>
>> ________________________________
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views or
>> opinions expressed are solely those of the author and do not necessarily
>> represent those of Shape Blue Ltd. If you are not the intended recipient of
>> this email, you must neither take any action based upon its contents, nor
>> copy or show it to anyone. Please contact the sender if you believe you
>> have received this email in error. Shape Blue Ltd is a company incorporated
>> in England & Wales.
>>
>
>
>
> --
> Andrea Ottonello
>
>


-- 
Andrea Ottonello

Re: Getting CRAZY for having a cloud working!

Posted by Andrea Ottonello <ao...@gmail.com>.
Here it is... now I have created a host "virtual" running on a XCP 1.6 real
host, modifying a mysql database parameter not to check for HVM capacity.

Same problem, s-x-VM not starting.

http://pastebin.com/tpLDi5ir


2013/1/3 Paul Angus <pa...@shapeblue.com>

> Andrea,
>
> That sounds right, could you upload your management log to pastebin.comfrom around the time when you tried to add the host
>
> Regards,
>
> Paul Angus
> Cloud Architect / Senior Consultant
> paul.angus@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>
> -----Original Message-----
> From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
> Sent: 03 January 2013 07:55
> To: cloudstack-users
> Subject: Re: Getting CRAZY for having a cloud working!
>
> Hi Andrea,
>
> Sounds good to me. Still no luck running vms? Be advised that your
> management interface in XS should be on "MGMT" network and reachable from
> management server (I'm sure you checked thrice, just to be sure).
>
> thx
>
>
> On Thu, Jan 3, 2013 at 12:24 AM, Andrea Ottonello <aottonello@gmail.com
> >wrote:
>
> > Hallo.
> > On the host I have 2 ethernet NICs and 2 HBAs. In XenCenter I see them
> > as "network 0" and "network 1". In XenCenter I renamed "network 0" as
> "MGMT"
> > and disabled the flag to automatically assign it to VMs, and "network
> > 1" to "VNET", because I want it to be dedicated to VMs. Then, when
> > creating Physical Network, I gave it name VNET (globally) and assigned
> > to blue icon (internal management traffic) the MGMT label, and to
> > green icon (VMs
> > traffic) VNET label. I didn't include red icon (storage) because it
> > should be via HBAs. Are these settings wrong? I set primary storage as
> "PreSetup"
> > and gave same SR-label used in XenCenter to identify it. Is it ok?
> >
> >
> > 2013/1/2 Paul Angus <pa...@shapeblue.com>
> >
> > > Hi Andrea,
> > >
> > > It sounds like you need to label your network interfaces in on the
> > > XenServer host and in CloudStack.
> > >
> > > Its hard to read the early parts of the emails to see how many
> > > interfaces you've got on your host. But if you have just the one
> > > then rename it something with no spaces like 'if-cloud' its easiest
> > > to do it with XenCenter.
> > > Then you go to the GUI;  Infrastructure > YOUR_ZONE > Physical Network.
> > Go
> > > to each of the physical networks you have and set the 'XenServer
> > > Traffic Label' for the management, storage, public and guest
> > > networks to
> > 'if-cloud'
> > >
> > > Then add the host.
> > >
> > > I have seen some hosts fail to add if the storage network isn't
> > explicitly
> > > defined as a network too.
> > >
> > > If you can include a link to your management server log it would help.
> > >
> > >
> > > Paul Angus
> > > Cloud Architect / Senior Consultant
> > > paul.angus@shapeblue.com
> > > 07711 418 784
> > > www.shapeblue.com
> > >
> > > -----Original Message-----
> > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > Sent: 02 January 2013 17:02
> > > To: cloudstack-users@incubator.apache.org
> > > Subject: Re: Getting CRAZY for having a cloud working!
> > >
> > > Hallo all and happy new year!
> > > Today I tried again: management vm fresh, xenserver fresh and
> > > updated
> > (but
> > > still 6.0.2) with local storage, I closed wizard and before adding
> > > zone etc. I configured option for system VMs on local storage. Then
> > > added
> > zone,
> > > pod, cluster, node... when adding node, some strange errors
> > > regarding
> > agent
> > > disconnected. From XenCenter I see that local storage has changed
> > > name
> > with
> > > "cloud stack bla bla bla" in description, but in management UI I
> > > don't
> > see
> > > any primary storage configured.
> > > Ok, enough. New year, new life. If a product takes almost a month
> > > for simply setup a trial and even now not works, maybe is time to
> > > try
> > something
> > > different. Maybe I'm unlucky and/or not capable of doing things, or
> > > maybe CloudStack and guides are not so "turnkey" as they claim to
> > > be. I don't know what else to do, just give up.
> > >
> > >
> > > 2013/1/2 Marc Cirauqui <mc...@gmail.com>
> > >
> > > > Hi Andrea, any news?
> > > >
> > > > thx
> > > >
> > > >
> > > > On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
> > > > Vijay.Venkatachalam@citrix.com> wrote:
> > > >
> > > > > Remember the first step is to see if these steps are applicable
> > > > > to
> > you.
> > > > >
> > > > > Meaning in my case when I ran a find in xenserver console I was
> > > > > not able to find the vhd-util tools.
> > > > > Meaning there should be zero results for
> > > > > >> find / -name "vhd-util"
> > > > >
> > > > > If the patches are already applied (the steps won't help) you
> > > > > might it them in /usr/sbin/vhd-util /opt/xensource/bin/vhd-util
> > > > >
> > > > >
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > > > Sent: Friday, December 28, 2012 6:10 PM
> > > > > > To: cloudstack-users@incubator.apache.org
> > > > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > > > >
> > > > > > THANK YOU VERY VERY VERY MUCH, I will try this!
> > > > > >
> > > > > >
> > > > > > 2012/12/28 Vijay Venkatachalam
> > > > > > <Vi...@citrix.com>
> > > > > >
> > > > > > > Simple Tab should auto-fill it up You can cross verify from
> > > > > > > XenCenter: Select Host-> General->UUID
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > > > > > Sent: Friday, December 28, 2012 6:01 PM
> > > > > > > > To: cloudstack-users@incubator.apache.org
> > > > > > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > > > > > >
> > > > > > > > Ehm... last thing I promise... where I get hostid? :)
> > > > > > > >
> > > > > > > >
> > > > > > > > 2012/12/28 Vijay Venkatachalam
> > > > > > > > <Vi...@citrix.com>
> > > > > > > >
> > > > > > > > >
> > > > > > > > > 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 <ru...@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
> > > > > > > > > > > > > .htm
> > > > > > > > > > > > > l
> > > > > > > > > > > > >
> > > > > > > > > > > > > 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
> > > > > > > > > > > > > > <ao...@gmail.com>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >> I discovered ... ;) Any suggestion on where
> > > > > > > > > > > > > >> to put it?
> > > > > > > > > > > > > >>
> > > > > > > > > > > > > >>
> > > > > > > > > > > > > >>
> > > > > > > > > > > > > >> 2012/12/19 Chip Childers
> > > > > > > > > > > > > >> <ch...@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 <mc...@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
> > > > > > > > > > > > > >>>>> <mc...@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
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Andrea Ottonello
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Andrea Ottonello
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Andrea Ottonello
> > > ShapeBlue provides a range of strategic and technical consulting and
> > > implementation services to help IT Service Providers and Enterprises
> > > to build a true IaaS compute cloud. ShapeBlue’s expertise, combined
> > > with CloudStack technology, allows IT Service Providers and
> > > Enterprises to deliver true, utility based, IaaS to the customer or
> end-user.
> > >
> > > ________________________________
> > >
> > > This email and any attachments to it may be confidential and are
> > > intended solely for the use of the individual to whom it is
> > > addressed. Any views
> > or
> > > opinions expressed are solely those of the author and do not
> > > necessarily represent those of Shape Blue Ltd. If you are not the
> > > intended recipient
> > of
> > > this email, you must neither take any action based upon its
> > > contents, nor copy or show it to anyone. Please contact the sender
> > > if you believe you have received this email in error. Shape Blue Ltd
> > > is a company
> > incorporated
> > > in England & Wales.
> > >
> >
> >
> >
> > --
> > Andrea Ottonello
> >
> ShapeBlue provides a range of strategic and technical consulting and
> implementation services to help IT Service Providers and Enterprises to
> build a true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack technology, allows IT Service Providers and Enterprises to
> deliver true, utility based, IaaS to the customer or end-user.
>
> ________________________________
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd. If you are not the intended recipient of
> this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you
> have received this email in error. Shape Blue Ltd is a company incorporated
> in England & Wales.
>



-- 
Andrea Ottonello

RE: Getting CRAZY for having a cloud working!

Posted by Paul Angus <pa...@shapeblue.com>.
Andrea,

That sounds right, could you upload your management log to pastebin.com from around the time when you tried to add the host

Regards,

Paul Angus
Cloud Architect / Senior Consultant
paul.angus@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS



-----Original Message-----
From: Marc Cirauqui [mailto:mcirauqui@gmail.com]
Sent: 03 January 2013 07:55
To: cloudstack-users
Subject: Re: Getting CRAZY for having a cloud working!

Hi Andrea,

Sounds good to me. Still no luck running vms? Be advised that your management interface in XS should be on "MGMT" network and reachable from management server (I'm sure you checked thrice, just to be sure).

thx


On Thu, Jan 3, 2013 at 12:24 AM, Andrea Ottonello <ao...@gmail.com>wrote:

> Hallo.
> On the host I have 2 ethernet NICs and 2 HBAs. In XenCenter I see them
> as "network 0" and "network 1". In XenCenter I renamed "network 0" as "MGMT"
> and disabled the flag to automatically assign it to VMs, and "network
> 1" to "VNET", because I want it to be dedicated to VMs. Then, when
> creating Physical Network, I gave it name VNET (globally) and assigned
> to blue icon (internal management traffic) the MGMT label, and to
> green icon (VMs
> traffic) VNET label. I didn't include red icon (storage) because it
> should be via HBAs. Are these settings wrong? I set primary storage as "PreSetup"
> and gave same SR-label used in XenCenter to identify it. Is it ok?
>
>
> 2013/1/2 Paul Angus <pa...@shapeblue.com>
>
> > Hi Andrea,
> >
> > It sounds like you need to label your network interfaces in on the
> > XenServer host and in CloudStack.
> >
> > Its hard to read the early parts of the emails to see how many
> > interfaces you've got on your host. But if you have just the one
> > then rename it something with no spaces like 'if-cloud' its easiest
> > to do it with XenCenter.
> > Then you go to the GUI;  Infrastructure > YOUR_ZONE > Physical Network.
> Go
> > to each of the physical networks you have and set the 'XenServer
> > Traffic Label' for the management, storage, public and guest
> > networks to
> 'if-cloud'
> >
> > Then add the host.
> >
> > I have seen some hosts fail to add if the storage network isn't
> explicitly
> > defined as a network too.
> >
> > If you can include a link to your management server log it would help.
> >
> >
> > Paul Angus
> > Cloud Architect / Senior Consultant
> > paul.angus@shapeblue.com
> > 07711 418 784
> > www.shapeblue.com
> >
> > -----Original Message-----
> > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > Sent: 02 January 2013 17:02
> > To: cloudstack-users@incubator.apache.org
> > Subject: Re: Getting CRAZY for having a cloud working!
> >
> > Hallo all and happy new year!
> > Today I tried again: management vm fresh, xenserver fresh and
> > updated
> (but
> > still 6.0.2) with local storage, I closed wizard and before adding
> > zone etc. I configured option for system VMs on local storage. Then
> > added
> zone,
> > pod, cluster, node... when adding node, some strange errors
> > regarding
> agent
> > disconnected. From XenCenter I see that local storage has changed
> > name
> with
> > "cloud stack bla bla bla" in description, but in management UI I
> > don't
> see
> > any primary storage configured.
> > Ok, enough. New year, new life. If a product takes almost a month
> > for simply setup a trial and even now not works, maybe is time to
> > try
> something
> > different. Maybe I'm unlucky and/or not capable of doing things, or
> > maybe CloudStack and guides are not so "turnkey" as they claim to
> > be. I don't know what else to do, just give up.
> >
> >
> > 2013/1/2 Marc Cirauqui <mc...@gmail.com>
> >
> > > Hi Andrea, any news?
> > >
> > > thx
> > >
> > >
> > > On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
> > > Vijay.Venkatachalam@citrix.com> wrote:
> > >
> > > > Remember the first step is to see if these steps are applicable
> > > > to
> you.
> > > >
> > > > Meaning in my case when I ran a find in xenserver console I was
> > > > not able to find the vhd-util tools.
> > > > Meaning there should be zero results for
> > > > >> find / -name "vhd-util"
> > > >
> > > > If the patches are already applied (the steps won't help) you
> > > > might it them in /usr/sbin/vhd-util /opt/xensource/bin/vhd-util
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > > Sent: Friday, December 28, 2012 6:10 PM
> > > > > To: cloudstack-users@incubator.apache.org
> > > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > > >
> > > > > THANK YOU VERY VERY VERY MUCH, I will try this!
> > > > >
> > > > >
> > > > > 2012/12/28 Vijay Venkatachalam
> > > > > <Vi...@citrix.com>
> > > > >
> > > > > > Simple Tab should auto-fill it up You can cross verify from
> > > > > > XenCenter: Select Host-> General->UUID
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > > > > Sent: Friday, December 28, 2012 6:01 PM
> > > > > > > To: cloudstack-users@incubator.apache.org
> > > > > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > > > > >
> > > > > > > Ehm... last thing I promise... where I get hostid? :)
> > > > > > >
> > > > > > >
> > > > > > > 2012/12/28 Vijay Venkatachalam
> > > > > > > <Vi...@citrix.com>
> > > > > > >
> > > > > > > >
> > > > > > > > 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 <ru...@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
> > > > > > > > > > > > .htm
> > > > > > > > > > > > l
> > > > > > > > > > > >
> > > > > > > > > > > > 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
> > > > > > > > > > > > > <ao...@gmail.com>
> > > > > > > > > > > > >
> > > > > > > > > > > > >> I discovered ... ;) Any suggestion on where
> > > > > > > > > > > > >> to put it?
> > > > > > > > > > > > >>
> > > > > > > > > > > > >>
> > > > > > > > > > > > >>
> > > > > > > > > > > > >> 2012/12/19 Chip Childers
> > > > > > > > > > > > >> <ch...@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 <mc...@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
> > > > > > > > > > > > >>>>> <mc...@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
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Andrea Ottonello
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Andrea Ottonello
> > > >
> > >
> >
> >
> >
> > --
> > Andrea Ottonello
> > ShapeBlue provides a range of strategic and technical consulting and
> > implementation services to help IT Service Providers and Enterprises
> > to build a true IaaS compute cloud. ShapeBlue’s expertise, combined
> > with CloudStack technology, allows IT Service Providers and
> > Enterprises to deliver true, utility based, IaaS to the customer or end-user.
> >
> > ________________________________
> >
> > This email and any attachments to it may be confidential and are
> > intended solely for the use of the individual to whom it is
> > addressed. Any views
> or
> > opinions expressed are solely those of the author and do not
> > necessarily represent those of Shape Blue Ltd. If you are not the
> > intended recipient
> of
> > this email, you must neither take any action based upon its
> > contents, nor copy or show it to anyone. Please contact the sender
> > if you believe you have received this email in error. Shape Blue Ltd
> > is a company
> incorporated
> > in England & Wales.
> >
>
>
>
> --
> Andrea Ottonello
>
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

Re: Getting CRAZY for having a cloud working!

Posted by Marc Cirauqui <mc...@gmail.com>.
Hi Andrea,

Sounds good to me. Still no luck running vms? Be advised that your
management interface in XS should be on "MGMT" network and reachable from
management server (I'm sure you checked thrice, just to be sure).

thx


On Thu, Jan 3, 2013 at 12:24 AM, Andrea Ottonello <ao...@gmail.com>wrote:

> Hallo.
> On the host I have 2 ethernet NICs and 2 HBAs. In XenCenter I see them as
> "network 0" and "network 1". In XenCenter I renamed "network 0" as "MGMT"
> and disabled the flag to automatically assign it to VMs, and "network 1" to
> "VNET", because I want it to be dedicated to VMs. Then, when creating
> Physical Network, I gave it name VNET (globally) and assigned to blue icon
> (internal management traffic) the MGMT label, and to green icon (VMs
> traffic) VNET label. I didn't include red icon (storage) because it should
> be via HBAs. Are these settings wrong? I set primary storage as "PreSetup"
> and gave same SR-label used in XenCenter to identify it. Is it ok?
>
>
> 2013/1/2 Paul Angus <pa...@shapeblue.com>
>
> > Hi Andrea,
> >
> > It sounds like you need to label your network interfaces in on the
> > XenServer host and in CloudStack.
> >
> > Its hard to read the early parts of the emails to see how many interfaces
> > you've got on your host. But if you have just the one then rename it
> > something with no spaces like 'if-cloud' its easiest to do it with
> > XenCenter.
> > Then you go to the GUI;  Infrastructure > YOUR_ZONE > Physical Network.
> Go
> > to each of the physical networks you have and set the 'XenServer Traffic
> > Label' for the management, storage, public and guest networks to
> 'if-cloud'
> >
> > Then add the host.
> >
> > I have seen some hosts fail to add if the storage network isn't
> explicitly
> > defined as a network too.
> >
> > If you can include a link to your management server log it would help.
> >
> >
> > Paul Angus
> > Cloud Architect / Senior Consultant
> > paul.angus@shapeblue.com
> > 07711 418 784
> > www.shapeblue.com
> >
> > -----Original Message-----
> > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > Sent: 02 January 2013 17:02
> > To: cloudstack-users@incubator.apache.org
> > Subject: Re: Getting CRAZY for having a cloud working!
> >
> > Hallo all and happy new year!
> > Today I tried again: management vm fresh, xenserver fresh and updated
> (but
> > still 6.0.2) with local storage, I closed wizard and before adding zone
> > etc. I configured option for system VMs on local storage. Then added
> zone,
> > pod, cluster, node... when adding node, some strange errors regarding
> agent
> > disconnected. From XenCenter I see that local storage has changed name
> with
> > "cloud stack bla bla bla" in description, but in management UI I don't
> see
> > any primary storage configured.
> > Ok, enough. New year, new life. If a product takes almost a month for
> > simply setup a trial and even now not works, maybe is time to try
> something
> > different. Maybe I'm unlucky and/or not capable of doing things, or maybe
> > CloudStack and guides are not so "turnkey" as they claim to be. I don't
> > know what else to do, just give up.
> >
> >
> > 2013/1/2 Marc Cirauqui <mc...@gmail.com>
> >
> > > Hi Andrea, any news?
> > >
> > > thx
> > >
> > >
> > > On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
> > > Vijay.Venkatachalam@citrix.com> wrote:
> > >
> > > > Remember the first step is to see if these steps are applicable to
> you.
> > > >
> > > > Meaning in my case when I ran a find in xenserver console I was not
> > > > able to find the vhd-util tools.
> > > > Meaning there should be zero results for
> > > > >> find / -name "vhd-util"
> > > >
> > > > If the patches are already applied (the steps won't help) you might
> > > > it them in /usr/sbin/vhd-util /opt/xensource/bin/vhd-util
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > > Sent: Friday, December 28, 2012 6:10 PM
> > > > > To: cloudstack-users@incubator.apache.org
> > > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > > >
> > > > > THANK YOU VERY VERY VERY MUCH, I will try this!
> > > > >
> > > > >
> > > > > 2012/12/28 Vijay Venkatachalam <Vi...@citrix.com>
> > > > >
> > > > > > Simple Tab should auto-fill it up You can cross verify from
> > > > > > XenCenter: Select Host-> General->UUID
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > > > > Sent: Friday, December 28, 2012 6:01 PM
> > > > > > > To: cloudstack-users@incubator.apache.org
> > > > > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > > > > >
> > > > > > > Ehm... last thing I promise... where I get hostid? :)
> > > > > > >
> > > > > > >
> > > > > > > 2012/12/28 Vijay Venkatachalam
> > > > > > > <Vi...@citrix.com>
> > > > > > >
> > > > > > > >
> > > > > > > > 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 <ru...@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.htm
> > > > > > > > > > > > l
> > > > > > > > > > > >
> > > > > > > > > > > > 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 <ao...@gmail.com>
> > > > > > > > > > > > >
> > > > > > > > > > > > >> I discovered ... ;) Any suggestion on where to
> > > > > > > > > > > > >> put it?
> > > > > > > > > > > > >>
> > > > > > > > > > > > >>
> > > > > > > > > > > > >>
> > > > > > > > > > > > >> 2012/12/19 Chip Childers
> > > > > > > > > > > > >> <ch...@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
> > > > > > > > > > > > >>> <mc...@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 <mc...@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
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Andrea Ottonello
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Andrea Ottonello
> > > >
> > >
> >
> >
> >
> > --
> > Andrea Ottonello
> > ShapeBlue provides a range of strategic and technical consulting and
> > implementation services to help IT Service Providers and Enterprises to
> > build a true IaaS compute cloud. ShapeBlue’s expertise, combined with
> > CloudStack technology, allows IT Service Providers and Enterprises to
> > deliver true, utility based, IaaS to the customer or end-user.
> >
> > ________________________________
> >
> > This email and any attachments to it may be confidential and are intended
> > solely for the use of the individual to whom it is addressed. Any views
> or
> > opinions expressed are solely those of the author and do not necessarily
> > represent those of Shape Blue Ltd. If you are not the intended recipient
> of
> > this email, you must neither take any action based upon its contents, nor
> > copy or show it to anyone. Please contact the sender if you believe you
> > have received this email in error. Shape Blue Ltd is a company
> incorporated
> > in England & Wales.
> >
>
>
>
> --
> Andrea Ottonello
>

Re: Getting CRAZY for having a cloud working!

Posted by Andrea Ottonello <ao...@gmail.com>.
Hallo.
On the host I have 2 ethernet NICs and 2 HBAs. In XenCenter I see them as
"network 0" and "network 1". In XenCenter I renamed "network 0" as "MGMT"
and disabled the flag to automatically assign it to VMs, and "network 1" to
"VNET", because I want it to be dedicated to VMs. Then, when creating
Physical Network, I gave it name VNET (globally) and assigned to blue icon
(internal management traffic) the MGMT label, and to green icon (VMs
traffic) VNET label. I didn't include red icon (storage) because it should
be via HBAs. Are these settings wrong? I set primary storage as "PreSetup"
and gave same SR-label used in XenCenter to identify it. Is it ok?


2013/1/2 Paul Angus <pa...@shapeblue.com>

> Hi Andrea,
>
> It sounds like you need to label your network interfaces in on the
> XenServer host and in CloudStack.
>
> Its hard to read the early parts of the emails to see how many interfaces
> you've got on your host. But if you have just the one then rename it
> something with no spaces like 'if-cloud' its easiest to do it with
> XenCenter.
> Then you go to the GUI;  Infrastructure > YOUR_ZONE > Physical Network. Go
> to each of the physical networks you have and set the 'XenServer Traffic
> Label' for the management, storage, public and guest networks to 'if-cloud'
>
> Then add the host.
>
> I have seen some hosts fail to add if the storage network isn't explicitly
> defined as a network too.
>
> If you can include a link to your management server log it would help.
>
>
> Paul Angus
> Cloud Architect / Senior Consultant
> paul.angus@shapeblue.com
> 07711 418 784
> www.shapeblue.com
>
> -----Original Message-----
> From: Andrea Ottonello [mailto:aottonello@gmail.com]
> Sent: 02 January 2013 17:02
> To: cloudstack-users@incubator.apache.org
> Subject: Re: Getting CRAZY for having a cloud working!
>
> Hallo all and happy new year!
> Today I tried again: management vm fresh, xenserver fresh and updated (but
> still 6.0.2) with local storage, I closed wizard and before adding zone
> etc. I configured option for system VMs on local storage. Then added zone,
> pod, cluster, node... when adding node, some strange errors regarding agent
> disconnected. From XenCenter I see that local storage has changed name with
> "cloud stack bla bla bla" in description, but in management UI I don't see
> any primary storage configured.
> Ok, enough. New year, new life. If a product takes almost a month for
> simply setup a trial and even now not works, maybe is time to try something
> different. Maybe I'm unlucky and/or not capable of doing things, or maybe
> CloudStack and guides are not so "turnkey" as they claim to be. I don't
> know what else to do, just give up.
>
>
> 2013/1/2 Marc Cirauqui <mc...@gmail.com>
>
> > Hi Andrea, any news?
> >
> > thx
> >
> >
> > On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
> > Vijay.Venkatachalam@citrix.com> wrote:
> >
> > > Remember the first step is to see if these steps are applicable to you.
> > >
> > > Meaning in my case when I ran a find in xenserver console I was not
> > > able to find the vhd-util tools.
> > > Meaning there should be zero results for
> > > >> find / -name "vhd-util"
> > >
> > > If the patches are already applied (the steps won't help) you might
> > > it them in /usr/sbin/vhd-util /opt/xensource/bin/vhd-util
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > Sent: Friday, December 28, 2012 6:10 PM
> > > > To: cloudstack-users@incubator.apache.org
> > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > >
> > > > THANK YOU VERY VERY VERY MUCH, I will try this!
> > > >
> > > >
> > > > 2012/12/28 Vijay Venkatachalam <Vi...@citrix.com>
> > > >
> > > > > Simple Tab should auto-fill it up You can cross verify from
> > > > > XenCenter: Select Host-> General->UUID
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > > > Sent: Friday, December 28, 2012 6:01 PM
> > > > > > To: cloudstack-users@incubator.apache.org
> > > > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > > > >
> > > > > > Ehm... last thing I promise... where I get hostid? :)
> > > > > >
> > > > > >
> > > > > > 2012/12/28 Vijay Venkatachalam
> > > > > > <Vi...@citrix.com>
> > > > > >
> > > > > > >
> > > > > > > 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 <ru...@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.htm
> > > > > > > > > > > l
> > > > > > > > > > >
> > > > > > > > > > > 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 <ao...@gmail.com>
> > > > > > > > > > > >
> > > > > > > > > > > >> I discovered ... ;) Any suggestion on where to
> > > > > > > > > > > >> put it?
> > > > > > > > > > > >>
> > > > > > > > > > > >>
> > > > > > > > > > > >>
> > > > > > > > > > > >> 2012/12/19 Chip Childers
> > > > > > > > > > > >> <ch...@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
> > > > > > > > > > > >>> <mc...@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 <mc...@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
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Andrea Ottonello
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Andrea Ottonello
> > >
> >
>
>
>
> --
> Andrea Ottonello
> ShapeBlue provides a range of strategic and technical consulting and
> implementation services to help IT Service Providers and Enterprises to
> build a true IaaS compute cloud. ShapeBlue’s expertise, combined with
> CloudStack technology, allows IT Service Providers and Enterprises to
> deliver true, utility based, IaaS to the customer or end-user.
>
> ________________________________
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd. If you are not the intended recipient of
> this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you
> have received this email in error. Shape Blue Ltd is a company incorporated
> in England & Wales.
>



-- 
Andrea Ottonello

RE: Getting CRAZY for having a cloud working!

Posted by Paul Angus <pa...@shapeblue.com>.
Hi Andrea,

It sounds like you need to label your network interfaces in on the XenServer host and in CloudStack.

Its hard to read the early parts of the emails to see how many interfaces you've got on your host. But if you have just the one then rename it something with no spaces like 'if-cloud' its easiest to do it with XenCenter.
Then you go to the GUI;  Infrastructure > YOUR_ZONE > Physical Network. Go to each of the physical networks you have and set the 'XenServer Traffic Label' for the management, storage, public and guest networks to 'if-cloud'

Then add the host.

I have seen some hosts fail to add if the storage network isn't explicitly defined as a network too.

If you can include a link to your management server log it would help.


Paul Angus
Cloud Architect / Senior Consultant
paul.angus@shapeblue.com
07711 418 784
www.shapeblue.com

-----Original Message-----
From: Andrea Ottonello [mailto:aottonello@gmail.com]
Sent: 02 January 2013 17:02
To: cloudstack-users@incubator.apache.org
Subject: Re: Getting CRAZY for having a cloud working!

Hallo all and happy new year!
Today I tried again: management vm fresh, xenserver fresh and updated (but still 6.0.2) with local storage, I closed wizard and before adding zone etc. I configured option for system VMs on local storage. Then added zone, pod, cluster, node... when adding node, some strange errors regarding agent disconnected. From XenCenter I see that local storage has changed name with "cloud stack bla bla bla" in description, but in management UI I don't see any primary storage configured.
Ok, enough. New year, new life. If a product takes almost a month for simply setup a trial and even now not works, maybe is time to try something different. Maybe I'm unlucky and/or not capable of doing things, or maybe CloudStack and guides are not so "turnkey" as they claim to be. I don't know what else to do, just give up.


2013/1/2 Marc Cirauqui <mc...@gmail.com>

> Hi Andrea, any news?
>
> thx
>
>
> On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
> Vijay.Venkatachalam@citrix.com> wrote:
>
> > Remember the first step is to see if these steps are applicable to you.
> >
> > Meaning in my case when I ran a find in xenserver console I was not
> > able to find the vhd-util tools.
> > Meaning there should be zero results for
> > >> find / -name "vhd-util"
> >
> > If the patches are already applied (the steps won't help) you might
> > it them in /usr/sbin/vhd-util /opt/xensource/bin/vhd-util
> >
> >
> >
> > > -----Original Message-----
> > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > Sent: Friday, December 28, 2012 6:10 PM
> > > To: cloudstack-users@incubator.apache.org
> > > Subject: Re: Getting CRAZY for having a cloud working!
> > >
> > > THANK YOU VERY VERY VERY MUCH, I will try this!
> > >
> > >
> > > 2012/12/28 Vijay Venkatachalam <Vi...@citrix.com>
> > >
> > > > Simple Tab should auto-fill it up You can cross verify from
> > > > XenCenter: Select Host-> General->UUID
> > > >
> > > > > -----Original Message-----
> > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > > Sent: Friday, December 28, 2012 6:01 PM
> > > > > To: cloudstack-users@incubator.apache.org
> > > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > > >
> > > > > Ehm... last thing I promise... where I get hostid? :)
> > > > >
> > > > >
> > > > > 2012/12/28 Vijay Venkatachalam
> > > > > <Vi...@citrix.com>
> > > > >
> > > > > >
> > > > > > 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 <ru...@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.htm
> > > > > > > > > > l
> > > > > > > > > >
> > > > > > > > > > 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 <ao...@gmail.com>
> > > > > > > > > > >
> > > > > > > > > > >> I discovered ... ;) Any suggestion on where to
> > > > > > > > > > >> put it?
> > > > > > > > > > >>
> > > > > > > > > > >>
> > > > > > > > > > >>
> > > > > > > > > > >> 2012/12/19 Chip Childers
> > > > > > > > > > >> <ch...@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
> > > > > > > > > > >>> <mc...@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 <mc...@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
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Andrea Ottonello
> > > >
> > >
> > >
> > >
> > > --
> > > Andrea Ottonello
> >
>



--
Andrea Ottonello
ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.

Re: Getting CRAZY for having a cloud working!

Posted by Andrea Ottonello <ao...@gmail.com>.
Hallo all and happy new year!
Today I tried again: management vm fresh, xenserver fresh and updated (but
still 6.0.2) with local storage, I closed wizard and before adding zone
etc. I configured option for system VMs on local storage. Then added zone,
pod, cluster, node... when adding node, some strange errors regarding agent
disconnected. From XenCenter I see that local storage has changed name with
"cloud stack bla bla bla" in description, but in management UI I don't see
any primary storage configured.
Ok, enough. New year, new life. If a product takes almost a month for
simply setup a trial and even now not works, maybe is time to try something
different. Maybe I'm unlucky and/or not capable of doing things, or maybe
CloudStack and guides are not so "turnkey" as they claim to be. I don't
know what else to do, just give up.


2013/1/2 Marc Cirauqui <mc...@gmail.com>

> Hi Andrea, any news?
>
> thx
>
>
> On Fri, Dec 28, 2012 at 1:58 PM, Vijay Venkatachalam <
> Vijay.Venkatachalam@citrix.com> wrote:
>
> > Remember the first step is to see if these steps are applicable to you.
> >
> > Meaning in my case when I ran a find in xenserver console I was not able
> > to find the vhd-util tools.
> > Meaning there should be zero results for
> > >> find / -name "vhd-util"
> >
> > If the patches are already applied (the steps won't help) you might it
> > them in
> > /usr/sbin/vhd-util
> > /opt/xensource/bin/vhd-util
> >
> >
> >
> > > -----Original Message-----
> > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > Sent: Friday, December 28, 2012 6:10 PM
> > > To: cloudstack-users@incubator.apache.org
> > > Subject: Re: Getting CRAZY for having a cloud working!
> > >
> > > THANK YOU VERY VERY VERY MUCH, I will try this!
> > >
> > >
> > > 2012/12/28 Vijay Venkatachalam <Vi...@citrix.com>
> > >
> > > > Simple Tab should auto-fill it up
> > > > You can cross verify from
> > > > XenCenter: Select Host-> General->UUID
> > > >
> > > > > -----Original Message-----
> > > > > From: Andrea Ottonello [mailto:aottonello@gmail.com]
> > > > > Sent: Friday, December 28, 2012 6:01 PM
> > > > > To: cloudstack-users@incubator.apache.org
> > > > > Subject: Re: Getting CRAZY for having a cloud working!
> > > > >
> > > > > Ehm... last thing I promise... where I get hostid? :)
> > > > >
> > > > >
> > > > > 2012/12/28 Vijay Venkatachalam <Vi...@citrix.com>
> > > > >
> > > > > >
> > > > > > 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 <ru...@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 <ao...@gmail.com>
> > > > > > > > > > >
> > > > > > > > > > >> I discovered ... ;)
> > > > > > > > > > >> Any suggestion on where to put it?
> > > > > > > > > > >>
> > > > > > > > > > >>
> > > > > > > > > > >>
> > > > > > > > > > >> 2012/12/19 Chip Childers <ch...@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
> > > > > > > > > > >>> <mc...@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 <mc...@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
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Andrea Ottonello
> > > >
> > >
> > >
> > >
> > > --
> > > Andrea Ottonello
> >
>



-- 
Andrea Ottonello