[ACS 4.4][QA] Windowsfication of management server

2014-04-08 Thread Sailaja Mada
Hi Alex,

I have identified High Level Test Combinations in comparison with Linux 
installer and the details are :

1.  Installation of Management Server(MS) with VMware as we mount Secondary 
Storage on Management Server and other hypervisors validation 
2.  DB and MS on the same Server 
3.  DB , MS and Usage Server combinations  
4.  Min Performance/Scalability  Requirements with Windows MS with 4.4 release 
. 
5.  Remote DB with Windows MS
6.  MS acting as Storage provider ( All In One combination) 
7.   Log files location and how easy to debug 
8.   Integration with Windows Events in case of MS failures ??
9.   Seeding system VM templates - New script for windows? 
10. MS Service Start , Stop ,Restart , Status 
11. Supported Platforms Or Platforms to cover - Windows 2008 R2 and Windows 
2K12 R2 64 bit 
12.  DB - Mysql  , Java , Apache versions  
13. Folder structure 
14. Ports to be opened by default 
15.  Multinode Management Test combination 
16. Removal of MS , Usage Server  , Mysql 
17. Dependency package verification 
18. Cloudstack bridge folder structure 
19.  Equivalent scripts for cloudstack-setup-management , cloudstack-sccs , 
cloudstack-aws-api-register , cloudstack-sysvmadm , cloudstack-setup-bridge 
etc.. . 

Can you please share the test combinations you would like to own among the 
above list and  Please add to the list if I missed out any. 

These are high level test combinations . I am yet to explore FS  to add/remove 
supported test scenarios. 

Thanks,
Sailaja.M


-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com] 
Sent: 03 April 2014 16:11
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Sudha,

Have you distributed a list of items yet? I'm sorry if you have and I've missed 
it.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
Sent: 28 March 2014 15:00
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Let me send broader categories that can be shared, meanwhile if you have some 
preference, pl do post it.

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: Friday, March 28, 2014 7:49 AM
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Sudha,

Yes - that sounds like a good idea.

How do you think it best to draw up a to-do list or tasks?


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
Sent: 28 March 2014 14:47
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Alex,

Glad to hear that you are interested in validation aspects for this feature. We 
are also interested. Not to cover the same areas, can we share general broader 
categories for validation.

Thanks
/sudha

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: Friday, March 28, 2014 4:07 AM
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

I'm happy to help with documentation for this and doing testing, maybe some 
packaging. I can certainly host installers if they need to be separate.

I would guess it best to start with testing first and building up documentation 
from there? Perhaps this needs its own thread running now?


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers
Sent: 28 March 2014 09:41
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: Re: [PROPOSAL][Merge] Windowsfication of management server

Hey,

4.4 is in feature freeze, so no new features will be added. I think its fair to 
debate if this is a feature in that sense. It seems like minor changes and the 
addition of a few scripts, making it a simple change in my view. It would be 
great to be able to announce this, but for it to be part of a release i think 
we need a couple of other things to be done. The most prominent are, packaging, 
testing and documentation.

Documentation:
If we want to ship this with 4.4 and announce that CS now runs on windows we 
need to have the installation manual covered at least.

Packaging:
We can't expect our users to build it themselves on windows. So we need some 
kind of packaging that people can install on their windows server.

Testing:
We need to automagically verify that these changes aren't affected by 

Re: [4.4] Current State

2014-04-08 Thread Murali Reddy
Is there a workaround? I am blocked on testing 4.4 work.

On 07/04/14 8:12 PM, Konstantina Chremmou
konstantina.chrem...@citrix.com wrote:

It seems to me the problem is the xmlrpc dependency of the XAPI jar
rather than the jar itself, as the changes between the previous version
and the latest one do not explain this sort of errors. The jar we ship
depends on 3.1 while cloudstack was using 3.1.3 which contains several
bug fixes compared to the old one. What I can do is upload a new jar with
corrected dependency and submit a new patch.


From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
Sent: 07 April 2014 3:06 PM
To: dev@cloudstack.apache.org
Cc: Konstantina Chremmou
Subject: Re: [4.4] Current State

Now that I think about it, the issue I sent an e-mail regarding earlier
where I could not create an SR (SR.create) only started happening after
the XAPI change.

Due to this issue, managed storage is currently not functional with
XenServer, which is blocking my 4.4 testing.

On Mon, Apr 7, 2014 at 5:44 AM, Murali Reddy
murali.re...@citrix.commailto:murali.re...@citrix.com wrote:
Errors I have seen are similar to log's pasted by Sanjay. I am running
into below error while stopping and starting the VM's.

2014-04-07 13:26:38,960 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-107:ctx-0aa97361) cannot get host enabled status, host
10.147.28.60 due to org.apache.xmlrpc.client.XmlRpcClientException: Failed
to parse servers response: Premature end of file.
org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse servers
response: Premature end of file.
at
org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTr
a
nsport.java:177)
at
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTra
n
sport.java:145)
at
org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTranspo
r
t.java:94)
at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpT
r
ansport.java:44)
at
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.jav
a
:53)
at 
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)
at 
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136)
at 
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125)
at com.xensource.xenapi.Connection.dispatch(Connection.java:330)
at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnect
i
on.dispatch(XenServerConnectionPool.java:457)
at com.xensource.xenapi.Host.getEnabled(Host.java:672)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.pingXAPI(CitrixResour
c
eBase.java:409)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getCurrentStatus(Citr
i
xResourceBase.java:4302)
at
com.cloud.agent.manager.DirectAgentAttache$PingTask.runInContext(DirectAge
n
tAttache.java:144)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
C
ontextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
f
aultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
o
ntext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
n
text(DefaultManagedContext.java:53)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
n
textRunnable.java:46)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at 
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acces
s
$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
c
heduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1
145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:
615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.xml.sax.SAXParseException; Premature end of file.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTr
a
nsport.java:175)



On 07/04/14 4:51 PM, Sanjay Tripathi
sanjay.tripa...@citrix.commailto:sanjay.tripa...@citrix.com wrote:

Hi Tina,

Even I am facing  similar issues after the change in XAPI. A lot of
exceptions are coming when CS tries to launch system VMs.

Please find the management server logs at: http://pastebin.com/6s44hDq5.

--Sanjay

-Original Message-
From: Konstantina Chremmou
[mailto:konstantina.chrem...@citrix.commailto:konstantina.chremmou@citri
x.com]
Sent: Monday, April 7, 2014 4:21 PM
To: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org
Subject: RE: [4.4] 

Re: Problem with VMware CloudStack SSVM Agent

2014-04-08 Thread Erik Weber
Could you check wich java version it has installed?
From the error message I'd interpret it as it's trying to run java7 code on
java6 jre.

-- 
Erik Weber


On Tue, Apr 8, 2014 at 1:39 AM, Soheil Eizadi seiz...@infoblox.com wrote:

 I am trying to bring up CloudStack 4.4 on vSphere 5.1, I cannot get the
 Agent to run on SSVM, here is the error:

  =templateProcessor mtu=1500 eth2ip=10.48.15.100
 eth2mask=255.255.255.0 gateway=10.48.15.1 public.network.device=eth2
 eth0mask=0.0.0.0 eth0ip=0.0.0.0 eth1ip=10.48.15.49 eth1mask=255.255.255.0
 mgmtcidr=10.48.15.0/24 localgw=10.48.15.1 private.network.device=eth1
 eth3ip=10.48.15.33 eth3mask=255.255.255.0 storageip=10.48.15.33
 storagenetmask=255.255.255.0 storagegateway=10.48.15.1
 internaldns1=10.48.2.11 internaldns2= dns1=10.48.2.11 dns2=

 Exception in thread main java.lang.UnsupportedClassVersionError:
 com/cloud/agent/AgentShell : Unsupported major.minor version 51.0

 at java.lang.ClassLoader.defineClass1(Native Method)

 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

 at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

 at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

 at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

 at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

 Could not find the main class: com.cloud.agent.AgentShell.  Program will
 exit.



 Here is the SSVM diags:

 root@s-22-VM:/var/log/cloud# /usr/local/cloud/systemvm/ssvm-check.sh

 

 First DNS server is  10.48.2.11

 PING 10.48.2.11 (10.48.2.11): 56 data bytes

 64 bytes from 10.48.2.11: icmp_seq=0 ttl=63 time=1.423 ms

 64 bytes from 10.48.2.11: icmp_seq=1 ttl=63 time=0.338 ms

 --- 10.48.2.11 ping statistics ---

 2 packets transmitted, 2 packets received, 0% packet loss

 round-trip min/avg/max/stddev = 0.338/0.881/1.423/0.543 ms

 Good: Can ping DNS server

 

 Good: DNS resolves download.cloud.com

 

 ERROR: NFS is not currently mounted

 Try manually mounting from inside the VM

 NFS server is  eth2

 ping: unknown host

 WARNING: cannot ping nfs server

 routing table follows

 Kernel IP routing table

 Destination Gateway Genmask Flags Metric RefUse
 Iface

 10.48.15.0  0.0.0.0 255.255.255.0   U 0  00
 eth1

 10.48.15.0  0.0.0.0 255.255.255.0   U 0  00
 eth2

 10.48.15.0  0.0.0.0 255.255.255.0   U 0  00
 eth3

 0.0.0.0 10.48.15.1  0.0.0.0 UG0  00
 eth2

 

 Management server is 10.48.15.10. Checking connectivity.

 Good: Can connect to management server port 8250

 

 ERROR: Java process not running.  Try restarting the SSVM.



RE: [4.4] Current State

2014-04-08 Thread Alex Huang
Let's roll this back for now until the right fix is found.

--Alex

 -Original Message-
 From: Murali Reddy
 Sent: Monday, April 7, 2014 11:42 PM
 To: dev@cloudstack.apache.org
 Cc: Alex Huang
 Subject: Re: [4.4] Current State
 
 Is there a workaround? I am blocked on testing 4.4 work.
 
 On 07/04/14 8:12 PM, Konstantina Chremmou
 konstantina.chrem...@citrix.com wrote:
 
 It seems to me the problem is the xmlrpc dependency of the XAPI jar
 rather than the jar itself, as the changes between the previous version
 and the latest one do not explain this sort of errors. The jar we ship
 depends on 3.1 while cloudstack was using 3.1.3 which contains several
 bug fixes compared to the old one. What I can do is upload a new jar
 with corrected dependency and submit a new patch.
 
 
 From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
 Sent: 07 April 2014 3:06 PM
 To: dev@cloudstack.apache.org
 Cc: Konstantina Chremmou
 Subject: Re: [4.4] Current State
 
 Now that I think about it, the issue I sent an e-mail regarding earlier
 where I could not create an SR (SR.create) only started happening after
 the XAPI change.
 
 Due to this issue, managed storage is currently not functional with
 XenServer, which is blocking my 4.4 testing.
 
 On Mon, Apr 7, 2014 at 5:44 AM, Murali Reddy
 murali.re...@citrix.commailto:murali.re...@citrix.com wrote:
 Errors I have seen are similar to log's pasted by Sanjay. I am running
 into below error while stopping and starting the VM's.
 
 2014-04-07 13:26:38,960 DEBUG [c.c.h.x.r.CitrixResourceBase]
 (DirectAgent-107:ctx-0aa97361) cannot get host enabled status, host
 10.147.28.60 due to org.apache.xmlrpc.client.XmlRpcClientException:
 Failed to parse servers response: Premature end of file.
 org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse servers
 response: Premature end of file.
 at
 org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStr
 ea
 mTr
 a
 nsport.java:177)
 at
 org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStre
 am
 Tra
 n
 sport.java:145)
 at
 org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTr
 an
 spo
 r
 t.java:94)
 at
 org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSu
 nHt
 tpT
 r
 ansport.java:44)
 at
 org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorke
 r.
 jav
 a
 :53)
 at
 org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)
 at
 org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136)
 at
 org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125)
 at com.xensource.xenapi.Connection.dispatch(Connection.java:330)
 at
 com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerC
 onn
 ect
 i
 on.dispatch(XenServerConnectionPool.java:457)
 at com.xensource.xenapi.Host.getEnabled(Host.java:672)
 at
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.pingXAPI(CitrixRes
 our
 c
 eBase.java:409)
 at
 com.cloud.hypervisor.xen.resource.CitrixResourceBase.getCurrentStatus(C
 itr
 i
 xResourceBase.java:4302)
 at
 com.cloud.agent.manager.DirectAgentAttache$PingTask.runInContext(Dire
 ct
 Age
 n
 tAttache.java:144)
 at
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(
 Mana
 ged
 C
 ontextRunnable.java:49)
 at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.c
 all
 (De
 f
 aultManagedContext.java:56)
 at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.call
 Wi
 thC
 o
 ntext(DefaultManagedContext.java:103)
 at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.run
 Wit
 hCo
 n
 text(DefaultManagedContext.java:53)
 at
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(M
 anage
 dCo
 n
 textRunnable.java:46)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at
 java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a
 c
 ces
 s
 $301(ScheduledThreadPoolExecutor.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
 u
 n(S
 c
 heduledThreadPoolExecutor.java:293)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.ja
 va:
 1
 145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j
 ava
 :
 615)
 at java.lang.Thread.run(Thread.java:744)
 Caused by: org.xml.sax.SAXParseException; Premature end of file.
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
 Source)
 at
 org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStr
 ea
 mTr
 a
 nsport.java:175)
 
 
 
 On 07/04/14 4:51 PM, Sanjay Tripathi
 sanjay.tripa...@citrix.commailto:sanjay.tripa...@citrix.com wrote:
 
 Hi Tina,
 
 Even I am facing  similar 

RE: [4.4] Current State

2014-04-08 Thread Alex Huang
I've reverted it.  Commit id ec102ec.

I would have like to have it in 4.4 as it's something we've talked about 
getting in to get rid of carrying our own copy but if it's causing problems 
then we should revert it until the problem is fixed. 

I apologize for the problem.  

