Re: failing to create new instances

2013-04-12 Thread Osama Lotf
hi

Thank you for your replay,

1. No, there were New servers..

2. here are the logs i found in one of them
http://paste.cloudstack.org/F3Cp/

Thank you for your great  support and time




2013/4/9 Somesh Naidu 

> Were the 2 hosts being added fresh installs or were they previously part
> of CS at some point and were being re-used?
>
> As I said, more details should be present in the agent logs.
>
> Regards,
> Somesh
>
>
> -Original Message-
> From: Osama Lotf [mailto:engbarakat2...@gmail.com]
> Sent: Friday, April 05, 2013 5:48 PM
> To: users@cloudstack.apache.org
> Subject: Re: failing to create new instances
>
> woow thats amazing >>>
>
> well, what happened in details is like this
>
>
> 1. I ran dataset which invokes 1000 instances and then destroy them.
>
> 2. I noticed that the 2 newly added hosts are offline..
>
> 3. when i tried to turn the network up, it failed to up bridge clourbr0
>
> 4. I tried to fix that as every time it said bridge with name xxx is
> already exits and cannot create with same name...
>
> 5. when I deleted the bridge file from
> /etc/sysconfig/network-scripts/ifcfg-cloudbr0 every thing went up
>  normally, and can connect and ssh to those agents..
>
>
> 6. with this error (in log), what do you think I should do?
>
> Thank you
>
>
> 2013/4/5 Somesh Naidu 
>
> > The VM in question was initially being deployed on
> >
> Dest[Zone(1)-Pod(1)-Cluster(3)-Host(6)-Storage(Volume(59228|ROOT-->Pool(202))].
> >
> > While the volume was successfully created for this VM on storage pool 202
> > associated with Cluster 3, the attempt to start the VM in this cluster
> > failed due to the following error,
> > 2013-04-04 15:16:33,687 WARN [cloud.vm.VirtualMachineManagerImpl]
> > (AgentManager-Handler-6:null) Cleanup failed due to Unable to add bridge
> > cloudbr0 port vnet0: Operation not supported
> >
> > Not sure about the exact cause of this error, needs further
> investigation.
> > I see you using KVM. More details can be found in the agent logs for KVM
> > (/var/log/cloud/agent/agent.log). You should grep for "6-447676435" in
> the
> > logs and paste the output @ http://paste.cloudstack.org/ for us to
> review.
> >
> > Management server then tried to identify other hosts on this cluster
> > (id=3) to start this VM but found none suitable. So the management server
> > eventually picked up a host in a different cluster (id 5) to deploy this
> > VM. However, since the volume was created in the first attempt on
> cluster 3
> > and since by default all user volumes have "recreatable" attribute set to
> > false this operation failed with the following error:
> > 2013-04-04 15:16:46,585 DEBUG [cloud.storage.StorageManagerImpl]
> > (Job-Executor-1:job-6899) Volume Vol[59228|vm=59221|ROOT] is not
> > recreatable! Cannot recreate on storagepool: Pool[203|NetworkFilesystem]
> >
> > This is due to a defect which, if I remember correctly, has been fixed in
> > the future releases.
> >
> > Regards,
> > Somesh
> >
> > -Original Message-
> > From: Osama Lotf [mailto:engbarakat2...@gmail.com]
> > Sent: Friday, April 05, 2013 1:44 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: failing to create new instances
> >
> > hi
> >
> > sorry being late
> >
> > http://paste.cloudstack.org/nXGg/ try this to go through log
> >
> > I run ssvm script and every test is ok ...
> >
> >
> > Thank you
> >
> >
> > 2013/4/4 Nitin Mehta 
> >
> > > Can you please paste the logs @ http://paste.cloudstack.org/
> > > ML doesn't allow you to attach files.
> > >
> > > From: Osama Lotf  > engbarakat2...@gmail.com
> > > >>
> > > Reply-To: "users@cloudstack.apache.org > users@cloudstack.apache.org>"
> > > mailto:users@cloudstack.apache.org>>
> > > Date: Thursday 4 April 2013 1:18 PM
> > > To: "cloudstack-us...@incubator.apache.org > > cloudstack-us...@incubator.apache.org>" <
> > > cloudstack-us...@incubator.apache.org > > cloudstack-us...@incubator.apache.org>>
> > > Subject: failing to create new instances
> > >
> > > Hi
> > >
> > > I have cs 3.02 (no upgrades is allowed if you dont remeber :P) and KVM
> > >
> > > after creating 1000 instances and they finished normally  and been
> > > destroyed, I cant start any single instance at all
> > >
> > > attached is a portion from log file
> > > Thank you in advance..
> > >
> > > --
> > > Eng. Osamah Lutf Barakat
> > > Master Candidate
> > > Computer security
> > > Faculty of Engineering
> > > University Putra Malaysia
> > >
> >
> >
> >
> > --
> > Eng. Osamah Lutf Barakat
> > Master Candidate
> > Computer security
> > Faculty of Engineering
> > University Putra Malaysia
> >
>
>
>
> --
> Eng. Osamah Lutf Barakat
> Master Candidate
> Computer security
> Faculty of Engineering
> University Putra Malaysia
>



-- 
Eng. Osamah Lutf Barakat
Master Candidate
Computer security
Faculty of Engineering
University Putra Malaysia


Re: Add new host and migrate existed vm to new cluster

2013-04-12 Thread sx chen
So nitin,you means migrateVolume API support cross cluster migrate?


2013/4/12 Nitin Mehta 

>
>
> On 12/04/13 10:32 AM, "Ahmad Emneina"  wrote:
>
> >hey nitin, doesnt volume migrate allow for cross cluster migration? i know
> >the only caveat to that being, the vm's needing to be powered off to
> >migrate.
>
> Yeah it does. It just skipped my mind. Thanks for pointing this out.
> The enhancement I was pointing to would enable live migration.
>
>
> >
> >
> >On Thu, Apr 11, 2013 at 9:48 PM, Nitin Mehta 
> >wrote:
> >
> >>
> >>
> >> On 12/04/13 8:26 AM, "sx chen"  wrote:
> >>
> >> >Hello,
> >> >   My CloudStack environment is:
> >> >   version:3.02
> >> >   cluster1:5 blade server in cluster1,Cpu is 2*6*2.53GHz
> >> >
> >> >
> >> >   My requirement is:
> >> >   1.I want to add 5 rack server to the CloudStack,and a new
> >>cluster
> >> >named cluster2 or add a new zone,rack server CPU is 2*6*2.0GHz,
> >> >   2.migrate some of the existed vm to the new host.
> >> >
> >> >   My question is
> >> >   1.Is there a way to migrate the whole cluster?
> >>
> >> AFAIK no. But please feel free to open a feature request for this in
> >>Jira.
> >>
> >> >   2.Is migrateVirtualMachine API support cross cluster or cross
> >>zone?
> >>
> >> ATM it doesn't support it cross cluster/zone. But I guess with the FS
> >>
> >>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+Storage+X
> >>en
> >> Motion+for+XenServer it would be. ETA - 4.2
> >>
> >> >
> >>
> >>
>
>


xenserver installation

2013-04-12 Thread Seif Eddine Jemli
Hi,
while trying to install Xenserver i had this warning:

"The follwing problem(s) were found with your hardware:
Hardware virtualization assist support is not available on this system.
Either is is not present, or is disabled in the system's BIOS
This capability* is required to start Windows virtual machines.*
*You may continue with the installation, thought Xenserver might have
limited functionality until you have addressed these problems.*
*
*
*
*
*What are the limitations that i risk to have if i install Xenserver on
such a system?*
*
*
*Is there a possibility to turn on the virtualization on my system?*
*
*
*
*
*thanks*


Re: CS4.1 Lost ping between VM and virtual router - arp issue?

2013-04-12 Thread Milamber

Hello Chiradeep,

Le 11/04/2013 18:44, Chiradeep Vittal a ecrit :

Sounds like a misconfiguration of the bond. I would try without the bond
first.


Yeah! it's works

Exactly, that was a misconfiguration of the bond. I change bond mode 
from "balance-alb" to "balance-rr" and it's works.


Thanks.



On 4/11/13 10:19 AM, "Milamber"  wrote:


Hello,

My setup : CS 4.1 (snapshot 2013/04/11)
Advanced network, 3 physical networks (public, guest, mngt/storage)

Guest network interfaces are connected on a switch L2, with trunk
enabled on vlan tagged 200-300 (and 199 for untagged packets)

Works fine:

Node 1 : VM + Virtual Router
Node 2 : nothing

I can ping VM since VR (on private network),
I can ping VR since VM (on private network),
I can ping VM on public IP.


Works with>80% ping loses

Node 1 : Virtual Router
Node 2 : VM
I can ping VM since VR (on private network) with alot of lost packets,
I can ping VR since VM (on private network) with a lot of lost packets,
I can ping VM on public IP with a lot of lost packets.

On VM, when I make some "arp -n" concurrent with ping VR, I found that
the arp address of VR changes!

ARP address 1 matches with p5p1 / p5p2 / bond2 / guestbr2 (on Node 1)
(note I use IP Bonding, but currently p5p2 isn't cable connected)

ARP address 2 matches with vnet4  (on Node 1)
(note this address is the mac address of VR/eth0)


Can you help me? this is a bug or misconfiguration?
Need add some kernel parameters on hosts related with arp?

Thanks.


Milamber



==

# brctl show
bridge namebridge idSTP enabledinterfaces
brbond2-2348000.6805ca1182b2nobond2.234
 vnet4
cloud08000.fe00a9fe0333novnet0
 vnet5
cloudbr08000.d4ae52e84796nobond0
 vnet2
 vnet6
cloudbr18000.6805ca118352nobond1
 vnet1
 vnet3
guestbr28000.6805ca1182b2nobond2
virbr08000.5254008c282fyesvirbr0-nic


=

# ip a | grep -B1 82
8: p5p1:  mtu 1500 qdisc mq
master bond2 state UP qlen 1000
 link/ether 68:05:ca:11:82:b2 brd ff:ff:ff:ff:ff:ff
9: p5p2:  mtu 1500 qdisc mq
master bond2 state DOWN qlen 1000
 link/ether 68:05:ca:11:82:b3 brd ff:ff:ff:ff:ff:ff
--
18: bond2:  mtu 1500 qdisc
noqueue state UP
 link/ether 68:05:ca:11:82:b2 brd ff:ff:ff:ff:ff:ff
 inet6 fe80::6a05:caff:fe11:82b2/64 scope link
--
19: guestbr2:  mtu 1500 qdisc noqueue
state UNKNOWN
 link/ether 68:05:ca:11:82:b2 brd ff:ff:ff:ff:ff:ff
 inet 172.17.7.13/24 brd 172.17.7.255 scope global guestbr2
 inet6 fe80::6a05:caff:fe11:82b2/64 scope link
--
28: bond2.234@bond2:  mtu 1500
qdisc noqueue state UP
 link/ether 68:05:ca:11:82:b2 brd ff:ff:ff:ff:ff:ff
 inet6 fe80::6a05:caff:fe11:82b2/64 scope link
--
29: brbond2-234:  mtu 1500 qdisc
noqueue state UNKNOWN
 link/ether 68:05:ca:11:82:b2 brd ff:ff:ff:ff:ff:ff
 inet6 fe80::6a05:caff:fe11:82b2/64 scope link


# ip a | grep -B1 02
30: vnet4:  mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 500
 link/ether fe:00:56:47:00:02 brd ff:ff:ff:ff:ff:ff











RE: xenserver installation

2013-04-12 Thread Geoff Higginbottom
If the hardware you are using does not have VT-d support (check the BIOS), then 
you will be limited in what VMs you can run, and you will not be able to use it 
with CloudStack by default.

If this is a simple test rig, and you want to use this hardware, you will need 
to run the following SQL statement on your CloudStack MySQL Server to tell 
CloudStack to ignore the fact that your XenServer does not have HVM Support 
(due to lack of Hardware Virtualisation Support)

INSERT INTO `cloud`.`configuration` (`category`, `instance`, `component`, 
`name`, `value`, `description`) VALUES ('Advanced', 'DEFAULT', 
'management-server', 'xen.check.hvm', 'false', 'Shoud we allow only the 
XenServers support HVM');

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: Seif Eddine Jemli [mailto:seifeddineje...@gmail.com]
Sent: 12 April 2013 10:32
To: cloudstack-us...@incubator.apache.org
Subject: xenserver installation

Hi,
while trying to install Xenserver i had this warning:

"The follwing problem(s) were found with your hardware:
Hardware virtualization assist support is not available on this system.
Either is is not present, or is disabled in the system's BIOS This capability* 
is required to start Windows virtual machines.* *You may continue with the 
installation, thought Xenserver might have limited functionality until you have 
addressed these problems.*
*
*
*
*
*What are the limitations that i risk to have if i install Xenserver on such a 
system?*
*
*
*Is there a possibility to turn on the virtualization on my system?*
*
*
*
*
*thanks*
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: xenserver installation

2013-04-12 Thread Seif Eddine Jemli
thanks.
but what do you mean with "you will not be able to use it with CloudStack
by default."?


2013/4/12 Geoff Higginbottom 

> If the hardware you are using does not have VT-d support (check the BIOS),
> then you will be limited in what VMs you can run, and you will not be able
> to use it with CloudStack by default.
>
> If this is a simple test rig, and you want to use this hardware, you will
> need to run the following SQL statement on your CloudStack MySQL Server to
> tell CloudStack to ignore the fact that your XenServer does not have HVM
> Support (due to lack of Hardware Virtualisation Support)
>
> INSERT INTO `cloud`.`configuration` (`category`, `instance`, `component`,
> `name`, `value`, `description`) VALUES ('Advanced', 'DEFAULT',
> 'management-server', 'xen.check.hvm', 'false', 'Shoud we allow only the
> XenServers support HVM');
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Seif Eddine Jemli [mailto:seifeddineje...@gmail.com]
> Sent: 12 April 2013 10:32
> To: cloudstack-us...@incubator.apache.org
> Subject: xenserver installation
>
> Hi,
> while trying to install Xenserver i had this warning:
>
> "The follwing problem(s) were found with your hardware:
> Hardware virtualization assist support is not available on this system.
> Either is is not present, or is disabled in the system's BIOS This
> capability* is required to start Windows virtual machines.* *You may
> continue with the installation, thought Xenserver might have limited
> functionality until you have addressed these problems.*
> *
> *
> *
> *
> *What are the limitations that i risk to have if i install Xenserver on
> such a system?*
> *
> *
> *Is there a possibility to turn on the virtualization on my system?*
> *
> *
> *
> *
> *thanks*
> 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: Add new host and migrate existed vm to new cluster

2013-04-12 Thread Nitin Mehta
Use migrateVolume API to migrate data disks across cluster (you will need
to detach the data disks from the vm) and migrateVirtualMachine API to
migrate root disk across cluster (you will need to stop the vm). Try this
for one vm and see how it goes.

On 12/04/13 3:02 PM, "sx chen"  wrote:

>So nitin,you means migrateVolume API support cross cluster migrate?
>
>
>2013/4/12 Nitin Mehta 
>
>>
>>
>> On 12/04/13 10:32 AM, "Ahmad Emneina"  wrote:
>>
>> >hey nitin, doesnt volume migrate allow for cross cluster migration? i
>>know
>> >the only caveat to that being, the vm's needing to be powered off to
>> >migrate.
>>
>> Yeah it does. It just skipped my mind. Thanks for pointing this out.
>> The enhancement I was pointing to would enable live migration.
>>
>>
>> >
>> >
>> >On Thu, Apr 11, 2013 at 9:48 PM, Nitin Mehta 
>> >wrote:
>> >
>> >>
>> >>
>> >> On 12/04/13 8:26 AM, "sx chen"  wrote:
>> >>
>> >> >Hello,
>> >> >   My CloudStack environment is:
>> >> >   version:3.02
>> >> >   cluster1:5 blade server in cluster1,Cpu is 2*6*2.53GHz
>> >> >
>> >> >
>> >> >   My requirement is:
>> >> >   1.I want to add 5 rack server to the CloudStack,and a new
>> >>cluster
>> >> >named cluster2 or add a new zone,rack server CPU is 2*6*2.0GHz,
>> >> >   2.migrate some of the existed vm to the new host.
>> >> >
>> >> >   My question is
>> >> >   1.Is there a way to migrate the whole cluster?
>> >>
>> >> AFAIK no. But please feel free to open a feature request for this in
>> >>Jira.
>> >>
>> >> >   2.Is migrateVirtualMachine API support cross cluster or cross
>> >>zone?
>> >>
>> >> ATM it doesn't support it cross cluster/zone. But I guess with the FS
>> >>
>> >>
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+Storage+X
>> >>en
>> >> Motion+for+XenServer it would be. ETA - 4.2
>> >>
>> >> >
>> >>
>> >>
>>
>>



RE: xenserver installation

2013-04-12 Thread Geoff Higginbottom
CloudStack will not allow you to add Hosts which do not support Hardware 
Virtualisation.  The SQL 'hack' I gave you lets you override this default 
behaviour for test environments, but obviously you should not do this in a 
production environment.

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com


-Original Message-
From: Seif Eddine Jemli [mailto:seifeddineje...@gmail.com]
Sent: 12 April 2013 10:58
To: users@cloudstack.apache.org
Subject: Re: xenserver installation

thanks.
but what do you mean with "you will not be able to use it with CloudStack by 
default."?


2013/4/12 Geoff Higginbottom 

> If the hardware you are using does not have VT-d support (check the
> BIOS), then you will be limited in what VMs you can run, and you will
> not be able to use it with CloudStack by default.
>
> If this is a simple test rig, and you want to use this hardware, you
> will need to run the following SQL statement on your CloudStack MySQL
> Server to tell CloudStack to ignore the fact that your XenServer does
> not have HVM Support (due to lack of Hardware Virtualisation Support)
>
> INSERT INTO `cloud`.`configuration` (`category`, `instance`,
> `component`, `name`, `value`, `description`) VALUES ('Advanced',
> 'DEFAULT', 'management-server', 'xen.check.hvm', 'false', 'Shoud we
> allow only the XenServers support HVM');
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Seif Eddine Jemli [mailto:seifeddineje...@gmail.com]
> Sent: 12 April 2013 10:32
> To: cloudstack-us...@incubator.apache.org
> Subject: xenserver installation
>
> Hi,
> while trying to install Xenserver i had this warning:
>
> "The follwing problem(s) were found with your hardware:
> Hardware virtualization assist support is not available on this system.
> Either is is not present, or is disabled in the system's BIOS This
> capability* is required to start Windows virtual machines.* *You may
> continue with the installation, thought Xenserver might have limited
> functionality until you have addressed these problems.*
> *
> *
> *
> *
> *What are the limitations that i risk to have if i install Xenserver
> on such a system?*
> *
> *
> *Is there a possibility to turn on the virtualization on my system?*
> *
> *
> *
> *
> *thanks*
> 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.
>
>
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: [Discuss] FS review-VMWare(Supporting DRS, HA)

2013-04-12 Thread Suresh Sadhu
Hi Kelven,

Hope you are working on this feature .Any updates on this feature. When can we 
expect the  FS with full implementation details .I have put my comments in the 
below link so that it's easy to track.


https://cwiki.apache.org/confluence/display/CLOUDSTACK/VMWare+Enhancements+-+Support+for+DRS+and+VM+HA?focusedCommentId=30753355&;

Regards
Sadhu

From: Suresh Sadhu
Sent: 18 January 2013 19:09
To: Hari Kannan; 'cloudstack-...@incubator.apache.org'; 
'cloudstack-us...@incubator.apache.org'
Subject: [Discuss] FS review-VMWare(Supporting DRS, HA

Hi Hari,

am the QA resource for this feature. I have reviewed the Functional spec and 
please find the review comments below:



1.Are we going to implement Cloudstack HA support for VMware or still will 
depend on Native HA.

2.Is the  Cloudstack HA support for VMware is only for DRS enabled cluster.

3.Are we going to address  open vmware vmsync issue as part of this feature 
enhancement.

4.please provide/update the FS with Flow/ implementation details ,like


n  How are we going to handle the power management

n  What happen CS and DRS tries to control the same vm at same time

n  How the CS will query/get info from DRS

n  Earlier  when the DRS enabled ,CS has no idea where the VM moved but it will 
try to query  all the hosts till it finds the moved VM by DRS and it will 
update the  host as  parent host. Now how this behaviour will work with your 
implementation.



n  How the Cloudstack handle VM replacement when& after Vm has been started

5.DRS with fully automated will impact host/cluster performance and 
network. Not sure why we added as requirement in FS (CloudStack must be able to 
support HA, load balancing and power management in a DRS cluster that is setup 
in a fully automated fashion )is there any specific reason.

Regards
Sadhu






several questions about network offerings

2013-04-12 Thread Nikita Gubenko
Hi
I have 4.1-snapshot test installtation and what to create new network
offering. Several questions:
1. What is the difference between "firewall" and "networkACL"?
2. What is "virtual networking"?
3. By default "system offering" is none, but there is one offering there.
Should I choose it?

Can't find this features described in the docs
Thanks
-- 
Best Regards, Nikita Gubenko


xenserver installation

2013-04-12 Thread Seif Eddine Jemli
hi,
while installing Xenserver, i had an error: INPUT/OUTPUT problem.

What is the cause of this problem?


thanks.


Any users in Atlanta/Ga/Southeast?

2013-04-12 Thread Kirk Jantzer
I've seen user groups and meetups for others, just wondering what the
acceptance is like around here.