Re: CPU socket miss match !!! Urgent

2014-12-30 Thread Abdul Rasool
Hi Harikrishna,

Thanks for your reply

Here is the command out put.

root@cloud-node001:~# dmidecode -t 4 |grep Socket
Socket Designation: CPU1
Upgrade: Socket LGA2011
Socket Designation: CPU2
Upgrade: Socket LGA2011


root@cloud-node001:~# virsh nodeinfo
CPU model:   x86_64
CPU(s):  8
CPU frequency:   2500 MHz
CPU socket(s):   1
Core(s) per socket:  4
Thread(s) per core:  1
NUMA cell(s):2
Memory size: 32899468 kB

When I check using dmidecode I am getting actual CPU sockets =2 whereas
libvirt is picking only one socket. please help me to fix this issue.

Thanks
AR



On 31 December 2014 at 11:27, Harikrishna Patnala <
harikrishna.patn...@citrix.com> wrote:

> Hi,
>
> This seems to me like a libvirt issue on KVM.
> We read the socket count from the parameter ‘sockets’ in NodeInfo on KVM
> host.
> Can you check with the command “virsh nodeinfo” ?
>
> Thanks,
> Harikrishna
>
>
> On 31-Dec-2014, at 9:54 am, Abdul Rasool  rasool...@gmail.com>> wrote:
>
> Attachment is missing ... added the same.
>
> On 31 December 2014 at 09:50, Abdul Rasool  rasool...@gmail.com>> wrote:
> Hi,
>
> In my test / dev environment I have total 2 Dell Poweredge M620 blade
> servers configured as KVM hypervisor each has physical CPU of 2 sockets,
> total number of CPU sockets available in my setup is 4 sockets. but in ACS
> infrastructure shows only 2 physical sockets. for your reference I have
> attached my infrastructure screenshot.
>
> could you please some one help me why ACS is showing only 2 CPU sockets
> instead of 4 ? is there any configuration issue from my side. ? right now
> this environment is used for our internal development purpose due to CPU
> mismatch I am not able to add additional guest VM in my infrastructure it
> is throwing me insufficient resources...!
>
> [Inline images 1]
>
> Regards,
> AR
>
>
>
>


Re: CPU socket miss match !!! Urgent

2014-12-30 Thread Harikrishna Patnala
Hi,

This seems to me like a libvirt issue on KVM.
We read the socket count from the parameter ‘sockets’ in NodeInfo on KVM host.
Can you check with the command “virsh nodeinfo” ?

Thanks,
Harikrishna


On 31-Dec-2014, at 9:54 am, Abdul Rasool 
mailto:rasool...@gmail.com>> wrote:

Attachment is missing ... added the same.

On 31 December 2014 at 09:50, Abdul Rasool 
mailto:rasool...@gmail.com>> wrote:
Hi,

In my test / dev environment I have total 2 Dell Poweredge M620 blade servers 
configured as KVM hypervisor each has physical CPU of 2 sockets, total number 
of CPU sockets available in my setup is 4 sockets. but in ACS infrastructure 
shows only 2 physical sockets. for your reference I have attached my 
infrastructure screenshot.

could you please some one help me why ACS is showing only 2 CPU sockets instead 
of 4 ? is there any configuration issue from my side. ? right now this 
environment is used for our internal development purpose due to CPU mismatch I 
am not able to add additional guest VM in my infrastructure it is throwing me 
insufficient resources...!

[Inline images 1]

Regards,
AR





Re: Application programming on CS

2014-12-30 Thread Giri Prasad
Thanks everybody for all your valuable comments.
I am currently surfing around looking for the information. Will keep posted, 
when I find something useful.
Giri

  From: Pierre-Luc Dion 
 To: "d...@cloudstack.apache.org"  
Cc: "users@cloudstack.apache.org" ; Giri Prasad 
; Mike Tutkowski  
 Sent: Monday, 29 December 2014 11:22 PM
 Subject: Re: Application programming on CS
   
sorry, sent too fast...
This one [1] contain a lot of examples on leveraging CloudStack with various 
tools.
O'Reilly: 60 Recipes for Apache CloudStack
[1] http://shop.oreilly.com/product/0636920034377.do


PL


On Mon, Dec 29, 2014 at 12:48 PM, Pierre-Luc Dion  wrote:

This one [1] contain a lot of examples to liverage CloudStack 





On Mon, Dec 29, 2014 at 12:20 PM, Sebastien Goasguen  wrote:


On Dec 29, 2014, at 12:15 AM, Giri Prasad  wrote:

>
>
> Can someone point for java and php application development in cloud, as in:
>
> http://www.microsoftvirtualacademy.com/ebooks#9780735695658
>

I downloaded this pdf to understand what you are looking for.

As far as I can see, this pdf has nothing to do with programming, it's a 
collection of narrative around cloud concepts:
-automation
-monitoring
-CI/CD
-single sign-on
etc

All these apply to a CloudStack cloud and can be implemented with all sorts of 
tools.

My suggestion for you is to read "The Phoenix Project"


> Building Cloud Apps with Microsoft Azure
> Scott Guthrie, Mark Simms, Tom Dykstra, Rick Anderson, and Mike Wasson
> July 2014
> 198 pages
>
>
>
> Introducing Windows Azure for IT Professionals
> Mitch Tulloch with the Windows Azure Team
> October 2013
> 142 pages
>
>
>
>
>
>
> - Original Message -
> From: Giri Prasad 
> To: Mike Tutkowski ; 
> "d...@cloudstack.apache.org" 
> Cc: "users@cloudstack.apache.org" 
> Sent: Saturday, 27 December 2014 3:44 PM
> Subject: Re: Application programming on CS
>
>
> Thanks for the information.
> I want to write application programs in java and php for the cloud 
> architechture. Applications like banking, insurance etc running on top of 
> cloudstack vm's.  The java/php should use the features of the cloud not 
> available for a web app, like high availability etc etc.
>
> Any reference on how to do the application design and implementation, for the 
> cloud (private/public), with some practical examples?
>
>
>      From: Mike Tutkowski 
>
> To: "d...@cloudstack.apache.org" ; Giri Prasad 
> 
> Cc: "users@cloudstack.apache.org" 
> Sent: Saturday, 27 December 2014 12:47 PM
> Subject: Re: Application programming on CS
>
> What about using something like jclouds?
> https://github.com/jclouds/jclouds/blob/master/apis/cloudstack/src/test/java/org/jclouds/cloudstack/compute/CloudStackExperimentLiveTest.java
>
>
>
> On Sat, Dec 27, 2014 at 12:06 AM, Giri Prasad  
> wrote:
>
> Hi All,
> Could somebody inform about books/reading material on how to write 
> application programs, using the cloudstack infra.
> I am planning to do  java and php applications using cs infra, on linux vm's. 
> Then later on, to do some .net programming on windows vm's.
> Any reference on how to do the application design and implementation, for the 
> cloud (private/public), with some practical examples?
>
> Thanks & Regards,D.Giriprasad
>
>
>
>
> --
> Mike Tutkowski
> Senior CloudStack Developer, SolidFire Inc.e: mike.tutkow...@solidfire.como: 
> 303.746.7302Advancing the way the world uses the cloud™







  

Re: CPU socket miss match !!! Urgent

2014-12-30 Thread Abdul Rasool
Attachment is missing ... added the same.

On 31 December 2014 at 09:50, Abdul Rasool  wrote:

> Hi,
>
> In my test / dev environment I have total 2 Dell Poweredge M620 blade
> servers configured as KVM hypervisor each has physical CPU of 2 sockets,
> total number of CPU sockets available in my setup is 4 sockets. but in ACS
> infrastructure shows only 2 physical sockets. for your reference I have
> attached my infrastructure screenshot.
>
> could you please some one help me why ACS is showing only 2 CPU sockets
> instead of 4 ? is there any configuration issue from my side. ? right now
> this environment is used for our internal development purpose due to CPU
> mismatch I am not able to add additional guest VM in my infrastructure it
> is throwing me insufficient resources...!
>
> [image: Inline images 1]
>
> Regards,
> AR
>
>


CPU socket miss match !!! Urgent

2014-12-30 Thread Abdul Rasool
Hi,

In my test / dev environment I have total 2 Dell Poweredge M620 blade
servers configured as KVM hypervisor each has physical CPU of 2 sockets,
total number of CPU sockets available in my setup is 4 sockets. but in ACS
infrastructure shows only 2 physical sockets. for your reference I have
attached my infrastructure screenshot.

could you please some one help me why ACS is showing only 2 CPU sockets
instead of 4 ? is there any configuration issue from my side. ? right now
this environment is used for our internal development purpose due to CPU
mismatch I am not able to add additional guest VM in my infrastructure it
is throwing me insufficient resources...!

[image: Inline images 1]

Regards,
AR


Re: Failed to register an ISO

2014-12-30 Thread Abhinandan Prateek
Check if the host is connected, primary and secondary storages are accessible 
from the host.


> On 30-Dec-2014, at 6:59 pm, José Egas López  wrote:
>
> Thanks Abhi, I realized the problem is not only about it, when I try to 
> create or deploy a new VM, it shows the following error:
>
> *
>   User VM
>
>   Failed to deploy Vm with Id: 42on Host with Id: null
>
>   Mon29 Dec 2014 19:22:27 GMT
>
> So I can do nothing, I can't create VMs or deploy them from a template.
> How can I fix it?
> *
>
>
> Regards,
> José
>
> * Teléf. (593-2)2993100 ext. 1639
> Teléf. (593-99)8-824047
> El 29/12/2014 a las 21:50, Abhinandan Prateek escribió:
>> Check this wiki here 
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
>> This will help you troubleshoot the download issue.
>>
>> -abhi
>>
>>> On 30-Dec-2014, at 12:50 am, José Egas López  
>>> wrote:
>>>
>>> Hi all, I have some ISOs registered on my CS Platform, but today I wanted 
>>> to add a new ISO, I register the ISO, but when I saw the "status" attribute 
>>> it shows nothing. I tried to register it again and tried to register 
>>> another ISO too, but it seems CS is not downloading the ISO. The web server 
>>> is operating ok. What can I do to solve it?
>>> --
>>> *
>>>
>>>
>>>
>>> Regards,
>>> José
>>>
>>> *
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build
>> CSForge – rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Software 
>> Engineering
>> CloudStack Infrastructure 
>> Support
>> CloudStack Bootcamp Training 
>> Courses
>>
>> 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 a 
>> company incorporated in India and is operated under license from Shape Blue 
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a 
>> company registered by The Republic of South Africa and is traded under 
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Unable to start VM due to concurrent operation

2014-12-30 Thread Mohamed Infaz
systemvm64template-2014-01-14-master-kvm.qcow2.bz2 This is the template i used.


On 31 December 2014 at 07:49, Mohamed Infaz  wrote:

