如何用Eclipse远程debug调试cloudstack?

2014-05-05 Thread 彭怀义
Hi  All,


  官网上仅仅介绍从源码方式安装可以用8787端口远程调试,
  那我用yum方式安装的cloudstack4.3, 如何在本地用Eclipse远程debug调试cloudstack呢?
  求指导, 谢谢

RE: Thanks everyone who helped me for installing cloudstack

2014-05-05 Thread Rajesh Battala
Great to hear about your deployment is successful.

-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Monday, May 5, 2014 11:13 AM
To: users@cloudstack.apache.org
Subject: Thanks everyone who helped me for installing cloudstack

Dear Cloudstackers,

Today I have successfully created a virtual Machine on my Cloudstack Machine. I 
would like to share my happiness with you. It took more time to install and 
lots more to learn from you. Thankyou all for helping me in all the ways you 
can.

Find the screenshot of my machine which is running properly

http://imgur.com/a/IXOz9#16


Thank you cloudstackers.

--
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering Sreenidhi Institute of science 
and Technology Hyderabad


Re: Thanks everyone who helped me for installing cloudstack

2014-05-05 Thread Jayapal Reddy Uradi
Hi Sandeep,

Great to hear.
I think you used ubuntu, please write blog with steps to save new users time.


Thanks,
Jayapal

On 05-May-2014, at 11:40 AM, Rajesh Battala rajesh.batt...@citrix.com
 wrote:

 Great to hear about your deployment is successful.
 
 -Original Message-
 From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
 Sent: Monday, May 5, 2014 11:13 AM
 To: users@cloudstack.apache.org
 Subject: Thanks everyone who helped me for installing cloudstack
 
 Dear Cloudstackers,
 
 Today I have successfully created a virtual Machine on my Cloudstack Machine. 
 I would like to share my happiness with you. It took more time to install and 
 lots more to learn from you. Thankyou all for helping me in all the ways you 
 can.
 
 Find the screenshot of my machine which is running properly
 
 http://imgur.com/a/IXOz9#16
 
 
 Thank you cloudstackers.
 
 --
 SANDEEP KHANDEKAR
 Assistant Professor
 Department of Computer science and engineering Sreenidhi Institute of science 
 and Technology Hyderabad



[Event]BigDataCloud Conference India 2014

2014-05-05 Thread Radhika Puthiyetath
Greetings !

Join us at the BigDataCloud 2014 Mini Conference at InMobi. Various top-level 
projects under Apache Software Foundation (ASF) are coming together for the 
first time to bring you the first edition of BigDataCloud Mini Conference in 
Bangalore. Jointly organized by Apache CloudStack, Apache Hadoop, and Apache 
Lucene/Solr communities in Bangalore, this premier event is to take place on 
May 6, 2013 at the beautiful campus of InMobi. Designed around the theme Cloud 
and Data Handling, this half-day Open Source gathering includes sessions by 
renowned members from the Apache community, as well as representatives from 
InMobi, CloudByte, Citrix and others.

The sessions starts at 2.30 PM.

This event is Open and Free for everyone! Anyone interested in Cloud or BigData 
is welcome !

You can book your spot at 
http://www.eventbrite.com/e/bigdatacloud-conference-india-2014-tickets-11314178011

For more information on agenda and location, visit http://bigdatacloudconf.org/

See you all tomorrow,

-Radhika



Re: Thanks everyone who helped me for installing cloudstack

2014-05-05 Thread Thehyperadvisor
Sandeep, You may want to look into cldstk-deploy to ease your installation but 
it only supports centos now. You can find it on github.

@thehyperadvisor
http://thehyperadvisor.com

Sent from mobile device.

 On May 5, 2014, at 2:22 AM, Jayapal Reddy Uradi 
 jayapalreddy.ur...@citrix.com wrote:
 
 Hi Sandeep,
 
 Great to hear.
 I think you used ubuntu, please write blog with steps to save new users time.
 
 
 Thanks,
 Jayapal
 
 On 05-May-2014, at 11:40 AM, Rajesh Battala rajesh.batt...@citrix.com
 wrote:
 
 Great to hear about your deployment is successful.
 
 -Original Message-
 From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
 Sent: Monday, May 5, 2014 11:13 AM
 To: users@cloudstack.apache.org
 Subject: Thanks everyone who helped me for installing cloudstack
 
 Dear Cloudstackers,
 
 Today I have successfully created a virtual Machine on my Cloudstack 
 Machine. I would like to share my happiness with you. It took more time to 
 install and lots more to learn from you. Thankyou all for helping me in all 
 the ways you can.
 
 Find the screenshot of my machine which is running properly
 
 http://imgur.com/a/IXOz9#16
 
 
 Thank you cloudstackers.
 
 --
 SANDEEP KHANDEKAR
 Assistant Professor
 Department of Computer science and engineering Sreenidhi Institute of 
 science and Technology Hyderabad
 