--Alex


 -Original Message-
 From: Alex Huang [mailto:alex.hu...@citrix.com]
 Sent: Tuesday, April 8, 2014 12:01 AM
 To: Murali Reddy; dev@cloudstack.apache.org
 Subject: RE: [4.4] Current State
 
 Let's roll this back for now until the right fix is found.
 
 --Alex
 
  -Original Message-
  From: Murali Reddy
  Sent: Monday, April 7, 2014 11:42 PM
  To: dev@cloudstack.apache.org
  Cc: Alex Huang
  Subject: Re: [4.4] Current State
 
  Is there a workaround? I am blocked on testing 4.4 work.
 
  On 07/04/14 8:12 PM, Konstantina Chremmou
  konstantina.chrem...@citrix.com wrote:
 
  It seems to me the problem is the xmlrpc dependency of the XAPI jar
  rather than the jar itself, as the changes between the previous
  version and the latest one do not explain this sort of errors. The
  jar we ship depends on 3.1 while cloudstack was using 3.1.3 which
  contains several bug fixes compared to the old one. What I can do is
  upload a new jar with corrected dependency and submit a new patch.
  
  
  From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
  Sent: 07 April 2014 3:06 PM
  To: dev@cloudstack.apache.org
  Cc: Konstantina Chremmou
  Subject: Re: [4.4] Current State
  
  Now that I think about it, the issue I sent an e-mail regarding
  earlier where I could not create an SR (SR.create) only started
  happening after the XAPI change.
  
  Due to this issue, managed storage is currently not functional with
  XenServer, which is blocking my 4.4 testing.
  
  On Mon, Apr 7, 2014 at 5:44 AM, Murali Reddy
  murali.re...@citrix.commailto:murali.re...@citrix.com wrote:
  Errors I have seen are similar to log's pasted by Sanjay. I am
  running into below error while stopping and starting the VM's.
  
  2014-04-07 13:26:38,960 DEBUG [c.c.h.x.r.CitrixResourceBase]
  (DirectAgent-107:ctx-0aa97361) cannot get host enabled status, host
  10.147.28.60 due to org.apache.xmlrpc.client.XmlRpcClientException:
  Failed to parse servers response: Premature end of file.
  org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse
  servers
  response: Premature end of file.
  at
  org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcS
 tr
  ea
  mTr
  a
  nsport.java:177)
  at
  org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcSt
 re
  am
  Tra
  n
  sport.java:145)
  at
  org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttp
 Tr
  an
  spo
  r
  t.java:94)
  at
  org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcS
 u
  nHt
  tpT
  r
  ansport.java:44)
  at
  org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWor
 ke
  r.
  jav
  a
  :53)
  at
  org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)
  at
  org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136)
  at
  org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125)
  at com.xensource.xenapi.Connection.dispatch(Connection.java:330)
  at
  com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServe
 rC
  onn
  ect
  i
  on.dispatch(XenServerConnectionPool.java:457)
  at com.xensource.xenapi.Host.getEnabled(Host.java:672)
  at
  com.cloud.hypervisor.xen.resource.CitrixResourceBase.pingXAPI(CitrixR
  es
  our
  c
  eBase.java:409)
  at
  com.cloud.hypervisor.xen.resource.CitrixResourceBase.getCurrentStatus
  (C
  itr
  i
  xResourceBase.java:4302)
  at
  com.cloud.agent.manager.DirectAgentAttache$PingTask.runInContext(Di
 re
  ct
  Age
  n
  tAttache.java:144)
  at
  org.apache.cloudstack.managed.context.ManagedContextRunnable$1.ru
 n(
  Mana
  ged
  C
  ontextRunnable.java:49)
  at
  org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1
 .c
  all
  (De
  f
  aultManagedContext.java:56)
  at
  org.apache.cloudstack.managed.context.impl.DefaultManagedContext.ca
 ll
  Wi
  thC
  o
  ntext(DefaultManagedContext.java:103)
  at
  org.apache.cloudstack.managed.context.impl.DefaultManagedContext.ru
 n
  Wit
  hCo
  n
  text(DefaultManagedContext.java:53)
  at
  org.apache.cloudstack.managed.context.ManagedContextRunnable.run(
 M
  anage
  dCo
  n
  textRunnable.java:46)
  at
  java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at
  java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
  at
  java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
  a
  c
  ces
  s
  $301(ScheduledThreadPoolExecutor.java:178)
  at
  java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
  r
  u
  n(S
  c
  

Re: Review Request 19608: CLOUDSTACK-6282 - Added new automated testcases

2014-04-08 Thread Vinay Varma

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19608/
---

(Updated April 8, 2014, 8 a.m.)


Review request for cloudstack and Santhosh Edukulla.


Changes
---

Uploaded latest patch after incorporating all the review comments for marvin 
branch. Also uploaded the results file showing that all the tests executed 
correctly.


Bugs: CLOUDSTACK-6282
https://issues.apache.org/jira/browse/CLOUDSTACK-6282


Repository: cloudstack-git


Description
---

Adding below new Test cases for test_escalations.py 

test_01_list_volumes_pagination 
test_02_list_volume_byid 
test_03_data_volume_resize 
test_04_custom_volume 
test_05_volume_snapshot 
test_06_volume_snapshot_policy 
test_07_volume_snapshots_pagination 
test_08_volume_extract 
test_09_volume_upload


Diffs (updated)
-

  test/integration/component/test_escalations.py PRE-CREATION 
  tools/marvin/marvin/config/test_data.py 55e90d4 
  tools/marvin/marvin/lib/base.py 589c694 

Diff: https://reviews.apache.org/r/19608/diff/


Testing
---

@summary: Test List Volumes pagination ... ok
@summary: Test List Volumes with Id ... ok
@summary: Test to verify creation and resize of data volume ... ok
@summary: Test to verify creation and resize of custom volume ... ok
@summary: Test to verify creation of snapshot from volume and creation of 
template, volume from snapshot ... ok
@summary: Test to verify creation of Hourly, Daily, Weekly, Monthly Snapshot 
policies from volume ... ok
@summary: Test to verify pagination of snapshots for Volume ... ok
@summary: Test to verify extract/download a Volume ... ok
@summary: Test to verify upload volume ... ok

--
Ran 9 tests in 299.663s

OK


File Attachments (updated)


latest log file
  
https://reviews.apache.org/media/uploaded/files/2014/04/08/e9b4eef4-9619-4a15-a18a-36e7268fa537__results.txt


Thanks,

Vinay Varma



Review Request 20117: Pilot patch for CS JIRA 6213

2014-04-08 Thread Mandar Barve

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20117/
---

Review request for cloudstack and Alena Prokharchyk.


Repository: cloudstack-git


Description
---

Hi Alena,
I am attaching a pilot patch for the problem we are trying to solve. Please 
let me know your thoughts, comments, suggestions on the approach and code. We 
can make widespread code changes after agreeing on the approach and any other 
details.

Problem: When stripping sensitive parameters from the response log string, the 
strip logic should be generic. Current cleanString code strips few hardcoded 
keywords from the response string. 

Approach: As discussed in the context of CS JIRA 4406 I have modified 
@Parameter annotation applied to fields of command classes and @Param 
annotation applied to fields of response classes.

1. Annotations modified to add a new flag that conveys sensitivity of the 
parameter for log, default set to false.
2. cleanString utility function is modified to process an array of strings 
passed to it so it can strip all.
3. To keep this backward compatible (and also don't know the code change 
implications at other places at this time) made sure old cleanString code will 
continue to strip hardcoded keywords when zero sized filter array is passed. 
This can change if we think so and when we think so. This change I am putting 
is minimal focussed to solve current problem.
4. In ApiServer code where we are loading APICommand annotation to check if the 
command response carried sensitive data, additional code is added to load 
response class signature Param and SerializedName annotations to get the name 
of the field that is flagged to carry sensitive information
5. A list of such names is built and passed to cleanString to strip
6. All code areas that got affected by cleanString signature change are 
modified to pass zero sized filter arrays to cleanString
7. pom.xml is modified for server project to include gson dependency
8.StringUtil unit test code modified to use new signature for cleanString. (New 
tests will need to be added in the final patch for testing the new functions of 
cleanString)

On final note this addresses handling the audit logging of response strings 
alone. I haven't looked into audit logging of request strings and what will 
need to be done there.

This pilot patch is tested for listUsers command response. The code strips 
apikey, secretkey and additional parameter userid (only meant for testing) as 
they are tagged to be sensitive.

Thanks,
Mandar


Diffs
-

  api/src/com/cloud/serializer/Param.java 3e6f852 
  api/src/org/apache/cloudstack/api/Parameter.java 7ee6897 
  api/src/org/apache/cloudstack/api/command/user/vm/ResetVMPasswordCmd.java 
d15ea47 
  api/src/org/apache/cloudstack/api/response/UserResponse.java 40e1561 
  core/src/com/cloud/agent/transport/Request.java b5890d9 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
 12fc39d 
  
plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackImageStoreLifeCycleImpl.java
 7675e94 
  server/pom.xml 6e60fc4 
  server/src/com/cloud/api/ApiServer.java 42ac8b7 
  server/src/com/cloud/api/ApiServlet.java e78bf38 
  server/src/com/cloud/api/query/dao/ImageStoreJoinDaoImpl.java f1f873c 
  server/src/com/cloud/api/query/dao/StoragePoolJoinDaoImpl.java 1d89b19 
  utils/src/com/cloud/utils/StringUtils.java 1600488 
  utils/test/com/cloud/utils/StringUtilsTest.java 5a90300 

Diff: https://reviews.apache.org/r/20117/diff/


Testing
---

Tested the strip logic in the pilot patch for listUsers command response.


Thanks,

Mandar Barve



Re: Review Request 19907: CLOUDSTACK-6325 : fixed cleaning of bin and obj directories when building hyper-v agent with mono

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19907/#review39766
---


Commit d042a8183760d85b0f05432267bef4a8b5e2e2d0 in cloudstack's branch 
refs/heads/4.3-forward from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d042a81 ]

CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when 
building with mono, they were not cleaning up and resulting in use of stale 
dlls in some cases


- ASF Subversion and Git Services


On April 2, 2014, 8:45 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19907/
 ---
 
 (Updated April 2, 2014, 8:45 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6325
 https://issues.apache.org/jira/browse/CLOUDSTACK-6325
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
   Fixed cleaning of bin and obj directories when building hyper-v agent with 
 mono ,they were not cleaning up and resulting  in use of stale dlls in some 
 cases.
 
   Building with mono may fail if visual studio is open.
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentShell.csproj 
 a4c6b1f 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
  a2dc323 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
  eec595e 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
  b4bf04b 
 
 Diff: https://reviews.apache.org/r/19907/diff/
 
 
 Testing
 ---
 
 tested by building with mono and verifying each dll is getting generated all 
 the time. It is building fine with visual studio also.
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: Review Request 19913: CLOUDSTACK-6326 : Fixed password visible in plain text in some of commands in Hyper-v Agent logs

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19913/#review39767
---


Commit 53724bcbf51a1751bc0df9f0642eead2c28edb21 in cloudstack's branch 
refs/heads/4.3-forward from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53724bc ]

CLOUDSTACK-6326: Fixed password visible in plain text in some of commands
in Hyper-v Agent logs.

Signed-off-by: Devdeep Singh devd...@gmail.com


- ASF Subversion and Git Services


On April 3, 2014, 8:30 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19913/
 ---
 
 (Updated April 3, 2014, 8:30 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6326
 https://issues.apache.org/jira/browse/CLOUDSTACK-6326
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Fixed password visible in plain text in some of commands in Hyper-v Agent logs
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
  66b9828 
   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
 6ebc5bf 
 
 Diff: https://reviews.apache.org/r/19913/diff/
 
 
 Testing
 ---
 
 verified by seeing the logs for some commands
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: Review Request 19913: CLOUDSTACK-6326 : Fixed password visible in plain text in some of commands in Hyper-v Agent logs

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19913/#review39769
---


Commit 9bc19bc241a55f92bc423681b3457b4decca9863 in cloudstack's branch 
refs/heads/4.4 from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9bc19bc ]

CLOUDSTACK-6326: fixed password visible in plain text in some of commands in 
Hyper-v Agent logs


- ASF Subversion and Git Services


On April 3, 2014, 8:30 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19913/
 ---
 
 (Updated April 3, 2014, 8:30 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6326
 https://issues.apache.org/jira/browse/CLOUDSTACK-6326
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Fixed password visible in plain text in some of commands in Hyper-v Agent logs
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
  66b9828 
   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
 6ebc5bf 
 
 Diff: https://reviews.apache.org/r/19913/diff/
 
 
 Testing
 ---
 
 verified by seeing the logs for some commands
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: Review Request 19907: CLOUDSTACK-6325 : fixed cleaning of bin and obj directories when building hyper-v agent with mono

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19907/#review39768
---


Commit 3f84cc6c60cb7c5fd985b54932a708869c9f in cloudstack's branch 
refs/heads/4.4 from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3f84cc6 ]

CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when 
building with mono, they were not cleaning up and resulting in use of stale 
dlls in some cases


- ASF Subversion and Git Services


On April 2, 2014, 8:45 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19907/
 ---
 
 (Updated April 2, 2014, 8:45 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6325
 https://issues.apache.org/jira/browse/CLOUDSTACK-6325
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
   Fixed cleaning of bin and obj directories when building hyper-v agent with 
 mono ,they were not cleaning up and resulting  in use of stale dlls in some 
 cases.
 
   Building with mono may fail if visual studio is open.
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentShell.csproj 
 a4c6b1f 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
  a2dc323 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
  eec595e 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
  b4bf04b 
 
 Diff: https://reviews.apache.org/r/19907/diff/
 
 
 Testing
 ---
 
 tested by building with mono and verifying each dll is getting generated all 
 the time. It is building fine with visual studio also.
 
 
 Thanks,
 
 Anshul Gangwar
 




[ACS4.4][TestPlanReview]Configuring load balancing rules for VM nic secondary ips

2014-04-08 Thread Manasa Veloori (3P)
Hi ,

I have written test cases for the feature Configuring LB rules for VM NIC 
secondary IPs
Please review it and provide the comments.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/TestPlan+:Configuring+load+balancing+rules+for+VM+nic+secondary+ips

Thanks,
Manasa


RE: [ACS 4.4][QA] Windowsfication of management server

2014-04-08 Thread Damoder Reddy
Also we need to test the encryption part (Encryption in db as well as 
management properties)

Thanks  Regards
Damodar/

-Original Message-
From: Sailaja Mada [mailto:sailaja.m...@citrix.com] 
Sent: Tuesday, April 8, 2014 11:57 AM
To: dev@cloudstack.apache.org; alex.hitch...@shapeblue.com
Cc: Sailaja Mada; Sudha Ponnaganti
Subject: [ACS 4.4][QA] Windowsfication of management server

Hi Alex,

I have identified High Level Test Combinations in comparison with Linux 
installer and the details are :

1.  Installation of Management Server(MS) with VMware as we mount Secondary 
Storage on Management Server and other hypervisors validation 2.  DB and MS on 
the same Server 3.  DB , MS and Usage Server combinations 4.  Min 
Performance/Scalability  Requirements with Windows MS with 4.4 release . 
5.  Remote DB with Windows MS
6.  MS acting as Storage provider ( All In One combination) 
7.   Log files location and how easy to debug 
8.   Integration with Windows Events in case of MS failures ??
9.   Seeding system VM templates - New script for windows? 
10. MS Service Start , Stop ,Restart , Status 11. Supported Platforms Or 
Platforms to cover - Windows 2008 R2 and Windows 2K12 R2 64 bit 12.  DB - Mysql 
 , Java , Apache versions 13. Folder structure 14. Ports to be opened by 
default 15.  Multinode Management Test combination 16. Removal of MS , Usage 
Server  , Mysql 17. Dependency package verification 18. Cloudstack bridge 
folder structure 19.  Equivalent scripts for cloudstack-setup-management , 
cloudstack-sccs , cloudstack-aws-api-register , cloudstack-sysvmadm , 
cloudstack-setup-bridge etc.. . 

Can you please share the test combinations you would like to own among the 
above list and  Please add to the list if I missed out any. 

These are high level test combinations . I am yet to explore FS  to add/remove 
supported test scenarios. 

Thanks,
Sailaja.M


-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: 03 April 2014 16:11
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Sudha,

Have you distributed a list of items yet? I'm sorry if you have and I've missed 
it.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
Sent: 28 March 2014 15:00
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Let me send broader categories that can be shared, meanwhile if you have some 
preference, pl do post it.

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: Friday, March 28, 2014 7:49 AM
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Sudha,

Yes - that sounds like a good idea.

How do you think it best to draw up a to-do list or tasks?


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
Sent: 28 March 2014 14:47
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Alex,

Glad to hear that you are interested in validation aspects for this feature. We 
are also interested. Not to cover the same areas, can we share general broader 
categories for validation.

Thanks
/sudha

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: Friday, March 28, 2014 4:07 AM
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

I'm happy to help with documentation for this and doing testing, maybe some 
packaging. I can certainly host installers if they need to be separate.

I would guess it best to start with testing first and building up documentation 
from there? Perhaps this needs its own thread running now?


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers
Sent: 28 March 2014 09:41
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: Re: [PROPOSAL][Merge] Windowsfication of management server

Hey,

4.4 is in feature freeze, so no new features will be added. I think its fair to 
debate if this is a feature in that sense. It seems like minor changes and the 
addition of a few scripts, making it a simple change in my view. It would be 
great to be able to announce this, but for it to be part of a release i think 
we need a couple of other things to be done. The most prominent are, packaging, 
testing and documentation.


Re: Review Request 19913: CLOUDSTACK-6326 : Fixed password visible in plain text in some of commands in Hyper-v Agent logs

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19913/#review39770
---


Commit f40e8a835cd4561b08f36bbb7d52449140202cd0 in cloudstack's branch 
refs/heads/master from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f40e8a8 ]

CLOUDSTACK-6326: fixed password visible in plain text in some of commands in 
Hyper-v Agent logs


- ASF Subversion and Git Services


On April 3, 2014, 8:30 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19913/
 ---
 
 (Updated April 3, 2014, 8:30 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6326
 https://issues.apache.org/jira/browse/CLOUDSTACK-6326
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Fixed password visible in plain text in some of commands in Hyper-v Agent logs
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
  66b9828 
   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
 6ebc5bf 
 
 Diff: https://reviews.apache.org/r/19913/diff/
 
 
 Testing
 ---
 
 verified by seeing the logs for some commands
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: Review Request 19906: CLOUDSTACK-6289: fixed storage migration failing in case of hyper-v if there are multiple disks attached to VM

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19906/#review39772
---


Commit 1dfe4c19b5b1caa7edfdd28d0f76afff7ae7247b in cloudstack's branch 
refs/heads/master from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1dfe4c1 ]

CLOUDSTACK-6289: fixed storage migration failing in case of hyper-v if there 
are multiple disks attached to VM


- ASF Subversion and Git Services


