Re: current status about Hyper-V

2013-05-29 Thread Prasanna Santhanam
HyperV integration is a work in progress and has picked up pace in the
last few months. Donal (in Cc) has been working on it and will have
the best idea of its timeline.

On Thu, May 30, 2013 at 12:10:50AM +0200, Darko Hojnik wrote:
> Hi there
> 
> I've to decide me to choose Systemcenter, OpenStack or Coudstack on
> the next few days. I want to ask about the current status about the
> Hyper-V drivers on Clodstack. Are there available now? Or it's just
> a prove of concept or the code has currently only a pre-alpha
> quality?
> My environment is five Hyper-V Servers an a little linty-based
> server for managing them and serve Samba 4 to have AD functionality
> 
> cheers Darko
> --
> 
> Darko Hojnik | Administrator
> mailto:dhoj...@brainbits.net
> 
> brainbits GmbH
> Alpenerstra?e 16
> 50825 K?ln
> 
> Tel. +49 (221) 589808-19
> Fax +49 (221) 589808-11
> mailto:i...@brainbits.net
> http://www.brainbits.net
> http://www.phlexible.net
> 
> Folgen Sie uns auf twitter
> http://www.twitter.com/brainbits_gmbh
> http://www.twitter.com/phlexible
> 
> Gesch?ftsf?hrung: Sascha Emondts, Patrick Schuh
> Amtsgericht K?ln, HRB 32293, USt-IdNr. DE 203606736
> 
> 
> 
> 
> 

-- 
Prasanna.,


Powered by BigRock.com



Re: Problems setting up the basic zone

2013-05-29 Thread Chris King
Sorry for being so late in replying!

I've actually made some headway since I started. After figuring out how to
get in the SSVM, I noticed it couldn't ping the DNS server or... anything,
really.

Part of my problem was that I was only allocated a single /24 for all my
testing with this, and it seems like trying to set up everything (guest,
management, storage) on a single subnet leads to a completely borked routes
on the SSVM.

I'm not 100% sure how to fix it though, and neither am I at the office now..

I'll follow up first thing in the morning with the information I do have.

Thank you so much for your help so far!

--Chris King
On Wed, May 29, 2013 at 2:33 PM, Ahmad Emneina  wrote:

> Is your zone enabled? If so, you might be missing one key bit of
> information (compute/networking/primary storage). You might want to post
> your management-server.log to paste.cloudstack.org... that will help
> identify the problem.
>
>
> On Wed, May 29, 2013 at 12:07 PM, Chris King  >wrote:
>
> > Hello all!
> >
> > I'm trying to set up a basic cloud with cloudstack, and I've run into an
> > issue involving secondary storage. I keep seeing items like this in the
> > management log:
> >
> > 2013-05-29 14:03:43,701 DEBUG [cloud.server.StatsCollector]
> > (StatsCollector-3:null) There is no secondary storage VM for secondary
> > storage host nfs://10.10.10.150/export/secondary
> >
> > I read through the guide and the quickstart guide, but I'm not sure what
> > the problem could be.. I've double-checked that I can mount secondary
> > storage on the host machine, but it's just been in the loop of telling me
> > that it's ready to launch a secondary storage VM, but there isn't a
> > secondary storage vm..
> >
> > Can anyone offer some advice on this? I'd greatly appreciate it.
> >
> > Thanks!
> >
> > --Chris King
> >
> > --
> > This communication may contain privileged and/or confidential
> information.
> > It is intended solely for the use of the addressee. If you are not the
> > intended recipient, you are strictly prohibited from disclosing, copying,
> > distributing or using any of this information. If you received this
> > communication in error, please contact the sender immediately and destroy
> > the material in its entirety, whether electronic or hard copy.
> >

-- 
This communication may contain privileged and/or confidential information. 
It is intended solely for the use of the addressee. If you are not the 
intended recipient, you are strictly prohibited from disclosing, copying, 
distributing or using any of this information. If you received this 
communication in error, please contact the sender immediately and destroy 
the material in its entirety, whether electronic or hard copy.


current status about Hyper-V

2013-05-29 Thread Darko Hojnik
Hi there

I've to decide me to choose Systemcenter, OpenStack or Coudstack on the next 
few days. I want to ask about the current status about the Hyper-V drivers on 
Clodstack. Are there available now? Or it's just a prove of concept or the code 
has currently only a pre-alpha quality?
My environment is five Hyper-V Servers an a little linty-based server for 
managing them and serve Samba 4 to have AD functionality

cheers Darko
--

Darko Hojnik | Administrator
mailto:dhoj...@brainbits.net

brainbits GmbH
Alpenerstra?e 16
50825 K?ln

Tel. +49 (221) 589808-19
Fax +49 (221) 589808-11
mailto:i...@brainbits.net
http://www.brainbits.net
http://www.phlexible.net

Folgen Sie uns auf twitter
http://www.twitter.com/brainbits_gmbh
http://www.twitter.com/phlexible

Gesch?ftsf?hrung: Sascha Emondts, Patrick Schuh
Amtsgericht K?ln, HRB 32293, USt-IdNr. DE 203606736








Re: errors starting new instance with devcloud

2013-05-29 Thread Shane Witbeck
Prasanna, 

Our VM info was identical with the exception of the PAE setting which you have 
set to "off" although the docs say to enable this. You also have a snapshot 
where as I do not. Regardless of the PAE setting (I tried both 
disabled/enabled), I'm now getting a different exception when attempting to add 
an instance using the tiny Linux template. 

I've posted my management server log as well as my vm info in a gist here:

https://gist.github.com/digitalsanctum/5673168

I've also tried installing the latest extension pack for VirtualBox and that 
didn't help either. I'm running with vbox version 4.2.12. 


Thanks, 
Shane






On Wednesday, May 29, 2013 at 12:32 PM, Prasanna Santhanam wrote:

> Shane,
> 
> I just tried this on latest master and was able to create a user
> instance using the tinyLinux template without a problem. From your
> gisst it seems like an Ubuntu ISO based VM failed to launch. Can you
> retry with the tinyLinux template again? 
> 
> Since most of what you did seems right I'm wondering if there's a
> setting on VirtualBox that's different. I've dumped the VM info of my
> devcloud instance here:
> 
> https://gist.github.com/vogxn/5671659
> 
> -- 
> Prasanna.,
> 
> On Wed, May 29, 2013 at 11:18:50AM -0400, Shane Witbeck wrote:
> 
> > Sebastien, 
> > 
> > Thanks for your reply but I'm targeting 4.2 master since I'm suppose
> > to be helping with automation tests there. 
> > 
> > I tried Conrad's suggestion of hacking the db but that led to
> > another issue.
> > 
> > It seems like documentation for "I have devcloud installed, now
> > what?" would be nice as well as hints about which versions it
> > targets. I noticed in your video that you use an older (version 1?)
> > of the devcloud appliance with 4.0.2.
> > 
> 
> 
> Would be nice if you could start one! Don't hesitate to edit the
> wiki(s).
> 
> > 
> > Since I've successfully installed devcloud and management server, at
> > this point I'm going to move on and assume I'm doing something
> > fundamentally wrong with trying to start a new instance.
> > 
> > 
> > Thanks again, 
> > Shane
> > 
> > 
> > On Wednesday, May 29, 2013 at 3:13 AM, Sebastien Goasguen wrote:
> > 
> > > 
> > > On May 28, 2013, at 8:24 PM, Conrad Geiger  > > (mailto:cgei...@it1solutions.com) (mailto:cgei...@it1solutions.com)> 
> > > wrote:
> > > 
> > > > The error you are getting is an HVM error (Hardware Virtualization). 
> > > > You do not have HVM in devcloud since it is a VM itself. You need a 
> > > > template without HVM. I though there was a work around already built 
> > > > into devcloud, but you can hack the db to mark the tempate without HVM 
> > > > by running this on the db: "Update vm_templates set hvm=0".
> > > > 
> > > > You might also shoot an email to the devlist to verify the expected 
> > > > behavior.
> > > > 
> > > > 
> > > > Sent from my Verizon Wireless 4G LTE phone
> > > > 
> > > > 
> > > > 
> > > >  Original message 
> > > > From: Shane Witbeck  > > > (mailto:sh...@digitalsanctum.com) (mailto:sh...@digitalsanctum.com)>
> > > > Date: 05/28/2013 7:20 PM (GMT-05:00)
> > > > To: users@cloudstack.apache.org (mailto:users@cloudstack.apache.org) 
> > > > (mailto:users@cloudstack.apache.org)
> > > > Subject: errors starting new instance with devcloud
> > > > 
> > > > 
> > > > If have a fresh install of devcloud with management server running 
> > > > separately on a mac. I'm attempting to start a new instance and keep 
> > > > getting these errors:
> > > > 
> > > > https://gist.github.com/digitalsanctum/5666858
> > > > 
> > > > I've tried on both master and 4.1 branches using a couple of different 
> > > > ISO's including the "tiny Linux" template that comes bundled.
> > > > 
> > > > Any ideas?
> > > > 
> > > > 
> > > > Thanks,
> > > > Shane
> > > > 
> > > 
> > > 
> > > 
> > > Shane, I did this screencast for 4.0.2 and devcloud, using a mac 10.8.2 , 
> > > it might help:
> > > 
> > > http://www.youtube.com/watch?v=vvgIkF1e1QE&list=PLb899uhkHRoZCRE00h_9CRgUSiHEgFDbC&index=1
> 
> 
> 
> Powered by BigRock.com (http://BigRock.com)
> 
> 
> 




Re: CS KVM agent 4.1.0 install

2013-05-29 Thread Chip Childers
On Wed, May 29, 2013 at 11:26:20AM +0200, COCHE Sébastien wrote:
> I wait for a long time that the 4.1 version is officially released.
> In order to not slow my project, I would like to test CS 4.1 version without 
> waiting the official release.
> I installed the core successfully, but I don't know how to install KVM agent. 
> So my platform is unusable :-(
> The release note you told me to check do not say how to install/upgrade agent 
> from source.

What platform are your hosts?

If CENTOS/RHEL, build the RPMs with the packaging/centos63/package.sh
script.

If Ubuntu, then follow the packaging instructions to create the deb
packages.

>From there, if you installed via packages previously, follow the
appropriate upgrade steps for that specific platform.

Hope that helps!

> 
> 
> -Message d'origine-
> De : Chip Childers [mailto:chip.child...@sungard.com] 
> Envoyé : mardi 28 mai 2013 19:10
> À : users@cloudstack.apache.org
> Objet : Re: CS KVM agent 4.1.0 install
> 
> On Tue, May 28, 2013 at 09:45:40AM +0200, COCHE Sébastien wrote:
> > Hi all,
> > 
> > I successfully install CS 4.1, using the procedure bellow.
> > But I don't know, how to install/upgrade KVM's CS Agent.
> > Can you help me ?
> 
> When we officially release 4.1, the release notes includes a section on 
> upgrades.  Feel free to check it out in the source 
> (docs/en-US/Release_Notes.xml).
> 
> > 
> > Another question
> > Some time ago, i could download CS artifacts from Jenkins website.
> > Those ones are no longer available. Do you know why ?
> 
> We aren't keeping those build artifacts around anymore, due to resource 
> consumption issues.
> 
> 


Re: Problems setting up the basic zone

2013-05-29 Thread Ahmad Emneina
Is your zone enabled? If so, you might be missing one key bit of
information (compute/networking/primary storage). You might want to post
your management-server.log to paste.cloudstack.org... that will help
identify the problem.


On Wed, May 29, 2013 at 12:07 PM, Chris King wrote:

> Hello all!
>
> I'm trying to set up a basic cloud with cloudstack, and I've run into an
> issue involving secondary storage. I keep seeing items like this in the
> management log:
>
> 2013-05-29 14:03:43,701 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-3:null) There is no secondary storage VM for secondary
> storage host nfs://10.10.10.150/export/secondary
>
> I read through the guide and the quickstart guide, but I'm not sure what
> the problem could be.. I've double-checked that I can mount secondary
> storage on the host machine, but it's just been in the loop of telling me
> that it's ready to launch a secondary storage VM, but there isn't a
> secondary storage vm..
>
> Can anyone offer some advice on this? I'd greatly appreciate it.
>
> Thanks!
>
> --Chris King
>
> --
> This communication may contain privileged and/or confidential information.
> It is intended solely for the use of the addressee. If you are not the
> intended recipient, you are strictly prohibited from disclosing, copying,
> distributing or using any of this information. If you received this
> communication in error, please contact the sender immediately and destroy
> the material in its entirety, whether electronic or hard copy.
>


Problems setting up the basic zone

2013-05-29 Thread Chris King
Hello all!

I'm trying to set up a basic cloud with cloudstack, and I've run into an
issue involving secondary storage. I keep seeing items like this in the
management log:

2013-05-29 14:03:43,701 DEBUG [cloud.server.StatsCollector]
(StatsCollector-3:null) There is no secondary storage VM for secondary
storage host nfs://10.10.10.150/export/secondary

I read through the guide and the quickstart guide, but I'm not sure what
the problem could be.. I've double-checked that I can mount secondary
storage on the host machine, but it's just been in the loop of telling me
that it's ready to launch a secondary storage VM, but there isn't a
secondary storage vm..

Can anyone offer some advice on this? I'd greatly appreciate it.

Thanks!

--Chris King

-- 
This communication may contain privileged and/or confidential information. 
It is intended solely for the use of the addressee. If you are not the 
intended recipient, you are strictly prohibited from disclosing, copying, 
distributing or using any of this information. If you received this 
communication in error, please contact the sender immediately and destroy 
the material in its entirety, whether electronic or hard copy.


Re: What are the exact steps when a database failure occurs in the presence of MySQL replication?

2013-05-29 Thread Ahmad Emneina
This is the page you'll want to take a look at:
https://dev.mysql.com/doc/refman/5.1/en/replication-solutions-switch.html


On Wed, May 29, 2013 at 2:56 AM, Ryan Lei  wrote:

> I was following the unpublished CS 4.1 Installation Guide to test MySQL
> replication:
>
> http://jenkins.cloudstack.org/job/docs-4.1-installguide/lastSuccessfulBuild/artifact/Apache_CloudStack-4.1.0-Installation_Guide-en-US.pdf
>
> I have completed all the steps in "Sec. 9.3. Database Replication", and
> suppose I can verify that all replication works by manually querying the
> slave database.
>
> In "Sec. 9.3.1. Failover," it says:
>
> This will provide for a replicated database that can be used to implement
> manual failover for the Management Servers. CloudStack failover from one
> MySQL instance to another is performed by the administrator. In the event
> of a database failure you should:
>
> 1. Stop the Management Servers (via service cloudstack-management stop).
> 2. Change the replica's configuration to be a master and restart it.
> 3. Ensure that the replica's port 3306 is open to the Management Servers.
> 4. Make a change so that the Management Server uses the new database. The
> simplest process
> here is to put the IP address of the new database server into each
> Management Server's /etc/
> cloud/management/db.properties.
> 5. Restart the Management Servers
>
> What are the exact commands to perform in step 2?
>
> http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-replication-failover.html
> I'm very new to MySQL replication and clustering things, not sure if any
> part of this page is what I want. Plase help. (checkpoint? NDB? )
>


Re: New instances launched without network connectivity

2013-05-29 Thread Geoff Higginbottom
Eduardo,

As you have two hosts, I suspect the issue is related to the VLAN configuration.

The VLAN range you allocated to the guest network needs to be setup on the 
switch ports the Hypervisors are connected to.

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603 
0540| M: +447968161581

geoff.higginbot...@shapeblue.com 
|www.shapeblue.com | Twitter:@shapeblue

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS


On 29 May 2013, at 18:42, "Prasanna Santhanam" 
mailto:t...@apache.org>> wrote:

On Wed, May 29, 2013 at 03:13:29PM +0200, Eduardo Balsa wrote:
Environment:
I have a fresh installation of CloudStack 4.1 (running on Ubuntu) with
1 management server and 2 hosts.
I only have 1 zone (advanced/vlan/no security groups).

Problem:
about a third of new instances I launch seem to be "networkless".
Although they have an IP assigned in the NIC page, they don't get any
answer to their DHCP requests.Even if I assign a static IP to them I'm
unable to to ping other instances. I've tried stopping them,
restarting them, but only option is to launch a new instance.

Are the instances from Ubuntu templates? If yes - is this also a
problem with the VMs based on CentOS builtin template?


I don't see anything out of the ordinary in the logs.

Thanks

--
Prasanna.,


Powered by BigRock.com


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 or related companies. 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. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: New instances launched without network connectivity

2013-05-29 Thread Prasanna Santhanam
On Wed, May 29, 2013 at 03:13:29PM +0200, Eduardo Balsa wrote:
> Environment:
> I have a fresh installation of CloudStack 4.1 (running on Ubuntu) with
> 1 management server and 2 hosts.
> I only have 1 zone (advanced/vlan/no security groups).
> 
> Problem:
> about a third of new instances I launch seem to be "networkless".
> Although they have an IP assigned in the NIC page, they don't get any
> answer to their DHCP requests.Even if I assign a static IP to them I'm
> unable to to ping other instances. I've tried stopping them,
> restarting them, but only option is to launch a new instance.

Are the instances from Ubuntu templates? If yes - is this also a
problem with the VMs based on CentOS builtin template?

> 
> I don't see anything out of the ordinary in the logs.
> 
> Thanks

-- 
Prasanna.,


Powered by BigRock.com



New instances launched without network connectivity

2013-05-29 Thread Eduardo Balsa
Environment:
I have a fresh installation of CloudStack 4.1 (running on Ubuntu) with
1 management server and 2 hosts.
I only have 1 zone (advanced/vlan/no security groups).

Problem:
about a third of new instances I launch seem to be "networkless".
Although they have an IP assigned in the NIC page, they don't get any
answer to their DHCP requests.Even if I assign a static IP to them I'm
unable to to ping other instances. I've tried stopping them,
restarting them, but only option is to launch a new instance.

I don't see anything out of the ordinary in the logs.

Thanks


Re: errors starting new instance with devcloud

2013-05-29 Thread Prasanna Santhanam
Shane,

I just tried this on latest master and was able to create a user
instance using the tinyLinux template without a problem. From your
gisst it seems like an Ubuntu ISO based VM failed to launch. Can you
retry with the tinyLinux template again? 

Since most of what you did seems right I'm wondering if there's a
setting on VirtualBox that's different. I've dumped the VM info of my
devcloud instance here:

https://gist.github.com/vogxn/5671659

-- 
Prasanna.,

On Wed, May 29, 2013 at 11:18:50AM -0400, Shane Witbeck wrote:

> Sebastien, 
> 
> Thanks for your reply but I'm targeting 4.2 master since I'm suppose
> to be helping with automation tests there. 
> 
> I tried Conrad's suggestion of hacking the db but that led to
> another issue.
> 
> It seems like documentation for "I have devcloud installed, now
> what?" would be nice as well as hints about which versions it
> targets. I noticed in your video that you use an older (version 1?)
> of the devcloud appliance with 4.0.2.

Would be nice if you could start one! Don't hesitate to edit the
wiki(s).

> 
> Since I've successfully installed devcloud and management server, at
> this point I'm going to move on and assume I'm doing something
> fundamentally wrong with trying to start a new instance.
> 
> 
> Thanks again, 
> Shane
> 
> 
> On Wednesday, May 29, 2013 at 3:13 AM, Sebastien Goasguen wrote:
> 
> > 
> > On May 28, 2013, at 8:24 PM, Conrad Geiger  > (mailto:cgei...@it1solutions.com)> wrote:
> > 
> > > The error you are getting is an HVM error (Hardware Virtualization). You 
> > > do not have HVM in devcloud since it is a VM itself. You need a template 
> > > without HVM. I though there was a work around already built into 
> > > devcloud, but you can hack the db to mark the tempate without HVM by 
> > > running this on the db: "Update vm_templates set hvm=0".
> > > 
> > > You might also shoot an email to the devlist to verify the expected 
> > > behavior.
> > > 
> > > 
> > > Sent from my Verizon Wireless 4G LTE phone
> > > 
> > > 
> > > 
> > >  Original message 
> > > From: Shane Witbeck  > > (mailto:sh...@digitalsanctum.com)>
> > > Date: 05/28/2013 7:20 PM (GMT-05:00)
> > > To: users@cloudstack.apache.org (mailto:users@cloudstack.apache.org)
> > > Subject: errors starting new instance with devcloud
> > > 
> > > 
> > > If have a fresh install of devcloud with management server running 
> > > separately on a mac. I'm attempting to start a new instance and keep 
> > > getting these errors:
> > > 
> > > https://gist.github.com/digitalsanctum/5666858
> > > 
> > > I've tried on both master and 4.1 branches using a couple of different 
> > > ISO's including the "tiny Linux" template that comes bundled.
> > > 
> > > Any ideas?
> > > 
> > > 
> > > Thanks,
> > > Shane
> > > 
> > 
> > 
> > Shane, I did this screencast for 4.0.2 and devcloud, using a mac 10.8.2 , 
> > it might help:
> > 
> > http://www.youtube.com/watch?v=vvgIkF1e1QE&list=PLb899uhkHRoZCRE00h_9CRgUSiHEgFDbC&index=1
> > 
> > 
> > 
> 



Powered by BigRock.com



Re: errors starting new instance with devcloud

2013-05-29 Thread Shane Witbeck
Sebastien, 

Thanks for your reply but I'm targeting 4.2 master since I'm suppose to be 
helping with automation tests there. 

I tried Conrad's suggestion of hacking the db but that led to another issue.

It seems like documentation for "I have devcloud installed, now what?" would be 
nice as well as hints about which versions it targets. I noticed in your video 
that you use an older (version 1?) of the devcloud appliance with 4.0.2.

Since I've successfully installed devcloud and management server, at this point 
I'm going to move on and assume I'm doing something fundamentally wrong with 
trying to start a new instance.


Thanks again, 
Shane


On Wednesday, May 29, 2013 at 3:13 AM, Sebastien Goasguen wrote:

> 
> On May 28, 2013, at 8:24 PM, Conrad Geiger  (mailto:cgei...@it1solutions.com)> wrote:
> 
> > The error you are getting is an HVM error (Hardware Virtualization). You do 
> > not have HVM in devcloud since it is a VM itself. You need a template 
> > without HVM. I though there was a work around already built into devcloud, 
> > but you can hack the db to mark the tempate without HVM by running this on 
> > the db: "Update vm_templates set hvm=0".
> > 
> > You might also shoot an email to the devlist to verify the expected 
> > behavior.
> > 
> > 
> > Sent from my Verizon Wireless 4G LTE phone
> > 
> > 
> > 
> >  Original message 
> > From: Shane Witbeck  > (mailto:sh...@digitalsanctum.com)>
> > Date: 05/28/2013 7:20 PM (GMT-05:00)
> > To: users@cloudstack.apache.org (mailto:users@cloudstack.apache.org)
> > Subject: errors starting new instance with devcloud
> > 
> > 
> > If have a fresh install of devcloud with management server running 
> > separately on a mac. I'm attempting to start a new instance and keep 
> > getting these errors:
> > 
> > https://gist.github.com/digitalsanctum/5666858
> > 
> > I've tried on both master and 4.1 branches using a couple of different 
> > ISO's including the "tiny Linux" template that comes bundled.
> > 
> > Any ideas?
> > 
> > 
> > Thanks,
> > Shane
> > 
> 
> 
> Shane, I did this screencast for 4.0.2 and devcloud, using a mac 10.8.2 , it 
> might help:
> 
> http://www.youtube.com/watch?v=vvgIkF1e1QE&list=PLb899uhkHRoZCRE00h_9CRgUSiHEgFDbC&index=1
> 
> 
> 



Re: Xenserver hypervisior will not reconnect after reboot

2013-05-29 Thread Old, Curtis
Same status after an hour.  Should I delete them and re-add them or ??



On 5/29/13 7:30 AM, "Old, Curtis"  wrote:

>
>
>Well one lab-cloud-9 is in an "Alert" State the other, lab-cloud-10 is
>"Disconnected", and after a refresh on the UI lab-cloud-9 is back to
>"Connecting"
>
>
>Suggestions?
>
>
>
>On 5/29/13 7:17 AM, "Old, Curtis"  wrote:
>
>>Interesting the UUID's in the database where different then the Xenserver
>>UUID's (there where 2 Xenservers hosts that had inode problems) But then
>>again the other servers all had different UUID's as well .
>>
>>Mysql DB:
>>
>>   id: 21
>> name: lab-cloud-10.neustarlab.biz
>> uuid: 5c65a56a-5a71-44e8-b4ae-89bf81ef4d24
>>
>>And on the Host:
>>
>>
>>uuid=dde1a6d7-8708-451f-a4a8-a9c5be79f57e
>>
>>It has been 20 to 25 min and one lab-cloud-9 its state is "Connecting"
>>lab-cloud-10 is in "Disconnected" and the other 3 hosts (lab-cloud-6, 7,
>>8) are "Up"
>>
>>Wait a bit longer?
>>
>>
>>
>>On 5/28/13 6:37 PM, "Kirk Kosinski"  wrote:
>>
>>>Before hacking the db, I suggest trying one more thing.
>>>
>>>1. In the CS UI, unmanage the cluster with the affected host.
>>>2. From the CLI of a host in the XS pool, clear the host tags of the
>>>affected host.
>>>xe host-param-clear param-name=tags uuid=
>>>3. In the CS UI, manage the cluster with the affected host.
>>>
>>>This usually solves this type of problem (it might take a couple
>>>minutes).  Clearing host tags won't affect running VMs (if any).
>>>
>>>Best regards,
>>>Kirk
>>>
>>>On 05/28/2013 03:03 PM, Ahmad Emneina wrote:
 first, I'd query to make sure its the right host, judging from the
logs
it
 has an id of 20... execute the following
 backup command from the cli that can access the db server:
 
 mysqldump  --databases cloud > cloud.sql
 
 Then start operating...
 
 select * from host where id=20\G (hit the enter key)
 
 if this is infact the misbehaving host, execute
 
 update host set status='Up' where id=20; (again hit enter)
 
 then try to launch a vm on that host (in the deployVirtualMachine api
 command you can/should be able to specify the exact host)
 
 
 On Tue, May 28, 2013 at 2:46 PM, Old, Curtis 
wrote:
 
> Oh god where do I find that sucker in the DB?  Sorry I'M an admin
>type
> that isn't a mysql guru or Ji
>
> Curtis Old
> Neustar, Inc. / Neustarlabs / Senior Research Engineer
> 46000 Center Oak Plaza Sterling, VA 20166
> Office: +1.571.434.5384 Mobile: +1.540.532.2230 /
>curtis@neustar.biz
> / www.neustar.biz 
> 
>
>
> The information contained in this e-mail message is intended only for
>the
> use of the recipient(s) named above and may contain confidential
>and/or
> privileged information. If you are not the intended recipient you
>have
> received this e-mail message in error and any review, dissemination,
> distribution, or copying of this message is strictly prohibited. If
>you
> have received this communication in error, please notify us
>immediately
> and delete the original message.
>
>
>
>
>
> On 5/28/13 5:43 PM, "Ahmad Emneina"  wrote:
>
>> oh this looks like a bug. A potential workaround for it is marking
>>the
>> host
>> as Up in the cloudstack db. I'd make a backup first then modify the
>>db
>> entry.
>>
>>
>> On Tue, May 28, 2013 at 2:36 PM, Old, Curtis
>>
>> wrote:
>>
>>>   Tailed last 3000 lines right after trying a forced reconnect:
>>> http://paste.cloudstack.org/hTOm/
>>>
>>>  Listed as Management log N*,
>>>
>>>   Author Curtis Old
>>>
>>>
>>>   Can we see the latest logs? paste.cloudstack.org
>>>
>>>
>>> On Tue, May 28, 2013 at 2:15 PM, Old, Curtis
>>> wrote:
>>>
 Tried that already (like 2 times)

 Curtis Old
 Neustar, Inc. / Neustarlabs / Senior Research Engineer
 46000 Center Oak Plaza Sterling, VA 20166
 Office: +1.571.434.5384 Mobile: +1.540.532.2230 /
 curtis@neustar.biz
 / www.neustar.biz 
 


 The information contained in this e-mail message is intended only
for
 the
 use of the recipient(s) named above and may contain confidential
and/or
 privileged information. If you are not the intended recipient you
have
 received this e-mail message in error and any review,
dissemination,
 distribution, or copying of this message is strictly prohibited.
If
you
 have received this communication in error, please notify us
immediately
 and delete the original message.

>>>

Re: [jira] [Commented] (CLOUDSTACK-2702) unable to install XenServer Support Package (CSP) on Xen cloud platform 1.6

2013-05-29 Thread Prasanna Santhanam
Sorry - Like I mentioned, CSP was never packaged for XCP. If there's
any discrepancy in the docs, please file a doc bug so we can correct
that.

When I have some time I can test out the right packages that will
allow enabling security groups with XCP hypervisors. 

Off the top of my head:
1. ipset, ebtables, iptables (-devel), ip6tables-devel will be required
2. the network backend on the hypervisors should be bridge not ovs

-- 
Prasanna.,

On Wed, May 29, 2013 at 11:03:09AM +0800, Ryan Lei wrote:
> As I just tested, I was unable to install any of these support packages for
> XCP 1.1.
> 
> # xe-install-supplemental-pack xenserver-cloud-supp.iso
> Error: Repository is not compatible with installed product (XenServer
> expected)
> Do you want to continue? (Y/N) y
> Error: unsatisfied dependency xs:main eq 6.0.0
> Do you want to continue? (Y/N) y
> Installing 'XenServer Cloud Supp Pack'...
> 
> error: Failed dependencies:
> kernel-xen = 2.6.32.12-0.7.1.xs6.0.0.529.170661 is needed by
> ipset-modules-xen-2.6.32.12-0.7.1.xs6.0.0.529.170661-4.5-1.xs32.i686
> kernel-xen = 2.6.32.12-0.7.1.xs6.0.0.529.170661 is needed by
> ipset-modules-kdump-2.6.32.12-0.7.1.xs6.0.0.529.170661-4.5-1.xs32.i686
> ./install.sh: line 308: /etc/firstboot.d/99-XenServer-CSP-setup: No such
> file or directory
> FATAL: packages failed to install
> 
> Does that mean security groups for basic zone + XCP is ONLY supported for
> XCP 1.6 (requiring CS 4.1 also), where the support package (CSP) is built
> in?
> 
> 
> 
> On Wed, May 29, 2013 at 10:37 AM, Ryan Lei  wrote:
> 
> > May I also ask what versions of CSP should I install for XCP 1.1 and XCP
> > 1.5 beta?
> > Current documentation points to sources for 3 XenServer versions:
> >
> > For XenServer 6.0.2:
> > http://download.cloud.com/releases/3.0.1/XS-6.0.2/xenserver-cloud-supp.tgz
> >
> > For XenServer 6.0:
> >  http://download.cloud.com/releases/3.0/xenserver-cloud-supp.tgz
> >
> > For XenServer 5.6 SP2:
> > http://download.cloud.com/releases/2.2.0/xenserver-cloud-supp.tgz
> >
> > Thanks
> >
> >
> > On Wed, May 29, 2013 at 12:24 AM, Prasanna Santhanam wrote:
> >
> >> On Tue, May 28, 2013 at 01:52:20PM +, Dean Kamali (JIRA) wrote:
> >> >
> >> > [
> >> https://issues.apache.org/jira/browse/CLOUDSTACK-2702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668307#comment-13668307]
> >> >
> >> > Dean Kamali commented on CLOUDSTACK-2702:
> >> > -
> >> >
> >> > According to  http://cloudstack.apache.org/  CloudStack currently
> >> > supports the most popular hypervisors: VMware, KVM, XenServer and
> >> > Xen Cloud Platform (XCP).
> >> >
> >> > Is XCP is not fully supported?
> >>
> >> The packages (ipset, ebtables etc) that come with the CSP are included
> >> in XenServer since 6.1. Similar instructions should work for XCP
> >> although I haven't tried it myself. The one step I do remember to
> >> enable security groups was to switch network backend to bridge.
> >>
> >> Rest of the functionality should be out of the box. If not there's
> >> probably some sysctl settings that can be tweaked.
> >>
> >>
> >> --
> >> Prasanna.,
> >>
> >> 
> >> Powered by BigRock.com
> >>
> >>
> >



Powered by BigRock.com



Re: Xenserver hypervisior will not reconnect after reboot

2013-05-29 Thread Old, Curtis


Well one lab-cloud-9 is in an "Alert" State the other, lab-cloud-10 is
"Disconnected", and after a refresh on the UI lab-cloud-9 is back to
"Connecting"


Suggestions?



On 5/29/13 7:17 AM, "Old, Curtis"  wrote:

>Interesting the UUID's in the database where different then the Xenserver
>UUID's (there where 2 Xenservers hosts that had inode problems) But then
>again the other servers all had different UUID's as well .
>
>Mysql DB:
>
>   id: 21
> name: lab-cloud-10.neustarlab.biz
> uuid: 5c65a56a-5a71-44e8-b4ae-89bf81ef4d24
>
>And on the Host:
>
>
>uuid=dde1a6d7-8708-451f-a4a8-a9c5be79f57e
>
>It has been 20 to 25 min and one lab-cloud-9 its state is "Connecting"
>lab-cloud-10 is in "Disconnected" and the other 3 hosts (lab-cloud-6, 7,
>8) are "Up"
>
>Wait a bit longer?
>
>
>
>On 5/28/13 6:37 PM, "Kirk Kosinski"  wrote:
>
>>Before hacking the db, I suggest trying one more thing.
>>
>>1. In the CS UI, unmanage the cluster with the affected host.
>>2. From the CLI of a host in the XS pool, clear the host tags of the
>>affected host.
>>xe host-param-clear param-name=tags uuid=
>>3. In the CS UI, manage the cluster with the affected host.
>>
>>This usually solves this type of problem (it might take a couple
>>minutes).  Clearing host tags won't affect running VMs (if any).
>>
>>Best regards,
>>Kirk
>>
>>On 05/28/2013 03:03 PM, Ahmad Emneina wrote:
>>> first, I'd query to make sure its the right host, judging from the logs
>>>it
>>> has an id of 20... execute the following
>>> backup command from the cli that can access the db server:
>>> 
>>> mysqldump  --databases cloud > cloud.sql
>>> 
>>> Then start operating...
>>> 
>>> select * from host where id=20\G (hit the enter key)
>>> 
>>> if this is infact the misbehaving host, execute
>>> 
>>> update host set status='Up' where id=20; (again hit enter)
>>> 
>>> then try to launch a vm on that host (in the deployVirtualMachine api
>>> command you can/should be able to specify the exact host)
>>> 
>>> 
>>> On Tue, May 28, 2013 at 2:46 PM, Old, Curtis 
>>>wrote:
>>> 
 Oh god where do I find that sucker in the DB?  Sorry I'M an admin type
 that isn't a mysql guru or Ji

 Curtis Old
 Neustar, Inc. / Neustarlabs / Senior Research Engineer
 46000 Center Oak Plaza Sterling, VA 20166
 Office: +1.571.434.5384 Mobile: +1.540.532.2230 /
curtis@neustar.biz
 / www.neustar.biz 
 


 The information contained in this e-mail message is intended only for
the
 use of the recipient(s) named above and may contain confidential
and/or
 privileged information. If you are not the intended recipient you have
 received this e-mail message in error and any review, dissemination,
 distribution, or copying of this message is strictly prohibited. If
you
 have received this communication in error, please notify us
immediately
 and delete the original message.





 On 5/28/13 5:43 PM, "Ahmad Emneina"  wrote:

> oh this looks like a bug. A potential workaround for it is marking
>the
> host
> as Up in the cloudstack db. I'd make a backup first then modify the
>db
> entry.
>
>
> On Tue, May 28, 2013 at 2:36 PM, Old, Curtis 
> wrote:
>
>>   Tailed last 3000 lines right after trying a forced reconnect:
>> http://paste.cloudstack.org/hTOm/
>>
>>  Listed as Management log N*,
>>
>>   Author Curtis Old
>>
>>
>>   Can we see the latest logs? paste.cloudstack.org
>>
>>
>> On Tue, May 28, 2013 at 2:15 PM, Old, Curtis
>> wrote:
>>
>>> Tried that already (like 2 times)
>>>
>>> Curtis Old
>>> Neustar, Inc. / Neustarlabs / Senior Research Engineer
>>> 46000 Center Oak Plaza Sterling, VA 20166
>>> Office: +1.571.434.5384 Mobile: +1.540.532.2230 /
>>> curtis@neustar.biz
>>> / www.neustar.biz 
>>> 
>>>
>>>
>>> The information contained in this e-mail message is intended only
>>>for
>>> the
>>> use of the recipient(s) named above and may contain confidential
>>>and/or
>>> privileged information. If you are not the intended recipient you
>>>have
>>> received this e-mail message in error and any review,
>>>dissemination,
>>> distribution, or copying of this message is strictly prohibited. If
>>>you
>>> have received this communication in error, please notify us
>>>immediately
>>> and delete the original message.
>>>
>>>
>>>
>>>
>>>
>>>  On 5/28/13 5:12 PM, "Ahmad Emneina"  wrote:
>>>
 how about a reboot of the host, then force reconnect.


 On Tue, May 28, 2013 at 2:05 PM, Old, Curtis

 wrote:

> Bummer no goodŠ...
>
>>>

Re: Xenserver hypervisior will not reconnect after reboot

2013-05-29 Thread Old, Curtis
Interesting the UUID's in the database where different then the Xenserver
UUID's (there where 2 Xenservers hosts that had inode problems) But then
again the other servers all had different UUID's as well .

Mysql DB:

   id: 21
 name: lab-cloud-10.neustarlab.biz
 uuid: 5c65a56a-5a71-44e8-b4ae-89bf81ef4d24

And on the Host:


uuid=dde1a6d7-8708-451f-a4a8-a9c5be79f57e

It has been 20 to 25 min and one lab-cloud-9 its state is "Connecting"
lab-cloud-10 is in "Disconnected" and the other 3 hosts (lab-cloud-6, 7,
8) are "Up"

Wait a bit longer?



On 5/28/13 6:37 PM, "Kirk Kosinski"  wrote:

>Before hacking the db, I suggest trying one more thing.
>
>1. In the CS UI, unmanage the cluster with the affected host.
>2. From the CLI of a host in the XS pool, clear the host tags of the
>affected host.
>xe host-param-clear param-name=tags uuid=
>3. In the CS UI, manage the cluster with the affected host.
>
>This usually solves this type of problem (it might take a couple
>minutes).  Clearing host tags won't affect running VMs (if any).
>
>Best regards,
>Kirk
>
>On 05/28/2013 03:03 PM, Ahmad Emneina wrote:
>> first, I'd query to make sure its the right host, judging from the logs
>>it
>> has an id of 20... execute the following
>> backup command from the cli that can access the db server:
>> 
>> mysqldump  --databases cloud > cloud.sql
>> 
>> Then start operating...
>> 
>> select * from host where id=20\G (hit the enter key)
>> 
>> if this is infact the misbehaving host, execute
>> 
>> update host set status='Up' where id=20; (again hit enter)
>> 
>> then try to launch a vm on that host (in the deployVirtualMachine api
>> command you can/should be able to specify the exact host)
>> 
>> 
>> On Tue, May 28, 2013 at 2:46 PM, Old, Curtis 
>>wrote:
>> 
>>> Oh god where do I find that sucker in the DB?  Sorry I'M an admin type
>>> that isn't a mysql guru or Ji
>>>
>>> Curtis Old
>>> Neustar, Inc. / Neustarlabs / Senior Research Engineer
>>> 46000 Center Oak Plaza Sterling, VA 20166
>>> Office: +1.571.434.5384 Mobile: +1.540.532.2230 /
>>>curtis@neustar.biz
>>> / www.neustar.biz 
>>> 
>>>
>>>
>>> The information contained in this e-mail message is intended only for
>>>the
>>> use of the recipient(s) named above and may contain confidential and/or
>>> privileged information. If you are not the intended recipient you have
>>> received this e-mail message in error and any review, dissemination,
>>> distribution, or copying of this message is strictly prohibited. If you
>>> have received this communication in error, please notify us immediately
>>> and delete the original message.
>>>
>>>
>>>
>>>
>>>
>>> On 5/28/13 5:43 PM, "Ahmad Emneina"  wrote:
>>>
 oh this looks like a bug. A potential workaround for it is marking the
 host
 as Up in the cloudstack db. I'd make a backup first then modify the db
 entry.


 On Tue, May 28, 2013 at 2:36 PM, Old, Curtis 
 wrote:

>   Tailed last 3000 lines right after trying a forced reconnect:
> http://paste.cloudstack.org/hTOm/
>
>  Listed as Management log N*,
>
>   Author Curtis Old
>
>
>   Can we see the latest logs? paste.cloudstack.org
>
>
> On Tue, May 28, 2013 at 2:15 PM, Old, Curtis
> wrote:
>
>> Tried that already (like 2 times)
>>
>> Curtis Old
>> Neustar, Inc. / Neustarlabs / Senior Research Engineer
>> 46000 Center Oak Plaza Sterling, VA 20166
>> Office: +1.571.434.5384 Mobile: +1.540.532.2230 /
>> curtis@neustar.biz
>> / www.neustar.biz 
>> 
>>
>>
>> The information contained in this e-mail message is intended only
>>for
>> the
>> use of the recipient(s) named above and may contain confidential
>>and/or
>> privileged information. If you are not the intended recipient you
>>have
>> received this e-mail message in error and any review, dissemination,
>> distribution, or copying of this message is strictly prohibited. If
>>you
>> have received this communication in error, please notify us
>>immediately
>> and delete the original message.
>>
>>
>>
>>
>>
>>  On 5/28/13 5:12 PM, "Ahmad Emneina"  wrote:
>>
>>> how about a reboot of the host, then force reconnect.
>>>
>>>
>>> On Tue, May 28, 2013 at 2:05 PM, Old, Curtis
>>>
>>> wrote:
>>>
 Bummer no goodŠ...

 Curtis Old
 Neustar, Inc. / Neustarlabs / Senior Research Engineer
 46000 Center Oak Plaza Sterling, VA 20166
 Office: +1.571.434.5384 Mobile: +1.540.532.2230 /
>> curtis@neustar.biz
 / www.neustar.biz 
 


 The information contained in this e-mail messa

What are the exact steps when a database failure occurs in the presence of MySQL replication?

2013-05-29 Thread Ryan Lei
I was following the unpublished CS 4.1 Installation Guide to test MySQL
replication:
http://jenkins.cloudstack.org/job/docs-4.1-installguide/lastSuccessfulBuild/artifact/Apache_CloudStack-4.1.0-Installation_Guide-en-US.pdf

I have completed all the steps in "Sec. 9.3. Database Replication", and
suppose I can verify that all replication works by manually querying the
slave database.

In "Sec. 9.3.1. Failover," it says:

This will provide for a replicated database that can be used to implement
manual failover for the Management Servers. CloudStack failover from one
MySQL instance to another is performed by the administrator. In the event
of a database failure you should:

1. Stop the Management Servers (via service cloudstack-management stop).
2. Change the replica's configuration to be a master and restart it.
3. Ensure that the replica's port 3306 is open to the Management Servers.
4. Make a change so that the Management Server uses the new database. The
simplest process
here is to put the IP address of the new database server into each
Management Server's /etc/
cloud/management/db.properties.
5. Restart the Management Servers

What are the exact commands to perform in step 2?
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-replication-failover.html
I'm very new to MySQL replication and clustering things, not sure if any
part of this page is what I want. Plase help. (checkpoint? NDB? )


RE: CS KVM agent 4.1.0 install

2013-05-29 Thread COCHE Sébastien
I wait for a long time that the 4.1 version is officially released.
In order to not slow my project, I would like to test CS 4.1 version without 
waiting the official release.
I installed the core successfully, but I don't know how to install KVM agent. 
So my platform is unusable :-(
The release note you told me to check do not say how to install/upgrade agent 
from source.


-Message d'origine-
De : Chip Childers [mailto:chip.child...@sungard.com] 
Envoyé : mardi 28 mai 2013 19:10
À : users@cloudstack.apache.org
Objet : Re: CS KVM agent 4.1.0 install

On Tue, May 28, 2013 at 09:45:40AM +0200, COCHE Sébastien wrote:
> Hi all,
> 
> I successfully install CS 4.1, using the procedure bellow.
> But I don't know, how to install/upgrade KVM's CS Agent.
> Can you help me ?

When we officially release 4.1, the release notes includes a section on 
upgrades.  Feel free to check it out in the source 
(docs/en-US/Release_Notes.xml).

> 
> Another question
> Some time ago, i could download CS artifacts from Jenkins website.
> Those ones are no longer available. Do you know why ?

We aren't keeping those build artifacts around anymore, due to resource 
consumption issues.



Re: errors starting new instance with devcloud

2013-05-29 Thread Sebastien Goasguen

On May 28, 2013, at 8:24 PM, Conrad Geiger  wrote:

> The error you are getting is an HVM error (Hardware Virtualization).  You do 
> not have HVM in devcloud since it is a VM itself.  You need a template 
> without HVM.  I though there was a work around already built into devcloud,  
> but you can hack the db to mark the tempate without HVM by running this on 
> the db:  "Update vm_templates set hvm=0".
> 
> You might also shoot an email to the devlist to verify the expected behavior.
> 
> 
> Sent from my Verizon Wireless 4G LTE phone
> 
> 
> 
>  Original message 
> From: Shane Witbeck 
> Date: 05/28/2013 7:20 PM (GMT-05:00)
> To: users@cloudstack.apache.org
> Subject: errors starting new instance with devcloud
> 
> 
> If have a fresh install of devcloud with management server running separately 
> on a mac. I'm attempting to start a new instance and keep getting these 
> errors:
> 
> https://gist.github.com/digitalsanctum/5666858
> 
> I've tried on both master and 4.1 branches using a couple of different ISO's 
> including the "tiny Linux" template that comes bundled.
> 
> Any ideas?
> 
> 
> Thanks,
> Shane

Shane, I did this screencast for 4.0.2 and devcloud, using a mac 10.8.2 , it 
might help:

http://www.youtube.com/watch?v=vvgIkF1e1QE&list=PLb899uhkHRoZCRE00h_9CRgUSiHEgFDbC&index=1



>