Re: Local storage DB

2014-05-05 Thread Daan Hoogland
what table are you referring, Anton?

there are several in the system, most importantly networks and
network_offerings but also firewall_rule and vpc_acl_item.

On Tue, Apr 29, 2014 at 9:43 AM, Anton Rubets plejik@gmail.com wrote:
 Hi
 I have old CS4.1 system, but now setup new and have some trouble;
 Now i have check the cloud database traffic type and see that on old system
 Storage traffic_type present, but i don`t add it myself (automatic i
 think), but in new CS4.3 this traffic_type don`t added, so can someone look
 at their DB (i use local storage) and show it if your CS working well?
 Thanks



-- 
Daan


Re: Cloudstack with iscsi storage

2014-05-05 Thread rammohan ganapavarapu
Hi,

I am getting this message in management server logs,i have a nfs seconday
storage in management server it self. What am i missing? i try to remove
existing sec storage and try to add new but its not letting me delete, any
advice?


There is no secondary storage VM for secondary storage host secondary01

Ram




On Sat, Apr 26, 2014 at 3:25 AM, Ignazio Cassano
ignaziocass...@gmail.comwrote:

 You must not create gfs or other file system because with clvm virtual
 machines disks are created on logical volumes .
  Il giorno 25/apr/2014 20:02, Nux! n...@li.nux.ro ha scritto:

  On 25.04.2014 17:59, rammohan ganapavarapu wrote:
 
  Do i have to create gfs or extfs on that lvm or i can just present
 logical
  vol itself (/dev/mapper/vg01_vol01)?
 
 
 
  You need to configure CLVM, check for tutorials on the web.
 
 
 
  --
  Sent from the Delta quadrant using Borg technology!
 
  Nux!
  www.nux.ro
 



Re: Could not find vpn user

2014-05-05 Thread Daan Hoogland
seems like a programmatic error, Amir. Can you try and up the debug
levels on the logging in the server? Some more usefull (stacktrace)
logging should appear.

Also, what versions are you running?

On Mon, Apr 28, 2014 at 1:24 PM, Amir Abbasi abb...@tebyanidc.ir wrote:
 Hello,

 When I try to remove the vpn user I face the error Could not find vpn user 
 but they exists and I can see them in vpn_users table in DB.


 2014-04-28 15:44:54,933 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-480:null) Seq 55-1106121211: Executing request
 2014-04-28 15:44:55,067 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (catalina-exec-18:null) submit async job-243, details: AsyncJobVO {id:243, 
 userId: 2, accountId: 2, sessionKey: null, instanceType: None, instanceId: 
 null, cmd: com.cloud.api.commands.RemoveVpnUserCmd, cmdOriginator: null, 
 cmdInfo: 
 {response:json,id:af367a24-1329-41b4-8fec-835f77e31b33d,sessionkey:/gB6LovUuiAk7VDK3ipEVbeLAb238\u003d,username:amir,ctxUserId:2,_:1398683760125,ctxAccountId:2,ctxStartEventId:158165},
  cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
 processStatus: 0, resultCode: 0, result: null, initMsid: 345050455587, 
 completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
 2014-04-28 15:44:55,072 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-44:job-243) Executing com.cloud.api.commands.RemoveVpnUserCmd 
 for job-243
 2014-04-28 15:44:55,076 INFO  [cloud.api.ApiDispatcher] 
 (Job-Executor-44:job-243) Could not find vpn user amir
 2014-04-28 15:44:55,076 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-44:job-243) Complete async job-243, jobStatus: 2, resultCode: 
 530, result: com.cloud.api.response.ExceptionResponse@58aeeb0



-- 
Daan


CentOS Script

2014-05-05 Thread Maurice Lawler
I saw something about a script on GitHub to install Cloudstack on Cent. Going 
through my emails I'm unable to find it.

Anyone have the link handy?

Sent from my iPhone


Re: CentOS Script

2014-05-05 Thread Antone Heyward
It's cldstk-deploy on github.

@thehyperadvisor
http://www.thehyperadvisor.com
On May 5, 2014 12:26 PM, Maurice Lawler daoe...@icloud.com wrote:

 I saw something about a script on GitHub to install Cloudstack on Cent.
 Going through my emails I'm unable to find it.

 Anyone have the link handy?

 Sent from my iPhone



Re: Local storage DB

2014-05-05 Thread Anton Rubets
Hi
I have some strange in installation. I found that storage traffic created
only when i added host that sec storage and after that enable the zone by
hands