On April 2, 2014, 8:35 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19906/
 ---
 
 (Updated April 2, 2014, 8:35 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6289
 https://issues.apache.org/jira/browse/CLOUDSTACK-6289
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 fixed storage migration failing in case of hyper-v if there are multiple 
 disks attached to VM. 
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
 ff8ab90 
 
 Diff: https://reviews.apache.org/r/19906/diff/
 
 
 Testing
 ---
 
 tested by doing migration of volume attached to VM which has multiple disks. 
 This test was successfull
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: Review Request 19907: CLOUDSTACK-6325 : fixed cleaning of bin and obj directories when building hyper-v agent with mono

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19907/#review39771
---


Commit e644ac165316b74885eba2629b5f8eb1a029481c in cloudstack's branch 
refs/heads/master from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e644ac1 ]

CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when 
building with mono, they were not cleaning up and resulting in use of stale 
dlls in some cases


- ASF Subversion and Git Services


On April 2, 2014, 8:45 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19907/
 ---
 
 (Updated April 2, 2014, 8:45 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6325
 https://issues.apache.org/jira/browse/CLOUDSTACK-6325
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
   Fixed cleaning of bin and obj directories when building hyper-v agent with 
 mono ,they were not cleaning up and resulting  in use of stale dlls in some 
 cases.
 
   Building with mono may fail if visual studio is open.
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentShell.csproj 
 a4c6b1f 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
  a2dc323 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
  eec595e 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
  b4bf04b 
 
 Diff: https://reviews.apache.org/r/19907/diff/
 
 
 Testing
 ---
 
 tested by building with mono and verifying each dll is getting generated all 
 the time. It is building fine with visual studio also.
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: Review Request 19906: CLOUDSTACK-6289: fixed storage migration failing in case of hyper-v if there are multiple disks attached to VM

2014-04-08 Thread Devdeep Singh

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19906/#review39773
---

Ship it!


Ship It!

- Devdeep Singh


On April 2, 2014, 8:35 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19906/
 ---
 
 (Updated April 2, 2014, 8:35 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6289
 https://issues.apache.org/jira/browse/CLOUDSTACK-6289
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 fixed storage migration failing in case of hyper-v if there are multiple 
 disks attached to VM. 
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
 ff8ab90 
 
 Diff: https://reviews.apache.org/r/19906/diff/
 
 
 Testing
 ---
 
 tested by doing migration of volume attached to VM which has multiple disks. 
 This test was successfull
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: Review Request 19875: Fixed few issues for CLOUDSTACK-5674, CLOUDSTACK-6316

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19875/#review39774
---


Commit 08b87c0409e0baff87b046542caea9adbd515d82 in cloudstack's branch 
refs/heads/marvin from SrikanteswaraRao Talluri
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=08b87c0 ]

CLOUDSTACK-6316: Fixed bvt failures


- ASF Subversion and Git Services


On April 1, 2014, 6:05 p.m., Santhosh Edukulla wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19875/
 ---
 
 (Updated April 1, 2014, 6:05 p.m.)
 
 
 Review request for cloudstack and SrikanteswaraRao Talluri.
 
 
 Bugs: CLOUDSTACK-5674 and CLOUDSTACK-6316
 https://issues.apache.org/jira/browse/CLOUDSTACK-5674
 https://issues.apache.org/jira/browse/CLOUDSTACK-6316
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 While running tests, there were few issues observed. 
 Fixed those issues mentioned for CLOUDSTACK-5674,CLOUDSTACK-6316
 
 
 Diffs
 -
 
   test/integration/smoke/test_deploy_vm_with_userdata.py c1410fb 
   test/integration/smoke/test_iso.py b3c3181 
   test/integration/smoke/test_public_ip_range.py 50b0c9b 
   test/integration/smoke/test_templates.py b25359b 
   test/integration/smoke/test_vm_snapshots.py 4317d4d 
   tools/marvin/marvin/lib/base.py a2f9a8b 
   tools/marvin/marvin/lib/common.py 71fc274 
 
 Diff: https://reviews.apache.org/r/19875/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Santhosh Edukulla
 




RE: [ACS 4.4][QA] Windowsfication of management server

2014-04-08 Thread Sailaja Mada
Thanks Damodar. I will include it in the list. 

Regards,
Sailaja.M

-Original Message-
From: Damoder Reddy 
Sent: 08 April 2014 14:50
To: dev@cloudstack.apache.org; alex.hitch...@shapeblue.com
Cc: Sailaja Mada; Sudha Ponnaganti
Subject: RE: [ACS 4.4][QA] Windowsfication of management server

Also we need to test the encryption part (Encryption in db as well as 
management properties)

Thanks  Regards
Damodar/

-Original Message-
From: Sailaja Mada [mailto:sailaja.m...@citrix.com]
Sent: Tuesday, April 8, 2014 11:57 AM
To: dev@cloudstack.apache.org; alex.hitch...@shapeblue.com
Cc: Sailaja Mada; Sudha Ponnaganti
Subject: [ACS 4.4][QA] Windowsfication of management server

Hi Alex,

I have identified High Level Test Combinations in comparison with Linux 
installer and the details are :

1.  Installation of Management Server(MS) with VMware as we mount Secondary 
Storage on Management Server and other hypervisors validation 2.  DB and MS on 
the same Server 3.  DB , MS and Usage Server combinations 4.  Min 
Performance/Scalability  Requirements with Windows MS with 4.4 release . 
5.  Remote DB with Windows MS
6.  MS acting as Storage provider ( All In One combination) 
7.   Log files location and how easy to debug 
8.   Integration with Windows Events in case of MS failures ??
9.   Seeding system VM templates - New script for windows? 
10. MS Service Start , Stop ,Restart , Status 11. Supported Platforms Or 
Platforms to cover - Windows 2008 R2 and Windows 2K12 R2 64 bit 12.  DB - Mysql 
 , Java , Apache versions 13. Folder structure 14. Ports to be opened by 
default 15.  Multinode Management Test combination 16. Removal of MS , Usage 
Server  , Mysql 17. Dependency package verification 18. Cloudstack bridge 
folder structure 19.  Equivalent scripts for cloudstack-setup-management , 
cloudstack-sccs , cloudstack-aws-api-register , cloudstack-sysvmadm , 
cloudstack-setup-bridge etc.. . 

Can you please share the test combinations you would like to own among the 
above list and  Please add to the list if I missed out any. 

These are high level test combinations . I am yet to explore FS  to add/remove 
supported test scenarios. 

Thanks,
Sailaja.M


-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: 03 April 2014 16:11
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Sudha,

Have you distributed a list of items yet? I'm sorry if you have and I've missed 
it.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
Sent: 28 March 2014 15:00
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Let me send broader categories that can be shared, meanwhile if you have some 
preference, pl do post it.

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: Friday, March 28, 2014 7:49 AM
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Sudha,

Yes - that sounds like a good idea.

How do you think it best to draw up a to-do list or tasks?


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
Sent: 28 March 2014 14:47
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

Alex,

Glad to hear that you are interested in validation aspects for this feature. We 
are also interested. Not to cover the same areas, can we share general broader 
categories for validation.

Thanks
/sudha

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: Friday, March 28, 2014 4:07 AM
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: RE: [PROPOSAL][Merge] Windowsfication of management server

I'm happy to help with documentation for this and doing testing, maybe some 
packaging. I can certainly host installers if they need to be separate.

I would guess it best to start with testing first and building up documentation 
from there? Perhaps this needs its own thread running now?


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers
Sent: 28 March 2014 09:41
To: dev@cloudstack.apache.org
Cc: Daan Hoogland; Donal Lafferty
Subject: Re: [PROPOSAL][Merge] Windowsfication of management server

Hey,

4.4 is in feature freeze, so no new features will be added. I think its fair to 
debate if this is a feature in that sense. It 

Re: Review Request 19608: CLOUDSTACK-6282 - Added new automated testcases

2014-04-08 Thread Santhosh Edukulla

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19608/#review39775
---



test/integration/component/test_escalations.py
https://reviews.apache.org/r/19608/#comment72375

What if list_disk_offerings is None?



test/integration/component/test_escalations.py
https://reviews.apache.org/r/19608/#comment72376

We can move all tabs to spaces wherever applicable?



test/integration/component/test_escalations.py
https://reviews.apache.org/r/19608/#comment72374

Step10 is missing.


- Santhosh Edukulla


On April 8, 2014, 8 a.m., Vinay Varma wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19608/
 ---
 
 (Updated April 8, 2014, 8 a.m.)
 
 
 Review request for cloudstack and Santhosh Edukulla.
 
 
 Bugs: CLOUDSTACK-6282
 https://issues.apache.org/jira/browse/CLOUDSTACK-6282
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Adding below new Test cases for test_escalations.py 
 
 test_01_list_volumes_pagination 
 test_02_list_volume_byid 
 test_03_data_volume_resize 
 test_04_custom_volume 
 test_05_volume_snapshot 
 test_06_volume_snapshot_policy 
 test_07_volume_snapshots_pagination 
 test_08_volume_extract 
 test_09_volume_upload
 
 
 Diffs
 -
 
   test/integration/component/test_escalations.py PRE-CREATION 
   tools/marvin/marvin/config/test_data.py 55e90d4 
   tools/marvin/marvin/lib/base.py 589c694 
 
 Diff: https://reviews.apache.org/r/19608/diff/
 
 
 Testing
 ---
 
 @summary: Test List Volumes pagination ... ok
 @summary: Test List Volumes with Id ... ok
 @summary: Test to verify creation and resize of data volume ... ok
 @summary: Test to verify creation and resize of custom volume ... ok
 @summary: Test to verify creation of snapshot from volume and creation of 
 template, volume from snapshot ... ok
 @summary: Test to verify creation of Hourly, Daily, Weekly, Monthly Snapshot 
 policies from volume ... ok
 @summary: Test to verify pagination of snapshots for Volume ... ok
 @summary: Test to verify extract/download a Volume ... ok
 @summary: Test to verify upload volume ... ok
 
 --
 Ran 9 tests in 299.663s
 
 OK
 
 
 File Attachments
 
 
 latest log file
   
 https://reviews.apache.org/media/uploaded/files/2014/04/08/e9b4eef4-9619-4a15-a18a-36e7268fa537__results.txt
 
 
 Thanks,
 
 Vinay Varma
 




Re: [ACS4.4][TestPlanReview]Configuring load balancing rules for VM nic secondary ips

2014-04-08 Thread Jayapal Reddy Uradi
Hi Manasa,

Here are few comments.

1. In API for vmidipmap pass the values as below.
 vmidipmap[0].vmid=vmid , vmidipmap[0].vmip=vmprimary/secondaryip

2. when you pass the virtualmachineids and vmidipmap then vm primary ip and 
secondary
assigned to lb rule.
3.Add test cases to check the existing behaviour is not disturbed by this 
feature.
4.In verification please add steps to verify the functionality using traffic.
5.Add test case to check impact on internal load balancing, auto scale load 
balancer etc.

Thanks,
Jayapal

On 08-Apr-2014, at 2:33 PM, Manasa Veloori (3P) 
manasa.velo...@citrix.commailto:manasa.velo...@citrix.com
 wrote:

Hi ,

I have written test cases for the feature “Configuring LB rules for VM NIC 
secondary IPs”
Please review it and provide the comments.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/TestPlan+:Configuring+load+balancing+rules+for+VM+nic+secondary+ips

Thanks,
Manasa



Re: Review Request 19906: CLOUDSTACK-6289: fixed storage migration failing in case of hyper-v if there are multiple disks attached to VM

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19906/#review39776
---


Commit 6dacfa9efd46ddfa63e944401596c72125c6ec0f in cloudstack's branch 
refs/heads/4.4 from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6dacfa9 ]

CLOUDSTACK-6289: fixed storage migration failing in case of hyper-v if there 
are multiple disks attached to VM


- ASF Subversion and Git Services


On April 2, 2014, 8:35 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19906/
 ---
 
 (Updated April 2, 2014, 8:35 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6289
 https://issues.apache.org/jira/browse/CLOUDSTACK-6289
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 fixed storage migration failing in case of hyper-v if there are multiple 
 disks attached to VM. 
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
 ff8ab90 
 
 Diff: https://reviews.apache.org/r/19906/diff/
 
 
 Testing
 ---
 
 tested by doing migration of volume attached to VM which has multiple disks. 
 This test was successfull
 
 
 Thanks,
 
 Anshul Gangwar
 




RE: [Announce] New Committer: Lucian Paul (Nux)

2014-04-08 Thread Sanjay Tripathi
Congratulations Nux!

--Sanjay

-Original Message-
From: Giles Sirett [mailto:giles.sir...@shapeblue.com] 
Sent: Tuesday, April 8, 2014 1:02 AM
To: dev@cloudstack.apache.org
Subject: [Announce] New Committer: Lucian Paul (Nux)

The Project Management Committee (PMC) for Apache CloudStack has asked Lucian 
Paul (Nux)  to become a committer and we are pleased to announce that he has 
accepted.

Being a committer allows many contributors to contribute more autonomously. For 
developers, it makes it easier to submit changes and eliminates the need to 
have contributions reviewed via the patch submission process. Whether 
contributions are development-related or otherwise, it is a recognition of a 
contributor's participation in the project and commitment to the project and 
the Apache Way.

Please join me in congratulating Nux!


Giles,
on behalf of the Apache CloudStack PMC


giles.sir...@shapeblue.commailto:giles.sir...@shapeblue.com | 
www.shapeblue.comhttp://www.shapeblue.com/ | 
Twitter:@shapeBluehttps://twitter.com/#!/shapeblue


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: Review Request 19608: CLOUDSTACK-6282 - Added new automated testcases

2014-04-08 Thread Vinay Varma

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19608/
---

(Updated April 8, 2014, 10:34 a.m.)


Review request for cloudstack and Santhosh Edukulla.


Changes
---

Incorporated all the review comments and Uploaded latest patch. Please review 
the same


Bugs: CLOUDSTACK-6282
https://issues.apache.org/jira/browse/CLOUDSTACK-6282


Repository: cloudstack-git


Description
---

Adding below new Test cases for test_escalations.py 

test_01_list_volumes_pagination 
test_02_list_volume_byid 
test_03_data_volume_resize 
test_04_custom_volume 
test_05_volume_snapshot 
test_06_volume_snapshot_policy 
test_07_volume_snapshots_pagination 
test_08_volume_extract 
test_09_volume_upload


Diffs (updated)
-

  test/integration/component/test_escalations.py PRE-CREATION 
  tools/marvin/marvin/config/test_data.py 55e90d4 
  tools/marvin/marvin/lib/base.py 589c694 

Diff: https://reviews.apache.org/r/19608/diff/


Testing
---

@summary: Test List Volumes pagination ... ok
@summary: Test List Volumes with Id ... ok
@summary: Test to verify creation and resize of data volume ... ok
@summary: Test to verify creation and resize of custom volume ... ok
@summary: Test to verify creation of snapshot from volume and creation of 
template, volume from snapshot ... ok
@summary: Test to verify creation of Hourly, Daily, Weekly, Monthly Snapshot 
policies from volume ... ok
@summary: Test to verify pagination of snapshots for Volume ... ok
@summary: Test to verify extract/download a Volume ... ok
@summary: Test to verify upload volume ... ok

--
Ran 9 tests in 299.663s

OK


File Attachments


latest log file
  
https://reviews.apache.org/media/uploaded/files/2014/04/08/e9b4eef4-9619-4a15-a18a-36e7268fa537__results.txt


Thanks,

Vinay Varma



Re: Review Request 19608: CLOUDSTACK-6282 - Added new automated testcases

2014-04-08 Thread Santhosh Edukulla

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19608/#review39777
---

Ship it!


Ship It!

- Santhosh Edukulla


On April 8, 2014, 10:34 a.m., Vinay Varma wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19608/
 ---
 
 (Updated April 8, 2014, 10:34 a.m.)
 
 
 Review request for cloudstack and Santhosh Edukulla.
 
 
 Bugs: CLOUDSTACK-6282
 https://issues.apache.org/jira/browse/CLOUDSTACK-6282
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Adding below new Test cases for test_escalations.py 
 
 test_01_list_volumes_pagination 
 test_02_list_volume_byid 
 test_03_data_volume_resize 
 test_04_custom_volume 
 test_05_volume_snapshot 
 test_06_volume_snapshot_policy 
 test_07_volume_snapshots_pagination 
 test_08_volume_extract 
 test_09_volume_upload
 
 
 Diffs
 -
 
   test/integration/component/test_escalations.py PRE-CREATION 
   tools/marvin/marvin/config/test_data.py 55e90d4 
   tools/marvin/marvin/lib/base.py 589c694 
 
 Diff: https://reviews.apache.org/r/19608/diff/
 
 
 Testing
 ---
 
 @summary: Test List Volumes pagination ... ok
 @summary: Test List Volumes with Id ... ok
 @summary: Test to verify creation and resize of data volume ... ok
 @summary: Test to verify creation and resize of custom volume ... ok
 @summary: Test to verify creation of snapshot from volume and creation of 
 template, volume from snapshot ... ok
 @summary: Test to verify creation of Hourly, Daily, Weekly, Monthly Snapshot 
 policies from volume ... ok
 @summary: Test to verify pagination of snapshots for Volume ... ok
 @summary: Test to verify extract/download a Volume ... ok
 @summary: Test to verify upload volume ... ok
 
 --
 Ran 9 tests in 299.663s
 
 OK
 
 
 File Attachments
 
 
 latest log file
   
 https://reviews.apache.org/media/uploaded/files/2014/04/08/e9b4eef4-9619-4a15-a18a-36e7268fa537__results.txt
 
 
 Thanks,
 
 Vinay Varma
 




Changing Template Ownership

2014-04-08 Thread Donal Lafferty
The FS for changing ownership suggests it works with templates (see 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Change+account+membership).

In that case, what is the template equivalent of 
https://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/assignVirtualMachine.html
 ?

DL



Re: Review Request 19875: Fixed few issues for CLOUDSTACK-5674, CLOUDSTACK-6316

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19875/#review39778
---


Commit 818d4a6d9d730a57328d202baeed9f9a38e80667 in cloudstack's branch 
refs/heads/marvin from SrikanteswaraRao Talluri
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=818d4a6 ]