> Hi Somesh,
>
> Thank you for the reply. Well both of my system vm's are running and it is
> downloading the iso image. And i was able to ping them. The system vm
> template i am using is for the version 4.3 cloudstack.
>
> Thank you.
>
> On 30 December 2014 at 23:59, Somesh Naidu 
> wrote:
>
>> Mohamed,
>>
>> The log snippet you have shared doesn't seem to be relevant to the
>> concurrent operation exception (can't see that exception stack).
>>
>> The message that did catch my attention though is,
>> -
>> 2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
>> (secstorage-1:ctx-463d2f57) System vm template is not ready at data center
>> 1, wait until it is ready to launch secondary storage vm
>> 2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
>> (secstorage-1:ctx-463d2f57) Zone 1 is not ready to launch secondary storage
>> VM yet
>> -
>>
>> That's pointing to missing system VM template. Please verify that you
>> have correctly provisioned the secondary storage with the correct system VM
>> template (as per the docs).
>>
>> -Somesh
>>
>> -Original Message-
>> From: Mohamed Infaz [mailto:infaz...@cse.mrt.ac.lk]
>> Sent: Tuesday, December 30, 2014 11:03 AM
>> To: users@cloudstack.apache.org
>> Cc: d...@cloudstack.apache.org
>> Subject: Unable to start VM due to concurrent operation
>>
>> Hi All,
>>
>> I have successfully deployed cloudstack 4.3 with two hosts and the setup
>> runs the management server on another physical host. I had issues with
>> downloading an ISO but finally i was able to download an ISO image. When i
>> want to create an instance i get the following error message saying
>> "Unable
>> to start VM due to concurrent operation" i did some searching on the topic
>> and it said version 4.3 system template solved the issue. These are some
>> of
>> the MS logs that i collected what could be the issue?
>>
>> 2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
>> (secstorage-1:ctx-463d2f57) System vm template is not ready at data center
>> 1, wait until it is ready to launch secondary storage vm
>> 2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
>> (secstorage-1:ctx-463d2f57) Zone 1 is not ready to launch secondary
>> storage
>> VM yet
>> 2014-12-31 05:25:12,425 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-9:null) Ping from 4
>> 2014-12-31 05:25:12,834 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-5:null) SeqA 3-91695: Processing Seq 3-91695:  { Cmd
>> , MgmtId: -1, via: 3, Ver: v1, Flags: 11,
>>
>> [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n
>> \"connections\": []\n}","wait":0}}] }
>> 2014-12-31 05:25:12,920 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-5:null) SeqA 3-91695: Sending Seq 3-91695:  { Ans: ,
>> MgmtId: 248795600505608, via: 3, Ver: v1, Flags: 100010,
>> [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
>> 2014-12-31 05:25:15,239 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
>> (ExternalNetworkMonitor-1:ctx-998a86df) External devices stats collector
>> is
>> running...
>> 2014-12-31 05:25:15,362 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
>> (RouterMonitor-1:ctx-dfdc73ce) Found 0 running routers.
>> 2014-12-31 05:25:15,366 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
>> (RouterStatusMonitor-1:ctx-79d58896) Found 0 routers to update status.
>> 2014-12-31 05:25:15,367 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
>> (RouterStatusMonitor-1:ctx-79d58896) Found 0 networks to update RvR
>> status.
>> 2014-12-31 05:25:15,393 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
>> (SnapshotPollTask:ctx-ae761f6b) Snapshot scheduler.poll is being called at
>> 2014-12-30 23:55:15 GMT
>> 2014-12-31 05:25:15,393 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
>> (SnapshotPollTask:ctx-ae761f6b) Got 0 snapshots to be executed at
>> 2014-12-30 23:55:15 GMT
>> 2014-12-31 05:25:18,535 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-14:null) Ping from 3
>> 2014-12-31 05:25:18,698 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentManager-Handler-10:null) Ping from 2
>> 2014-12-31 05:25:19,834 INFO  [c.c.a.m.AgentManagerImpl]
>> (AgentMonitor-1:ctx-f10d32f0) Found the following agents behind on ping:
>> [1]
>> 2014-12-31 05:25:19,835 DEBUG [c.c.h.Status] (AgentMonitor-1:ctx-f10d32f0)
>> Ping timeout for host 1, do invstigation
>> 2014-12-31 05:25:19,837 INFO  [c.c.a.m.AgentManagerImpl]
>> (AgentTaskPool-14:ctx-43a85937) Investigating why host 1 has disconnected
>> with event PingTimeout
>> 2014-12-31 05:25:19,837 DEBUG [c.c.a.m.AgentManagerImpl]
>> (AgentTaskPool-14:ctx-43a85937) checking if agent (1) is alive
>> 2014-12-31 05:25:19,839 DEBUG [c.c.a.t.Request]
>> (AgentTaskPool-14:ctx-43a85937) Seq 1-449186863: Sending  { Cmd , MgmtId:
>> 248795600505608, via: 1(virtualops-h4), Ver: v1, Flags: 1000

Re: Unable to start VM due to concurrent operation

2014-12-30 Thread Mohamed Infaz
Hi Somesh,

Thank you for the reply. Well both of my system vm's are running and it is
downloading the iso image. And i was able to ping them. The system vm
template i am using is for the version 4.3 cloudstack.

Thank you.

On 30 December 2014 at 23:59, Somesh Naidu  wrote:

> Mohamed,
>
> The log snippet you have shared doesn't seem to be relevant to the
> concurrent operation exception (can't see that exception stack).
>
> The message that did catch my attention though is,
> -
> 2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
> (secstorage-1:ctx-463d2f57) System vm template is not ready at data center
> 1, wait until it is ready to launch secondary storage vm
> 2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
> (secstorage-1:ctx-463d2f57) Zone 1 is not ready to launch secondary storage
> VM yet
> -
>
> That's pointing to missing system VM template. Please verify that you have
> correctly provisioned the secondary storage with the correct system VM
> template (as per the docs).
>
> -Somesh
>
> -Original Message-
> From: Mohamed Infaz [mailto:infaz...@cse.mrt.ac.lk]
> Sent: Tuesday, December 30, 2014 11:03 AM
> To: users@cloudstack.apache.org
> Cc: d...@cloudstack.apache.org
> Subject: Unable to start VM due to concurrent operation
>
> Hi All,
>
> I have successfully deployed cloudstack 4.3 with two hosts and the setup
> runs the management server on another physical host. I had issues with
> downloading an ISO but finally i was able to download an ISO image. When i
> want to create an instance i get the following error message saying "Unable
> to start VM due to concurrent operation" i did some searching on the topic
> and it said version 4.3 system template solved the issue. These are some of
> the MS logs that i collected what could be the issue?
>
> 2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
> (secstorage-1:ctx-463d2f57) System vm template is not ready at data center
> 1, wait until it is ready to launch secondary storage vm
> 2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
> (secstorage-1:ctx-463d2f57) Zone 1 is not ready to launch secondary storage
> VM yet
> 2014-12-31 05:25:12,425 DEBUG [c.c.a.m.AgentManagerImpl]
> (AgentManager-Handler-9:null) Ping from 4
> 2014-12-31 05:25:12,834 DEBUG [c.c.a.m.AgentManagerImpl]
> (AgentManager-Handler-5:null) SeqA 3-91695: Processing Seq 3-91695:  { Cmd
> , MgmtId: -1, via: 3, Ver: v1, Flags: 11,
>
> [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n
> \"connections\": []\n}","wait":0}}] }
> 2014-12-31 05:25:12,920 DEBUG [c.c.a.m.AgentManagerImpl]
> (AgentManager-Handler-5:null) SeqA 3-91695: Sending Seq 3-91695:  { Ans: ,
> MgmtId: 248795600505608, via: 3, Ver: v1, Flags: 100010,
> [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
> 2014-12-31 05:25:15,239 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
> (ExternalNetworkMonitor-1:ctx-998a86df) External devices stats collector is
> running...
> 2014-12-31 05:25:15,362 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterMonitor-1:ctx-dfdc73ce) Found 0 running routers.
> 2014-12-31 05:25:15,366 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-79d58896) Found 0 routers to update status.
> 2014-12-31 05:25:15,367 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-79d58896) Found 0 networks to update RvR status.
> 2014-12-31 05:25:15,393 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
> (SnapshotPollTask:ctx-ae761f6b) Snapshot scheduler.poll is being called at
> 2014-12-30 23:55:15 GMT
> 2014-12-31 05:25:15,393 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
> (SnapshotPollTask:ctx-ae761f6b) Got 0 snapshots to be executed at
> 2014-12-30 23:55:15 GMT
> 2014-12-31 05:25:18,535 DEBUG [c.c.a.m.AgentManagerImpl]
> (AgentManager-Handler-14:null) Ping from 3
> 2014-12-31 05:25:18,698 DEBUG [c.c.a.m.AgentManagerImpl]
> (AgentManager-Handler-10:null) Ping from 2
> 2014-12-31 05:25:19,834 INFO  [c.c.a.m.AgentManagerImpl]
> (AgentMonitor-1:ctx-f10d32f0) Found the following agents behind on ping:
> [1]
> 2014-12-31 05:25:19,835 DEBUG [c.c.h.Status] (AgentMonitor-1:ctx-f10d32f0)
> Ping timeout for host 1, do invstigation
> 2014-12-31 05:25:19,837 INFO  [c.c.a.m.AgentManagerImpl]
> (AgentTaskPool-14:ctx-43a85937) Investigating why host 1 has disconnected
> with event PingTimeout
> 2014-12-31 05:25:19,837 DEBUG [c.c.a.m.AgentManagerImpl]
> (AgentTaskPool-14:ctx-43a85937) checking if agent (1) is alive
> 2014-12-31 05:25:19,839 DEBUG [c.c.a.t.Request]
> (AgentTaskPool-14:ctx-43a85937) Seq 1-449186863: Sending  { Cmd , MgmtId:
> 248795600505608, via: 1(virtualops-h4), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.CheckHealthCommand":{"wait":50}}] }
> 2014-12-31 05:25:19,844 DEBUG [c.c.a.t.Request]
> (AgentManager-Handler-7:null) Seq 1-449186863: Processing:  { Ans: ,
> MgmtId: 248795600505608, via: 1, Ver: v1, Flags: 10,
>
> [{"com.clou

Ubuntu 14.04 LXC Error - Host is not HVM enabled

2014-12-30 Thread Mitch.Fiorentini
Hello, I'm getting errors launching anything LXC. I get a HVM error when
trying to launch LXC templates.


2014-12-30 19:09:31,826 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(API-Job-Executor-21:ctx-fb3350a0 job-741 ctx-720f3f9c) Checking resources
in Cluster: 3 under Pod: 1

2014-12-30 19:09:31,827 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
(API-Job-Executor-21:ctx-fb3350a0 job-741 ctx-720f3f9c
FirstFitRoutingAllocator) Looking for hosts in dc: 1  pod:1  cluster:3

2014-12-30 19:09:31,829 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
(API-Job-Executor-21:ctx-fb3350a0 job-741 ctx-720f3f9c
FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check for
allocation: [Host[-8-Routing]]

2014-12-30 19:09:31,831 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
(API-Job-Executor-21:ctx-fb3350a0 job-741 ctx-720f3f9c
FirstFitRoutingAllocator) Not considering hosts: [Host[-8-Routing]]  to
deploy template: Tmpl[206-ISO-206-2-0889cc90-5389-3b03-8619-3039dfd6bd6a as
they are not HVM enabled

2014-12-30 19:09:31,832 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
(API-Job-Executor-21:ctx-fb3350a0 job-741 ctx-720f3f9c
FirstFitRoutingAllocator) Found 0 hosts for allocation after
prioritization: []

2014-12-30 19:09:31,833 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
(API-Job-Executor-21:ctx-fb3350a0 job-741 ctx-720f3f9c
FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512

2014-12-30 19:09:31,833 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
(API-Job-Executor-21:ctx-fb3350a0 job-741 ctx-720f3f9c
FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts


Re: RE: cloudstack 4.3.2 + xenserver 6.2 with all patchs,couldn't start system vm

2014-12-30 Thread linux...@gmail.com
1、we install xenserver 6.2 with no patch
2、we install cloudstack and the ssvm cpvm could running
3、we disable the zone,remove ssvm and cpvm
4、we install all the patchs of xenserver
5、after patched xenserver we enable the zone on cloudstack

at this time,the log told us

Zone 1 is not ready to launch console
proxy yet

2014-12-30 23:54 GMT+08:00 Matthew Midgett
:
> Did you patch before or after installing cloudstack? I think some of files 
> that acs puts on the hypervisors get overwritten. I saw someone talking about 
> this on the mailing list before. I'm mobile today so can't provide the files 
> and directories to be updated.
>
>  Original message From: linux...@gmail.com 
> Date:12/30/2014  4:43 AM  (GMT-05:00) To: 
> users@cloudstack.apache.org Subject: cloudstack 4.3.2 + xenserver 
> 6.2 with all patchs,couldn't start
>   system vm 
> Hey ALL:
>
>we are testing cloustack 4.3.2 .our hypervisior is xenserver
> 6.2 with all patchs
> the system vm template is
> http://download.cloud.com/templates/4.3/systemvm64template-2014-09-30-4.3-xen.vhd.bz2
>
> we have tryed basic network and advanced network
>
> when xenserver 6.2 is not patched ,it worked fine
>
> after we patched xenserver 6.2 with all patch,the systemvm couldn't running
>
> this is the log of management :
>
>
>
> 2014-12-30 17:17:47,512 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-28:ctx-52719350) Seq 4-417988800: Executing request
>
> 2014-12-30 17:17:47,722 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-28:ctx-52719350) Seq 4-417988800: Response Received:
>
> 2014-12-30 17:17:47,722 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
> (DirectAgent-28:ctx-52719350) Seq 4-417988800: MgmtId 345051527296:
> Resp: Routing to peer
>
> 2014-12-30 17:17:58,813 DEBUG
> [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-b73976d7) Found 0 routers to update status.
>
> 2014-12-30 17:17:58,814 DEBUG
> [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-b73976d7) Found 0 networks to update RvR
> status.
>
> 2014-12-30 17:18:08,433 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-246:ctx-0222d7ab) Ping from 4(xenserver-101)
>
> 2014-12-30 17:18:08,820 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-143:ctx-3ae568b1) Seq 4-1243152388: Executing request
>
> 2014-12-30 17:18:09,008 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-143:ctx-3ae568b1) Seq 4-1243152388: Response Received:
>
> 2014-12-30 17:18:09,009 DEBUG [c.c.a.t.Request]
> (DirectAgent-143:ctx-3ae568b1) Seq 4-1243152388: Processing:  { Ans: ,
> MgmtId: 345051527295, via: 4, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}]
> }
>
> 2014-12-30 17:18:14,378 DEBUG [c.c.c.ConsoleProxyManagerImpl]
> (consoleproxy-1:ctx-04c0e3de) Zone 1 is not ready to launch console
> proxy yet
>
> 2014-12-30 17:18:14,758 DEBUG [c.c.s.StatsCollector]
> (StatsCollector-2:ctx-5f9e7528) VmStatsCollector is running...
>
> 2014-12-30 17:18:28,813 DEBUG
> [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-2da8a4a0) Found 0 routers to update status.
>
> 2014-12-30 17:18:28,814 DEBUG
> [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-2da8a4a0) Found 0 networks to update RvR
> status.
>
> 2014-12-30 17:18:31,605 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-247:ctx-2929f84f) Seq 4-417988801: Executing request
>
> 2014-12-30 17:18:31,758 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-247:ctx-2929f84f) Seq 4-417988801: Response Received:
>
> 2014-12-30 17:18:31,759 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
> (DirectAgent-247:ctx-2929f84f) Seq 4-417988801: MgmtId 345051527296:
> Resp: Routing to peer
>
> 2014-12-30 17:18:33,902 DEBUG [c.c.h.d.HostDaoImpl]
> (ClusteredAgentManager Timer:ctx-29831b59) Resetting hosts suitable
> for reconnect
>
> 2014-12-30 17:18:33,903 DEBUG [c.c.h.d.HostDaoImpl]
> (ClusteredAgentManager Timer:ctx-29831b59) Completed resetting hosts
> suitable for reconnect
>
> 2014-12-30 17:18:33,903 DEBUG [c.c.h.d.HostDaoImpl]
> (ClusteredAgentManager Timer:ctx-29831b59) Acquiring hosts for
> clusters already owned by this management server
>
> 2014-12-30 17:18:33,905 DEBUG [c.c.h.d.HostDaoImpl]
> (ClusteredAgentManager Timer:ctx-29831b59) Completed acquiring hosts
> for clusters already owned by this management server
>
> 2014-12-30 17:18:33,905 DEBUG [c.c.h.d.HostDaoImpl]
> (ClusteredAgentManager Timer:ctx-29831b59) Acquiring hosts for
> clusters not owned by any management server
>
> 2014-12-30 17:18:33,905 DEBUG [c.c.h.d.HostDaoImpl]
> (ClusteredAgentManager Timer:ctx-29831b59) Completed acquiring hosts
> for clusters not owned by any management server
>
> 2014-12-30 17:18:34,376 DEBUG [c.c.s.StatsCollector]
> (StatsCollector-1:ctx-b7a0) HostStatsCollector is running...
>
> 2014-12-30 17:18:34,384 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-414:ctx-fe97bed8) Seq 4-1243152635: Executing 