On Mon, May 5, 2014 at 7:00 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 what table are you referring, Anton?

 there are several in the system, most importantly networks and
 network_offerings but also firewall_rule and vpc_acl_item.

 On Tue, Apr 29, 2014 at 9:43 AM, Anton Rubets plejik@gmail.com
 wrote:
  Hi
  I have old CS4.1 system, but now setup new and have some trouble;
  Now i have check the cloud database traffic type and see that on old
 system
  Storage traffic_type present, but i don`t add it myself (automatic i
  think), but in new CS4.3 this traffic_type don`t added, so can someone
 look
  at their DB (i use local storage) and show it if your CS working well?
  Thanks



 --
 Daan



Re: CentOS Script

2014-05-05 Thread Thehyperadvisor
Maurice, you can also check out the video. From Zero to CloudStack - YouTube - 
http://t.co/HYC6J1l17i 

@thehyperadvisor
http://www.thehyperadvisor.com

Sent from mobile device.

 On May 5, 2014, at 12:38 PM, Antone Heyward thehyperadvi...@gmail.com wrote:
 
 It's cldstk-deploy on github.
 
 @thehyperadvisor
 http://www.thehyperadvisor.com
 
 On May 5, 2014 12:26 PM, Maurice Lawler daoe...@icloud.com wrote:
 I saw something about a script on GitHub to install Cloudstack on Cent. 
 Going through my emails I'm unable to find it.
 
 Anyone have the link handy?
 
 Sent from my iPhone


console view not coming

2014-05-05 Thread raja sekhar
hii all,

After upgrading from cloudstack 4.2 to cloudstack 4.3,when i click on
console view it shows that google crome(The server refused the connection)
and firefox(can't establish a connection to the server).



regards,
rajasekhar


Re: CentOS Script

2014-05-05 Thread Maurice Lawler
Awesome thanks!!! 

Sent from my iPhone

 On May 5, 2014, at 12:45 PM, Thehyperadvisor thehyperadvi...@gmail.com 
 wrote:
 
 Maurice, you can also check out the video. From Zero to CloudStack - YouTube 
 - http://t.co/HYC6J1l17i 
 
 @thehyperadvisor
 http://www.thehyperadvisor.com
 
 Sent from mobile device.
 
 On May 5, 2014, at 12:38 PM, Antone Heyward thehyperadvi...@gmail.com 
 wrote:
 
 It's cldstk-deploy on github.
 
 @thehyperadvisor
 http://www.thehyperadvisor.com
 
 On May 5, 2014 12:26 PM, Maurice Lawler daoe...@icloud.com wrote:
 I saw something about a script on GitHub to install Cloudstack on Cent. 
 Going through my emails I'm unable to find it.
 
 Anyone have the link handy?
 
 Sent from my iPhone


Cannot delete F5 device

2014-05-05 Thread Amin Pashapour
Hi All


Using CS 4.2.1.  I have an F5 device (v11.1) below network service providers.  
I can't delete the device and CS keeps saying:

2014-05-05 13:51:09,656 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) 
===END===  172.16.0.65 -- GET  
command=deleteF5LoadBalancerlbdeviceid=34d40985-ddfa-483b-947b-e921876c7378response=jsonsessionkey=nUrC%2F3wjrR9V3qtkfe9ppZSh%2BwM%3D_=1399312269638
2014-05-05 13:51:09,661 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-139:job-1076 = [ 0bc3de98-e8e4-49da-8c49-89cd181c0d48 ]) Complete 
async job-1076 = [ 0bc3de98-e8e4-49da-8c49-89cd181c0d48 ], jobStatus: 2, 
resultCode: 530, result: Error Code: 530 Error text: Delete can not be done as 
there are networks using this load balancer device


I have no networks whatsoever and I even deleted the network offering that used 
F5BigIP for LB.

How can I find out what network is holding things up?

Thanks.
Amin

p.s. When I tried to create a VM using the network offering with this F5. Not 
sure what the issue is here, but want to start fresh now.

I kept getting no free capacity F5:

2014-05-05 12:23:00,599 DEBUG [cloud.network.NetworkManagerImpl] 
(Job-Executor-113:job-1051 = [ 7abb900c-b564-40ad-8ab6-a658c52f5814 ]) Lock is 
released for network id 358 as a part of network implement
2014-05-05 12:23:00,599 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-113:job-1051 = [ 7abb900c-b564-40ad-8ab6-a658c52f5814 ]) Unable 
to contact resource.
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
unreachable: There are no F5 load balancer devices with the free capacity for 
implementing this network
        at 
com.cloud.network.element.F5ExternalLoadBalancerElement.implement(F5ExternalLoadBalancerElement.java:157)
        at 