CLOUDSTACK-6316: Fixed component and smoke test failures for wrong references


- ASF Subversion and Git Services


On April 1, 2014, 6:05 p.m., Santhosh Edukulla wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19875/
 ---
 
 (Updated April 1, 2014, 6:05 p.m.)
 
 
 Review request for cloudstack and SrikanteswaraRao Talluri.
 
 
 Bugs: CLOUDSTACK-5674 and CLOUDSTACK-6316
 https://issues.apache.org/jira/browse/CLOUDSTACK-5674
 https://issues.apache.org/jira/browse/CLOUDSTACK-6316
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 While running tests, there were few issues observed. 
 Fixed those issues mentioned for CLOUDSTACK-5674,CLOUDSTACK-6316
 
 
 Diffs
 -
 
   test/integration/smoke/test_deploy_vm_with_userdata.py c1410fb 
   test/integration/smoke/test_iso.py b3c3181 
   test/integration/smoke/test_public_ip_range.py 50b0c9b 
   test/integration/smoke/test_templates.py b25359b 
   test/integration/smoke/test_vm_snapshots.py 4317d4d 
   tools/marvin/marvin/lib/base.py a2f9a8b 
   tools/marvin/marvin/lib/common.py 71fc274 
 
 Diff: https://reviews.apache.org/r/19875/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Santhosh Edukulla
 




Re: Review Request 19913: CLOUDSTACK-6326 : Fixed password visible in plain text in some of commands in Hyper-v Agent logs

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19913/#review39784
---


Commit f40e8a835cd4561b08f36bbb7d52449140202cd0 in cloudstack's branch 
refs/heads/marvin from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f40e8a8 ]

CLOUDSTACK-6326: fixed password visible in plain text in some of commands in 
Hyper-v Agent logs


- ASF Subversion and Git Services


On April 3, 2014, 8:30 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19913/
 ---
 
 (Updated April 3, 2014, 8:30 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6326
 https://issues.apache.org/jira/browse/CLOUDSTACK-6326
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Fixed password visible in plain text in some of commands in Hyper-v Agent logs
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
  66b9828 
   plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/Utils.cs 
 6ebc5bf 
 
 Diff: https://reviews.apache.org/r/19913/diff/
 
 
 Testing
 ---
 
 verified by seeing the logs for some commands
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: Review Request 19907: CLOUDSTACK-6325 : fixed cleaning of bin and obj directories when building hyper-v agent with mono

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19907/#review39785
---


Commit e644ac165316b74885eba2629b5f8eb1a029481c in cloudstack's branch 
refs/heads/marvin from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e644ac1 ]

CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when 
building with mono, they were not cleaning up and resulting in use of stale 
dlls in some cases


- ASF Subversion and Git Services


On April 2, 2014, 8:45 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19907/
 ---
 
 (Updated April 2, 2014, 8:45 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6325
 https://issues.apache.org/jira/browse/CLOUDSTACK-6325
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
   Fixed cleaning of bin and obj directories when building hyper-v agent with 
 mono ,they were not cleaning up and resulting  in use of stale dlls in some 
 cases.
 
   Building with mono may fail if visual studio is open.
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentShell.csproj 
 a4c6b1f 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
  a2dc323 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
  eec595e 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
  b4bf04b 
 
 Diff: https://reviews.apache.org/r/19907/diff/
 
 
 Testing
 ---
 
 tested by building with mono and verifying each dll is getting generated all 
 the time. It is building fine with visual studio also.
 
 
 Thanks,
 
 Anshul Gangwar
 




RE: Problem with VMware CloudStack SSVM Agent

2014-04-08 Thread Soheil Eizadi
Yes it is Java 6 running on SSVM, is there a newer version of systemvm template 
I should load?

It might be a second order effect, but the SSVM runs out of disk space (100%) 
and when I reboot it whatever is consuming disk space (maybe Java?) is cleared 
to 50%.
-Soheil

root@s-22-VM:~# java -version
Java HotSpot(TM) Client VM warning: Insufficient space for shared memory file:
   /tmp/hsperfdata_root/29147
Try using the -Djava.io.tmpdir= option to select an alternate temp location.

java version 1.6.0_26
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode)
root@s-22-VM:~# df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda1  2015820   2015820 0 100% /
tmpfs   256216 0256216   0% /lib/init/rw
udev25167664251612   1% /dev
tmpfs   256216 0256216   0% /dev/shm


From: Erik Weber [terbol...@gmail.com]
Sent: Monday, April 07, 2014 11:44 PM
To: dev
Subject: Re: Problem with VMware CloudStack SSVM Agent

Could you check wich java version it has installed?
From the error message I'd interpret it as it's trying to run java7 code on
java6 jre.

--
Erik Weber


On Tue, Apr 8, 2014 at 1:39 AM, Soheil Eizadi seiz...@infoblox.com wrote:

 I am trying to bring up CloudStack 4.4 on vSphere 5.1, I cannot get the
 Agent to run on SSVM, here is the error:

  =templateProcessor mtu=1500 eth2ip=10.48.15.100
 eth2mask=255.255.255.0 gateway=10.48.15.1 public.network.device=eth2
 eth0mask=0.0.0.0 eth0ip=0.0.0.0 eth1ip=10.48.15.49 eth1mask=255.255.255.0
 mgmtcidr=10.48.15.0/24 localgw=10.48.15.1 private.network.device=eth1
 eth3ip=10.48.15.33 eth3mask=255.255.255.0 storageip=10.48.15.33
 storagenetmask=255.255.255.0 storagegateway=10.48.15.1
 internaldns1=10.48.2.11 internaldns2= dns1=10.48.2.11 dns2=

 Exception in thread main java.lang.UnsupportedClassVersionError:
 com/cloud/agent/AgentShell : Unsupported major.minor version 51.0

 at java.lang.ClassLoader.defineClass1(Native Method)

 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

 at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

 at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

 at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

 at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

 Could not find the main class: com.cloud.agent.AgentShell.  Program will
 exit.



 Here is the SSVM diags:

 root@s-22-VM:/var/log/cloud# /usr/local/cloud/systemvm/ssvm-check.sh

 

 First DNS server is  10.48.2.11

 PING 10.48.2.11 (10.48.2.11): 56 data bytes

 64 bytes from 10.48.2.11: icmp_seq=0 ttl=63 time=1.423 ms

 64 bytes from 10.48.2.11: icmp_seq=1 ttl=63 time=0.338 ms

 --- 10.48.2.11 ping statistics ---

 2 packets transmitted, 2 packets received, 0% packet loss

 round-trip min/avg/max/stddev = 0.338/0.881/1.423/0.543 ms

 Good: Can ping DNS server

 

 Good: DNS resolves download.cloud.com

 

 ERROR: NFS is not currently mounted

 Try manually mounting from inside the VM

 NFS server is  eth2

 ping: unknown host

 WARNING: cannot ping nfs server

 routing table follows

 Kernel IP routing table

 Destination Gateway Genmask Flags Metric RefUse
 Iface

 10.48.15.0  0.0.0.0 255.255.255.0   U 0  00
 eth1

 10.48.15.0  0.0.0.0 255.255.255.0   U 0  00
 eth2

 10.48.15.0  0.0.0.0 255.255.255.0   U 0  00
 eth3

 0.0.0.0 10.48.15.1  0.0.0.0 UG0  00
 eth2

 

 Management server is 10.48.15.10. Checking connectivity.

 Good: Can connect to management server port 8250

 

 ERROR: Java process not running.  Try restarting the SSVM.



Re: Review Request 19686: Implementation of the issue CLOUDSTACK 6139 - System.vm.use.local.storage global setting to zone setting

2014-04-08 Thread Daan Hoogland
What is the default behavior? Will the property be filled with true for all
zones on upgrade? Unsuspecting users should have their zones be working,
thats why I ask.


On Tue, Apr 8, 2014 at 6:33 AM, Wilder Rodrigues 
wrodrig...@schubergphilis.com wrote:

This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19686/
   Review request for cloudstack, daan Hoogland and Hugo Trippaers.
 By Wilder Rodrigues.

 *Updated April 8, 2014, 12:33 p.m.*
 Changes

 Updating the diff in order to add the comments suggested by Daan. Also have 
 added a short diff, containing only the changes. So, the whole formatting 
 changes have been removed.

   *Bugs: * 
 CLOUDSTACK-6139https://issues.apache.org/jira/browse/CLOUDSTACK-6139
  *Repository: * cloudstack-git
 Description

 I changed the following code in order to accomplish what is expected by the 
 issue:

 Config enum:

 SystemVMUseLocalStorage(
 Advanced,
 ManagementServer.class,
 Boolean.class,
 system.vm.use.local.storage,
 false,
 Indicates whether to use local storage pools or shared storage 
 pools for system VMs.,
 null, ConfigKey.Scope.Zone.toString()),

 DeploymentPlanningManagerImpl:


 * I injected the DataCenterDao in order to check if the Zone uses 
 local storage

  String ssvmUseLocalStorage = 
 _configDao.getValue(Config.SystemVMUseLocalStorage.key());
  DataCenterVO zone = _zoneDao.findById(plan.getDataCenterId());
  boolean zoneUsesLocalStorage = zone.isLocalStorageEnabled();

  if (ssvmUseLocalStorage.equalsIgnoreCase(true)  
 zoneUsesLocalStorage) {
 useLocalStorage = true;
  }


   Testing

 I have tested those changes running multiple zones (2 with local storage and 
 1 without). Instances, networks, and all the rest are working fine. I ran the 
 tests against 3 hosts running XenServer, where one of them has an extra disk 
 which is used as NFS primary storage. From the 2 instances using local 
 storage, one was created with Cloudtack 4.3 RC (9th round). In order to make 
 it clear, below the steps I followed to test it:

 Global settings: system.vm.use.local.storage == true


 1.  Deploy Cloudstack 4.3.0 RC (9th round)

 2.  Create a zone (local storage enabled)

 a.   Create an instance and network

 3.  Test firewalling and port forwarding

 4.  Upgrade Cloudstack 4.3.0 RC (9th round) to Cloudstack 4.5.0-SNAPSHOT

 5.  Test firewalling and port forwarding

 6.  Create a zone (local storage enabled)

 a.   Create an instance and network

 7.  Create a zone (local storage disabled) + NFS primary storage

 a.   Create an instance and network

 8.  Test firewalling and port forwarding

 With the steps above, I was able to set up the whole environment and make 
 sure the VMs were running properly and ACL/Port-Forwarding were also working 
 as expected.

 Global settings: system.vm.use.local.storage == false


 1.  Deploy Cloudstack 4.3.0 RC (9th round)

 2.  Create a zone (local storage disabled) + NFS primary storage

 a.   Create an instance and network

 3.  Test firewalling and port forwarding

 4.  Upgrade Cloudstack 4.3.0 RC (9th round) to Cloudstack 4.5.0-SNAPSHOT

 5.  Test firewalling and port forwarding

 6.  Set system.vm.use.local.storage to true

 7.  Create a zone (local storage enabled)

 a.   Create an instance and network

 8.  Create a zone (local storage enabled)

 a.   Create an instance and network

 9.  Create new instance under the Zone which does not use local storage

 10.  Test firewalling and port forwarding

 Again, everything worked as expected.

 With the steps provided above, I can make sure that resources created with 
 version prior to master (4.5.0-SNAPSHOT) won't have problems when performing 
 an update.

   Diffs (updated)

- server/src/com/cloud/configuration/Config.java (af1f062)
- server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
(fc7c300)

 View Diff https://reviews.apache.org/r/19686/diff/




-- 
Daan


Review Request 20123: Fix for cloudstack-6328 to Prevent console proxy support scripts from spawning multiple java processes

2014-04-08 Thread Saurav Lahiri

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20123/
---

Review request for cloudstack, Rajani Karuturi and Rajesh Battala.


Repository: cloudstack-git


Description
---

With multiple java processes writing to the same logfile, each is not aware of 
the log4j's internal counter state, this needs to be prevented. So before 
starting new java process via the _run.sh , a check is made to ensure that 
there are no existing java processes running. This will prevent multiple java 
process writing to the same log file namely cloud.out. 


Diffs
-

  systemvm/patches/debian/config/etc/init.d/cloud 83853bc 
  systemvm/scripts/run.sh 146d96f 
  systemvm/scripts/utils.sh PRE-CREATION 

Diff: https://reviews.apache.org/r/20123/diff/


Testing
---

Tested the changes with console proxy vm and secondary storage vm. They start 
and stop as expected.


Thanks,

Saurav Lahiri



[EVENTS] CloudStack Collaboration Conference Europe, Budapest Nov 19-21

2014-04-08 Thread Sebastien Goasguen
Hi folks,

While some of us are in Denver for CloudStack collaboration conference, I 
wanted to announce the next conference in Europe.

CCC will be in Budapest on November 19-21.

Mark your calendars and plan on joining for another exciting event,

Cheers,

-Sebastien

Re: OpenSSL vunerability (bleedheart)

2014-04-08 Thread Nux!

On 08.04.2014 16:12, Paul Angus wrote:

A vulnerability has been found in OpenSSL

http://www.bit-tech.net/news/bits/2014/04/08/openssl-heartbleed/1


If you want to test a site for it try http://filippo.io/Heartbleed/ (if 
it's not loaded already)


There are already updates available where required, don't forget to 
restart the daemons that depend on SSL (lsof -n | grep ssl) after 
applying them.


OpenSSL opens your SSL

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: [EVENTS] CloudStack Collaboration Conference Europe, Budapest Nov 19-21

2014-04-08 Thread Erik Weber
Will it be in connection with another conference like apachecon?

Erik Weber
8. apr. 2014 18:03 skrev Sebastien Goasguen sebastien.goasg...@citrix.com
følgende:

 Hi folks,

 While some of us are in Denver for CloudStack collaboration conference, I
 wanted to announce the next conference in Europe.

 CCC will be in Budapest on November 19-21.

 Mark your calendars and plan on joining for another exciting event,

 Cheers,

 -Sebastien


Re: [EVENTS] CloudStack Collaboration Conference Europe, Budapest Nov 19-21

2014-04-08 Thread Sebastien Goasguen

On Apr 8, 2014, at 12:16 PM, Erik Weber terbol...@gmail.com wrote:

 Will it be in connection with another conference like apache con?


yes, it will be collocated with ApacheCon

 

 Erik Weber
 8. apr. 2014 18:03 skrev Sebastien Goasguen sebastien.goasg...@citrix.com
 følgende:
 
 Hi folks,
 
 While some of us are in Denver for CloudStack collaboration conference, I
 wanted to announce the next conference in Europe.
 
 CCC will be in Budapest on November 19-21.
 
 Mark your calendars and plan on joining for another exciting event,
 
 Cheers,
 
 -Sebastien



RE: 4.3.0 vmware