Cloudmonkey potential bug

2014-12-30 Thread Ian Forde
Hi all -


I’ve just detected some more strange behavior in Cloudmonkey.  If I have a 
cluster named, “cluster1”, in a zone named, “pod1” inside a zone named, 
“zone1”, I should be able to list it correctly, yes?


(local) 🐵 > list clusters

count = 1

cluster:

name = cluster1

id = d2e79c24-88e4-40f8-9639-e262c6e85f03

allocationstate = Enabled

clustertype = CloudManaged

cpuovercommitratio = 1.0

hypervisortype = XenServer

managedstate = Managed

memoryovercommitratio = 1.0

podid = d27ea9af-4228-482b-89ff-0f36f74e5a48

podname = pod1

zoneid = e362b144-04db-4540-aa53-75d9e2ffa832

zonename = zone1


So why does this happen?


(local) 🐵 > list clusters name=ster1

count = 1

cluster:

name = cluster1

id = d2e79c24-88e4-40f8-9639-e262c6e85f03

allocationstate = Enabled

clustertype = CloudManaged

cpuovercommitratio = 1.0

hypervisortype = XenServer

managedstate = Managed

memoryovercommitratio = 1.0

podid = d27ea9af-4228-482b-89ff-0f36f74e5a48

podname = pod1

zoneid = e362b144-04db-4540-aa53-75d9e2ffa832

zonename = zone1


Note that it appears to match the trailing characters of the object’s name.  I 
also verified that this happens for pods, but zones appear to manifest the 
correct behavior.  Tested with Cloudmonkey 5.3.0 and a fresh checkout from 
github (5.3.1) using the master branch.


Can anyone else replicate this?


  -I



RE: Can't create or deploy VMs

2014-12-30 Thread Somesh Naidu
It would be helpful if you could share a larger chunk of mgmt. server logs via 
paste bin so we can see what's happening/failing.

-Original Message-
From: José Egas López [mailto:josee...@farmaenlace.com] 
Sent: Tuesday, December 30, 2014 5:41 PM
To: users@cloudstack.apache.org
Subject: Can't create or deploy VMs

Hi all, when I try to create or deploy a new VM, it shows the following 
error:

User VM

Failed to deploy Vm with Id: 42on Host with Id: null

Mon29 Dec 2014 19:22:27 GMT

So I can do nothing, I can't create VMs or deploy them from a template.
How can I fix it?

I was creating and deploying VMs normally.
I have ACS 4.3.1 with VMware 5.5
-- 
*


Regards,
José

*


Can't create or deploy VMs

2014-12-30 Thread José Egas López
Hi all, when I try to create or deploy a new VM, it shows the following 
error:


   User VM

   Failed to deploy Vm with Id: 42on Host with Id: null

   Mon29 Dec 2014 19:22:27 GMT

So I can do nothing, I can't create VMs or deploy them from a template.
How can I fix it?

I was creating and deploying VMs normally.
I have ACS 4.3.1 with VMware 5.5
--
*


Regards,
José

*


Re: Physical network design options - which crime to comit

2014-12-30 Thread Andrija Panic
Somesh - I'm missing something here - just initiated new Volume Snapshot -
and I see that the HOST does the qemu-img convert operation with 2 mount
points, one primary and one secondary...so my wrong...
I know the same happens when deploying new VM from template - HOST mounts
primary and secondary and does the conversion..

So the SSVM is "only" used to download templates/isos from URLs, and for
copying templates/isos across zones. ?

At the end - I guess what you said is imporant for me - SSVM doesnt have
access to Primary Storage...

Thx

On 30 December 2014 at 20:29, Somesh Naidu  wrote:

> Interaction with primary storage would be via the hypervisor. SSVM doesn't
> access the primary storage directly.
>
> -Original Message-
> From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> Sent: Tuesday, December 30, 2014 1:52 PM
> To: users@cloudstack.apache.org
> Cc: d...@cloudstack.apache.org
> Subject: Re: Physical network design options - which crime to comit
>
> Somesh, thx - I understand that - one more question, since you guys are
> arround :)
>
> The primary storage network - I unnderstand how to separate that from
> management networks on the host (having separate NIC/vlan/IP inside each
> hypervisor host, etc) - but as far as I know, the SSVM doesnt have a NIC
> that goes directly into the Pimary storage network, just into management -
> does this mean, that the Primary storage network needs to be
> reachable/routable from Management network (so SSVM uses "Reserved System
> Gateway" to actually reach Primary storage network, through Management
> network) ?
> SSVM needs to reach Primary storage somehow...
>
> Thx
>
> On 30 December 2014 at 19:29, Somesh Naidu 
> wrote:
>
> > Sorry, I was out on holidays :)
> >
> > I guess that should work. Just know that Primary traffic is hypervisor to
> > storage and Secondary traffic is SSVM/Mgmt to storage. Cloudstack
> generally
> > doesn't consider primary storage in its architecture design as it mostly
> > relies on recommendation from the hypervisor vendors.
> >
> > -Original Message-
> > From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> > Sent: Friday, December 26, 2014 5:59 PM
> > To: users@cloudstack.apache.org
> > Cc: d...@cloudstack.apache.org
> > Subject: RE: Physical network design options - which crime to comit
> >
> > On storage nodes - yes definitively will do it.
> >
> > One finall advice/opinion please...?
> >
> > On compute nodes, since one 10G will be shared by both primary and
> > secondary traffic - would you separate that on 2 different VLANs and then
> > implement some QoS i.e. guarantie 8Gb/s for primary traffic vlan, or i.e.
> > limit sec.storage vlan to i.e. 2Gb/s. Or just simply let them compete for
> > the traffic? In afraid secondary traffic my influence or completely
> > overweight primary traffic if no QoS implemented...
> >
> > Sorry for borring you with details.
> >
> > Thanks
> >
> > Sent from Google Nexus 4
> > On Dec 26, 2014 11:51 PM, "Somesh Naidu" 
> wrote:
> >
> > > Actually, I would highly consider nic bonding for storage network if
> > > possible.
> > >
> > > -Original Message-
> > > From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> > > Sent: Friday, December 26, 2014 4:42 PM
> > > To: d...@cloudstack.apache.org
> > > Cc: users@cloudstack.apache.org
> > > Subject: RE: Physical network design options - which crime to comit
> > >
> > > Thanks Somesh, first option also seems most logical to me.
> > >
> > > I guess you wouldn't consider doing nic bonding and then vlans with
> some
> > > QoS based on vlans on switch level?
> > >
> > > Thx again
> > >
> > > Sent from Google Nexus 4
> > > On Dec 26, 2014 9:48 PM, "Somesh Naidu" 
> wrote:
> > >
> > > > I generally prefer to keep the storage traffic separate. Reason is
> that
> > > > storage performance (provision templates to primary, snapshots, copy
> > > > templates, etc) significantly impact end user experience. In
> addition,
> > it
> > > > also helps isolate network issues when troubleshooting.
> > > >
> > > > So I'd go for one of the following in that order:
> > > > Case I
> > > > 1G = mgmt network (only mgmt)
> > > > 10G = Primary and Secondary storage traffic
> > > > 10G = Guest and Public traffic
> > > >
> > > > Case II
> > > > 10G = Primary and Secondary storage traffic
> > > > 10G = mgmt network, Guest and Public traffic
> > > >
> > > > Case III
> > > > 10G = mgmt network, Primary and Secondary storage traffic
> > > > 10G = Guest and Public traffic
> > > >
> > > > -Original Message-
> > > > From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> > > > Sent: Friday, December 26, 2014 10:06 AM
> > > > To: users@cloudstack.apache.org; d...@cloudstack.apache.org
> > > > Subject: Physical network design options - which crime to comit
> > > >
> > > > Hi folks,
> > > >
> > > > I'm designing some stuff - and wondering which crime to commit - I
> > have 2
> > > > posible scenarios in my head
> > > > I have folowing NICs available on compute

RE: Physical network design options - which crime to comit

2014-12-30 Thread Somesh Naidu
Interaction with primary storage would be via the hypervisor. SSVM doesn't 
access the primary storage directly.

-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: Tuesday, December 30, 2014 1:52 PM
To: users@cloudstack.apache.org
Cc: d...@cloudstack.apache.org
Subject: Re: Physical network design options - which crime to comit

Somesh, thx - I understand that - one more question, since you guys are
arround :)

The primary storage network - I unnderstand how to separate that from
management networks on the host (having separate NIC/vlan/IP inside each
hypervisor host, etc) - but as far as I know, the SSVM doesnt have a NIC
that goes directly into the Pimary storage network, just into management -
does this mean, that the Primary storage network needs to be
reachable/routable from Management network (so SSVM uses "Reserved System
Gateway" to actually reach Primary storage network, through Management
network) ?
SSVM needs to reach Primary storage somehow...

Thx

On 30 December 2014 at 19:29, Somesh Naidu  wrote:

> Sorry, I was out on holidays :)
>
> I guess that should work. Just know that Primary traffic is hypervisor to
> storage and Secondary traffic is SSVM/Mgmt to storage. Cloudstack generally
> doesn't consider primary storage in its architecture design as it mostly
> relies on recommendation from the hypervisor vendors.
>
> -Original Message-
> From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> Sent: Friday, December 26, 2014 5:59 PM
> To: users@cloudstack.apache.org
> Cc: d...@cloudstack.apache.org
> Subject: RE: Physical network design options - which crime to comit
>
> On storage nodes - yes definitively will do it.
>
> One finall advice/opinion please...?
>
> On compute nodes, since one 10G will be shared by both primary and
> secondary traffic - would you separate that on 2 different VLANs and then
> implement some QoS i.e. guarantie 8Gb/s for primary traffic vlan, or i.e.
> limit sec.storage vlan to i.e. 2Gb/s. Or just simply let them compete for
> the traffic? In afraid secondary traffic my influence or completely
> overweight primary traffic if no QoS implemented...
>
> Sorry for borring you with details.
>
> Thanks
>
> Sent from Google Nexus 4
> On Dec 26, 2014 11:51 PM, "Somesh Naidu"  wrote:
>
> > Actually, I would highly consider nic bonding for storage network if
> > possible.
> >
> > -Original Message-
> > From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> > Sent: Friday, December 26, 2014 4:42 PM
> > To: d...@cloudstack.apache.org
> > Cc: users@cloudstack.apache.org
> > Subject: RE: Physical network design options - which crime to comit
> >
> > Thanks Somesh, first option also seems most logical to me.
> >
> > I guess you wouldn't consider doing nic bonding and then vlans with some
> > QoS based on vlans on switch level?
> >
> > Thx again
> >
> > Sent from Google Nexus 4
> > On Dec 26, 2014 9:48 PM, "Somesh Naidu"  wrote:
> >
> > > I generally prefer to keep the storage traffic separate. Reason is that
> > > storage performance (provision templates to primary, snapshots, copy
> > > templates, etc) significantly impact end user experience. In addition,
> it
> > > also helps isolate network issues when troubleshooting.
> > >
> > > So I'd go for one of the following in that order:
> > > Case I
> > > 1G = mgmt network (only mgmt)
> > > 10G = Primary and Secondary storage traffic
> > > 10G = Guest and Public traffic
> > >
> > > Case II
> > > 10G = Primary and Secondary storage traffic
> > > 10G = mgmt network, Guest and Public traffic
> > >
> > > Case III
> > > 10G = mgmt network, Primary and Secondary storage traffic
> > > 10G = Guest and Public traffic
> > >
> > > -Original Message-
> > > From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> > > Sent: Friday, December 26, 2014 10:06 AM
> > > To: users@cloudstack.apache.org; d...@cloudstack.apache.org
> > > Subject: Physical network design options - which crime to comit
> > >
> > > Hi folks,
> > >
> > > I'm designing some stuff - and wondering which crime to commit - I
> have 2
> > > posible scenarios in my head
> > > I have folowing NICs available on compute nodes:
> > > 1 x 1G NIC
> > > 2 x 10G NIC
> > >
> > > I was wondering which approach would be better, as I', thinking about 2
> > > possible sollutions at the moment, maybe 3.
> > >
> > > *First scenario:*
> > >
> > > 1G = mgmt network (only mgmt)
> > > 10G = Primary and Secondary storage traffic
> > > 10G = Guest and Public traffic
> > >
> > >
> > > *Second scenario*
> > >
> > > 1G = not used at all
> > > 10G = mgmt,primary,secondary storage
> > > 10G = Guest and Public
> > >
> > >
> > > And possibly a 3rd scenario:
> > >
> > > 1G = not used at all
> > > 10G = mgmt+primary storage
> > > 10G = secondary storage, guest,public network
> > >
> > >
> > > I could continue here with different scenarios - but I'm wondering if
> 1G
> > > dedicated for mgmt would make sense - I know it is "better" to have it
> > > dedicated

Re: Physical network design options - which crime to comit

2014-12-30 Thread Andrija Panic
Somesh, thx - I understand that - one more question, since you guys are
arround :)