com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:2043)
        at 
com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1948)
        at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125


Re: console view not coming

2014-05-05 Thread Amogh Vasekar
http://goo.gl/IsnRFw

Thanks,
Amogh



On 5/5/14 10:28 AM, raja sekhar rajsekhar@gmail.com wrote:

hii all,

After upgrading from cloudstack 4.2 to cloudstack 4.3,when i click on
console view it shows that google crome(The server refused the connection)
and firefox(can't establish a connection to the server).



regards,
rajasekhar



Re: Local storage DB

2014-05-05 Thread Daan Hoogland
i have no idea what you mean Anton.
Can you write out a way of reproducing on a clean installation?
preferably in some scripting language.

On Mon, May 5, 2014 at 6:39 PM, Anton Rubets plejik@gmail.com wrote:
 Hi
 I have some strange in installation. I found that storage traffic created
 only when i added host that sec storage and after that enable the zone by
 hands


 On Mon, May 5, 2014 at 7:00 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 what table are you referring, Anton?

 there are several in the system, most importantly networks and
 network_offerings but also firewall_rule and vpc_acl_item.

 On Tue, Apr 29, 2014 at 9:43 AM, Anton Rubets plejik@gmail.com
 wrote:
  Hi
  I have old CS4.1 system, but now setup new and have some trouble;
  Now i have check the cloud database traffic type and see that on old
 system
  Storage traffic_type present, but i don`t add it myself (automatic i
  think), but in new CS4.3 this traffic_type don`t added, so can someone
 look
  at their DB (i use local storage) and show it if your CS working well?
  Thanks



 --
 Daan




-- 
Daan


Ubuntu install on non-hvm xen install

2014-05-05 Thread Ian Duffy
Hi All,

I'm trying to install ubuntu from an ISO on a Cloudstack install using a
non-hvm xenserver installation as the hypervisor.

I downloaded the ubuntu alternative x86 ISO. I uploaded it via the
templates section in the UI and modified the database entry for it to
change the HVM flag to 0.

With this I can successfully boot the virtual machine from the CD and the
ubuntu installer opens. However one I attempt to  execute the detect
network or detect disk stages of the installation VNC starts to drop out
and the log file starts fill up with:

INFO  [c.c.c.AgentHookBase] (AgentManager-Handler-3:null) Re-authentication
result. vm: 8, host address: , port: -1

INFO  [c.c.c.AgentHookBase] (AgentManager-Handler-4:null) Re-authentication
request, ask host 1 for new console info

WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-251:ctx-852722b2) There
are no Consoles available to the vm : Template that allows VM installation
from Xen-aware Debian-based distros. To use this template from the CLI,
install your VM using vm-install, then set other-config-install-repository
to the path to your network repository, e.g. http://server/path


The VM eventually powers off.

Any idea why this happens and any idea if its possible to work around it?


Thanks,

Ian


basic networking, single server

2014-05-05 Thread Ian Young
I'm reinstalling CloudStack on a single server with lots of RAM, CPU cores,
and storage.  I also have a single 192.168.100.0/24 private network, which
was set up before I was hired and can't be easily reconfigured due to the
high number of employee workstations currently connected to it and
occupying IP addresses across this range.  I see that the CloudStack
documentation strongly recommends separate NICs for management traffic and
guest traffic.  This server does have two NICs, so what would be the ideal
way to configure the network?  Another switch with a different subnet for
the management network?  What about the storage network?


Re: basic networking, single server

2014-05-05 Thread Ian Young
I forgot to mention this system is entirely for internal purposes.  We
don't need a public network.


On Mon, May 5, 2014 at 3:39 PM, Ian Young iyo...@ratespecial.com wrote:

 I'm reinstalling CloudStack on a single server with lots of RAM, CPU
 cores, and storage.  I also have a single 192.168.100.0/24 private
 network, which was set up before I was hired and can't be easily
 reconfigured due to the high number of employee workstations currently
 connected to it and occupying IP addresses across this range.  I see that
 the CloudStack documentation strongly recommends separate NICs for
 management traffic and guest traffic.  This server does have two NICs, so
 what would be the ideal way to configure the network?  Another switch with
 a different subnet for the management network?  What about the storage
 network?



Re: VPN for VPC feature in 4.3

2014-05-05 Thread Andrei Mikhailovsky
Hi Praveen, 

I was wondering if you've solved this problem that you were having with VPC not 
getting the IP on the public interface? 

I've upgraded ACS from 4.2.1 to 4.3.0 and noticed that all my VPCs do not have 
the public IP address assigned to them on eth1. I've followed the upgrade 
instructions and I've downloaded the new system vm as well as restarted all 
system vms. 

