SSL Keystore functionality in CloudStack

2014-07-25 Thread Chandan Purushothama
I tried looking around to understand the role of SSL Keystore in CS and an 
exhaustive list of its functionality/Use cases in CS. I couldn't find any 
documentation that explains about it. Can anyone help me direct to any relevant 
documentation to understand keystore's role in CS,

Thank you,
Chandan.


RE: Unable to deploy guest vm

2014-05-30 Thread Chandan Purushothama
Hello Tejas,

May I know whether you can access the DomR via vCenter and check if the DomR 
has a link local IP Address ( 169.254.x.x) ? Looks like the DomR didn’t get a 
link local IP Address,

Thank you,
Chandan.

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Friday, May 30, 2014 4:40 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Unable to deploy guest vm

SSVM  Console proxy working fine. while trying to create vm from ISO on new 
setup it throws below exception.

2014-05-30 16:42:20,358 ERROR [c.c.h.v.r.VmwareResource] 
(DirectAgent-62:ctx-97ac79ab 10.129.137.199) Unable to execute ping command on 
DomR (null), domR may not be ready yet. failure due to Exception:
java.io.IOException
Message: There was a problem while connecting to null:3922

java.io.IOException: There was a problem while connecting to null:3922

Regards,
Tejas


RE: F5 and CloudStack

2014-03-13 Thread Chandan Purushothama
Hello Amin,

May I know whether you added Port Forwarding Service to your Network Offering,

Thank you,
Chandan.

-Original Message-
From: Amin Pashapour [mailto:jol...@yahoo.com] 
Sent: Wednesday, March 12, 2014 2:21 PM
To: users@cloudstack.apache.org
Subject: Re: F5 and CloudStack

Chandan Purushothama Chandan.Purushothama@... writes:

 
 Hello Amin,
 
 May I know if you are able to work with a VM deployed in a network 
 created
using
 DefaultIsolatedNetworkOfferingWithSourceNatService. This will prove 
 that
your Guest VLAN range
 and Public VLAN are valid,
 
 Thank you,
 Chandan.
 
 -Original Message-
 From: Amin Pashapour [mailto:jolfa1@...]
 Sent: Wednesday, March 12, 2014 1:09 PM
 To: users@...
 Subject: F5 and CloudStack
 
 Hi All
 
 I am trying to add an F5 BigIP (10.1) into my CloudStack (4.2.1)
environment.
 
 This is what I have done:
 1- Created a network offering with VR to do everything, including 
 Source
and Static NAT, except BL using F5BigIP.
 2- Created a network based on the offering. Added egress rule for
0.0.0.0/0 for all protocols.
 3- Created a VM using Centos template and the network from step 2
 4- Added a firewall rule to the public ip of the network for tcp 
 ports
1- 64000.
 5- Can't add port forwarding to the public ip.
 
 I get into the VM's console and the network is up. However, I can't
ping/ssh to any other system.
 
 No system can ping/ssh my VM.  This is similar to what someone named 
 Anoop
had observed in April of 2013.
 
 Can someone give me a hint or two on what I am missing?
 
 Thanks.
 
 

Hi Chandan.

Other VM's using DefaultIsolatedNetworkOfferingWithSourceNatService work 
perfectly fine. I can ssh with no problems.  Of course, I had to add a port 
forwarding rule to let port 22 through.

When I try to add a port forwarding rule with the F5 offering network, I get 
this error:

The IP public ip is already used as SourceNAT rather than PortForwarding.

And I can't go any further.

Thanks




RE: AWS api only for basic networking zones ?

2014-01-28 Thread Chandan Purushothama
Hello Andrija,

AWSAPI feature can be tried on any type of zone. The feature makes more sense 
if it is used with Basic Zone with Security Groups and Advanced Zone with 
Security Groups. In case if you just want to try couple of ec2 apis against 
CloudStack, there is no harm in enabling it and playing with it. You might fail 
to execute couple of ec2 apis on using the feature against any zone other than 
the supported zones,

Thank you,
Chandan.

-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: Tuesday, January 28, 2014 1:10 AM
To: users@cloudstack.apache.org
Subject: AWS api only for basic networking zones ?