The primary storage network - I unnderstand how to separate that from
management networks on the host (having separate NIC/vlan/IP inside each
hypervisor host, etc) - but as far as I know, the SSVM doesnt have a NIC
that goes directly into the Pimary storage network, just into management -
does this mean, that the Primary storage network needs to be
reachable/routable from Management network (so SSVM uses "Reserved System
Gateway" to actually reach Primary storage network, through Management
network) ?
SSVM needs to reach Primary storage somehow...

Thx

On 30 December 2014 at 19:29, Somesh Naidu  wrote:

> Sorry, I was out on holidays :)
>
> I guess that should work. Just know that Primary traffic is hypervisor to
> storage and Secondary traffic is SSVM/Mgmt to storage. Cloudstack generally
> doesn't consider primary storage in its architecture design as it mostly
> relies on recommendation from the hypervisor vendors.
>
> -Original Message-
> From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> Sent: Friday, December 26, 2014 5:59 PM
> To: users@cloudstack.apache.org
> Cc: d...@cloudstack.apache.org
> Subject: RE: Physical network design options - which crime to comit
>
> On storage nodes - yes definitively will do it.
>
> One finall advice/opinion please...?
>
> On compute nodes, since one 10G will be shared by both primary and
> secondary traffic - would you separate that on 2 different VLANs and then
> implement some QoS i.e. guarantie 8Gb/s for primary traffic vlan, or i.e.
> limit sec.storage vlan to i.e. 2Gb/s. Or just simply let them compete for
> the traffic? In afraid secondary traffic my influence or completely
> overweight primary traffic if no QoS implemented...
>
> Sorry for borring you with details.
>
> Thanks
>
> Sent from Google Nexus 4
> On Dec 26, 2014 11:51 PM, "Somesh Naidu"  wrote:
>
> > Actually, I would highly consider nic bonding for storage network if
> > possible.
> >
> > -Original Message-
> > From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> > Sent: Friday, December 26, 2014 4:42 PM
> > To: d...@cloudstack.apache.org
> > Cc: users@cloudstack.apache.org
> > Subject: RE: Physical network design options - which crime to comit
> >
> > Thanks Somesh, first option also seems most logical to me.
> >
> > I guess you wouldn't consider doing nic bonding and then vlans with some
> > QoS based on vlans on switch level?
> >
> > Thx again
> >
> > Sent from Google Nexus 4
> > On Dec 26, 2014 9:48 PM, "Somesh Naidu"  wrote:
> >
> > > I generally prefer to keep the storage traffic separate. Reason is that
> > > storage performance (provision templates to primary, snapshots, copy
> > > templates, etc) significantly impact end user experience. In addition,
> it
> > > also helps isolate network issues when troubleshooting.
> > >
> > > So I'd go for one of the following in that order:
> > > Case I
> > > 1G = mgmt network (only mgmt)
> > > 10G = Primary and Secondary storage traffic
> > > 10G = Guest and Public traffic
> > >
> > > Case II
> > > 10G = Primary and Secondary storage traffic
> > > 10G = mgmt network, Guest and Public traffic
> > >
> > > Case III
> > > 10G = mgmt network, Primary and Secondary storage traffic
> > > 10G = Guest and Public traffic
> > >
> > > -Original Message-
> > > From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> > > Sent: Friday, December 26, 2014 10:06 AM
> > > To: users@cloudstack.apache.org; d...@cloudstack.apache.org
> > > Subject: Physical network design options - which crime to comit
> > >
> > > Hi folks,
> > >
> > > I'm designing some stuff - and wondering which crime to commit - I
> have 2
> > > posible scenarios in my head
> > > I have folowing NICs available on compute nodes:
> > > 1 x 1G NIC
> > > 2 x 10G NIC
> > >
> > > I was wondering which approach would be better, as I', thinking about 2
> > > possible sollutions at the moment, maybe 3.
> > >
> > > *First scenario:*
> > >
> > > 1G = mgmt network (only mgmt)
> > > 10G = Primary and Secondary storage traffic
> > > 10G = Guest and Public traffic
> > >
> > >
> > > *Second scenario*
> > >
> > > 1G = not used at all
> > > 10G = mgmt,primary,secondary storage
> > > 10G = Guest and Public
> > >
> > >
> > > And possibly a 3rd scenario:
> > >
> > > 1G = not used at all
> > > 10G = mgmt+primary storage
> > > 10G = secondary storage, guest,public network
> > >
> > >
> > > I could continue here with different scenarios - but I'm wondering if
> 1G
> > > dedicated for mgmt would make sense - I know it is "better" to have it
> > > dedicated if possible, but folowing "KISS" and knowing it's extremely
> > light
> > > weight traffic - I was thinkin puting everything on 2 x 10G interfaces.
> > >
> > > Any opinions are most welcome.
> > > Thanks,
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> >
>



-- 

Andrija Panić


RE: No templates showing up in 'instances' tab

2014-12-30 Thread Somesh Naidu
I suspect the templates are not getting downloaded. Did you check if the 
templates property "Ready", is that showing as "Yes"?

You could also check directly in the DB by looking up the table 
template_store_ref.

-Original Message-
From: Thomas Munn [mailto:symgr...@gmail.com] 
Sent: Saturday, December 27, 2014 3:01 AM
To: users@cloudstack.apache.org
Subject: No templates showing up in 'instances' tab

I can upload them to my heart's content, but not items. I CAN see the
templates, but they never show up in my zone.

I tried the gobblygook docs in the ssvm storage thing, but I can't even
begin to find the id_rsa binary, or any of the tools it mentions.

I have permission to see things on the nfs server, templates show up in the
'templates' file, but they don't register for instances.

I have the nfs server set to map all files to 'root', and cannot change
permissions on the server. I can 'write' directories as 'root', but am not
sure what uid I need final files to be stored as.or just turn off
'nosquash'?

Here is the log:

:2014-12-27 07:59:36,050 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-6:null) Seq 5-5773614722288975885: Processing:  {
Ans: , MgmtId: 52228748028, via: 5, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.Answer":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException:
GetRootDir for nfs://192.168.0.6/volume1/cloudstack/secondary failed due to
com.cloud.utils.exception.CloudRuntimeException: Unable to mount
192.168.0.6:/volume1/cloudstack/secondary at
/mnt/SecStorage/449b7d09-1835-3387-92ad-4720fa465137 due to mount.nfs:
access denied by server while mounting
192.168.0.6:/volume1/cloudstack/secondary\n\tat
org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:1839)\n\tat
org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:1588)\n\tat
org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:212)\n\tat
com.cloud.agent.Agent.processRequest(Agent.java:501)\n\tat
com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)\n\tat
com.cloud.utils.nio.Task.run(Task.java:84)\n\tat
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat
java.lang.Thread.run(Thread.java:745)\n","wait":0}}] }
But when I mount manually it works fine. So I have no idea on how to fix.
-- 
---
Two Wheels Good, Four Wheels Bad


RE: Unable to start VM due to concurrent operation

2014-12-30 Thread Somesh Naidu
Mohamed,

The log snippet you have shared doesn't seem to be relevant to the concurrent 
operation exception (can't see that exception stack).

The message that did catch my attention though is,
-
2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] 
(secstorage-1:ctx-463d2f57) System vm template is not ready at data center 1, 
wait until it is ready to launch secondary storage vm
2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] 
(secstorage-1:ctx-463d2f57) Zone 1 is not ready to launch secondary storage VM 
yet
-

That's pointing to missing system VM template. Please verify that you have 
correctly provisioned the secondary storage with the correct system VM template 
(as per the docs).

-Somesh

-Original Message-
From: Mohamed Infaz [mailto:infaz...@cse.mrt.ac.lk] 
Sent: Tuesday, December 30, 2014 11:03 AM
To: users@cloudstack.apache.org
Cc: d...@cloudstack.apache.org
Subject: Unable to start VM due to concurrent operation

Hi All,

I have successfully deployed cloudstack 4.3 with two hosts and the setup
runs the management server on another physical host. I had issues with
downloading an ISO but finally i was able to download an ISO image. When i
want to create an instance i get the following error message saying "Unable
to start VM due to concurrent operation" i did some searching on the topic
and it said version 4.3 system template solved the issue. These are some of
the MS logs that i collected what could be the issue?

2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-463d2f57) System vm template is not ready at data center
1, wait until it is ready to launch secondary storage vm
2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-463d2f57) Zone 1 is not ready to launch secondary storage
VM yet
2014-12-31 05:25:12,425 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-9:null) Ping from 4
2014-12-31 05:25:12,834 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-5:null) SeqA 3-91695: Processing Seq 3-91695:  { Cmd
, MgmtId: -1, via: 3, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n
\"connections\": []\n}","wait":0}}] }
2014-12-31 05:25:12,920 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-5:null) SeqA 3-91695: Sending Seq 3-91695:  { Ans: ,
MgmtId: 248795600505608, via: 3, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2014-12-31 05:25:15,239 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
(ExternalNetworkMonitor-1:ctx-998a86df) External devices stats collector is
running...
2014-12-31 05:25:15,362 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterMonitor-1:ctx-dfdc73ce) Found 0 running routers.
2014-12-31 05:25:15,366 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-79d58896) Found 0 routers to update status.
2014-12-31 05:25:15,367 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-79d58896) Found 0 networks to update RvR status.
2014-12-31 05:25:15,393 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
(SnapshotPollTask:ctx-ae761f6b) Snapshot scheduler.poll is being called at
2014-12-30 23:55:15 GMT
2014-12-31 05:25:15,393 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
(SnapshotPollTask:ctx-ae761f6b) Got 0 snapshots to be executed at
2014-12-30 23:55:15 GMT
2014-12-31 05:25:18,535 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-14:null) Ping from 3
2014-12-31 05:25:18,698 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-10:null) Ping from 2
2014-12-31 05:25:19,834 INFO  [c.c.a.m.AgentManagerImpl]
(AgentMonitor-1:ctx-f10d32f0) Found the following agents behind on ping: [1]
2014-12-31 05:25:19,835 DEBUG [c.c.h.Status] (AgentMonitor-1:ctx-f10d32f0)
Ping timeout for host 1, do invstigation
2014-12-31 05:25:19,837 INFO  [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-14:ctx-43a85937) Investigating why host 1 has disconnected
with event PingTimeout
2014-12-31 05:25:19,837 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-14:ctx-43a85937) checking if agent (1) is alive
2014-12-31 05:25:19,839 DEBUG [c.c.a.t.Request]
(AgentTaskPool-14:ctx-43a85937) Seq 1-449186863: Sending  { Cmd , MgmtId:
248795600505608, via: 1(virtualops-h4), Ver: v1, Flags: 100011,
[{"com.cloud.agent.api.CheckHealthCommand":{"wait":50}}] }
2014-12-31 05:25:19,844 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-7:null) Seq 1-449186863: Processing:  { Ans: ,
MgmtId: 248795600505608, via: 1, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.CheckHealthAnswer":{"result":true,"details":"resource
is alive","wait":0}}] }
2014-12-31 05:25:19,844 DEBUG [c.c.a.t.Request]
(AgentTaskPool-14:ctx-43a85937) Seq 1-449186863: Received:  { Ans: ,
MgmtId: 248795600505608, via: 1, Ver: v1, Flags: 10, { CheckHealthAnswer } }
2014-12-31 05:25:19,844 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-14:ctx-43a85937) Details from executing class
com.cloud.agent.api.CheckHealthCommand: resourc

RE: Physical network design options - which crime to comit

2014-12-30 Thread Somesh Naidu
Sorry, I was out on holidays :)

I guess that should work. Just know that Primary traffic is hypervisor to 
storage and Secondary traffic is SSVM/Mgmt to storage. Cloudstack generally 
doesn't consider primary storage in its architecture design as it mostly relies 
on recommendation from the hypervisor vendors.

-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: Friday, December 26, 2014 5:59 PM
To: users@cloudstack.apache.org
Cc: d...@cloudstack.apache.org
Subject: RE: Physical network design options - which crime to comit

On storage nodes - yes definitively will do it.

One finall advice/opinion please...?

On compute nodes, since one 10G will be shared by both primary and
secondary traffic - would you separate that on 2 different VLANs and then
implement some QoS i.e. guarantie 8Gb/s for primary traffic vlan, or i.e.
limit sec.storage vlan to i.e. 2Gb/s. Or just simply let them compete for
the traffic? In afraid secondary traffic my influence or completely
overweight primary traffic if no QoS implemented...

Sorry for borring you with details.

Thanks

Sent from Google Nexus 4
On Dec 26, 2014 11:51 PM, "Somesh Naidu"  wrote:

> Actually, I would highly consider nic bonding for storage network if
> possible.
>
> -Original Message-
> From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> Sent: Friday, December 26, 2014 4:42 PM
> To: d...@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: RE: Physical network design options - which crime to comit
>
> Thanks Somesh, first option also seems most logical to me.
>
> I guess you wouldn't consider doing nic bonding and then vlans with some
> QoS based on vlans on switch level?
>
> Thx again
>
> Sent from Google Nexus 4
> On Dec 26, 2014 9:48 PM, "Somesh Naidu"  wrote:
>
> > I generally prefer to keep the storage traffic separate. Reason is that
> > storage performance (provision templates to primary, snapshots, copy
> > templates, etc) significantly impact end user experience. In addition, it
> > also helps isolate network issues when troubleshooting.
> >
> > So I'd go for one of the following in that order:
> > Case I
> > 1G = mgmt network (only mgmt)
> > 10G = Primary and Secondary storage traffic
> > 10G = Guest and Public traffic
> >
> > Case II
> > 10G = Primary and Secondary storage traffic
> > 10G = mgmt network, Guest and Public traffic
> >
> > Case III
> > 10G = mgmt network, Primary and Secondary storage traffic
> > 10G = Guest and Public traffic
> >
> > -Original Message-
> > From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> > Sent: Friday, December 26, 2014 10:06 AM
> > To: users@cloudstack.apache.org; d...@cloudstack.apache.org
> > Subject: Physical network design options - which crime to comit
> >
> > Hi folks,
> >
> > I'm designing some stuff - and wondering which crime to commit - I have 2
> > posible scenarios in my head
> > I have folowing NICs available on compute nodes:
> > 1 x 1G NIC
> > 2 x 10G NIC
> >
> > I was wondering which approach would be better, as I', thinking about 2
> > possible sollutions at the moment, maybe 3.
> >
> > *First scenario:*
> >
> > 1G = mgmt network (only mgmt)
> > 10G = Primary and Secondary storage traffic
> > 10G = Guest and Public traffic
> >
> >
> > *Second scenario*
> >
> > 1G = not used at all
> > 10G = mgmt,primary,secondary storage
> > 10G = Guest and Public
> >
> >
> > And possibly a 3rd scenario:
> >
> > 1G = not used at all
> > 10G = mgmt+primary storage
> > 10G = secondary storage, guest,public network
> >
> >
> > I could continue here with different scenarios - but I'm wondering if 1G
> > dedicated for mgmt would make sense - I know it is "better" to have it
> > dedicated if possible, but folowing "KISS" and knowing it's extremely
> light
> > weight traffic - I was thinkin puting everything on 2 x 10G interfaces.
> >
> > Any opinions are most welcome.
> > Thanks,
> >
> >
> > --
> >
> > Andrija Panić
> >
>


Unable to start VM due to concurrent operation

2014-12-30 Thread Mohamed Infaz
Hi All,

I have successfully deployed cloudstack 4.3 with two hosts and the setup
runs the management server on another physical host. I had issues with
downloading an ISO but finally i was able to download an ISO image. When i
want to create an instance i get the following error message saying "Unable
to start VM due to concurrent operation" i did some searching on the topic
and it said version 4.3 system template solved the issue. These are some of
the MS logs that i collected what could be the issue?

2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-463d2f57) System vm template is not ready at data center
1, wait until it is ready to launch secondary storage vm
2014-12-31 05:25:07,972 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-463d2f57) Zone 1 is not ready to launch secondary storage
VM yet
2014-12-31 05:25:12,425 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-9:null) Ping from 4
2014-12-31 05:25:12,834 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-5:null) SeqA 3-91695: Processing Seq 3-91695:  { Cmd
, MgmtId: -1, via: 3, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n
\"connections\": []\n}","wait":0}}] }
2014-12-31 05:25:12,920 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-5:null) SeqA 3-91695: Sending Seq 3-91695:  { Ans: ,
MgmtId: 248795600505608, via: 3, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2014-12-31 05:25:15,239 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
(ExternalNetworkMonitor-1:ctx-998a86df) External devices stats collector is
running...
2014-12-31 05:25:15,362 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterMonitor-1:ctx-dfdc73ce) Found 0 running routers.
2014-12-31 05:25:15,366 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-79d58896) Found 0 routers to update status.
2014-12-31 05:25:15,367 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-79d58896) Found 0 networks to update RvR status.
2014-12-31 05:25:15,393 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
(SnapshotPollTask:ctx-ae761f6b) Snapshot scheduler.poll is being called at
2014-12-30 23:55:15 GMT
2014-12-31 05:25:15,393 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
(SnapshotPollTask:ctx-ae761f6b) Got 0 snapshots to be executed at
2014-12-30 23:55:15 GMT
2014-12-31 05:25:18,535 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-14:null) Ping from 3
2014-12-31 05:25:18,698 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-10:null) Ping from 2
2014-12-31 05:25:19,834 INFO  [c.c.a.m.AgentManagerImpl]
(AgentMonitor-1:ctx-f10d32f0) Found the following agents behind on ping: [1]
2014-12-31 05:25:19,835 DEBUG [c.c.h.Status] (AgentMonitor-1:ctx-f10d32f0)
Ping timeout for host 1, do invstigation
2014-12-31 05:25:19,837 INFO  [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-14:ctx-43a85937) Investigating why host 1 has disconnected
with event PingTimeout
2014-12-31 05:25:19,837 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-14:ctx-43a85937) checking if agent (1) is alive
2014-12-31 05:25:19,839 DEBUG [c.c.a.t.Request]
(AgentTaskPool-14:ctx-43a85937) Seq 1-449186863: Sending  { Cmd , MgmtId:
248795600505608, via: 1(virtualops-h4), Ver: v1, Flags: 100011,
[{"com.cloud.agent.api.CheckHealthCommand":{"wait":50}}] }
2014-12-31 05:25:19,844 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-7:null) Seq 1-449186863: Processing:  { Ans: ,
MgmtId: 248795600505608, via: 1, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.CheckHealthAnswer":{"result":true,"details":"resource
is alive","wait":0}}] }
2014-12-31 05:25:19,844 DEBUG [c.c.a.t.Request]
(AgentTaskPool-14:ctx-43a85937) Seq 1-449186863: Received:  { Ans: ,
MgmtId: 248795600505608, via: 1, Ver: v1, Flags: 10, { CheckHealthAnswer } }
2014-12-31 05:25:19,844 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-14:ctx-43a85937) Details from executing class
com.cloud.agent.api.CheckHealthCommand: resource is alive
2014-12-31 05:25:19,844 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-14:ctx-43a85937) agent (1) responded to checkHeathCommand,
reporting that agent is Up
2014-12-31 05:25:19,844 INFO  [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-14:ctx-43a85937) The state determined is Up
2014-12-31 05:25:19,844 INFO  [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-14:ctx-43a85937) Agent is determined to be up and running
2014-12-31 05:25:19,844 DEBUG [c.c.h.Status]
(AgentTaskPool-14:ctx-43a85937) Transition:[Resource state = Enabled, Agent
event = Ping, Host id = 1, name = virtualops-h4]
2014-12-31 05:25:19,929 DEBUG [c.c.h.Status]
(AgentTaskPool-14:ctx-43a85937) Agent status update: [id = 1; name =
virtualops-h4; old status = Up; event = Ping; new status = Up; old update
count = 34; new update count = 35]
2014-12-31 05:25:22,873 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-2:null) SeqA 3-91697: Processing Seq 3-91697:  { Cmd
, MgmtId: -1, via: 3, Ver: v1, Flags: 11,
[

RE: cloudstack 4.3.2 + xenserver 6.2 with all patchs,couldn't start system vm

2014-12-30 Thread Matthew Midgett
Did you patch before or after installing cloudstack? I think some of files that 
acs puts on the hypervisors get overwritten. I saw someone talking about this 
on the mailing list before. I'm mobile today so can't provide the files and 
directories to be updated.

 Original message From: linux...@gmail.com 
Date:12/30/2014  4:43 AM  (GMT-05:00) To: 
users@cloudstack.apache.org Subject: cloudstack 4.3.2 + xenserver 
6.2 with all patchs,couldn't start
  system vm 
Hey ALL:

   we are testing cloustack 4.3.2 .our hypervisior is xenserver
6.2 with all patchs
the system vm template is
http://download.cloud.com/templates/4.3/systemvm64template-2014-09-30-4.3-xen.vhd.bz2

we have tryed basic network and advanced network

when xenserver 6.2 is not patched ,it worked fine

after we patched xenserver 6.2 with all patch,the systemvm couldn't running

this is the log of management :



2014-12-30 17:17:47,512 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-28:ctx-52719350) Seq 4-417988800: Executing request

2014-12-30 17:17:47,722 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-28:ctx-52719350) Seq 4-417988800: Response Received:

2014-12-30 17:17:47,722 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(DirectAgent-28:ctx-52719350) Seq 4-417988800: MgmtId 345051527296:
Resp: Routing to peer

2014-12-30 17:17:58,813 DEBUG
[c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-b73976d7) Found 0 routers to update status.

2014-12-30 17:17:58,814 DEBUG
[c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-b73976d7) Found 0 networks to update RvR
status.

2014-12-30 17:18:08,433 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-246:ctx-0222d7ab) Ping from 4(xenserver-101)

2014-12-30 17:18:08,820 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-143:ctx-3ae568b1) Seq 4-1243152388: Executing request

2014-12-30 17:18:09,008 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-143:ctx-3ae568b1) Seq 4-1243152388: Response Received:

2014-12-30 17:18:09,009 DEBUG [c.c.a.t.Request]
(DirectAgent-143:ctx-3ae568b1) Seq 4-1243152388: Processing:  { Ans: ,
MgmtId: 345051527295, via: 4, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}]
}

2014-12-30 17:18:14,378 DEBUG [c.c.c.ConsoleProxyManagerImpl]
(consoleproxy-1:ctx-04c0e3de) Zone 1 is not ready to launch console
proxy yet

2014-12-30 17:18:14,758 DEBUG [c.c.s.StatsCollector]
(StatsCollector-2:ctx-5f9e7528) VmStatsCollector is running...

2014-12-30 17:18:28,813 DEBUG
[c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-2da8a4a0) Found 0 routers to update status.

2014-12-30 17:18:28,814 DEBUG
[c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-2da8a4a0) Found 0 networks to update RvR
status.

2014-12-30 17:18:31,605 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-247:ctx-2929f84f) Seq 4-417988801: Executing request

2014-12-30 17:18:31,758 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-247:ctx-2929f84f) Seq 4-417988801: Response Received:

2014-12-30 17:18:31,759 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(DirectAgent-247:ctx-2929f84f) Seq 4-417988801: MgmtId 345051527296:
Resp: Routing to peer

2014-12-30 17:18:33,902 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Resetting hosts suitable
for reconnect

2014-12-30 17:18:33,903 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Completed resetting hosts
suitable for reconnect

2014-12-30 17:18:33,903 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Acquiring hosts for
clusters already owned by this management server

2014-12-30 17:18:33,905 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Completed acquiring hosts
for clusters already owned by this management server

2014-12-30 17:18:33,905 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Acquiring hosts for
clusters not owned by any management server

2014-12-30 17:18:33,905 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Completed acquiring hosts
for clusters not owned by any management server

2014-12-30 17:18:34,376 DEBUG [c.c.s.StatsCollector]
(StatsCollector-1:ctx-b7a0) HostStatsCollector is running...

2014-12-30 17:18:34,384 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-414:ctx-fe97bed8) Seq 4-1243152635: Executing request

2014-12-30 17:18:34,533 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-414:ctx-fe97bed8) Seq 4-1243152635: Response Received:

2014-12-30 17:18:34,534 DEBUG [c.c.a.t.Request]
(StatsCollector-1:ctx-b7a0) Seq 4-1243152635: Received:  { Ans: ,
MgmtId: 345051527295, via: 4, Ver: v1, Flags: 10, { GetHostStatsAnswer
} }

2014-12-30 17:18:39,660 DEBUG [c.c.s.StatsCollector]
(StatsCollector-3:ctx-54e4414b) StorageCollector is running...

2014-12-30 17:18:39,663 DEBUG [c.c.s.StatsCollector]
(StatsCollector-3:ctx-54e4414b) There is no secondary storage VM

Re: Failed to register an ISO

2014-12-30 Thread José Egas López
Thanks Abhi, I realized the problem is not only about it, when I try to 
create or deploy a new VM, it shows the following error:


 *
   User VM

   Failed to deploy Vm with Id: 42on Host with Id: null

   Mon29 Dec 2014 19:22:27 GMT

So I can do nothing, I can't create VMs or deploy them from a template.
How can I fix it?
*


Regards,
José

* Teléf. (593-2)2993100 ext. 1639
Teléf. (593-99)8-824047
El 29/12/2014 a las 21:50, Abhinandan Prateek escribió:

Check this wiki here 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
This will help you troubleshoot the download issue.

-abhi


On 30-Dec-2014, at 12:50 am, José Egas López  wrote:

Hi all, I have some ISOs registered on my CS Platform, but today I wanted to add a new 
ISO, I register the ISO, but when I saw the "status" attribute it shows 
nothing. I tried to register it again and tried to register another ISO too, but it seems 
CS is not downloading the ISO. The web server is operating ok. What can I do to solve it?
--
*



Regards,
José

*

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
SA Pty Ltd is a company registered by The Republic of South Africa and is traded 
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.




Re: Volume scheduler

2014-12-30 Thread Mārtiņš Jakubovičs

Hello,

I check this a little bit deeper and faced that Storage Allocator is not 
checking more than one SR. It check first suitable SR and create volume 
on it. I think, it will be useful, if ACS check all suitable SR's and 
decide from "scheduler" where to create volume. Schedulers can be 
different, for example, deploy on SR with most free space, or try to fit 
full SR first, etc. Now I can't normally control where volumes should 
create, I can remove storage TAG from SR, but this is manually work and 
it is not automatic solution, in a way we all use CloudStack.


Also, is it possible to control quotas 
(pool.storage.allocated.capacity.disablethreshold, 
pool.storage.capacity.disablethreshold, etc.) by used space in SR?