My VPCs worked perfectly well on 4.2.1, but they are not working now as VPC vr 
doesn't have a public IP. I've got plenty of free public IPs and I am also 
using kvm. 

Thanks for any help 

- Original Message -

From: Praveen Buravilli praveen.buravi...@citrix.com 
To: users@cloudstack.apache.org 
Sent: Wednesday, 2 April, 2014 12:19:43 PM 
Subject: RE: VPN for VPC feature in 4.3 

Yes Benoit, I have 40% of free public IPs available. So, that should not be an 
issue. 

I don’t see any errors in log file too. Have you noticed any exceptions in log 
files by any chance when you encountered this issue? 

Thanks, 
Praveen Kumar 

-Original Message- 
From: benoit lair [mailto:kurushi4...@gmail.com] 
Sent: 02 April 2014 17:30 
To: users@cloudstack.apache.org 
Subject: Re: VPN for VPC feature in 4.3 

Hi Praveen, 


I already have this issue with vpc vr : 
Have you checked if you have some public ip adresses available on your zone ? 


Regards, Benoit. 


2014-04-02 12:24 GMT+02:00 Praveen Buravilli praveen.buravi...@citrix.com: 

 Thanks Geoff. Actually, eth1 for VPC router is missing. 
 
 When I looked at log file, surprisingly a request has been sent to 
 create router VM with two NICs(one link local and other public) 
 whereas, the router was created with only one NIC. 
 
 
 
 Any thoughts? fyi, I'm running CloudStack 4.3 with KVM nodes. 
 
 
 
 Here attached is log file snippet containing both request and response 
 info on router start command: 
 
 (Highlighted NIC entries in the log with red and green texts). 
 
 
 == 
  
 
 2014-04-02 06:00:47,968 DEBUG [c.c.a.t.Request] 
 (Job-Executor-35:ctx-544b3513 ctx-5d9c4b47) Seq 6-1545667825: Sending 
 { Cmd , MgmtId: 52237010300, via: 6(localhost.localdomain), Ver: v1, Flags: 
 100111, 
 [{com.cloud.agent.api.StartCommand:{vm:{id:43,name:r-43-VM, 
 type:DomainRouter,cpus:1,minSpeed:500,maxSpeed:500,minRam:1 
 34217728,maxRam:134217728,arch:x86_64,os:Debian 
 GNU/Linux 7(64-bit),bootArgs: 
 vpccidr=10.201.0.0/16domain=cs7cloud.internal dns1=8.8.8.8 
 template=domP name=r-43-VM 
 eth0ip=169.254.1.131 eth0mask=255.255.0.0 type=vpcrouter 
 disable_rp_filter=true,rebootOnCrash:false,enableHA:true,limitCp 
 uUse:false,enableDynamicallyScaleVm:false,vncPassword:21a870dc77 
 23830,params:{},uuid:05b714cf-a511-42d9-b24a-6d077342865f,disk 
 s:[{data:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid 
 :b61da4e1-121e-4e02-b345-35719deec994,volumeType:ROOT,dataStore 
 :{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:90ff 
 a1df-e8bd-3e46-893d-bb9b63e0b180,id:2,poolType:NetworkFilesystem 
 ,host:172.20.105.2,path:/export/praveen/csprimary,port:2049 
 ,url:NetworkFilesystem:// 
 172.20.105.2//export/praveen/csprimary/?ROLE=PrimarySTOREUUID=90ffa1d 
 f-e8bd-3e46-893d-bb9b63e0b180 
 }},name:ROOT-43,size:262144,path:b61da4e1-121e-4e02-b345-35719deec994,volumeId:46,vmName:r-43-VM,accountId:7,format:QCOW2,id:46,deviceId:0,hypervisorType:KVM}},diskSeq:0,path:b61da4e1-121e-4e02-b345-35719deec994,type:ROOT,_details:{managed:false,storagePort:2049,storageHost:172.20.105.2,volumeSize:262144}}],nics:[{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:2d4b2574-5e7d-45e7-bcbb-f64d1d9237c1,ip:169.254.1.131,netmask:255.255.0.0,gateway:169.254.0.1,mac:0e:00:a9:fe:01:83,broadcastType:LinkLocal,type:Control,isSecurityGroupEnabled:false}]},hostIp:172.20.210.7,executeInSequence:false,wait:0}},{com.cloud.agent.api.check.CheckSshCommand:{ip:169.254.1.131,port:3922,interval:6,retries:100,name:r-43-VM,wait:0}},{com.cloud.agent.api.GetDomRVersionCmd:{accessDetails:{router.ip:169.254.1.131,
  
 router.name 
 :r-43-VM},wait:0}},{com.cloud.agent.api.PlugNicCommand:{nic:{deviceId:1,networkRateMbps:200,defaultNic:true,uuid:7f27078c-2123-4e53-9d4c-df2c6e4cb844,ip:172.20.211.132,netmask:255.255.255.0,gateway:172.20.211.1,mac:06:41:1a:00:00:20,broadcastType:Vlan,type:Public,broadcastUri:vlan://211,isolationUri:vlan://211,isSecurityGroupEnabled:false,name:cloudbr1},instanceName:r-43-VM,vmType:DomainRouter,wait:0}},{com.cloud.agent.api.routing.IpAssocVpcCommand:{ipAddresses:[{accountId:7,publicIp:172.20.211.132,sourceNat:true,add:true,oneToOneNat:false,firstIP:false,broadcastUri:211,vlanGateway:172.20.211.1,vlanNetmask:255.255.255.0,vifMacAddress:06:41:1a:00:00:20,networkRate:200,trafficType:Public,networkName:cloudbr1}],accessDetails:{router.guest.ip:172.20.211.132,zone.network.type:Advanced,router.ip:169.254.1.131,
  
 router.name 
 

problem with VPC's public IP after upgrading to 4.3

2014-05-05 Thread Andrei Mikhailovsky
Hello guys, 

I've upgraded my ACS install from 4.2.1 to 4.3 and have noticed a problem with 
VPC services. Upon investigation i've noticed that on my VPCs eth1, which is 
supposed to be the public IP interface is not configured with IPs. all other 
interfaces have IPs assigned. 

If I do ifconfig eth1 up and use tcpdump to sniff the traffic on eth1 I can 
see the public traffic coming to the interface, so it seems that there is an 
error or problem getting the public IP address to the VPC router. There are no 
errors in the logs of the virtual router. I've also deleted the vpc vr and also 
tried restarting vpc. Nothing helps. 

All other system vms (CP, SSVM and none VPC VRs are working fine). 

I've followed the instructions and downloaded the new 4.3.0 systemvm template 
as well as restarted all system vms following the upgrade. 

Thanks for any help 



Andrei 


RE: Frequent NFS not responding, timed out issue

2014-05-05 Thread Hung Nguyen The
Hi Shanker,
Thanks for your suggestion, I would give it a try.
Isolating VM traffic from storage traffic, that's the best practice. I wish I 
had a chance to make recommendations about the design from the start.

I also think about upgrading openvswitch, there seems a lot of performance 
improvement. But there is not much information out there, especially the 
compability and which version is supported with Xenserver.

Btw, we are now focusing on control those VMs that are flooding packets. The 
system now can sustain a lot more flows going through.

Best Regards,
The Hung


-Original Message-
From: Shanker Balan [mailto:shanker.ba...@shapeblue.com] 
Sent: Tuesday, April 29, 2014 4:44 PM
To: CloudStack-Users
Subject: Re: Frequent NFS not responding, timed out issue

Hi,

Comments inline.

On 28-Apr-2014, at 1:45 pm, Hung Nguyen The hung...@saobacdau.vn wrote:

 Thanks Shanker. I don't have total control on the system and it lacks a 
 proper monitoring system.

Do give collectd + SNMP a try. Works very well for me.

 After some more investigations we believe the high latency is due to to 
 openvswitch, and some VMs are flooding packets.

Ouch.

You could have a separate storage network to isolate VM traffic from storage 
traffic.


 Some tunings have done like increase Flow-Eviction-thresthold and the network 
 is now much more stable.
 That would be greate if someone can guide me somewhere with 
 information regarding improve performance of open vswitch on Xenserver 6.2 
 Btw, OVS is 1.4.6 version.

Have you considered upgrading openvswitch to a newer version? I personally have 
not tried updating openvswitch on xenserver but should be possible using the 
DDK. YMMV!

http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.XenServer;hb=HEAD


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd 
floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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 is a registered trademark.


RE: Cannot delete F5 device

2014-05-05 Thread Sanjeev Neelarapu
Hi Amin,

ntwk_service_map table in cluod DB shows the service providers in each network. 
You can get the network id where F5 is being used as LB service provider. Then 
look for that network in networks table.

-Sanjeev

-Original Message-
From: Amin Pashapour [mailto:jol...@yahoo.com] 
Sent: Monday, May 05, 2014 11:30 PM
To: users@cloudstack.apache.org
Subject: Cannot delete F5 device

Hi All


Using CS 4.2.1.  I have an F5 device (v11.1) below network service providers.  
I can't delete the device and CS keeps saying:

2014-05-05 13:51:09,656 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) 
===END===  172.16.0.65 -- GET  
command=deleteF5LoadBalancerlbdeviceid=34d40985-ddfa-483b-947b-e921876c7378response=jsonsessionkey=nUrC%2F3wjrR9V3qtkfe9ppZSh%2BwM%3D_=1399312269638
2014-05-05 13:51:09,661 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-139:job-1076 = [ 0bc3de98-e8e4-49da-8c49-89cd181c0d48 ]) Complete 
async job-1076 = [ 0bc3de98-e8e4-49da-8c49-89cd181c0d48 ], jobStatus: 2, 
resultCode: 530, result: Error Code: 530 Error text: Delete can not be done as 
there are networks using this load balancer device


I have no networks whatsoever and I even deleted the network offering that used 
F5BigIP for LB.

How can I find out what network is holding things up?

Thanks.
Amin

p.s. When I tried to create a VM using the network offering with this F5. Not 
sure what the issue is here, but want to start fresh now.

I kept getting no free capacity F5:

2014-05-05 12:23:00,599 DEBUG [cloud.network.NetworkManagerImpl] 
(Job-Executor-113:job-1051 = [ 7abb900c-b564-40ad-8ab6-a658c52f5814 ]) Lock is 
released for network id 358 as a part of network implement
2014-05-05 12:23:00,599 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-113:job-1051 = [ 7abb900c-b564-40ad-8ab6-a658c52f5814 ]) Unable 
to contact resource.
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
unreachable: There are no F5 load balancer devices with the free capacity for 
implementing this network
        at 