Hi,

I'm looking into enabling the AWS compatible API on CS.

But from the docs:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Installation_Guide/index.html#aws-ec2-introduction

...it states that this is only supported in Basic Networking zones.

Since I'm using advanced networking zone, should I even try enabling the AWS 
thing, or should I give up on this.

I'm on CS 4.2.1.

Thanks,

-

Andrija Panić


RE: Internal DNS confusion

2014-01-28 Thread Chandan Purushothama
Hello Chris,

The following link might help you with your efforts to deploy a Quick Cloud 
using a single machine.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/QuickCloud 

Thank you,
Chandan.

-Original Message-
From: chris snow [mailto:chsnow...@gmail.com] 
Sent: Tuesday, January 28, 2014 10:19 AM
To: users@cloudstack.apache.org
Subject: Re: Internal DNS confusion

Hi Shanker,

I'm trying to build a self contained cloudstack virtualbox virtualmachine 
similar to devcloud.

I'm thinking that the virtualmachine will need to run its own internal DNS 
server, but it probably only needs one entry, the hostname of the virtualbox 
virtualmachine.

Sorry if these questions are basic, but I haven't seen any topology examples 
that describe everything on a single node, so I'm confused what is required.

Many thanks,

Chris



On Tue, Jan 28, 2014 at 5:07 PM, Shanker Balan shanker.ba...@shapeblue.com 
wrote:
 Comments inline.

 On 28-Jan-2014, at 12:47 pm, chris snow chsnow...@gmail.com wrote:

 Thanks for the answers Shanker. Some more questions ...

 Sure.


 Are internal DNS lookups performed only by the system vms?

 Dont know.

 If no, what other parts of cloudstack perform internal DNS lookups?

 Dunno. Never had a requirement/reason to worry about it as my DNS 
 servers are configured to resolve my RFC1918 assigned LAN devices and public 
 records.

  For example, does Management Server perform internal DNS lookups?

 The management server uses whichever nameservers you have configured 
 in /etc/resolv.conf.

 I am not sure why you are digging deep into the DNS settings... its a 
 very simple step while adding a new Zone. Just specify the same DNS 
 settings as used by other devices in your network.

 I am however aware that there are MANY networks which still use IP 
 addresses instead of hostnames. If your networks happens to rely on IP 
 addresses, now would be a good time to create a DNS system :)


 I'm trying to figure out 'when' I need to add new records to the 
 internal DNS server.

 If you plan to use hostnames instead of IP addresses for resources 
 like hypervisors, storage devices etc, then you need to create DNS records.

 Alternatively, you can also add /etc/hosts entries.

 Depending on your DNS topology, you might have private internal DNS 
 servers or public hosted DNS services (or both).


 I guess one way for me to understand when I need to add a host record 
 to the internal DNS is by knowing what which parts of the Cloudstack 
 admin interface have fields that require a corresponding internal DNS 
 record.  For example:

   Network  Add Guest Network  Network Domain
   Domains  Add Domain  Network Domain

 Does each network domain above require an entry to be added into the 
 internal DNS?  Are there any other places in the admin UI that 
 require records to be added to the internal DNS server?


 I believe Sanjeev already replied to this one. network domains are 
 handled internally by CloudStack virtual routers.

 Regards.
 @shankerbalan


 On Tue, Jan 28, 2014 at 3:52 AM, Shanker Balan 
 shanker.ba...@shapeblue.com wrote:
 Comments inline.

 On 28-Jan-2014, at 1:21 am, chris snow chsnow...@gmail.com wrote:

 When creating a new zone, I have to enter the address for Internal 
 DNS Servers.  Extract from the Cloudstack installation manual:

 Internal DNS 1 and Internal DNS 2. These are DNS servers for use 
 by system VMs in the zone (these are VMs used by CloudStack itself, 
 such as virtual routers, console proxies, and Secondary Storage VMs.).

 The internal DNS server is usually the corporate DNS servers that 
 provide internal DNS services for your LAN. Usually, these are 
 RFC1918 IPs which is why its hosted internally.


 Question 1: Who manages the Internal DNS? Is an Internal DNS server 
 setup and managed by me, or is it setup and managed by Cloudstack?

 You (or your IT team).


 Question 2: If Internal DNS is setup and managed by me, how should it be 
 setup?

 set it up any way you look. As long as the internal DNS server can 
 resolve the hostname to IP addresses, you should be fine.


 Question 3: If it is setup and managed by Cloudstack, when did it 
 get setup, and  how can I find out what address Cloudstack is using 
 for this server?

 Its not managed by cloudstack. Most of the time, your internal and 
 external DNS settings would be your corporate DNS server.

 If a public DNS server can resolve IP addresses for hosts in your 
 LAN, you can use any public DNS server as your internal and external DNS 
 resolver.

 Hope that makes sense.


 --
 @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 