2014-12-30 11:47:05,328 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) LocalStoragePoolAllocator 
trying to find storage pool to fit the vm
2014-12-30 11:47:05,329 DEBUG 
[o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) 
ClusterScopeStoragePoolAllocator looking for storage pool
2014-12-30 11:47:05,329 DEBUG 
[o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Looking for pools in dc: 1  
pod:1  cluster:1 having tags:[SATA]
2014-12-30 11:47:05,332 DEBUG 
[o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Found pools matching tags: 
[Pool[2|NetworkFilesystem], Pool[3|NetworkFilesystem]]
2014-12-30 11:47:05,336 DEBUG 
[o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Adding pool 
Pool[1|NetworkFilesystem] to avoid set since it did not match tags
2014-12-30 11:47:05,337 DEBUG 
[o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Removing pool 
Pool[2|NetworkFilesystem] from avoid set, must have been inserted when 
searching for another disk's tag
2014-12-30 11:47:05,337 DEBUG 
[o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Removing pool 
Pool[3|NetworkFilesystem] from avoid set, must have been inserted when 
searching for another disk's tag
2014-12-30 11:47:05,339 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Checking if storage pool is 
suitable, name: null ,poolId: 2
2014-12-30 11:47:05,348 DEBUG [c.c.s.StorageManagerImpl] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Checking pool 2 for storage, 
totalSize: 1869169819648, usedBytes: 919377674240, usedPct: 
0.49186417658569737, disable threshold: 0.85
2014-12-30 11:47:05,355 DEBUG [c.c.s.StorageManagerImpl] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Checking pool: 2 for volume 
allocation [Vol[435|vm=null|DATADISK]], maxSize : 3738339639296, 
totalAllocatedSize : 1551179448320, askingSize : 21474836480, allocated 
disable threshold: 0.85
2014-12-30 11:47:05,356 DEBUG 
[o.a.c.s.a.ClusterScopeStoragePoolAllocator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) 
ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
2014-12-30 11:47:05,358 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Trying to create 
org.apache.cloudstack.storage.volume.VolumeObject@411a72ee on 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@2f6f88a6
2014-12-30 11:47:06,798 DEBUG 
[o.a.c.s.d.d.CloudStackPrimaryDataStoreDriverImpl] 
(Job-Executor-11:ctx-c97ee1d1 ctx-9293a9d0) Creating volume: 
org.apache.cloudstack.storage.volume.VolumeObject@2b6b3912


On 2014.12.18. 14:19, Mārtiņš Jakubovičs wrote:

Hello,

I want to understand, how work volume scheduler in CloudStack.
We got two SR:

First SR:
Disk Total1.70 TB
Disk Allocated1.31 TB

Second SR:
Disk Total1.83 TB
Disk Allocated57.09 GB

Why on first SR there are much more created volumes, than on second 
one? When I create new volume it creates in first SR anyway. Why 
volume is not created on SR which have much more free space?

How I can edit scheduling options?

Both SR got same "Storage Tags ".

ACS 4.3.1
storage.overprovisioning.factor 2.0
XenServer 6.2


Best regards,
Martins




Re: Resource mismatch on CS

2014-12-30 Thread Abdul Rasool
Hi,

I haven't got reply on this, could some one please help me why my CPU
socket is showing only 2 ? actually my each hypervisor has 2 physical
sockets. in this case the total CPU sockets should show 4 right ? I have
attached screenshot of my CS infrastructure.

[image: Inline images 1]

Regards,
AR

On 25 December 2014 at 08:22, Abdul Rasool  wrote:

> Hi Somesh
>
> Sorry for the wrong in put. Here i am referring to my hyperviser host
> which has 2 physical sockets but the same is not showing in CS.
>
> In my case i have configured 2 hypervisers which has same capacity. (Dell
> M620 blade )total no of sockets in my both hypervisers is 4 sockets but
> when i check the same on CS UI which is showing only 2.
>
> I am using KVM as my hypervisor and 10 guest VMs are running on it.
>
> Please help me to fix this issue.
>
> Thx
> AR
> On 24 Dec 2014 22:36, "Somesh Naidu"  wrote:
>
>> > I have configured my CS guest on DELL M620 blade server
>>
>> Here you refer to "CS guest" - not sure what that means. Are you
>> referring to a hypervisor host or the CS installation?
>>
>> > when I check on the infrastructure --> hostes-->node001
>>
>> What hypervisor?
>>
>> -Original Message-
>> From: Abdul Rasool [mailto:rasool...@gmail.com]
>> Sent: Wednesday, December 24, 2014 4:07 AM
>> To: users@cloudstack.apache.org; cloudstack-us...@incubator.apache.org
>> Subject: Re: Resource mismatch on CS
>>
>> Hi,
>>
>> can some one help me on this please ...?
>>
>> Hi,
>>
>> I have configured my CS guest on DELL M620 blade server which has 2
>> physical sockets but when I check on the infrastructure --> hostes-->
>> node001 it shows The Number of CPU Sockets -1.
>>
>> could you please assist me why CS is showing only 1 sockets instead of 2.
>>
>> Thanks
>> AR
>>
>> On 24 December 2014 at 12:28, Abdul Rasool  wrote:
>>
>> > Hi,
>> >
>> > I have configured my CS guest on M620 blade server which has 2 physical
>> > sockets but when I check on the infrastructure --> hostes--> node001 it
>> > shows The Number of CPU Sockets -1.
>> >
>> > could you please assist me why CS is showing only 1 sockets instead of
>> 2.
>> >
>> > Thanks
>> > AR
>> >
>>
>


Re: network throttling

2014-12-30 Thread ChunFeng
Thx Mārtiņš  and anil . 




I had a re-test  in xenserver 6.2 environment  , and confirm that ( as said  
Mārtiņš  ) : 


" Andrija, when Network Rate is set up in System Service Offering, it will 
applied in both vRouter networks, public and internal guest.  "


And I think we SHOULD NOT set the network limit (Qos ) in VR's guest network .  
If necessary , we should provide a another option to set it  . 


If user want control traffic in it's own network  , just guide user define new 
Compute Offering and assign it to VM . 



--


Regards,


ChunFeng






 
-- Original --
From:  "anil lakineni";
Date:  Tue, Dec 30, 2014 05:42 PM
To:  "users"; 

Subject:  Re: network throttling

 
ChunFeng,

In CloudStack, the Network Rate is defined in Mb/sec(Mega bits per second)
and from XenCenter at VR network tab ,the limit (QOS) is defined in Kbytes/s

If i am not wrong, you were given network rate as digit 3 or 4 in network
rate box.This means 375 Kbytes/s

For your clarification, once network rate was defined in SystemOffering,CS
will use NetworkRate of SystemOffering even though we created network
offering with other network rate.

Thanks,
Anil.

On Tue, Dec 30, 2014 at 2:09 PM, ChunFeng  wrote:

>
> The network throttling not work as expected at : XenServer 6.2
>
> Below is my test procedures:
>
> *Step 1:  create a new System Service Offering ( Domain router ) with
> network rate 3 Mb/s. *
>
> ID 299dd143-55dc-4690-8921-0fefc364c523
> Description  ChunFengSSO001
> System VM Type Domain router
> Storage Type shared
> # of CPU Cores 1
> CPU (in MHz) 256 MHz
> Memory (in MB) 256.00 MB
> *Network Rate (Mb/s) 3*
>
> *Step 2.  create a new network offering with network rate : 4 Mb/s*
>
> ID 56774fb1-1618-4e0c-946d-23ec7c130cb8
> Description   ChunFengNO001
> State Enabled
> Guest Type Isolated
> label.persistent No
> Egress Default Policy Allow
> Availability Optional
> Created by system No
> Specify VLAN No
> Specify IP ranges No
> Conserve mode Yes
> *Network Rate (Mb/s) 4 Mb/s*
>
>
> *step 3.   create a new network with  Network Offering created by step 2
> . *
>
> ID 24730700-35a9-428e-976f-e0f1d6f5520c
> Zone podXS
> Description ChunFeng-net-001
> Type Isolated
> State Implemented
> VPC ID N/A
> Persistent No
> Restart required No
> VLAN/VNI ID 41
> broadcasturi vlan://41
> *Network Offering ChunFengNO001*
> CIDR 192.168.130.0/24
> Network CIDR
> IPv6 Gateway
> IPv6 CIDR
> Reserved IP Range
> Network Domain cs2cloud.internal
> Domain ROOT
> Account admin
>
> step 4.  create a new VM with network created by step 3 .
>
> After  new VR and new VM in running status , then verify the network
> throttings :
>
> I use xencenter client connect to the console of VR , in network tab , the
> "Limit" properties is not : 3Mb/s or 4 Mb/s , but 384 Kb/s , so weired.
>
>
>
>
>
>
>
> --
>
> Regards,
>
> ChunFeng
>
>
>
>
>
> -- Original --
> *From: * "Andrija Panic";
> *Date: * Tue, Dec 30, 2014 03:35 PM
> *To: * "users";
> *Subject: * Re: network throttling
>
> Anil - does this throotle only public interface on VR or all
> interfaces/network including private ones ?
> Thanks
>
> Sent from Google Nexus 4
> On Dec 30, 2014 7:19 AM, "anil lakineni" 
> wrote:
>
> > Okay, I too don't know exactly for what purpose will network rate in
> > network offering used. But,With the combination of System Offering and
> > Network Offering, we will get the network throttling (QOS).
> >
> > If any thing come across with you at this point, share with us.
> >
> >
> > Thanks,
> > Anil.
> >
> > On Mon, Dec 29, 2014 at 7:18 PM, Mārtiņš Jakubovičs 
> > wrote:
> >
> > > Thanks, it worked.
> > > But than, what purpose is for network rate in network offering?
> > >
> > >
> > > On 2014.12.29. 14:48, anil lakineni wrote:
> > >
> > >> Martin,
> > >>
> > >> Before going to create Network Offering, Create System Offering with
> > >> desired network rate and use this newly created System Offering while
> > >> creating Network Offering.
> > >>
> > >> Thanks,
> > >> Anil.
> > >>
> > >> On Mon, Dec 29, 2014 at 5:52 PM, Mārtiņš Jakubovičs <
> mart...@vertigs.lv
> > >
> > >> wrote:
> > >>
> > >>  Hello all,
> > >>>
> > >>> I faced problem where network throttling is not working as I
> expected.
> > >>>
> > >>> Problem:
> > >>>
> > >>>   * Create network offering with network rate 1000 Mb/s.
> > >>>
> > >>>   * Create new network from created network offering. Was expected,
> > that
> > >>> network virtual router for public and guest traffic will use
> > network
> > >>> rate from network offering, but it use global
> > >>> network.throttling.rate value instead.
> > >>>
> > >>> Can, please, someone confirm this? Is something wrong with my setup
> or
> > is
> > >>> it bug in ACS?
> > >>>
> > >>> I use ACS 4.3.1 with advanced network.
> > >>> XenServer 6.2.
> > >>>
> > >>> Best regards,
> > >>> Martins
> > >>>
> > >>>
> > >>>
> > >
> >
>
>

cloudstack 4.3.2 + xenserver 6.2 with all patchs,couldn't start system vm

2014-12-30 Thread linux...@gmail.com
Hey ALL:

   we are testing cloustack 4.3.2 .our hypervisior is xenserver
6.2 with all patchs
the system vm template is
http://download.cloud.com/templates/4.3/systemvm64template-2014-09-30-4.3-xen.vhd.bz2

we have tryed basic network and advanced network

when xenserver 6.2 is not patched ,it worked fine

after we patched xenserver 6.2 with all patch,the systemvm couldn't running

this is the log of management :



2014-12-30 17:17:47,512 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-28:ctx-52719350) Seq 4-417988800: Executing request

2014-12-30 17:17:47,722 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-28:ctx-52719350) Seq 4-417988800: Response Received:

2014-12-30 17:17:47,722 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(DirectAgent-28:ctx-52719350) Seq 4-417988800: MgmtId 345051527296:
Resp: Routing to peer

2014-12-30 17:17:58,813 DEBUG
[c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-b73976d7) Found 0 routers to update status.

2014-12-30 17:17:58,814 DEBUG
[c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-b73976d7) Found 0 networks to update RvR
status.

2014-12-30 17:18:08,433 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-246:ctx-0222d7ab) Ping from 4(xenserver-101)

2014-12-30 17:18:08,820 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-143:ctx-3ae568b1) Seq 4-1243152388: Executing request

2014-12-30 17:18:09,008 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-143:ctx-3ae568b1) Seq 4-1243152388: Response Received:

2014-12-30 17:18:09,009 DEBUG [c.c.a.t.Request]
(DirectAgent-143:ctx-3ae568b1) Seq 4-1243152388: Processing:  { Ans: ,
MgmtId: 345051527295, via: 4, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}]
}

2014-12-30 17:18:14,378 DEBUG [c.c.c.ConsoleProxyManagerImpl]
(consoleproxy-1:ctx-04c0e3de) Zone 1 is not ready to launch console
proxy yet

2014-12-30 17:18:14,758 DEBUG [c.c.s.StatsCollector]
(StatsCollector-2:ctx-5f9e7528) VmStatsCollector is running...

2014-12-30 17:18:28,813 DEBUG
[c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-2da8a4a0) Found 0 routers to update status.

2014-12-30 17:18:28,814 DEBUG
[c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-2da8a4a0) Found 0 networks to update RvR
status.

2014-12-30 17:18:31,605 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-247:ctx-2929f84f) Seq 4-417988801: Executing request

2014-12-30 17:18:31,758 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-247:ctx-2929f84f) Seq 4-417988801: Response Received:

2014-12-30 17:18:31,759 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(DirectAgent-247:ctx-2929f84f) Seq 4-417988801: MgmtId 345051527296:
Resp: Routing to peer

2014-12-30 17:18:33,902 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Resetting hosts suitable
for reconnect

2014-12-30 17:18:33,903 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Completed resetting hosts
suitable for reconnect

2014-12-30 17:18:33,903 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Acquiring hosts for
clusters already owned by this management server

2014-12-30 17:18:33,905 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Completed acquiring hosts
for clusters already owned by this management server

2014-12-30 17:18:33,905 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Acquiring hosts for
clusters not owned by any management server

2014-12-30 17:18:33,905 DEBUG [c.c.h.d.HostDaoImpl]
(ClusteredAgentManager Timer:ctx-29831b59) Completed acquiring hosts
for clusters not owned by any management server