com.cloud.network.element.F5ExternalLoadBalancerElement.implement(F5ExternalLoadBalancerElement.java:157)
        at 
com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:2043)
        at 
com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1948)
        at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125


RE: basic networking, single server

2014-05-05 Thread Sanjeev Neelarapu
Hi,

You can use single subnet and multiple NICs is not a mandatory. If you want to 
use separate NICs for management and guest traffic you have to use traffic 
lables. Please refer admin guides on how to use multiple NICs.

-Sanjeev

-Original Message-
From: Ian Young [mailto:iyo...@ratespecial.com] 
Sent: Tuesday, May 06, 2014 4:11 AM
To: users@cloudstack.apache.org
Subject: Re: basic networking, single server

I forgot to mention this system is entirely for internal purposes.  We don't 
need a public network.


On Mon, May 5, 2014 at 3:39 PM, Ian Young iyo...@ratespecial.com wrote:

 I'm reinstalling CloudStack on a single server with lots of RAM, CPU 
 cores, and storage.  I also have a single 192.168.100.0/24 private 
 network, which was set up before I was hired and can't be easily 
 reconfigured due to the high number of employee workstations currently 
 connected to it and occupying IP addresses across this range.  I see 
 that the CloudStack documentation strongly recommends separate NICs 
 for management traffic and guest traffic.  This server does have two 
 NICs, so what would be the ideal way to configure the network?  
 Another switch with a different subnet for the management network?  
 What about the storage network?