RE: Unable to deploy instance from ISO to xenserver

2014-01-23 Thread Chandan Purushothama
Hello Derek,

Looks like the VM deployment failed due to No Storage Pools available  to 
service your request. If you are planning to use the local storage on XenServer 
as your primary storage, you need to use the corresponding Service Offering 
that uses a local storage to deploy a VM. May I know whether the service 
offering that you used to deploy this VM uses shared or local storage,

Thank you,
Chandan.

-Original Message-
From: Derek Cole [mailto:derek.c...@gmail.com] 
Sent: Thursday, January 23, 2014 11:04 AM
To: users@cloudstack.apache.org
Subject: Unable to deploy instance from ISO to xenserver

Hello,

I am trying to setup a cloudstack managed xenserver. I had a fresh xenserver 
6.2 install, and I was able to upload my ISO. Whenever I try to create an 
instance, I get the error that I have pasted below in this email.

In my setup, the cloudstack-management box is hosting an NFS share for the 
secondary storage, and when I set up the zone, I made it use local storage on 
the xenserver host. That drive is 100% free.

What is going wrong here? Thanks



2014-01-23 13:50:22,737 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-2:null) SeqA 3-39: Processing Seq 3-39:  { Cmd ,
MgmtId: -1, via: 3, Ver: v1, Flags: 11,
[{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n
\connections\: []\n},wait:0}}] }
2014-01-23 13:50:22,741 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-2:null) SeqA 3-39: Sending Seq 3-39:  { Ans: ,
MgmtId: 218269705676436, via: 3, Ver: v1, Flags: 100010, 
[{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
2014-01-23 13:50:22,891 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) 
===START===  10.20.0.18 -- GET
command=deployVirtualMachinezoneId=68a397f1-b141-4818-8999-7eb9d2cf39fctemplateId=ad6163bf-b4b2-4d68-a9eb-fece57c975cehypervisor=XenServerserviceOfferingId=0e564524-751a-41a3-aed6-dc2344045e2ddiskOfferingId=636ab890-4f91-43b3-a50d-0af1e6e40352networkIds=0e1c8d43-7714-4de1-99d5-8344a33affb7response=jsonsessionkey=MZcKlC%2BbG5N5o1F9aUej178nY%2F0%3D_=1390503666841
2014-01-23 13:50:22,899 DEBUG [cloud.api.ApiDispatcher]
(catalina-exec-3:null) InfrastructureEntity name 
is:com.cloud.offering.ServiceOffering
2014-01-23 13:50:22,903 DEBUG [cloud.api.ApiDispatcher]
(catalina-exec-3:null) ControlledEntity name 
is:com.cloud.template.VirtualMachineTemplate
2014-01-23 13:50:22,907 DEBUG [cloud.api.ApiDispatcher]
(catalina-exec-3:null) ControlledEntity name is:com.cloud.network.Network
2014-01-23 13:50:22,911 DEBUG [cloud.api.ApiDispatcher]
(catalina-exec-3:null) InfrastructureEntity name 
is:com.cloud.offering.DiskOffering
2014-01-23 13:50:22,926 DEBUG [cloud.network.NetworkModelImpl]
(catalina-exec-3:null) Service SecurityGroup is not supported in the network 
id=204
2014-01-23 13:50:22,938 DEBUG [cloud.vm.UserVmManagerImpl]
(catalina-exec-3:null) Allocating in the DB for vm
2014-01-23 13:50:22,950 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(catalina-exec-3:null) Allocating entries for VM:
VM[User|78138d6d-d15a-42c9-b406-a229c04d065d]
2014-01-23 13:50:22,951 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(catalina-exec-3:null) Allocating nics for 
VM[User|78138d6d-d15a-42c9-b406-a229c04d065d]
2014-01-23 13:50:22,952 DEBUG [cloud.network.NetworkManagerImpl]
(catalina-exec-3:null) Allocating nic for vm 
VM[User|78138d6d-d15a-42c9-b406-a229c04d065d] in network Ntwk[204|Guest|8] with 
requested profile NicProfile[0-0-null-null-null
2014-01-23 13:50:22,968 DEBUG [cloud.network.NetworkModelImpl]
(catalina-exec-3:null) Service SecurityGroup is not supported in the network 
id=204
2014-01-23 13:50:22,970 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(catalina-exec-3:null) Allocating disks for 
VM[User|78138d6d-d15a-42c9-b406-a229c04d065d]
2014-01-23 13:50:22,981 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(catalina-exec-3:null) Allocation completed for VM:
VM[User|78138d6d-d15a-42c9-b406-a229c04d065d]
2014-01-23 13:50:22,981 DEBUG [cloud.vm.UserVmManagerImpl]
(catalina-exec-3:null) Successfully allocated DB entry for 
VM[User|78138d6d-d15a-42c9-b406-a229c04d065d]
2014-01-23 13:50:23,009 DEBUG [cloud.network.NetworkModelImpl]
(catalina-exec-3:null) Service SecurityGroup is not supported in the network 
id=204
2014-01-23 13:50:23,014 DEBUG [cloud.network.NetworkModelImpl]
(catalina-exec-3:null) Service SecurityGroup is not supported in the network 
id=204
2014-01-23 13:50:23,030 DEBUG [cloud.async.AsyncJobManagerImpl]
(catalina-exec-3:null) submit async job-43 = [
ab3b4b08-3667-4044-b061-ae7721482e94 ], details: AsyncJobVO {id:43, userId:
2, accountId: 2, sessionKey: null, instanceType: VirtualMachine,
instanceId: 11, cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd,
cmdOriginator: null, cmdInfo:

RE: Virtual Guest Cidr is not RFC1918 compliant advance networking CS4.2

2014-01-20 Thread Chandan Purushothama
It is as per design. You can use any of the networks mentioned in 
http://tools.ietf.org/html/rfc1918 

3. Private Address Space

   The Internet Assigned Numbers Authority (IANA) has reserved the
   following three blocks of the IP address space for private internets:

 10.0.0.0-   10.255.255.255  (10/8 prefix)
 172.16.0.0  -   172.31.255.255  (172.16/12 prefix)
 192.168.0.0 -   192.168.255.255 (192.168/16 prefix)

Thank you,
Chandan.

-Original Message-
From: motty cruz [mailto:motty.c...@gmail.com] 
Sent: Monday, January 20, 2014 9:55 AM
To: users@cloudstack.apache.org
Subject: Virtual Guest Cidr is not RFC1918 compliant advance networking CS4.2

Hello, when creating a new network using cloudmonkey i get the following error 
Virtual Guest CIDR is not RFC1918 Compliant any idea how to bypass this problem?

Thanks,


RE: Urgent: Revert disk from expunging state

2014-01-16 Thread Chandan Purushothama
Hello,

Expunging is the last state of a Volume in its life cycle. Even if the database 
record is updated from Expunging to Ready, the physical disk volume present on 
the primary storage might have already got purged,

Thank you,
Chandan.

-Original Message-
From: Nux! [mailto:n...@li.nux.ro] 
Sent: Thursday, January 16, 2014 11:19 AM
To: users@cloudstack.apache.org
Subject: Re: Urgent: Revert disk from expunging state

On 16.01.2014 17:43, Paolo De Marco wrote:
 Hello,
 i have a disk in State: Expunging. Is there a way to revert it to 
 Ready?
 Thanks

Hi,

You can do so directly in the database. Phpmyadmin should be handy.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


RE: XenServer 6.2 SP1

2014-01-01 Thread Chandan Purushothama
Hello Francois,

As far as I know, XenServer 6.2 GA is a different from XenServer 6.2 SP1. I 
know that 4.2 Supports XenServer 6.2 GA. But I don't think 4.2 officially 
supports XenServer 6.2 SP1. It might work, but I don't think it is tested with 
4.2,

Thank you,
Chandan.

-Original Message-
From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com] 
Sent: Wednesday, January 01, 2014 8:16 AM
To: users@cloudstack.apache.org
Subject: Re: XenServer 6.2 SP1

Interesting. I'm glad I asked beforehand :P

Thanks Prashant (and Shanker) :)

On 1/1/2014, 11:11 AM, Shanker Balan wrote:
 On 01-Jan-2014, at 9:32 pm, Prashant Sreedharan 
 prashant.sreedha...@citrix.com wrote:

 Hi Francois,

 XenServer 6.2 is supported only for fresh install of CloudPlatform 4.2.
 However, XS 6.2 is fully supported from 4.2.1.
 Hmm, that explains why I ran into issues after upgrading my 
 environment to SP1. I recreated the Zone and its been working well so far.

 For your reference please find the compatibility matrix below:

 http://support.citrix.com/cms/kc/cloud-troubleshooting/cloudplatform-
 compat
 ibility-matrix/
 Thanks.


 --
 @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 
 traininghttp://shapeblue.com/cloudstack-training/
 08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
 13-17 January 2014, GLOBAL. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 20-24 January 2014, GLOBAL. 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.




--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect 
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



RE: How to update dns server name

2013-12-30 Thread Chandan Purushothama
Hello DuJun,

Kindly note that the changed DNS information doesn't get automatically updated 
on your system VMs. You might have to stop and start your system VMs for the 
update to happen,

Thank you,
Chandan


 Original message 
From: Suresh Sadhu
Date:12/30/2013 8:54 AM (GMT-08:00)
To: users@cloudstack.apache.org
Subject: RE: How to update dns server name

You can directly update from UI.login with admin user and navigate to 
Infrastructure-zone-edit zone and change the public and private dns details.

Regards
sadhu
-Original Message-
From: Steven Liang [mailto:stevenli...@yesup.com]
Sent: 30 December 2013 20:45
To: users@cloudstack.apache.org
Subject: Re: How to update dns server name

Hi Dujun,

You can try to modify them in table data_center.

Steven

On 12/30/2013 09:41 AM, Du Jun wrote:
 Hi all,
 How can I update dns server name of Cloudstack? When we create a zone,
 we are required to add public dns server name and internal dns server name.
 And how can we update them after enabling zone? As one of my dns
 server could not work anymore. Can I update some tables of mysql
 database directly? Thanks!
 ps: I am the root of my cluster.

 --
 Best regards,
 DuJun





RE: Regarding cloudstack automation

2013-12-30 Thread Chandan Purushothama

Hello Umesh,

From the logs that you posted, it appears to me that your command for 
deployment of VM got fired to the setup correctly. It looks like the VM 
deployment failed on the setup. Can you kindly check your cloudstack 
management server logs for the error information in order to understand the 
root cause for the issue,

Thank you,
Chandan


 Original message 
From: Santhosh Edukulla
Date:12/30/2013 4:20 AM (GMT-08:00)
To: users@cloudstack.apache.org,Chandan Purushothama
Cc: Sudha Ponnaganti
Subject: RE: Regarding cloudstack automation

Umesh,

One question : Did you registered the template for ostype: ostype: 
'CentOS 5.3 (64-bit)'?

Regards,
Santhosh

From: umesh kute [umeshvk...@gmail.com]
Sent: Monday, December 30, 2013 6:32 AM
To: Chandan Purushothama
Cc: users@cloudstack.apache.org; Sudha Ponnaganti
Subject: Re: Regarding cloudstack automation

Hi Chandan,
Thanks for your response.
I have the latest Marvin repository (December 20th). I am able to proceed 
further. There was an issue of firewall for that machine and it got resolved.

But now i am getting another error when i tried to run the script 
test_deploy_vm.py

I have attached the log. Can somebody please have a look on it and help me in 
resolving the issue?

++
test_deploy_vm (integration.smoke.test_deploy_vm.TestDeployVM): CRITICAL: 
EXCEPTION: test_deploy_vm: Traceback (most recent call last):
  File /usr/local/lib/python2.7/unittest/case.py, line 327, in run
testMethod()
  File /DataDisk/temp/cloudstack/test/integration/smoke/test_deploy_vm.py, 
line 116, in test_deploy_vm
templateid=self.template.idhttp://self.template.id
  File /usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py, 
line 415, in create
virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
  File 
/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py,
 line 593, in deployVirtualMachine
response = self.connection.marvinRequest(command, response_type=response, 
method=method)
  File /usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py, 
line 280, in marvinRequest
response = self.poll(asyncJobId, response_type)
  File /usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py, 
line 86, in poll
asyncquery, asyncResonse.jobresult)
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 
533, errortext : u'Unable to create a deployment for VM[User|testvmshr]'}
++