2014-04-08 Thread Michael Phillips
I did just mvn install -Dnoredist
That should work correct? According to the output log it did.

 From: kelven.y...@citrix.com
 To: dev@cloudstack.apache.org
 Subject: Re: 4.3.0 vmware
 Date: Tue, 8 Apr 2014 16:43:37 +
 
 If you start from maven command line. you need to define noredist as well,
 as following example
 
 mvn -Dnoredist -pl client jetty:run
 
 Kelven
 
 On 4/8/14, 9:30 AM, Michael Phillips mphilli7...@hotmail.com wrote:
 
 All, has anything changed with the procedures to build the noredist code
 for 4.3.0?
 The reason I ask is because I just built from source using -Dnoredist and
 when trying to add a vmware datacenter I get the following error:
 Unknown API command: addVmwareDc‏
 In the past this error occurred if the source did not include the
 noredist code. I went back and built from source again to verify and the
 build success said Vmware Hypervisor Success..
 

 
  

Re: Remove Mgmt Server

2014-04-08 Thread Kelven Yang
Just by stopping the running management server would do it already. no
further action is mandatory, however, if you prefer a complete clean,
login into DB and remove the corresponding record in mshost table

Kelven

On 4/5/14, 10:32 AM, Michael Phillips mphilli7...@hotmail.com wrote:

Hey dev guys, what's the proper way to remove a management server from a
management server cluster?
I am referring to the actual management servers and not the
hypervisors  



Re: Whats new in 4.4

2014-04-08 Thread Nux!

On 08.04.2014 17:50, Hugo Trippaers wrote:

Heya,

I don’t know so you tell me ;-)

Seriously, i’m looking for input on what the new things are that we
added into 4.4. So if you have something that you think is worth
mentioning for the 4.4 release, reply to this thread. It can be a
completely new feature, but i’d be equally interested in fixed bugs or
refactoring. I’ll be combining this with the input from jira and
review board, but i would prefer to get this info directly from the
people that actually worked on the feature.

Cheers,

Hugo


ROOT resize!

Thanks to Marcus now we can have a custom root size on deploy (or we 
can resize it later), VMs are no longer constrained by template size.
This is for KVM only for now, but Mike said he was going to bring this 
to XenServer as well.




Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


RE: 4.3.0 vmware

2014-04-08 Thread Michael Phillips
So your referring to actually launching the cloudstack-management services?

 From: kelven.y...@citrix.com
 To: dev@cloudstack.apache.org
 Subject: Re: 4.3.0 vmware
 Date: Tue, 8 Apr 2014 17:00:44 +
 
 mvn install command only runs command to build and install the artifacts
 into maven repo.
 
 If you launch management server using maven, you need to -Dnoredist option
 as you do in build.
 
 Kelven
 
 On 4/8/14, 9:46 AM, Michael Phillips mphilli7...@hotmail.com wrote:
 
 I did just mvn install -Dnoredist
 That should work correct? According to the output log it did.
 
  From: kelven.y...@citrix.com
  To: dev@cloudstack.apache.org
  Subject: Re: 4.3.0 vmware
  Date: Tue, 8 Apr 2014 16:43:37 +
  
  If you start from maven command line. you need to define noredist as
 well,
  as following example
  
  mvn -Dnoredist -pl client jetty:run
  
  Kelven
  
  On 4/8/14, 9:30 AM, Michael Phillips mphilli7...@hotmail.com wrote:
  
  All, has anything changed with the procedures to build the noredist
 code
  for 4.3.0?
  The reason I ask is because I just built from source using -Dnoredist
 and
  when trying to add a vmware datacenter I get the following error:
  Unknown API command: addVmwareDc‏
  In the past this error occurred if the source did not include the
  noredist code. I went back and built from source again to verify and
 the
  build success said Vmware Hypervisor Success..
  
  
  

 
  

Re: [NOTIFICATION] Test/build infrastructure is down

2014-04-08 Thread Srikanteswararao Talluri
Test infra jenkins slave and rpmbuilder slave are up and available for
jobs now. 

On 07/04/14 4:23 pm, Srikanteswararao Talluri
srikanteswararao.tall...@citrix.com wrote:

There are network connectivity issues observed with the test
infrastructure and couple of build machines. I am looking into this.

Thanks,
~Talluri



Re: OpenSSL vunerability (bleedheart)

2014-04-08 Thread Marcus
 I haven't read up on the actual mechanism, but it basically tricks
the server process into adding 64k of random memory from its process
space into the TLS heartbeat payload. That means any documents shared
over an SSL app, credentials, session keys, and anything else the
process touches.

Update your mail server as well if it allows TLS connections (do the
command above to see if TLS server extension heartbeat is
supported). And openvpn if you run VPN servers.

On Tue, Apr 8, 2014 at 11:31 AM, Nux! n...@li.nux.ro wrote:
 On 08.04.2014 18:24, Marcus wrote:

 For anyone who doesn't know, this is nightmare. People on tech sites
 are scraping logins from each other and posting comments as other
 users just to show they can, it's pretty powerful to be able to grab
 random memory from a process using OpenSSL.


 How exactly does this happen? Do you know? For now I was just concerned
 someone would get my SSL key for my site and so on.


 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro


Re: Review Request 19608: CLOUDSTACK-6282 - Added new automated testcases

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19608/#review39805
---


Commit d0b6e01da0c3e7d25221f7e4e772fcb8b7544ac2 in cloudstack's branch 
refs/heads/marvin from unknown
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d0b6e01 ]

CLOUDSTACK-6282: Added-volume-API-tests-to-test_escalations.py.patch 
JiraId-CLOUDSTACK-6282.patch

Signed-off-by: SrikanteswaraRao Talluri tall...@apache.org


- ASF Subversion and Git Services


On April 8, 2014, 10:34 a.m., Vinay Varma wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19608/
 ---
 
 (Updated April 8, 2014, 10:34 a.m.)
 
 
 Review request for cloudstack and Santhosh Edukulla.
 
 
 Bugs: CLOUDSTACK-6282
 https://issues.apache.org/jira/browse/CLOUDSTACK-6282
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Adding below new Test cases for test_escalations.py 
 
 test_01_list_volumes_pagination 
 test_02_list_volume_byid 
 test_03_data_volume_resize 
 test_04_custom_volume 
 test_05_volume_snapshot 
 test_06_volume_snapshot_policy 
 test_07_volume_snapshots_pagination 
 test_08_volume_extract 
 test_09_volume_upload
 
 
 Diffs
 -
 
   test/integration/component/test_escalations.py PRE-CREATION 
   tools/marvin/marvin/config/test_data.py 55e90d4 
   tools/marvin/marvin/lib/base.py 589c694 
 
 Diff: https://reviews.apache.org/r/19608/diff/
 
 
 Testing
 ---
 
 @summary: Test List Volumes pagination ... ok
 @summary: Test List Volumes with Id ... ok
 @summary: Test to verify creation and resize of data volume ... ok
 @summary: Test to verify creation and resize of custom volume ... ok
 @summary: Test to verify creation of snapshot from volume and creation of 
 template, volume from snapshot ... ok
 @summary: Test to verify creation of Hourly, Daily, Weekly, Monthly Snapshot 
 policies from volume ... ok
 @summary: Test to verify pagination of snapshots for Volume ... ok
 @summary: Test to verify extract/download a Volume ... ok
 @summary: Test to verify upload volume ... ok
 
 --
 Ran 9 tests in 299.663s
 
 OK
 
 
 File Attachments
 
 
 latest log file
   
 https://reviews.apache.org/media/uploaded/files/2014/04/08/e9b4eef4-9619-4a15-a18a-36e7268fa537__results.txt
 
 
 Thanks,
 
 Vinay Varma
 




Re: Review Request 19608: CLOUDSTACK-6282 - Added new automated testcases

2014-04-08 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19608/#review39806
---


Commit d0b6e01da0c3e7d25221f7e4e772fcb8b7544ac2 in cloudstack's branch 
refs/heads/marvin from unknown
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d0b6e01 ]

CLOUDSTACK-6282: Added-volume-API-tests-to-test_escalations.py.patch 
JiraId-CLOUDSTACK-6282.patch

Signed-off-by: SrikanteswaraRao Talluri tall...@apache.org


- ASF Subversion and Git Services


On April 8, 2014, 10:34 a.m., Vinay Varma wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19608/
 ---
 
 (Updated April 8, 2014, 10:34 a.m.)
 
 
 Review request for cloudstack and Santhosh Edukulla.
 
 
 Bugs: CLOUDSTACK-6282
 https://issues.apache.org/jira/browse/CLOUDSTACK-6282
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Adding below new Test cases for test_escalations.py 
 
 test_01_list_volumes_pagination 
 test_02_list_volume_byid 
 test_03_data_volume_resize 
 test_04_custom_volume 
 test_05_volume_snapshot 
 test_06_volume_snapshot_policy 
 test_07_volume_snapshots_pagination 
 test_08_volume_extract 
 test_09_volume_upload
 
 
 Diffs
 -
 
   test/integration/component/test_escalations.py PRE-CREATION 
   tools/marvin/marvin/config/test_data.py 55e90d4 
   tools/marvin/marvin/lib/base.py 589c694 
 
 Diff: https://reviews.apache.org/r/19608/diff/
 
 
 Testing
 ---
 
 @summary: Test List Volumes pagination ... ok
 @summary: Test List Volumes with Id ... ok
 @summary: Test to verify creation and resize of data volume ... ok
 @summary: Test to verify creation and resize of custom volume ... ok
 @summary: Test to verify creation of snapshot from volume and creation of 
 template, volume from snapshot ... ok
 @summary: Test to verify creation of Hourly, Daily, Weekly, Monthly Snapshot 
 policies from volume ... ok
 @summary: Test to verify pagination of snapshots for Volume ... ok
 @summary: Test to verify extract/download a Volume ... ok
 @summary: Test to verify upload volume ... ok
 
 --
 Ran 9 tests in 299.663s
 
 OK
 
 
 File Attachments
 
 
 latest log file
   
 https://reviews.apache.org/media/uploaded/files/2014/04/08/e9b4eef4-9619-4a15-a18a-36e7268fa537__results.txt
 
 
 Thanks,
 
 Vinay Varma
 




Re: OpenSSL vunerability (bleedheart)

2014-04-08 Thread Nux!

On 08.04.2014 18:40, Marcus wrote:

I haven't read up on the actual mechanism, but it basically tricks
the server process into adding 64k of random memory from its process
space into the TLS heartbeat payload. That means any documents shared
over an SSL app, credentials, session keys, and anything else the
process touches.

Update your mail server as well if it allows TLS connections (do the
command above to see if TLS server extension heartbeat is
supported). And openvpn if you run VPN servers.


Yeah, good thinking about the VPN.

Also found this https://gist.github.com/takeshixx/10107280 for testing 
and it looks like it could actually retrieve sensitive data. Ugly..



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


RE: Maven style checker issue

2014-04-08 Thread Frank Zhang
Yeah I notice that.
Actually Intellj 13 has native support this. But it only format new file but 
not allow me to reformat existing files

 -Original Message-
 From: Rajani Karuturi [mailto:rajani.karut...@citrix.com]
 Sent: Monday, April 07, 2014 9:55 PM
 To: dev@cloudstack.apache.org
 Cc: cloudstack-...@incubator.apache.org
 Subject: Re: Maven style checker issue
 
 Hi Frank,
 
 Did you use the plugin mentioned in the wiki @
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Coding+conventions
 #Codingconventions-IntellijIdea
 
 I am using it and haven't seen any issues so far.
 
 
 ~Rajani
 
 
 
 On 08-Apr-2014, at 5:12 am, Frank Zhang
 frank.zh...@citrix.commailto:frank.zh...@citrix.com wrote:
 
 I struggled two days to fix my several tens of files for trailing space, tab, 
 unused
 imports... manually(vim + sed).
 Yes, manually because I am using Intellj the ApacheCloudStack formatter
 profile won't work for me, even though Intellj 13 claims supporting Eclipse
 formatter profile,  it doesn't work at all.
 I can understand most of rules except below:
 
 1. Using the '.*' form of import should be avoided
 
 This totally breaks Intellj and some J2SE library. Intellj will automatically 
 use a
 single .* to replace multiple separate imports if all imports are from the
 same package. And if you use JAXB which is J2SE XML standard library, you will
 see it puts javax.xml.bind.annotation.* on every generated java-xml binding.
 
 2.  Name 'SSHPublicKey' must match pattern '^[a-z][a-zA-Z0-9]*$'.  What's
 wrong in using SSH instead of Ssh?
 
 I don't know what standard these rules are based on, and I don't think there 
 is a
 world agreed standard in Java for code format.
 
 When we defined these rules, did we widely consider people not using Eclipse?
 Do we really think these rules make our code look better(to be honest, I don't
 know what's wrong with trailing space and tab, remember Java is not Python)?
 
 From my two days experience, it really makes developer's life hard
 
 
 
 



Re: Review Request 20099: Domain-Account-User Sync Up Among Multiple Regions (Core Changes)

2014-04-08 Thread Alex Ough
Yes, I really hope so from now on :-)

For #2, the current setting is NOT syncing the resources and these are the
steps to enable this feature
- Set the mode value of the remote regions to sync into 'sync on'
- Set the value of global parameter, region.full.scan.interval (the
default value is '0), into value of milliseconds to enable the Full Scan
Let me know if you want a different way.

For #1, after another thought, I'm not still clear why those datetime
values can't be added to their attributes. As you recommended, we can use
another table to track them, but there can be an issue of partial commits
when only the resource are successfully created/updated/removed and their
datetime values fail to be stored because they are NOT in the same
transaction.

And we also need to track the 'removed' datetime because when a resource
exists in only either the local or the remote region, we don't know whether
it was created but it failed to be created in another region or it was
removed but it failed to be removed in another region. That's why I track
the removed datetime and preserve the original datetime.

Let me think about the #1 more closely and let you know what I find.
So please let me know if you have any other suggestion related with this.
Thanks
Alex Ough


On Tue, Apr 8, 2014 at 2:09 PM, Alena Prokharchyk 
alena.prokharc...@citrix.com wrote:

  Sorry, Alex, for not providing the input earlier, I understand that
 requests like this shouldn't come the last minute. But unfortunately your
 FS didn't have enough information to caught these design problems - the
 fact that the GenericDaoFields modified/removed get modified directly -
 from the very start, and only by reviewing the review board ticket you
 could see it.  Hopefully the next time the experience will be more smooth
 for both parties. Meanwhile I'm ready to help with whatever questions you
 have.

  Yes, only 2 things need to be fixed. #2 should be pretty
 straightforward. Make sure your component injects the global config
 variable if you decide to make a switch via global config. For that, your
 class has to implement Configurable interface. You can find examples of how
 this interface is utilized by existing CS components.  Here is the FS:

  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Configuration

  For #1 - I don't think you need to keep track of Removed date times.
 Once the removed field is set in Region1, its safe to just go ahead and
 remove the entry in all the rest of the regions. You can't (and don't need
 to) perform any other operation on the resource if its removed in one of
 the regions.
 You just have to fix it in created/updated(modified) fields.

  -Alena.

   From: Alex Ough alex.o...@sungardas.com
 Date: Tuesday, April 8, 2014 at 10:39 AM
 To: Alena Prokharchyk alena.prokharc...@citrix.com
 Cc: dev@cloudstack.apache.org dev@cloudstack.apache.org, Alex Huang 
 alex.hu...@citrix.com

 Subject: Re: Review Request 20099: Domain-Account-User Sync Up Among
 Multiple Regions (Core Changes)

   Alena,

  It would be really nice if I had this feedback when I presented this at
 the beginning.
 Anyway, so are only these 2 things necessary to be merged into the master?

  1. find another way to store the created/updated/removed datetimes of
 the resources
 2. provide a way to disable this feature.

  Let me try to resolve those 2 and let you know once done,
 so please let me know now if there is anything else needed.

  Thanks
 Alex Ough


 On Tue, Apr 8, 2014 at 1:02 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:

  Alex, thank you for the explanation.  But I think there should be
 another way of saving all the updated/created info rather than updating
 the UserVO/AccountVO/DomainVO fields directly.

  The one way I can think of - you  can create a helper table where you
 store the ref UUID-Region-UpdatedTime stamps for all Local/Remote
 regions, and you update/compare those fields. Your component is a business
 logic component, and it shouldn't modify the fields originally set by
 GenericDao (Removed/Created/Modified). You should operate only with
 parameters that are exposed to changes coming through the APIs.

  -Alena.

   From: Alex Ough alex.o...@sungardas.com
 Date: Monday, April 7, 2014 at 9:16 PM
 To: dev@cloudstack.apache.org dev@cloudstack.apache.org, Alena
 Prokharchyk alena.prokharc...@citrix.com, Alex Huang 
 alex.hu...@citrix.com
 Subject: Re: Review Request 20099: Domain-Account-User Sync Up Among
 Multiple Regions (Core Changes)

   And all 4 of the recommendations Alex Hwang gave were already
 implemented to support the real time synchronization (#1),
 but like I said in the previous email, we need to support the full scan
 (#2) to cover any failures during the synchronization.

  Thanks
 Alex Ough



 On Tue, Apr 8, 2014 at 12:10 AM, Alex Ough alex.o...@sungardas.comwrote:

 Alena/Alex,

  I think I need to give some explanation how this works.

  There are 2 ways of sync.

  1. 

Re: Whats new in 4.4

2014-04-08 Thread Mike Tutkowski
Hi Hugo,

For the 4.4 release, I extended managed storage to support a 1:1 mapping
between a CloudStack root disk and a backend volume (in my case, a SAN
volume) when using XenServer.

This 1:1 mapping paves the way for enabling guaranteed QoS for root disks
(I have the same support in place already for data disks for XenServer,
VMware, and KVM).

I have code in already to support this on VMware; however, I'm currently
discovering VMware behavior that I didn't previously know existed (I've
been talking with Kelven about this). Based on the results on our
conversation, I'll know if it's a simple matter or not to patch up my
VMware logic to support a 1:1 root-disk mapping in 4.4, as well (otherwise
that will end up in 4.5). All of my VMware testing for this worked, but it
was conducted with storage code running inside of the CS MS. I was unaware
that this kind of storage-related code for VMware can also run inside of a
SSVM.

Thanks!
Mike


On Tue, Apr 8, 2014 at 11:18 AM, Hugo Trippaers h...@trippaers.nl wrote:

 Yes,

 It's going to be the input for the release notes. :-) I thought it would
 be nice to ask everyone what should be in there.

 Thanks for the input!

 Cheers,

 Hugo


 On 8 apr. 2014, at 11:16, Alena Prokharchyk alena.prokharc...@citrix.com
 wrote:

  Hugo, are you planning to post it online for the future reference once
 you
  get the information? That would be great.
 
  From my side, following was checked in to 4.4:
 
  CLOUDSTACK-5870: API support for retrieving user data
 
  deployVm/startVm APIs: ability to define deploymentPlanner for VmToStart
  in the api call (available to ROOT admin only)
 
 
  -Alena.
 
  On 4/8/14, 9:50 AM, Hugo Trippaers h...@trippaers.nl wrote:
 
  Heya,
 
  I don¹t know so you tell me ;-)
 
  Seriously, i¹m looking for input on what the new things are that we
 added
  into 4.4. So if you have something that you think is worth mentioning
 for
  the 4.4 release, reply to this thread. It can be a completely new
  feature, but i¹d be equally interested in fixed bugs or refactoring.
 I¹ll
  be combining this with the input from jira and review board, but i would
  prefer to get this info directly from the people that actually worked on
  the feature.
 
  Cheers,
 
  Hugo
 




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*