Re: Console Proxy SSL Error

2014-05-05 Thread Gopala Krishnan
Amogh,

Yes.. I am used Cloudstack 4.2 and uploaded root and intermediate CA
certificate as per order.  But still not console accessible.

Any idea?



On Sat, May 3, 2014 at 11:58 PM, Amogh Vasekar amogh.vase...@citrix.comwrote:

 Hi,

 Which version are you on? Also, did you upload the root and intermediate
 certificates (if any)?

 Amogh

 On 5/3/14 3:38 AM, Gopala Krishnan gopkris2...@gmail.com wrote:

 Hi,
 
 I have tried to change realhostip.com for console proxy. I have created
 SSL
 certificate with wildcard SSL and updated as per the cloudstack document.
 
 
 http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/la
 test/systemvm.html#console-proxy
 
 Its not working.. I have done the following steps.
 
 Purchased SSL certificate for my domain *.hostname.com and updated the
 certificate via the cloudstack UI.
 
 Infrastructure -  SSL certificate
 
 Pasted the certificate
 Pasted the Key
 DNS domain = hostname.com
 
 Once completed, I have optimized the global settings
 
 consoleproxy.url.domain = hostname.com
 
 
 When I click console for VM, It shows certificate trusted errors. May I
 know what I done wrong??
 
 
 --
 Gopala Krishnan.S
 Mobile : +91 9865709094 / +91 9994874447
 *cPanel KnowledgeBase http://www.cpanelkb.net/*
 *Linux Server Admin Tools* http://www.gnutoolbox.com




-- 
Gopala Krishnan.S
Mobile : +91 9865709094 / +91 9994874447
*cPanel KnowledgeBase http://www.cpanelkb.net/*
*Linux Server Admin Tools* http://www.gnutoolbox.com