PFA entire logs.

Please let me know in case if anything is required.

Thanks and Regards
-- Umesh Kute


On Sun, Dec 29, 2013 at 10:32 PM, Chandan Purushothama 
chandan.purushoth...@citrix.commailto:chandan.purushoth...@citrix.com wrote:

Hello Umesh,

I had a similar experience with an older Marvin build. I updated mine to the 
latest and tried again and it worked. I recommend you to kindly try again with 
the latest Marvin build and see if you are able to work with the automation 
framework,

Thank you,
Chandan


 Original message 
From: umesh kute
Date:12/26/2013 12:29 AM (GMT-08:00)
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org,Sudha 
Ponnaganti
Subject: Re: Regarding cloudstack automation

Hi All,
I have created a Marvin setup on CentOS6.3 by following the document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python

All the pre-requisites are installed successfully.

I tried to run the sample script test_deploy_vm.py
(cloudstack/test/integration/smoke/), I am getting following error:

[root@localhost smoke]# nosetests --with-marvin
--marvin-config=/DataDisk/temp/cloudstack/tools/marvin/dist/demo.cfg --load
test_deploy_vm.py

 Exception Occurred Under __deployDC :
HTTPConnectionPool(host='10.88.91.100', port=8096): Max retries exceeded
with url: /client/api?account=admincommand=listUsersresponse=json (Caused
by class 'socket.error': [Errno 110] Connection timed out)
Traceback (most recent call last):
  File /usr/local/bin/nosetests, line 9, in module