Re: Review Request 20099: Domain-Account-User Sync Up Among Multiple Regions (Core Changes)

2014-04-08 Thread Alena Prokharchyk


On 4/8/14, 11:26 AM, Alex Ough alex.o...@sungardas.com wrote:

Yes, I really hope so from now on :-)


For #2, the current setting is NOT syncing the resources and these are
the steps to enable this feature
- Set the mode value of the remote regions to sync into 'sync on'
- Set the value of global parameter, region.full.scan.interval (the
default value is '0), into value of milliseconds to enable the Full Scan
Let me know if you want a different way.


Sounds good to me. We have to document it though very clearly under ³how
to disable the feature² section. When you set the mode, you have to set it
for all the regions to completely disable the feature, right?



For #1, after another thought, I'm not still clear why those datetime
values can't be added to their attributes. As you recommended, we can use
another table to track them, but there can be an issue of partial commits
when only the resource are successfully
 created/updated/removed and their datetime values fail to be stored
because they are NOT in the same transaction.


And we also need to track the 'removed' datetime because when a resource
exists in only either the local or the remote region, we don't know
whether it was created but it failed to be created in another region or
it was removed but it failed to be removed
 in another region. That's why I track the removed datetime and
preserve the original datetime.

I¹m fine with keeping the removed field, as long as you don¹t update this
field in CS DB.




Let me think about the #1 more closely and let you know what I find.
So please let me know if you have any other suggestion related with this.
Thanks
Alex Ough



On Tue, Apr 8, 2014 at 2:09 PM, Alena Prokharchyk
alena.prokharc...@citrix.com wrote:

Sorry, Alex, for not providing the input earlier, I understand that
requests like this shouldn¹t come the last minute. But unfortunately your
FS didn¹t have enough information to caught these design problems ­ the
fact that the GenericDaoFields modified/removed
 get modified directly - from the very start, and only by reviewing the
review board ticket you could see it.  Hopefully the next time the
experience will be more smooth for both parties. Meanwhile I¹m ready to
help with whatever questions you have.


Yes, only 2 things need to be fixed. #2 should be pretty straightforward.
Make sure your component injects the global config variable if you decide
to make a switch via global config. For that, your class has to implement
Configurable interface. You can
 find examples of how this interface is utilized by existing CS
components.  Here is the FS:


https://cwiki.apache.org/confluence/display/CLOUDSTACK/Configuration


For #1 ­ I don¹t think you need to keep track of Removed date times. Once
the removed field is set in Region1, its safe to just go ahead and remove
the entry in all the rest of the regions. You can¹t (and don¹t need to)
perform any other operation on the
 resource if its removed in one of the regions.
You just have to fix it in created/updated(modified) fields.


-Alena.


From: Alex Ough alex.o...@sungardas.com
Date: Tuesday, April 8, 2014 at 10:39 AM
To: Alena Prokharchyk alena.prokharc...@citrix.com
Cc: dev@cloudstack.apache.org dev@cloudstack.apache.org, Alex Huang
alex.hu...@citrix.com

Subject: Re: Review Request 20099: Domain-Account-User Sync Up Among
Multiple Regions (Core Changes)





Alena,


It would be really nice if I had this feedback when I presented this at
the beginning.
Anyway, so are only these 2 things necessary to be merged into the master?


1. find another way to store the created/updated/removed datetimes of the
resources
2. provide a way to disable this feature.


Let me try to resolve those 2 and let you know once done,
so please let me know now if there is anything else needed.


Thanks
Alex Ough



On Tue, Apr 8, 2014 at 1:02 PM, Alena Prokharchyk
alena.prokharc...@citrix.com wrote:

Alex, thank you for the explanation.  But I think there should be another
way of saving all the ³updated²/³created² info rather than updating the
UserVO/AccountVO/DomainVO fields directly.


The one way I can think of ­ you  can create a helper table where you
store the ref UUID-Region-UpdatedTime stamps for all Local/Remote
regions, and you update/compare those fields. Your component is a
business logic component, and it shouldn¹t modify
 the fields originally set by GenericDao (Removed/Created/Modified). You
should operate only with parameters that are exposed to changes coming
through the APIs.


-Alena.


From: Alex Ough alex.o...@sungardas.com
Date: Monday, April 7, 2014 at 9:16 PM
To: dev@cloudstack.apache.org dev@cloudstack.apache.org, Alena
Prokharchyk alena.prokharc...@citrix.com,
 Alex Huang alex.hu...@citrix.com
Subject: Re: Review Request 20099: Domain-Account-User Sync Up Among
Multiple Regions (Core Changes)



And all 4 of the recommendations Alex Hwang gave were already implemented
to support the real time synchronization (#1),
but like I said 

Re: OpenSSL vunerability (bleedheart)

2014-04-08 Thread Marcus
That's a better test.

On Tue, Apr 8, 2014 at 11:54 AM, Nux! n...@li.nux.ro wrote:
 On 08.04.2014 18:40, Marcus wrote:

 I haven't read up on the actual mechanism, but it basically tricks
 the server process into adding 64k of random memory from its process
 space into the TLS heartbeat payload. That means any documents shared
 over an SSL app, credentials, session keys, and anything else the
 process touches.

 Update your mail server as well if it allows TLS connections (do the
 command above to see if TLS server extension heartbeat is
 supported). And openvpn if you run VPN servers.


 Yeah, good thinking about the VPN.

 Also found this https://gist.github.com/takeshixx/10107280 for testing and
 it looks like it could actually retrieve sensitive data. Ugly..



 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro


Re: [QUESTION] Debugging CS VMware logic in Eclipse

2014-04-08 Thread Mike Tutkowski
Hi Sateesh,

I understand the content of your message a bit better now. :)

See...in the past, I've always been able to debug what VMware logic I
needed from code running inside of the management server.

I was not aware until recently that certain VMware commands can be routed
to either logic running inside of the management server or logic running
inside of an SSVM.

So, what I'm trying to learn now is how to switch the routing from one to
the other and then determine how a customer would typically run in a VMware
environment.

Thanks!
Mike


On Mon, Apr 7, 2014 at 12:16 AM, Sateesh Chodapuneedi 
sateesh.chodapune...@citrix.com wrote:

 Mike,
 Most of storage commands would run inside SSVM. You need to attach
 debugger to cloud agent in SSVM to catch those break points.

 Regards,
 Sateesh

  -Original Message-
  From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
  Sent: 07 April 2014 09:53
  To: dev@cloudstack.apache.org
  Subject: Re: [QUESTION] Debugging CS VMware logic in Eclipse
 
  That's an interesting thought, Punith.
 
  I just checked my debug config, though, and it appears the proper path
 is in place.
 
  Plus, I also noticed just a moment ago that some VMware code can hit a
 breakpoint (I'm seeing stats requests get breakpointed, but not my
  storage commands).
 
 
  On Sun, Apr 6, 2014 at 10:16 PM, Punith S punit...@cloudbyte.com
 wrote:
 
   hi,
  
   try deleting the existing remote debug config and try to add new one ,
   i guess vmware project is not imported in the existing debug config.
  
   thanks.
  
  
   On Mon, Apr 7, 2014 at 7:55 AM, Mike Tutkowski 
   mike.tutkow...@solidfire.com
wrote:
  
Also, both codebases were compiled the following way:
   
mvn -P developer,systemvm clean install -D noredist
   
I ran the CS MS this way:
   
mvn -pl client jetty:run -D noredist
   
   
On Sun, Apr 6, 2014 at 8:19 PM, Mike Tutkowski 
mike.tutkow...@solidfire.com
 wrote:
   
 Hi,

 I have a weird debug problem that perhaps someone might be able to
 shed some light on.

 I am trying to hit a breakpoint in VmwareStorageProcessor
 (copyTemplateToPrimaryStorage(CopyCommand)).

 This has worked fine in the past, but - for whatever reason -
 today I
   can
 hit breakpoints in CS core code, but not in VmwareStorageProcessor.

 The code executes just fine...the template is copied down from
   secondary
 storage and all of that. I can set and hit a breakpoint in CS code
 that sends the message; however, breakpoints in the VMware-related
 code get ignored.

 The code on my management server and the code on my client machine
   where
I
 am debugging are at the same SHA value.

 Any ideas what might be going on here? I can hit an equivalent
   breakpoint
 in XenServer code (where the template is being copied down).

 Thanks!

 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play
 *(tm)*

   
   
   
--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*
   
  
  
  
   --
   regards,
  
   punith s
   cloudbyte.com
  
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*


Re: Review Request 20099: Domain-Account-User Sync Up Among Multiple Regions (Core Changes)

2014-04-08 Thread Alex Ough
#2 : I will, and YES, you need to change the modes of all regions, which
also means that you can sync the resources only in the regions you select.

#1: Well... it looks like I still need more information why they can't be
added to their attributes. They are also managed through the their dao
interfaces, and the values are assigned only during the full scan to
preserve the original value when they are missed.

Thanks
Alex Ough


On Tue, Apr 8, 2014 at 2:29 PM, Alena Prokharchyk 
alena.prokharc...@citrix.com wrote:



 On 4/8/14, 11:26 AM, Alex Ough alex.o...@sungardas.com wrote:

 Yes, I really hope so from now on :-)
 
 
 For #2, the current setting is NOT syncing the resources and these are
 the steps to enable this feature
 - Set the mode value of the remote regions to sync into 'sync on'
 - Set the value of global parameter, region.full.scan.interval (the
 default value is '0), into value of milliseconds to enable the Full Scan
 Let me know if you want a different way.


 Sounds good to me. We have to document it though very clearly under ³how
 to disable the feature² section. When you set the mode, you have to set it
 for all the regions to completely disable the feature, right?

 
 
 For #1, after another thought, I'm not still clear why those datetime
 values can't be added to their attributes. As you recommended, we can use
 another table to track them, but there can be an issue of partial commits
 when only the resource are successfully
  created/updated/removed and their datetime values fail to be stored
 because they are NOT in the same transaction.
 
 
 And we also need to track the 'removed' datetime because when a resource
 exists in only either the local or the remote region, we don't know
 whether it was created but it failed to be created in another region or
 it was removed but it failed to be removed
  in another region. That's why I track the removed datetime and
 preserve the original datetime.

 I¹m fine with keeping the removed field, as long as you don¹t update this
 field in CS DB.


 
 
 Let me think about the #1 more closely and let you know what I find.
 So please let me know if you have any other suggestion related with this.
 Thanks
 Alex Ough
 
 
 
 On Tue, Apr 8, 2014 at 2:09 PM, Alena Prokharchyk
 alena.prokharc...@citrix.com wrote:
 
 Sorry, Alex, for not providing the input earlier, I understand that
 requests like this shouldn¹t come the last minute. But unfortunately your
 FS didn¹t have enough information to caught these design problems ­ the
 fact that the GenericDaoFields modified/removed
  get modified directly - from the very start, and only by reviewing the
 review board ticket you could see it.  Hopefully the next time the
 experience will be more smooth for both parties. Meanwhile I¹m ready to
 help with whatever questions you have.
 
 
 Yes, only 2 things need to be fixed. #2 should be pretty straightforward.
 Make sure your component injects the global config variable if you decide
 to make a switch via global config. For that, your class has to implement
 Configurable interface. You can
  find examples of how this interface is utilized by existing CS
 components.  Here is the FS:
 
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Configuration
 
 
 For #1 ­ I don¹t think you need to keep track of Removed date times. Once
 the removed field is set in Region1, its safe to just go ahead and remove
 the entry in all the rest of the regions. You can¹t (and don¹t need to)
 perform any other operation on the
  resource if its removed in one of the regions.
 You just have to fix it in created/updated(modified) fields.
 
 
 -Alena.
 
 
 From: Alex Ough alex.o...@sungardas.com
 Date: Tuesday, April 8, 2014 at 10:39 AM
 To: Alena Prokharchyk alena.prokharc...@citrix.com
 Cc: dev@cloudstack.apache.org dev@cloudstack.apache.org, Alex Huang
 alex.hu...@citrix.com
 
 Subject: Re: Review Request 20099: Domain-Account-User Sync Up Among
 Multiple Regions (Core Changes)
 
 
 
 
 
 Alena,
 
 
 It would be really nice if I had this feedback when I presented this at
 the beginning.
 Anyway, so are only these 2 things necessary to be merged into the master?
 
 
 1. find another way to store the created/updated/removed datetimes of the
 resources
 2. provide a way to disable this feature.
 
 
 Let me try to resolve those 2 and let you know once done,
 so please let me know now if there is anything else needed.
 
 
 Thanks
 Alex Ough
 
 
 
 On Tue, Apr 8, 2014 at 1:02 PM, Alena Prokharchyk
 alena.prokharc...@citrix.com wrote:
 
 Alex, thank you for the explanation.  But I think there should be another
 way of saving all the ³updated²/³created² info rather than updating the
 UserVO/AccountVO/DomainVO fields directly.
 
 
 The one way I can think of ­ you  can create a helper table where you
 store the ref UUID-Region-UpdatedTime stamps for all Local/Remote
 regions, and you update/compare those fields. Your component is a
 business logic component, and it 

Re: Review Request 20099: Domain-Account-User Sync Up Among Multiple Regions (Core Changes)

2014-04-08 Thread Alena Prokharchyk
Alex,

Take for example the Removed field. Its not being managed through none of
the CS interfaces, and you can’t set this value neither from the API, nor
from the Orchestration layer. Its being set automatically in GenericDao
once the object is set for removal by the very same Dao.

The same applies to the Created/Updated fields.


-Alena. 

On 4/8/14, 11:41 AM, Alex Ough alex.o...@sungardas.com wrote:

#2 : I will, and YES, you need to change the modes of all regions, which
also means that you can sync the resources only in the regions you select.


#1: Well... it looks like I still need more information why they can't be
added to their attributes. They are also managed through the their dao
interfaces, and the values are assigned only during the full scan to
preserve the original value when they
 are missed.


Thanks
Alex Ough


On Tue, Apr 8, 2014 at 2:29 PM, Alena Prokharchyk
alena.prokharc...@citrix.com wrote:



On 4/8/14, 11:26 AM, Alex Ough alex.o...@sungardas.com wrote:

Yes, I really hope so from now on :-)