[Event] BigDataCloud Conference India 2014

2014-05-05 Thread Radhika Puthiyetath
Greetings!

More than 400+ registrations for today's 
‪#‎BigDataCloudhttps://www.facebook.com/hashtag/bigdatacloud?source=feed_textstory_id=10202810805889080
 mini conf happening at 
‪#‎InMobihttps://www.facebook.com/hashtag/inmobi?source=feed_textstory_id=10202810805889080
 Bangalore. All the best for the entire organizing team, speakers, volunteers.

If you haven't registered yet, you can still do and attend all the exciting 
talks

http://www.bigdatacloudconf.org

Twitter: @bdccindia2014

If you have trouble locating the venue, please get in touch with

Akshay Rawat : +91 8904 7732 87

http://l.facebook.com/l.php?u=http%3A%2F%2Fwww.bigdatacloudconf.org%2Fh=_AQEur3g6enc=AZNZ_htH1s_kijk4LZLlFTVkhGBvD7Z1JN__idD2gjSFnaMz6tdAZoBz5_y6liQwDG0TmQs1ma3spbNH3aW9Goj7ecIrB2xlY21U3WsFRUK1vQ-YN3Pe9VDIIw-Q67BWKFr03s-s06kX4sRhXkeGh_aas=1Thanks



-Radhika



Re: Console Proxy SSL Error

2014-05-05 Thread Amogh Vasekar
Can you please outline the steps in uploading intermediate and root
certificates? Specifically, was the id parameter set (1 for root, 2 for
intermediate_ca_1 etc..)

Amogh

On 5/5/14 10:10 PM, Gopala Krishnan gopkris2...@gmail.com wrote:

Amogh,

Yes.. I am used Cloudstack 4.2 and uploaded root and intermediate CA
certificate as per order.  But still not console accessible.

Any idea?



On Sat, May 3, 2014 at 11:58 PM, Amogh Vasekar
amogh.vase...@citrix.comwrote:

 Hi,

 Which version are you on? Also, did you upload the root and intermediate
 certificates (if any)?

 Amogh

 On 5/3/14 3:38 AM, Gopala Krishnan gopkris2...@gmail.com wrote:

 Hi,
 
 I have tried to change realhostip.com for console proxy. I have created
 SSL
 certificate with wildcard SSL and updated as per the cloudstack
document.
 
 
 
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/l
a
 test/systemvm.html#console-proxy
 
 Its not working.. I have done the following steps.
 
 Purchased SSL certificate for my domain *.hostname.com and updated the
 certificate via the cloudstack UI.
 
 Infrastructure -  SSL certificate
 
 Pasted the certificate
 Pasted the Key
 DNS domain = hostname.com
 
 Once completed, I have optimized the global settings
 
 consoleproxy.url.domain = hostname.com
 
 
 When I click console for VM, It shows certificate trusted errors. May I
 know what I done wrong??
 
 
 --
 Gopala Krishnan.S
 Mobile : +91 9865709094 / +91 9994874447
 *cPanel KnowledgeBase http://www.cpanelkb.net/*
 *Linux Server Admin Tools* http://www.gnutoolbox.com




-- 
Gopala Krishnan.S
Mobile : +91 9865709094 / +91 9994874447
*cPanel KnowledgeBase http://www.cpanelkb.net/*
*Linux Server Admin Tools* http://www.gnutoolbox.com



Re: CentOS Script

2014-05-05 Thread Sebastien Goasguen
cldstck-deploy from thehyperadvisor is here :)

https://github.com/thehyperadvisor/cldstk-deploy

Looks pretty cool, I need to give it a try

Ps: I think you could use the ansible python api to avoid calling popen too
many times...


On Mon, May 5, 2014 at 12:45 PM, Thehyperadvisor
thehyperadvi...@gmail.comwrote:

 Maurice, you can also check out the video. From Zero to CloudStack -
 YouTube - http://t.co/HYC6J1l17i

 @thehyperadvisor
 http://www.thehyperadvisor.com

 Sent from mobile device.

  On May 5, 2014, at 12:38 PM, Antone Heyward thehyperadvi...@gmail.com
 wrote:
 
  It's cldstk-deploy on github.
 
  @thehyperadvisor
  http://www.thehyperadvisor.com
 
  On May 5, 2014 12:26 PM, Maurice Lawler daoe...@icloud.com wrote:
  I saw something about a script on GitHub to install Cloudstack on Cent.
 Going through my emails I'm unable to find it.
 
  Anyone have the link handy?
 
  Sent from my iPhone




-- 
---
Sebastien Goasguen
Open Source Cloud Evangelist, Cloudstack
http://sites.google.com/site/runseb/