load_entry_point('nose==1.3.0', 'console_scripts', 'nosetests')()
  File
/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/core.py,
line 118, in __init__
**extra_args)
  File /usr/local/lib/python2.7/unittest/main.py, line 95, in __init__
self.runTests()
  File
/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/core.py,
line 197, in runTests
result = self.testRunner.run(self.test)
  File
/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/core.py,
line 61, in run
test(result)
  File
/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose

RE: Unable to create a deployment for VM

2013-12-30 Thread Chandan Purushothama
Hello Sabareesh,

The logs doesn't show the root cause of the problem you have seen on your 
setup. The Insufficient Server Capacity Exception that you have seen might have 
been thrown for the following reasons. 

1. The host on which the VM previously resided on before stopping it, is no 
longer suitable to start the VM on. 
2. There is no other host available in the cluster that can reach the primary 
storage on which the ROOT Volume is present.

Kindly search the logs for information that can help us understand the cause of 
Reason 1,

Regarding Avoid Set:

Whenever user deploys or starts a stopped VM, the deployment planner plans the 
resources required for deploying or starting the VM. Avoid set is a memory data 
structure that is specific for the thread that is executing the request for VM 
deployment or VM Start Operation. During the execution of the request, the host 
picked for deploying or starting a VM is added to the Avoid Set. This will help 
the planner not to retry VM deployment or VM start operation on this host if 
there was a failure in its first attempt to use that particular host. Avoid Set 
is of no use if the VM got successfully deployed or started on its first 
attempt to use that host. Since the avoid set is a thread specific data 
structure, the information stored in it will be garbage collected after the 
death of the thread that is executing the request,