For #2, the current setting is NOT syncing the resources and these are
the steps to enable this feature
- Set the mode value of the remote regions to sync into 'sync on'
- Set the value of global parameter, region.full.scan.interval (the
default value is '0), into value of milliseconds to enable the Full Scan
Let me know if you want a different way.



Sounds good to me. We have to document it though very clearly under ³how
to disable the feature² section. When you set the mode, you have to set it
for all the regions to completely disable the feature, right?



For #1, after another thought, I'm not still clear why those datetime
values can't be added to their attributes. As you recommended, we can use
another table to track them, but there can be an issue of partial commits
when only the resource are successfully
 created/updated/removed and their datetime values fail to be stored
because they are NOT in the same transaction.


And we also need to track the 'removed' datetime because when a resource
exists in only either the local or the remote region, we don't know
whether it was created but it failed to be created in another region or
it was removed but it failed to be removed
 in another region. That's why I track the removed datetime and
preserve the original datetime.


I¹m fine with keeping the removed field, as long as you don¹t update this
field in CS DB.




Let me think about the #1 more closely and let you know what I find.
So please let me know if you have any other suggestion related with this.
Thanks
Alex Ough



On Tue, Apr 8, 2014 at 2:09 PM, Alena Prokharchyk
alena.prokharc...@citrix.com wrote:

Sorry, Alex, for not providing the input earlier, I understand that
requests like this shouldn¹t come the last minute. But unfortunately your
FS didn¹t have enough information to caught these design problems ­ the
fact that the GenericDaoFields modified/removed
 get modified directly - from the very start, and only by reviewing the
review board ticket you could see it.  Hopefully the next time the
experience will be more smooth for both parties. Meanwhile I¹m ready to
help with whatever questions you have.


Yes, only 2 things need to be fixed. #2 should be pretty straightforward.
Make sure your component injects the global config variable if you decide
to make a switch via global config. For that, your class has to implement
Configurable interface. You can
 find examples of how this interface is utilized by existing CS
components.  Here is the FS:


https://cwiki.apache.org/confluence/display/CLOUDSTACK/Configuration


For #1 ­ I don¹t think you need to keep track of Removed date times. Once
the removed field is set in Region1, its safe to just go ahead and remove
the entry in all the rest of the regions. You can¹t (and don¹t need to)
perform any other operation on the
 resource if its removed in one of the regions.
You just have to fix it in created/updated(modified) fields.


-Alena.


From: Alex Ough alex.o...@sungardas.com
Date: Tuesday, April 8, 2014 at 10:39 AM
To: Alena Prokharchyk alena.prokharc...@citrix.com
Cc: dev@cloudstack.apache.org dev@cloudstack.apache.org, Alex Huang
alex.hu...@citrix.com

Subject: Re: Review Request 20099: Domain-Account-User Sync Up Among
Multiple Regions (Core Changes)





Alena,


It would be really nice if I had this feedback when I presented this at
the beginning.
Anyway, so are only these 2 things necessary to be merged into the
master?


1. find another way to store the created/updated/removed datetimes of the
resources
2. provide a way to disable this feature.


Let me try to resolve those 2 and let you know once done,
so please let me know now if there is anything else needed.


Thanks
Alex Ough



On Tue, Apr 8, 2014 at 1:02 PM, Alena Prokharchyk
alena.prokharc...@citrix.com wrote:

Alex, thank you for the explanation.  But I think there should be another
way of saving all the ³updated²/³created² info rather than updating 

RE: Problem with VMware CloudStack SSVM Agent

2014-04-08 Thread Soheil Eizadi
I made sure that I was using the latest systemVM Template. Still have Java 
problem. I seem to remember trying to run the latest Mgmt Server and it 
required Java 7 so I updated the Mgmt Server to Java 7.

%  
./client/target/generated-webapp/WEB-INF/classes/scripts/storage/secondary/cloud-install-sys-tmplt
 -m /mnt/sec -u 
http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-vmware.ova
 -h vmware -F

From: Soheil Eizadi [seiz...@infoblox.com]
Sent: Tuesday, April 08, 2014 6:39 AM
To: dev@cloudstack.apache.org
Subject: RE: Problem with VMware CloudStack SSVM Agent

Yes it is Java 6 running on SSVM, is there a newer version of systemvm template 
I should load?

It might be a second order effect, but the SSVM runs out of disk space (100%) 
and when I reboot it whatever is consuming disk space (maybe Java?) is cleared 
to 50%.
-Soheil

root@s-22-VM:~# java -version
Java HotSpot(TM) Client VM warning: Insufficient space for shared memory file:
   /tmp/hsperfdata_root/29147
Try using the -Djava.io.tmpdir= option to select an alternate temp location.

java version 1.6.0_26
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode)
root@s-22-VM:~# df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda1  2015820   2015820 0 100% /
tmpfs   256216 0256216   0% /lib/init/rw
udev25167664251612   1% /dev
tmpfs   256216 0256216   0% /dev/shm


From: Erik Weber [terbol...@gmail.com]
Sent: Monday, April 07, 2014 11:44 PM
To: dev
Subject: Re: Problem with VMware CloudStack SSVM Agent

Could you check wich java version it has installed?
From the error message I'd interpret it as it's trying to run java7 code on
java6 jre.

--
Erik Weber


On Tue, Apr 8, 2014 at 1:39 AM, Soheil Eizadi seiz...@infoblox.com wrote:

 I am trying to bring up CloudStack 4.4 on vSphere 5.1, I cannot get the
 Agent to run on SSVM, here is the error:

  =templateProcessor mtu=1500 eth2ip=10.48.15.100
 eth2mask=255.255.255.0 gateway=10.48.15.1 public.network.device=eth2
 eth0mask=0.0.0.0 eth0ip=0.0.0.0 eth1ip=10.48.15.49 eth1mask=255.255.255.0
 mgmtcidr=10.48.15.0/24 localgw=10.48.15.1 private.network.device=eth1
 eth3ip=10.48.15.33 eth3mask=255.255.255.0 storageip=10.48.15.33
 storagenetmask=255.255.255.0 storagegateway=10.48.15.1
 internaldns1=10.48.2.11 internaldns2= dns1=10.48.2.11 dns2=

 Exception in thread main java.lang.UnsupportedClassVersionError:
 com/cloud/agent/AgentShell : Unsupported major.minor version 51.0

 at java.lang.ClassLoader.defineClass1(Native Method)

 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

 at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

 at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

 at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

 at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

 Could not find the main class: com.cloud.agent.AgentShell.  Program will
 exit.



 Here is the SSVM diags:

 root@s-22-VM:/var/log/cloud# /usr/local/cloud/systemvm/ssvm-check.sh

 

 First DNS server is  10.48.2.11

 PING 10.48.2.11 (10.48.2.11): 56 data bytes

 64 bytes from 10.48.2.11: icmp_seq=0 ttl=63 time=1.423 ms

 64 bytes from 10.48.2.11: icmp_seq=1 ttl=63 time=0.338 ms

 --- 10.48.2.11 ping statistics ---

 2 packets transmitted, 2 packets received, 0% packet loss

 round-trip min/avg/max/stddev = 0.338/0.881/1.423/0.543 ms

 Good: Can ping DNS server

 

 Good: DNS resolves download.cloud.com

 

 ERROR: NFS is not currently mounted

 Try manually mounting from inside the VM

 NFS server is  eth2

 ping: unknown host

 WARNING: cannot ping nfs server

 routing table follows

 Kernel IP routing table

 Destination Gateway Genmask Flags Metric RefUse
 Iface

 10.48.15.0  0.0.0.0 255.255.255.0   U 0  00
 eth1

 10.48.15.0  0.0.0.0 255.255.255.0   U 0  00
 eth2

 10.48.15.0  0.0.0.0 255.255.255.0   U 0  00
 eth3

 0.0.0.0 10.48.15.1  0.0.0.0 UG0  00
 eth2

 

 Management server is 10.48.15.10. Checking 

Re: OpenSSL vunerability (bleedheart)

2014-04-08 Thread Marcus
Looks like issues.apache.org is ok.


On Tue, Apr 8, 2014 at 12:34 PM, Marcus shadow...@gmail.com wrote:
 That's a better test.

 On Tue, Apr 8, 2014 at 11:54 AM, Nux! n...@li.nux.ro wrote:
 On 08.04.2014 18:40, Marcus wrote:

 I haven't read up on the actual mechanism, but it basically tricks
 the server process into adding 64k of random memory from its process
 space into the TLS heartbeat payload. That means any documents shared
 over an SSL app, credentials, session keys, and anything else the
 process touches.

 Update your mail server as well if it allows TLS connections (do the
 command above to see if TLS server extension heartbeat is
 supported). And openvpn if you run VPN servers.


 Yeah, good thinking about the VPN.

 Also found this https://gist.github.com/takeshixx/10107280 for testing and
 it looks like it could actually retrieve sensitive data. Ugly..



 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro


[Proposal] Integrating Apache Stratos with Apache CloudStack.

2014-04-08 Thread Nguyen Anh Tu
Dear guys,

It's not really a full proposal right now, I just wanna bump a thread to
discuss about working on integrating Stratos to CloudStack. Chris Snow and
I are working on the design process. Keep update soon!

Chris, could you keep update on this thread?

Thanks,
--Tuna


Re: [Proposal] Integrating Apache Stratos with Apache CloudStack.

2014-04-08 Thread Laszlo Hornyak
This would be a nice combination, I believe I would find it quite useful.


On Tue, Apr 8, 2014 at 9:41 PM, Nguyen Anh Tu t...@apache.org wrote:

 Dear guys,

 It's not really a full proposal right now, I just wanna bump a thread to
 discuss about working on integrating Stratos to CloudStack. Chris Snow and
 I are working on the design process. Keep update soon!

 Chris, could you keep update on this thread?

 Thanks,
 --Tuna




-- 

EOF


Re: [Proposal] Integrating Apache Stratos with Apache CloudStack.

2014-04-08 Thread chris snow
Hi Tuna,

In terms of design for cloudstack integration, Nirmal has provided
some useful information here [1].  However, my integration efforts
have stalled a little while I am trying to resolve an issue creating a
Ubuntu instance in a Xen host inside virtualbox.

Jason Daly has also been working on the Cloudstack integration using
his company's Cloudstack infrastructure.  My expectation is that Jason
will get integration finished before I manage to, in which case I will
be continue my focus on providing Stratos+Cloudstack vagrant
environments.

The first goal for me is for a user to be able to try Cloudstack and
Stratos using Vagrant with minimal manual setup.  The second goal is
for a developer to use vagrant to setup a Stratos development
environment - again with minimal effort.

Cheers,

Chris

---
[1] 
http://mail-archives.apache.org/mod_mbox/incubator-stratos-dev/201404.mbox/browser


On Tue, Apr 8, 2014 at 8:41 PM, Nguyen Anh Tu t...@apache.org wrote:
 Dear guys,

 It's not really a full proposal right now, I just wanna bump a thread to
 discuss about working on integrating Stratos to CloudStack. Chris Snow and
 I are working on the design process. Keep update soon!

 Chris, could you keep update on this thread?

 Thanks,
 --Tuna



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


Re: [Proposal] Integrating Apache Stratos with Apache CloudStack.

2014-04-08 Thread Sebastien Goasguen

On Apr 8, 2014, at 3:56 PM, chris snow chsnow...@gmail.com wrote:

 Hi Tuna,
 
 In terms of design for cloudstack integration, Nirmal has provided
 some useful information here [1].  However, my integration efforts
 have stalled a little while I am trying to resolve an issue creating a
 Ubuntu instance in a Xen host inside virtualbox.
 
 Jason Daly has also been working on the Cloudstack integration using
 his company's Cloudstack infrastructure.  My expectation is that Jason
 will get integration finished before I manage to, in which case I will
 be continue my focus on providing Stratos+Cloudstack vagrant
 environments.
 
 The first goal for me is for a user to be able to try Cloudstack and
 Stratos using Vagrant with minimal manual setup.  The second goal is
 for a developer to use vagrant to setup a Stratos development
 environment - again with minimal effort.
 

Big +1 on this

 Cheers,
 
 Chris
 
 ---
 [1] 
 http://mail-archives.apache.org/mod_mbox/incubator-stratos-dev/201404.mbox/browser
 
 
 On Tue, Apr 8, 2014 at 8:41 PM, Nguyen Anh Tu t...@apache.org wrote:
 Dear guys,
 
 It's not really a full proposal right now, I just wanna bump a thread to
 discuss about working on integrating Stratos to CloudStack. Chris Snow and
 I are working on the design process. Keep update soon!
 
 Chris, could you keep update on this thread?
 
 Thanks,
 --Tuna
 
 
 
 -- 
 Check out my professional profile and connect with me on LinkedIn.
 http://lnkd.in/cw5k69



Re: [Proposal] Integrating Apache Stratos with Apache CloudStack.

2014-04-08 Thread Nguyen Anh Tu
On Wed, Apr 9, 2014 at 3:28 AM, chris snow chsnow...@gmail.com wrote:

 Are you guys at the ApacheCon? Would love to meet up and talk about this,
 and help in any way I can.
 Was looking it up earlier today.


Amogh,

Can you go into Apache Stratos hackathon room right now? Nirmal and I are
sitting there.

Thanks,
--Tuna


RE: [Proposal] Integrating Apache Stratos with Apache CloudStack.

2014-04-08 Thread Alex Hitchins
This looks very interesting, I shall have to look into the project.

+1



Alex Hitchins | 07788 423 969 | 01892 523 587
-

-Original Message-
From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of Nguyen Anh
Tu
Sent: 08 April 2014 20:41
To: dev@cloudstack.apache.org
Subject: [Proposal] Integrating Apache Stratos with Apache CloudStack.

Dear guys,

It's not really a full proposal right now, I just wanna bump a thread to
discuss about working on integrating Stratos to CloudStack. Chris Snow and I
are working on the design process. Keep update soon!

Chris, could you keep update on this thread?

Thanks,
--Tuna



Re: tiny Linux build scripts

2014-04-08 Thread Sebastien Goasguen
Chris, let me cc Rohit.

On Apr 6, 2014, at 2:48 PM, chris snow chsnow...@gmail.com wrote:

 Ah, tiny Linux looks like it is downloaded by devcloud from
 http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd
 
 If anyone has any scripts/instructions for building ttylinux - that
 would be appreciated!
 
 
 On Sun, Apr 6, 2014 at 7:30 PM, chris snow chsnow...@gmail.com wrote:
 Where can I find the build scripts for the tiny Linux template?
 
 Is the 'builtin' appliance ( /tools/appliance/definitions/builtin) tiny 
 Linux?
 
 Many thanks,
 
 Chris
 
 
 
 -- 
 Check out my professional profile and connect with me on LinkedIn.
 http://lnkd.in/cw5k69



Review Request 20132: Usage server should start with java 1.7 in 4.4

2014-04-08 Thread Rayees Namathponnan

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20132/
---

Review request for cloudstack, Frank Zhang and Hugo Trippaers.


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6360?

https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6360?


Repository: cloudstack-git


Description
---

We already defined 4.4 support with JAVA 1.7, but usage server trying to start 
with 1.6 

This fix; start usage server with java 1.7 


Diffs
-

  packaging/centos63/cloud-usage.rc a9b6047 

Diff: https://reviews.apache.org/r/20132/diff/


Testing
---

Yes


Thanks,

Rayees Namathponnan



[ACS4.4][QA] Blocking Defects that need attention ASAP

2014-04-08 Thread Sudha Ponnaganti
Below are the blocking defects that are impacting automation runs/validation of 
features for ACS 4.4. Can these be picked up by interested community members. 
Couple of them are picked up by majority are in unassigned state.