2014-12-30 17:18:34,376 DEBUG [c.c.s.StatsCollector]
(StatsCollector-1:ctx-b7a0) HostStatsCollector is running...

2014-12-30 17:18:34,384 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-414:ctx-fe97bed8) Seq 4-1243152635: Executing request

2014-12-30 17:18:34,533 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-414:ctx-fe97bed8) Seq 4-1243152635: Response Received:

2014-12-30 17:18:34,534 DEBUG [c.c.a.t.Request]
(StatsCollector-1:ctx-b7a0) Seq 4-1243152635: Received:  { Ans: ,
MgmtId: 345051527295, via: 4, Ver: v1, Flags: 10, { GetHostStatsAnswer
} }

2014-12-30 17:18:39,660 DEBUG [c.c.s.StatsCollector]
(StatsCollector-3:ctx-54e4414b) StorageCollector is running...

2014-12-30 17:18:39,663 DEBUG [c.c.s.StatsCollector]
(StatsCollector-3:ctx-54e4414b) There is no secondary storage VM for
secondary storage host secondary

2014-12-30 17:18:39,666 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-415:ctx-562f210a) Seq 4-1243152636: Executing request

2014-12-30 17:18:39,865 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-415:ctx-562f210a) Seq 4-1243152636: Response Received:

2014-12-30 17:18:39,866 DEBUG [c.c.a.t.Request]
(StatsCollector-3:ctx-54e4414b) Seq 4-1243152636: Received:  { Ans: ,
MgmtId: 345051527295, via: 4, Ver: v1, Flags: 10, {
GetStorageStatsAnsw

Re: how to download systemvm64 for 4.3.2

2014-12-30 Thread linux...@gmail.com
thanks Rohit

we check the md5sum.

the md5sum we download is different

we will download a new one and try it

thanks for your help

2014-12-30 15:18 GMT+08:00 Rohit Yadav :
> Hi,
>
> On Tuesday 30 December 2014 11:57 AM, linux...@gmail.com wrote:
>>
>> hey ALL:
>>
>>  we have tested CloudStack 4.3.2 + xenserver 6.2
>>
>> when we use
>>
>>
>> http://packages.shapeblue.com/systemvmtemplate/4.3/4.3.1/systemvm64template-2014-11-04-4.3.1-xen.vhd.bz2
>>
>> as the sysyem vm template, the SSVM and CPVM couldn't runing.
>
>
> Both the templates are functionally same, the latest one has latest bash
> (shellshock) and POODLE fixes (use TLSv3 in apache).
>
> When you downloaded the template did you verify the checksum and did you
> use the same method to seed the template?
>
> The logs you shared don't say much, while I don't for sure - it could be
> faulty downloaded template (network/disk issue where you downloaded it)
> or secondary storage (where you pre-seeded it) as well. How much time
> did you wait on the first template?
>
>> we use
>>
>> http://download.cloud.com/templates/4.3/systemvm64template-2014-09-30-4.3-xen.vhd.bz2
>>
>>
>> as the system vm template ,it worked
>
>
> Glad that worked, you can use this template as well but it has older
> bash and uses SSLv2/v3 etc for apache, using this is alright until the
> deployment is a test setup or private setup.
>
>
>
>> 2014-12-24 17:19 GMT+08:00 Andrija Panic :
>>>
>>> H Rohit - I have not found a bug/bgfix - just tested and confirmed the
>>> issue in 4.3 and no issue in 4.4...
>>> Will have to upgrade anyway - so will have the answer for my self I
>>> guess...
>>>
>>> Thanks
>>>
>>> On 24 December 2014 at 10:17, Rohit Yadav 
>>> wrote:
>>>
 Hi Andrija,

 On Wednesday 24 December 2014 02:33 PM, Andrija Panic wrote:

> Hi Rohit,
>
> do you know if these templates (4.3.1) include proper source/remote IP
> when
> doing single Port Forwarding on VPC VR ?
> In 4.3.0 -  internal VM sees that all outside connections come from
> main
> IP
> of the VPC VR - instead from the real remote client IP. I'm not talking
> here about proxy - same behaviour here, but this is expected.
> This port forwarding remote IP issue - is fixed in 4.4.x, so wondering
> if
> bug fixes are also backported in 4.3.1 template...
>

 Can you point me the bugfix in 4.4.x as I don't remember anything around
 this specific issue though I think I had backported few port
 forwarding/networking related fixes on 4.3 branch.



> Thanks.
>
> On 24 December 2014 at 09:52, Rohit Yadav 
> wrote:
>
>   Hi,
>>
>>
>> You can use the 4.3.1 template (it was built on 11 Nov 2014, so latest
>> among other options) and has the latest bash and POODLE fix (and a
>> minor
>> fix):
>>
>> http://packages.shapeblue.com/systemvmtemplate/4.3/4.3.1/
>>
>> If you're not sure about your current 4.3.1 template, you can use the
>> following tool to test if you need to upgrade your systemvm templates;
>> http://packages.shapeblue.com/tools/poodle-checker.sh
>>
>> For 4.3.2, there is no need to setup a new template and people should
>> be
>> able to continue to use 4.3.1/4.3.0 templates. If there are lot of
>> people who simply want a 4.3.2 for just having latest systemvm (with
>> updated packages etc) I can help build one.
>>
>>
>> On Wednesday 24 December 2014 01:56 PM, linux...@gmail.com wrote:
>>
>>   thanks
>>>
>>> our hypervisior is xenserver 6.2
>>> we have found some systemvm template from
>>>
>>>
>>> http://download.cloud.com/templates/4.3/systemvm64template-2014-09-30-
>>> 4.3-xen.vhd.bz2
>>>
>>> http://packages.shapeblue.com/systemvmtemplate/4.3/4.3.1/
>>> systemvm64template-2014-11-04-4.3.1-xen.vhd.bz2
>>>
>>>
>>> http://download.cloud.com/templates/4.3/systemvm64template-2014-06-23-
>>> master-xen.vhd.bz2
>>>
>>>
>>> we notice there are some systemvm  bugs was  fixed in 4.3.2
>>>
>>> so is there a newest systemvm template for 4.3.2
>>>
>>>
>>> 2014-12-24 16:13 GMT+08:00 Gopalakrishnan S :
>>>
>>>   Hi,


 You can download cloudstack 4.3 KVM hypervisor system template here.

 http://cloudstack.apt-get.eu/systemvm/4.3/

 Thank You.
 Gopalakrishnan.S

 - Original Message - From: 
 To: 
 Sent: Wednesday, December 24, 2014 1:27 PM
 Subject: how to download systemvm64 for 4.3.2



 Hey I want to install cs 4.3.2,I have download the rpm package from
 http://jenkins.buildacloud.org/view/4.3/job/cloudstack-4.
 3-package-rpm/

 but there is no   cloudstack-4.3-systemvm64 for download

 how could I get it?

 tha

Re: network throttling

2014-12-30 Thread anil lakineni
ChunFeng,

In CloudStack, the Network Rate is defined in Mb/sec(Mega bits per second)
and from XenCenter at VR network tab ,the limit (QOS) is defined in Kbytes/s

If i am not wrong, you were given network rate as digit 3 or 4 in network
rate box.This means 375 Kbytes/s

For your clarification, once network rate was defined in SystemOffering,CS
will use NetworkRate of SystemOffering even though we created network
offering with other network rate.

Thanks,
Anil.

On Tue, Dec 30, 2014 at 2:09 PM, ChunFeng  wrote:

>
> The network throttling not work as expected at : XenServer 6.2
>
> Below is my test procedures:
>
> *Step 1:  create a new System Service Offering ( Domain router ) with
> network rate 3 Mb/s. *
>
> ID 299dd143-55dc-4690-8921-0fefc364c523
> Description  ChunFengSSO001
> System VM Type Domain router
> Storage Type shared
> # of CPU Cores 1
> CPU (in MHz) 256 MHz
> Memory (in MB) 256.00 MB
> *Network Rate (Mb/s) 3*
>
> *Step 2.  create a new network offering with network rate : 4 Mb/s*
>
> ID 56774fb1-1618-4e0c-946d-23ec7c130cb8
> Description   ChunFengNO001
> State Enabled
> Guest Type Isolated
> label.persistent No
> Egress Default Policy Allow
> Availability Optional
> Created by system No
> Specify VLAN No
> Specify IP ranges No
> Conserve mode Yes
> *Network Rate (Mb/s) 4 Mb/s*
>
>
> *step 3.   create a new network with  Network Offering created by step 2
> . *
>
> ID 24730700-35a9-428e-976f-e0f1d6f5520c
> Zone podXS
> Description ChunFeng-net-001
> Type Isolated
> State Implemented
> VPC ID N/A
> Persistent No
> Restart required No
> VLAN/VNI ID 41
> broadcasturi vlan://41
> *Network Offering ChunFengNO001*
> CIDR 192.168.130.0/24
> Network CIDR
> IPv6 Gateway
> IPv6 CIDR
> Reserved IP Range
> Network Domain cs2cloud.internal
> Domain ROOT
> Account admin
>
> step 4.  create a new VM with network created by step 3 .
>
> After  new VR and new VM in running status , then verify the network
> throttings :
>
> I use xencenter client connect to the console of VR , in network tab , the
> "Limit" properties is not : 3Mb/s or 4 Mb/s , but 384 Kb/s , so weired.
>
>
>
>
>
>
>
> --
>
> Regards,
>
> ChunFeng
>
>
>
>
>
> -- Original --
> *From: * "Andrija Panic";
> *Date: * Tue, Dec 30, 2014 03:35 PM
> *To: * "users";
> *Subject: * Re: network throttling
>
> Anil - does this throotle only public interface on VR or all
> interfaces/network including private ones ?
> Thanks
>
> Sent from Google Nexus 4
> On Dec 30, 2014 7:19 AM, "anil lakineni" 
> wrote:
>
> > Okay, I too don't know exactly for what purpose will network rate in
> > network offering used. But,With the combination of System Offering and
> > Network Offering, we will get the network throttling (QOS).
> >
> > If any thing come across with you at this point, share with us.
> >
> >
> > Thanks,
> > Anil.
> >
> > On Mon, Dec 29, 2014 at 7:18 PM, Mārtiņš Jakubovičs 
> > wrote:
> >
> > > Thanks, it worked.
> > > But than, what purpose is for network rate in network offering?
> > >
> > >
> > > On 2014.12.29. 14:48, anil lakineni wrote:
> > >
> > >> Martin,
> > >>
> > >> Before going to create Network Offering, Create System Offering with
> > >> desired network rate and use this newly created System Offering while
> > >> creating Network Offering.
> > >>
> > >> Thanks,
> > >> Anil.
> > >>
> > >> On Mon, Dec 29, 2014 at 5:52 PM, Mārtiņš Jakubovičs <
> mart...@vertigs.lv
> > >
> > >> wrote:
> > >>
> > >>  Hello all,
> > >>>
> > >>> I faced problem where network throttling is not working as I
> expected.
> > >>>
> > >>> Problem:
> > >>>
> > >>>   * Create network offering with network rate 1000 Mb/s.
> > >>>
> > >>>   * Create new network from created network offering. Was expected,
> > that
> > >>> network virtual router for public and guest traffic will use
> > network
> > >>> rate from network offering, but it use global
> > >>> network.throttling.rate value instead.
> > >>>
> > >>> Can, please, someone confirm this? Is something wrong with my setup
> or
> > is
> > >>> it bug in ACS?
> > >>>
> > >>> I use ACS 4.3.1 with advanced network.
> > >>> XenServer 6.2.
> > >>>
> > >>> Best regards,
> > >>> Martins
> > >>>
> > >>>
> > >>>
> > >
> >
>
>


Re: network throttling

2014-12-30 Thread Andrija Panic
Thx Mārtiņš.

Sent from Google Nexus 4
On Dec 30, 2014 10:01 AM, "Mārtiņš Jakubovičs"  wrote:

> Hello,
>
> Chunfeng, Multiply 384 * 8, and you will get Network Rate, which you set
> up in System Service Offering.
> http://en.wikipedia.org/wiki/Data_rate_units
>
> Andrija, when Network Rate is set up in System Service Offering, it will
> applied in both vRouter networks, public and internal guest. Looks like
> Network Rate in Network Offering doesn't do anything ...
>
> On 2014.12.30. 10:39, ChunFeng wrote:
>
>>
>> The network throttling not work as expected at : XenServer 6.2
>>
>> Below is my test procedures:
>> _
>> _
>> _Step 1:  create a new System Service Offering ( Domain router ) with
>> network rate 3 Mb/s. _
>>
>> ID299dd143-55dc-4690-8921-0fefc364c523
>> Description ChunFengSSO001
>> System VM TypeDomain router
>> Storage Typeshared
>> # of CPU Cores1
>> CPU (in MHz)256 MHz
>> Memory (in MB)256.00 MB
>> *Network Rate (Mb/s)3*
>>
>> _Step 2.  create a new network offering with network rate : 4 Mb/s_
>>
>> ID56774fb1-1618-4e0c-946d-23ec7c130cb8
>> Description ChunFengNO001
>> StateEnabled
>> Guest TypeIsolated
>> label.persistentNo
>> Egress Default PolicyAllow
>> AvailabilityOptional
>> Created by systemNo
>> Specify VLANNo
>> Specify IP rangesNo
>> Conserve modeYes
>> *Network Rate (Mb/s)4 Mb/s*
>>
>>
>> _step 3.   create a new network with  Network Offering created by step 2
>> . _
>>
>> ID24730700-35a9-428e-976f-e0f1d6f5520c
>> ZonepodXS
>> DescriptionChunFeng-net-001
>> TypeIsolated
>> StateImplemented
>> VPC IDN/A
>> PersistentNo
>> Restart requiredNo
>> VLAN/VNI ID41
>> broadcasturivlan://41
>> *Network OfferingChunFengNO001*
>> CIDR192.168.130.0/24
>> Network CIDR
>> IPv6 Gateway
>> IPv6 CIDR
>> Reserved IP Range
>> Network Domaincs2cloud.internal
>> DomainROOT
>> Accountadmin
>>
>> step 4.  create a new VM with network created by step 3 .
>>
>> After  new VR and new VM in running status , then verify the network
>> throttings :
>>
>> I use xencenter client connect to the console of VR , in network tab ,
>> the "Limit" properties is not : 3Mb/s or 4 Mb/s , but 384 Kb/s , so weired.
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Regards,
>>
>> ChunFeng
>>
>>
>> -- Original --
>> *From: * "Andrija Panic";
>> *Date: * Tue, Dec 30, 2014 03:35 PM
>> *To: * "users";
>> *Subject: * Re: network throttling
>> Anil - does this throotle only public interface on VR or all
>> interfaces/network including private ones ?
>> Thanks
>>
>> Sent from Google Nexus 4
>> On Dec 30, 2014 7:19 AM, "anil lakineni" > >
>> wrote:
>>
>> > Okay, I too don't know exactly for what purpose will network rate in
>> > network offering used. But,With the combination of System Offering and
>> > Network Offering, we will get the network throttling (QOS).
>> >
>> > If any thing come across with you at this point, share with us.
>> >
>> >
>> > Thanks,
>> > Anil.
>> >
>> > On Mon, Dec 29, 2014 at 7:18 PM, Mārtiņš Jakubovičs > >
>> > wrote:
>> >
>> > > Thanks, it worked.
>> > > But than, what purpose is for network rate in network offering?
>> > >
>> > >
>> > > On 2014.12.29. 14:48, anil lakineni wrote:
>> > >
>> > >> Martin,
>> > >>
>> > >> Before going to create Network Offering, Create System Offering with
>> > >> desired network rate and use this newly created System Offering while
>> > >> creating Network Offering.
>> > >>
>> > >> Thanks,
>> > >> Anil.
>> > >>
>> > >> On Mon, Dec 29, 2014 at 5:52 PM, Mārtiņš Jakubovičs <
>> mart...@vertigs.lv
>> > >
>> > >> wrote:
>> > >>
>> > >>  Hello all,
>> > >>>
>> > >>> I faced problem where network throttling is not working as I
>> expected.
>> > >>>
>> > >>> Problem:
>> > >>>
>> > >>>   * Create network offering with network rate 1000 Mb/s.
>> > >>>
>> > >>>   * Create new network from created network offering. Was expected,
>> > that
>> > >>> network virtual router for public and guest traffic will use
>> > network
>> > >>> rate from network offering, but it use global
>> > >>> network.throttling.rate value instead.
>> > >>>
>> > >>> Can, please, someone confirm this? Is something wrong with my setup
>> or
>> > is
>> > >>> it bug in ACS?
>> > >>>
>> > >>> I use ACS 4.3.1 with advanced network.
>> > >>> XenServer 6.2.
>> > >>>
>> > >>> Best regards,
>> > >>> Martins
>> > >>>
>> > >>>
>> > >>>
>> > >
>> >
>>
>>
>


Re: network throttling

2014-12-30 Thread anil lakineni
Andrija,

Throttling is applicable for both guest and public interfaces at VR. If you
need to restrict internal bandwidth rate between VMs then use customized
compute offering with desired network rate.

Thanks,
Anil.


On Tue, Dec 30, 2014 at 1:05 PM, Andrija Panic 
wrote:

> Anil - does this throotle only public interface on VR or all
> interfaces/network including private ones ?
> Thanks
>
> Sent from Google Nexus 4
> On Dec 30, 2014 7:19 AM, "anil lakineni" 
> wrote:
>
> > Okay, I too don't know exactly for what purpose will network rate in
> > network offering used. But,With the combination of System Offering and
> > Network Offering, we will get the network throttling (QOS).
> >
> > If any thing come across with you at this point, share with us.
> >
> >
> > Thanks,
> > Anil.
> >
> > On Mon, Dec 29, 2014 at 7:18 PM, Mārtiņš Jakubovičs 
> > wrote:
> >
> > > Thanks, it worked.
> > > But than, what purpose is for network rate in network offering?
> > >
> > >
> > > On 2014.12.29. 14:48, anil lakineni wrote:
> > >
> > >> Martin,
> > >>
> > >> Before going to create Network Offering, Create System Offering with
> > >> desired network rate and use this newly created System Offering while
> > >> creating Network Offering.
> > >>
> > >> Thanks,
> > >> Anil.
> > >>
> > >> On Mon, Dec 29, 2014 at 5:52 PM, Mārtiņš Jakubovičs <
> mart...@vertigs.lv
> > >
> > >> wrote:
> > >>
> > >>  Hello all,
> > >>>
> > >>> I faced problem where network throttling is not working as I
> expected.
> > >>>
> > >>> Problem:
> > >>>
> > >>>   * Create network offering with network rate 1000 Mb/s.
> > >>>
> > >>>   * Create new network from created network offering. Was expected,
> > that
> > >>> network virtual router for public and guest traffic will use
> > network
> > >>> rate from network offering, but it use global
> > >>> network.throttling.rate value instead.
> > >>>
> > >>> Can, please, someone confirm this? Is something wrong with my setup
> or
> > is
> > >>> it bug in ACS?
> > >>>
> > >>> I use ACS 4.3.1 with advanced network.
> > >>> XenServer 6.2.
> > >>>
> > >>> Best regards,
> > >>> Martins
> > >>>
> > >>>
> > >>>
> > >
> >
>


Re: network throttling

2014-12-30 Thread Mārtiņš Jakubovičs

Hello,

Chunfeng, Multiply 384 * 8, and you will get Network Rate, which you set 
up in System Service Offering.

http://en.wikipedia.org/wiki/Data_rate_units

Andrija, when Network Rate is set up in System Service Offering, it will 
applied in both vRouter networks, public and internal guest. Looks like 
Network Rate in Network Offering doesn't do anything ...


On 2014.12.30. 10:39, ChunFeng wrote:


The network throttling not work as expected at : XenServer 6.2

Below is my test procedures:
_
_
_Step 1:  create a new System Service Offering ( Domain router ) with 
network rate 3 Mb/s. _


ID299dd143-55dc-4690-8921-0fefc364c523
Description ChunFengSSO001
System VM TypeDomain router
Storage Typeshared
# of CPU Cores1
CPU (in MHz)256 MHz
Memory (in MB)256.00 MB
*Network Rate (Mb/s)3*

_Step 2.  create a new network offering with network rate : 4 Mb/s_

ID56774fb1-1618-4e0c-946d-23ec7c130cb8
Description ChunFengNO001
StateEnabled
Guest TypeIsolated
label.persistentNo
Egress Default PolicyAllow
AvailabilityOptional
Created by systemNo
Specify VLANNo
Specify IP rangesNo
Conserve modeYes
*Network Rate (Mb/s)4 Mb/s*


_step 3.   create a new network with  Network Offering created by step 
2 . _


ID24730700-35a9-428e-976f-e0f1d6f5520c
ZonepodXS
DescriptionChunFeng-net-001
TypeIsolated
StateImplemented
VPC IDN/A
PersistentNo
Restart requiredNo
VLAN/VNI ID41
broadcasturivlan://41
*Network OfferingChunFengNO001*
CIDR192.168.130.0/24
Network CIDR
IPv6 Gateway
IPv6 CIDR
Reserved IP Range
Network Domaincs2cloud.internal
DomainROOT
Accountadmin

step 4.  create a new VM with network created by step 3 .

After  new VR and new VM in running status , then verify the network 
throttings :


I use xencenter client connect to the console of VR , in network tab , 
the "Limit" properties is not : 3Mb/s or 4 Mb/s , but 384 Kb/s , so 
weired.








--

Regards,

ChunFeng


-- Original --
*From: * "Andrija Panic";
*Date: * Tue, Dec 30, 2014 03:35 PM
*To: * "users";
*Subject: * Re: network throttling
Anil - does this throotle only public interface on VR or all
interfaces/network including private ones ?
Thanks

Sent from Google Nexus 4
On Dec 30, 2014 7:19 AM, "anil lakineni" 
wrote:

> Okay, I too don't know exactly for what purpose will network rate in
> network offering used. But,With the combination of System Offering and
> Network Offering, we will get the network throttling (QOS).
>
> If any thing come across with you at this point, share with us.
>
>
> Thanks,
> Anil.
>
> On Mon, Dec 29, 2014 at 7:18 PM, Mārtiņš Jakubovičs 
> wrote:
>
> > Thanks, it worked.
> > But than, what purpose is for network rate in network offering?
> >
> >
> > On 2014.12.29. 14:48, anil lakineni wrote:
> >
> >> Martin,
> >>
> >> Before going to create Network Offering, Create System Offering with
> >> desired network rate and use this newly created System Offering while
> >> creating Network Offering.
> >>
> >> Thanks,
> >> Anil.
> >>
> >> On Mon, Dec 29, 2014 at 5:52 PM, Mārtiņš Jakubovičs 

> >
> >> wrote:
> >>
> >>  Hello all,
> >>>
> >>> I faced problem where network throttling is not working as I 
expected.

> >>>
> >>> Problem:
> >>>
> >>>   * Create network offering with network rate 1000 Mb/s.
> >>>
> >>>   * Create new network from created network offering. Was expected,
> that
> >>> network virtual router for public and guest traffic will use
> network
> >>> rate from network offering, but it use global
> >>> network.throttling.rate value instead.
> >>>
> >>> Can, please, someone confirm this? Is something wrong with my 
setup or

> is
> >>> it bug in ACS?
> >>>
> >>> I use ACS 4.3.1 with advanced network.
> >>> XenServer 6.2.
> >>>
> >>> Best regards,
> >>> Martins
> >>>
> >>>
> >>>
> >
>





Re: network throttling

2014-12-30 Thread ChunFeng
The network throttling not work as expected at : XenServer 6.2 


Below is my test procedures:


Step 1:  create a new System Service Offering ( Domain router ) with network 
rate 3 Mb/s. 


ID  299dd143-55dc-4690-8921-0fefc364c523
Description ChunFengSSO001
System VM Type  Domain router
Storage Typeshared
# of CPU Cores  1
CPU (in MHz)256 MHz
Memory (in MB)  256.00 MB
Network Rate (Mb/s) 3


Step 2.  create a new network offering with network rate : 4 Mb/s


ID  56774fb1-1618-4e0c-946d-23ec7c130cb8
Description ChunFengNO001
State   Enabled
Guest Type  Isolated
label.persistentNo
Egress Default Policy   Allow
AvailabilityOptional
Created by system   No
Specify VLANNo
Specify IP ranges   No
Conserve mode   Yes
Network Rate (Mb/s) 4 Mb/s





step 3.   create a new network with  Network Offering created by step 2 . 


ID  24730700-35a9-428e-976f-e0f1d6f5520c
ZonepodXS
Description ChunFeng-net-001
TypeIsolated
State   Implemented
VPC ID  N/A
Persistent  No
Restart requiredNo
VLAN/VNI ID 41
broadcasturivlan://41
Network OfferingChunFengNO001
CIDR192.168.130.0/24
Network CIDR
IPv6 Gateway
IPv6 CIDR   
Reserved IP Range   
Network Domain  cs2cloud.internal
Domain  ROOT
Account admin



step 4.  create a new VM with network created by step 3 . 


After  new VR and new VM in running status , then verify the network throttings 
:


I use xencenter client connect to the console of VR , in network tab , the 
"Limit" properties is not : 3Mb/s or 4 Mb/s , but 384 Kb/s , so weired. 














--


Regards,


ChunFeng




 

 
 
 
-- Original --
From:  "Andrija Panic";
Date:  Tue, Dec 30, 2014 03:35 PM
To:  "users"; 

Subject:  Re: network throttling

 
Anil - does this throotle only public interface on VR or all
interfaces/network including private ones ?
Thanks

Sent from Google Nexus 4
On Dec 30, 2014 7:19 AM, "anil lakineni" 
wrote:

> Okay, I too don't know exactly for what purpose will network rate in
> network offering used. But,With the combination of System Offering and
> Network Offering, we will get the network throttling (QOS).
>
> If any thing come across with you at this point, share with us.
>
>
> Thanks,
> Anil.
>
> On Mon, Dec 29, 2014 at 7:18 PM, Mārtiņš Jakubovičs 
> wrote:
>
> > Thanks, it worked.
> > But than, what purpose is for network rate in network offering?
> >
> >
> > On 2014.12.29. 14:48, anil lakineni wrote:
> >
> >> Martin,
> >>
> >> Before going to create Network Offering, Create System Offering with
> >> desired network rate and use this newly created System Offering while
> >> creating Network Offering.
> >>
> >> Thanks,
> >> Anil.
> >>
> >> On Mon, Dec 29, 2014 at 5:52 PM, Mārtiņš Jakubovičs  >
> >> wrote:
> >>
> >>  Hello all,
> >>>
> >>> I faced problem where network throttling is not working as I expected.
> >>>
> >>> Problem:
> >>>
> >>>   * Create network offering with network rate 1000 Mb/s.
> >>>
> >>>   * Create new network from created network offering. Was expected,
> that
> >>> network virtual router for public and guest traffic will use
> network
> >>> rate from network offering, but it use global
> >>> network.throttling.rate value instead.
> >>>
> >>> Can, please, someone confirm this? Is something wrong with my setup or
> is
> >>> it bug in ACS?
> >>>
> >>> I use ACS 4.3.1 with advanced network.
> >>> XenServer 6.2.
> >>>
> >>> Best regards,
> >>> Martins
> >>>
> >>>
> >>>
> >
>