Hope the above information helps you,

Thank you,
Chandan.


-Original Message-
From: remala sabareesh [mailto:rd.sabare...@gmail.com] 
Sent: Sunday, December 29, 2013 11:41 PM
To: users@cloudstack.apache.org
Subject: Unable to create a deployment for VM

Hi,

I am able to setup succesfully  the cloudstack and created the instances 
running successfully,  i am able to stop and start the instances succesfully.

but suddenly after stopping and starting the instance it gives me following 
exception... may i know what is the reason when i am checking the logs it shows 
like host is avoid set, pod is avoid set... and finally throws the insufficent 
server capacity exception.
May i know what is the avoid set how to overcome this issue... if it is the 
insufficient server capacity issue it should throw this exception long back. 
but it is started throwing exception today onwards...
iam confused and stuck pls help me on this below is the logs pasted

2013-12-30 10:52:37,434 DEBUG [agent.manager.
AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 2-24333: Sending Seq
2-24333:  { Ans: , MgmtId: 90591532766, via: 2, Ver: v1, Flags: 100010, 
[{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
2013-12-30 10:52:39,290 DEBUG [cloud.server.StatsCollector]
(StatsCollector-2:null) HostStatsCollector is running...
2013-12-30 10:52:39,811 DEBUG [cloud.api.ApiServlet]
(catalina-exec-15:null) ===START===  10.203.251.143 -- GET
command=queryAsyncJobResultjobId=4333d42a-03b4-4500-97db-429e744df78bresponse=jsonsessionkey=7JJVl1vgRpS%2FxVXGO1y4KyXksYo%3D_=1388380873338
2013-12-30 10:52:39,889 DEBUG [cloud.api.ApiServlet]
(catalina-exec-15:null) ===END===  10.203.251.143 -- GET
command=queryAsyncJobResultjobId=4333d42a-03b4-4500-97db-429e744df78bresponse=jsonsessionkey=7JJVl1vgRpS%2FxVXGO1y4KyXksYo%3D_=1388380873338
2013-12-30 10:52:42,811 DEBUG [cloud.api.ApiServlet]
(catalina-exec-13:null) ===START===  10.203.251.143 -- GET
command=queryAsyncJobResultjobId=4333d42a-03b4-4500-97db-429e744df78bresponse=jsonsessionkey=7JJVl1vgRpS%2FxVXGO1y4KyXksYo%3D_=1388380876338
2013-12-30 10:52:42,882 DEBUG [cloud.api.ApiServlet]
(catalina-exec-13:null) ===END===  10.203.251.143 -- GET
command=queryAsyncJobResultjobId=4333d42a-03b4-4500-97db-429e744df78bresponse=jsonsessionkey=7JJVl1vgRpS%2FxVXGO1y4KyXksYo%3D_=1388380876338
2013-12-30 10:52:43,115 DEBUG [agent.transport.Request]
(StatsCollector-2:null) Seq 1-1087657629: Received:  { Ans: , MgmtId:
90591532766, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2013-12-30 10:52:45,814 DEBUG [cloud.api.ApiServlet]
(catalina-exec-12:null) ===START===  10.203.251.143 -- GET
command=queryAsyncJobResultjobId=4333d42a-03b4-4500-97db-429e744df78bresponse=jsonsessionkey=7JJVl1vgRpS%2FxVXGO1y4KyXksYo%3D_=1388380879340
2013-12-30 10:52:45,883 DEBUG [cloud.api.ApiServlet]
(catalina-exec-12:null) ===END===  10.203.251.143 -- GET
command=queryAsyncJobResultjobId=4333d42a-03b4-4500-97db-429e744df78bresponse=jsonsessionkey=7JJVl1vgRpS%2FxVXGO1y4KyXksYo%3D_=1388380879340
2013-12-30 10:52:47,358 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-1:null) SeqA 2-24334: Processing Seq 2-24334:  { Cmd , 
MgmtId: -1, via: 2, Ver: v1, Flags: 11, 
[{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n
\connections\: []\n},wait:0}}] }
2013-12-30 10:52:47,424 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-1:null) SeqA 2-24334: Sending Seq 2-24334:  { Ans: ,
MgmtId: 90591532766, via: 2, Ver: v1, Flags: 100010,