Thanks
/Sudha

KeySummary Assignee
CLOUDSTACK-6232  isolated network can no longer reserve ip range
   Daan Hoogland
CLOUDSTACK-6245  Security group rules on hypervisor host are lagging 
behind rules in DBedison su
CLOUDSTACK-5212  Need Support for the LXC for the Report sockets 
CS-4908 Unassigned
CLOUDSTACK-6351  MS: 4.4 installs Java 1.6 as part of dependency which 
in turn prevents management server from staring as 1.6 is not supported? 
Unassigned
CLOUDSTACK-6347  [Automation] Failed to create SSVM and CPVM on Xen 
pool with 2 hostUnassigned
CLOUDSTACK-6338  [Automation] Failed to NetScaler Device with error 
un.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertathBuilderException: unable to find 
valid certification path to requested target}  Unassigned
CLOUDSTACK-6332  [Automation] Failed to create PFrule with permission 
error does not have permission to perform this operation on these resources on 
objs  Prachi Damle
CLOUDSTACK-6331  [Automation] Template Permissions test cases failing 
with error Only ROOT admins are allowed to modify this attributeUnassigned
CLOUDSTACK-6269  [Simulator]: Exception Unable to send command. 
Upgrade in progress. Please contact administrator. is observed 
Santhosh Kumar Edukulla
CLOUDSTACK-6047  Make Virtual Router to aggregate execution of commands 
 Sheng Yang
CLOUDSTACK-6341  [Automation] Failed to deploy virtual machine   
Unassigned
CLOUDSTACK-6239  [Automation] jasypt decryption error is thrown after 
restarting console proxy VM   Kishan Kavala
CLOUDSTACK-6130  [Automation] listPublicAdress is failing   Hugo 
Trippaers


Review Request 20136: mysql-connector should be added class path, while starting usage server

2014-04-08 Thread Rayees Namathponnan

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20136/
---

Review request for cloudstack, Frank Zhang and Hugo Trippaers.


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6361

https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6361


Repository: cloudstack-git


Description
---

Failed to start cloudstack-usage due to mysql-connector jar is not loaded  
while starting usage server

updated cloudstack-usage to add ,mysql-connector in class path

UCP=`ls /usr/share/cloudstack-usage/cloud-usage-*.jar`:`ls 
/usr/share/cloudstack-usage/lib/*.jar | tr '\n' ':'`
JCP=/usr/share/java/commons-daemon.jar:/usr/share/java/mysql-connector-java.jar


Diffs
-

  packaging/centos63/cloud-usage.rc a9b6047 

Diff: https://reviews.apache.org/r/20136/diff/


Testing
---

Yes


Thanks,

Rayees Namathponnan



Build failed in Jenkins: cloudstack-4.4-maven-build-noredist #92

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/92/

--
Started by upstream project cloudstack-4.4-maven-build build number 143
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Archiving artifacts
ERROR: Publisher hudson.tasks.ArtifactArchiver aborted due to exception
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/ws/ 
does not exist.
at 
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
at 
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:460)
at 
hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:181)
at 
hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:172)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at hudson.remoting.Engine$1$1.run(Engine.java:63)
at java.lang.Thread.run(Thread.java:744)


Re: Review Request 20132: Usage server should start with java 1.7 in 4.4

2014-04-08 Thread Frank Zhang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20132/#review39835
---

Ship it!


Ship It!

- Frank Zhang


On April 8, 2014, 10:05 p.m., Rayees Namathponnan wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/20132/
 ---
 
 (Updated April 8, 2014, 10:05 p.m.)
 
 
 Review request for cloudstack, Frank Zhang and Hugo Trippaers.
 
 
 Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6360?
 
 https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6360?
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 We already defined 4.4 support with JAVA 1.7, but usage server trying to 
 start with 1.6 
 
 This fix; start usage server with java 1.7 
 
 
 Diffs
 -
 
   packaging/centos63/cloud-usage.rc a9b6047 
 
 Diff: https://reviews.apache.org/r/20132/diff/
 
 
 Testing
 ---
 
 Yes
 
 
 Thanks,
 
 Rayees Namathponnan
 




Re: Review Request 20136: mysql-connector should be added class path, while starting usage server

2014-04-08 Thread Frank Zhang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20136/#review39834
---

Ship it!


Ship It!

- Frank Zhang


On April 8, 2014, 10:12 p.m., Rayees Namathponnan wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/20136/
 ---
 
 (Updated April 8, 2014, 10:12 p.m.)
 
 
 Review request for cloudstack, Frank Zhang and Hugo Trippaers.
 
 
 Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6361
 
 https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6361
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Failed to start cloudstack-usage due to mysql-connector jar is not loaded  
 while starting usage server
 
 updated cloudstack-usage to add ,mysql-connector in class path
 
 UCP=`ls /usr/share/cloudstack-usage/cloud-usage-*.jar`:`ls 
 /usr/share/cloudstack-usage/lib/*.jar | tr '\n' ':'`
 JCP=/usr/share/java/commons-daemon.jar:/usr/share/java/mysql-connector-java.jar
 
 
 Diffs
 -
 
   packaging/centos63/cloud-usage.rc a9b6047 
 
 Diff: https://reviews.apache.org/r/20136/diff/
 
 
 Testing
 ---
 
 Yes
 
 
 Thanks,
 
 Rayees Namathponnan
 




RE: [PROPOSAL] region level VPC and guest network spanning multiple zones

2014-04-08 Thread Sanjeev Neelarapu
Hi ,

Following are the review comments on the FS posted @ 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Region+level+VPC+and
+guest+network+spanning+multiple+zones:

How many guest networks we can scale using SDN?
Do we support mixed networks in a zone (VLAN+Tunnel)?
Any limitation on the number of zones an SDN network can span?
What are the services supported by SDN networks?
What are the services supported by region level VPC?
With SDN networks do we support any external devices?
Do we support SGs with SDN?
Do we support monitoring for SDN controller and the GRE tunnels between the 
hosts across zones?
What are the alerts and events generated by the controller?
With SDNs do we support zones with mixed hypervisors?(e.g: zone1 with xen and 
zone2 with ESX)
If vpc is tied to a zone can we have the tiers spanned across multiple zones?
If vpc is region level do we have control on the zone in which VR has to be 
deployed?
Networks spanning across multiple zones is applicable only to vpc 
networks(tiers) or any guest network which is not part of vpc as well?
Do we support SDNs in an upgraded environment?
Can we upgrade vlan based networks to SDN and vice-versa?
Upgrading zone level vpc to region level vpc and vice-versa?
What are the external dependencies for the SDN to work (ports need to be opened 
on the zone level firewalls)?


Thanks,
Sanjeev

-Original Message-
From: Murali Reddy [mailto:murali.re...@citrix.com] 
Sent: Wednesday, January 22, 2014 3:51 AM
To: dev@cloudstack.apache.org
Subject: Re: [PROPOSAL] region level VPC and guest network spanning multiple 
zones


Please find the FS for this proposal at below link. I will be sending out a 
different proposal covering the enhancements called out in the FS.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Region+level+VPC+and
+guest+network+spanning+multiple+zones

On 19/12/13 5:54 PM, Murali Reddy murali.re...@citrix.com wrote:

I would like to propose two networking models enhancements for ACS 4.4 
release that will enable building highly available applications. 
Currently VPC in CloudStack is a zone level entity. So tiers with in 
the VPC are confined to the zone to which VPC belongs. For an 
application deployed in current model of VPC failure of the zone is a 
single point of failure. It is desirable to make VPC a region level 
entity, where tiers in the VPC can be created in different zones of the 
region. When tiers can be created in different zones, application 
hosted in VPC can be architected to be highly available masking zone 
failures by having redundant tiers in different zones. While it may be 
seen as natural extension, there are fundamental limitations with 
VLAN/traditional L2 based networking due to which realizing it would be 
non-trivial or require special solutions [1].
Overlay networks [2] in the context of SDN  network virtualization 
provides a way to build networks that are abstracted from 
physical/underlay network. An overlay network is typically built with 
tunnels across edge(vSwitch's in hypervisor) and core is plain L3 network.
With requirement that L3 connectivity across zones and tunnels can be 
established across the zones, an overlay network that spans multiple 
zones is easily realized.

Given the range of SDN controllers that are integrated with CS, goal of 
this proposal is to leverage advances in SDN  network virtualization 
introduce below generic notions into CS.

- an advanced zone isolated network that can span multiple zones
- a region level VPC where tiers belong to different zones.

I have opened bugs [3],[4] to track these two enhancements. As part of 
the effort I would like to extend the current OVS plug-in (that builds 
overlay network with GRE tunnels) to realise these two use-cases. I 
have opened bug [5] to track this enhancement.

As long as we establish tunnels across the zones, we can have overlay 
networks that are functional, but would be inefficient in handling 
east-west traffic [6] and BUM traffic. While the problems exist in the 
overlay networks that are confined to a zone as well, they are 
compounded when the network spans multiple zones resulting in high 
cross-zone east-west traffic. I would be sending out a complementary 
proposal to introduce distributed routing and ACL's for east-west 
traffic and ARP localisation that will allow only legitimate cross zone 
east-west traffic.

I will send out a functional specification with detailed requirements, 
assumptions, limitation etc once I make progress with these enhancements.
Please share any feedback and comments.

[1]
http://www.networkworld.com/news/tech/2010/090310-layer2-data-center-in
ter
c
onnect.html
[2]
http://etherealmind.com/introduction-to-how-overlay-networking-and-tunn
el-
f
abrics-work/
[3] https://issues.apache.org/jira/browse/CLOUDSTACK-5567
[4] https://issues.apache.org/jira/browse/CLOUDSTACK-5568
[5] https://issues.apache.org/jira/browse/CLOUDSTACK-5569
[6]

Build failed in Jenkins: cloudstack-4.4-maven-build-noredist #93

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/93/

--
Started by upstream project cloudstack-4.4-maven-build build number 144
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Archiving artifacts
ERROR: Publisher hudson.tasks.ArtifactArchiver aborted due to exception
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/ws/ 
does not exist.
at 
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
at 
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:460)
at 
hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:181)
at 
hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:172)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at hudson.remoting.Engine$1$1.run(Engine.java:63)
at java.lang.Thread.run(Thread.java:744)


Build failed in Jenkins: cloudstack-4.3-maven-build #496

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/496/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #497

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/497/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.4-maven-build-noredist #94

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/94/

--
Started by upstream project cloudstack-4.4-maven-build build number 145
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Archiving artifacts
ERROR: Publisher hudson.tasks.ArtifactArchiver aborted due to exception
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/ws/ 
does not exist.
at 
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
at 
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:460)
at 
hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:181)
at 
hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:172)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at hudson.remoting.Engine$1$1.run(Engine.java:63)
at java.lang.Thread.run(Thread.java:744)


Build failed in Jenkins: cloudstack-4.3-maven-build #498

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/498/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #499

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/499/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #501

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/501/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #504

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/504/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Re: OpenSSL vunerability (bleedheart)

2014-04-08 Thread John Kinsella
Folks - we’re aware of the OpenSSL issue, and are working with vendors to 
release mitigation instructions for ACS.

Hoping to have something out later this evening.

John

On Apr 8, 2014, at 8:12 AM, Paul Angus 
paul.an...@shapeblue.commailto:paul.an...@shapeblue.com wrote:

A vulnerability has been found in OpenSSL

http://www.bit-tech.net/news/bits/2014/04/08/openssl-heartbleed/1

Affected are OpenSSL versions 1.0.1 and 1.0.2-beta, which include such releases 
as
Debian Wheezy, Ubuntu 12.04.4 LTS, Centos 6.5, Fedora 18, OpenBSD 5.3, FreeBSD 
8.4, NetBSD 5.0.2 and OpenSUSE 12.2.

It is fixed in OpenSSL 1.0.1g

From https://bugzilla.redhat.com/show_bug.cgi?id=1084875#c9

Statement:
This issue did not affect the versions of openssl as shipped with Red Hat 
Enterprise Linux 5 and Red Hat Enterprise Linux 6.4 and earlier. This issue 
does affect Red Hat Enterprise Linux 6.5, Red Hat Enterprise Virtualization 
Hypervisor 6.5, and Red Hat Storage 2.1, which provided openssl 1.0.1e.

XenServer 6.2 SP1 uses the native CentOS OpenSSL RPM without modification 
version (OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008) so is unaffected.



Regards,

Paul Angus
Senior Consultant / Cloud Architect

S: +44 20 3603 0540tel:+442036030540 | M: +4tel:+44796816158147711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.commailto:paul.an...@shapeblue.com | 
www.shapeblue.comhtp://www.shapeblue.com/ | 
Twitter:@shapebluehttps://twitter.com/
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

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.




Build failed in Jenkins: cloudstack-4.3-maven-build #506

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/506/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #507

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/507/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #508

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/508/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #509

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/509/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #510

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/510/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #511

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/511/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #512

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/512/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #513

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/513/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #514

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/514/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Build failed in Jenkins: cloudstack-4.3-maven-build #515

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/515/

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on rpmbuilder in workspace 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
java.io.IOException: Failed to mkdirs: 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/ws/
at hudson.FilePath.mkdirs(FilePath.java:1069)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1313)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)


Jenkins build is back to normal : cloudstack-4.3-maven-build #517

2014-04-08 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build/517/changes



[4.4] System VMs not starting

2014-04-08 Thread Mike Tutkowski
Hi,

Has anyone been able to recently build a cloud from scratch with a
XenServer cluster?

The system template downloads, but the system VMs don't start.

Not sure why (because I use these IP addresses all the time), but I get the
following exception:

com.cloud.exception.InsufficientAddressCapacityException: Unable to get a
management ip addressScope=interface com.cloud.dc.Pod; id=1
at
com.cloud.network.guru.PodBasedNetworkGuru.reserve(PodBasedNetworkGuru.java:123)
at
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepareNic(NetworkOrchestrator.java:1308)
at
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare(NetworkOrchestrator.java:1279)
at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:982)
at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
at
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5309)
at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:495)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:452)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*


Re: OpenSSL vunerability (bleedheart)

2014-04-08 Thread John Kinsella
Just put up a blog post with mitigation instructions [1]. If anybody has any 
issues with this, please let us know and we’ll help/update as appropriate.

We’re working on new SystemVM images, but that’s going to take us a few days.

John
1: https://blogs.apache.org/cloudstack/entry/how_to_mitigate_openssl_heartbleed

On Apr 8, 2014, at 6:21 PM, John Kinsella j...@stratosec.co wrote:

 Folks - we’re aware of the OpenSSL issue, and are working with vendors to 
 release mitigation instructions for ACS.
 
 Hoping to have something out later this evening.
 
 John
 
 On Apr 8, 2014, at 8:12 AM, Paul Angus 
 paul.an...@shapeblue.commailto:paul.an...@shapeblue.com wrote:
 
 A vulnerability has been found in OpenSSL
 
 http://www.bit-tech.net/news/bits/2014/04/08/openssl-heartbleed/1
 
 Affected are OpenSSL versions 1.0.1 and 1.0.2-beta, which include such 
 releases as
 Debian Wheezy, Ubuntu 12.04.4 LTS, Centos 6.5, Fedora 18, OpenBSD 5.3, 
 FreeBSD 8.4, NetBSD 5.0.2 and OpenSUSE 12.2.
 
 It is fixed in OpenSSL 1.0.1g
 
 From https://bugzilla.redhat.com/show_bug.cgi?id=1084875#c9
 
 Statement:
 This issue did not affect the versions of openssl as shipped with Red Hat 
 Enterprise Linux 5 and Red Hat Enterprise Linux 6.4 and earlier. This issue 
 does affect Red Hat Enterprise Linux 6.5, Red Hat Enterprise Virtualization 
 Hypervisor 6.5, and Red Hat Storage 2.1, which provided openssl 1.0.1e.
 
 XenServer 6.2 SP1 uses the native CentOS OpenSSL RPM without modification 
 version (OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008) so is unaffected.
 
 
 
 Regards,
 
 Paul Angus
 Senior Consultant / Cloud Architect
 
 S: +44 20 3603 0540tel:+442036030540 | M: +4tel:+44796816158147711418784 
 | T: @CloudyAngus
 paul.an...@shapeblue.commailto:paul.an...@shapeblue.com | 
 www.shapeblue.comhtp://www.shapeblue.com/ | 
 Twitter:@shapebluehttps://twitter.com/
 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
 
 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.