Re: S3 Secondary Storage SSL certificate error

2013-12-06 Thread Andrei Mikhailovsky


I will give it a try, but why would it matter what browser I am using? The 
error that I am seeing is generated when ssvm is connecting to S3 backend to 
store snapshots, templates, etc. 

Andrei 

- Original Message -

From: Wei ZHOU ustcweiz...@gmail.com 
To: dev@cloudstack.apache.org 
Sent: Thursday, 5 December, 2013 12:59:54 PM 
Subject: Re: S3 Secondary Storage SSL certificate error 

Andrei, 

What browser do you use? Try the following steps 
(1) update SSL Certificate in Infrastructure tab. 
(2) change secstorage.ssl.cert.domain in global setting 
(3) restart management server 


2013/12/5 Andrei Mikhailovsky and...@arhont.com 

 Hello, 
 
 Does anyone know how to add a self signed ssl certificate which is used by 
 the S3 secondary storage to the trusted list? I am having an issue with 
 java exceptions stating that the certificate is not trusted. As a result, I 
 am not able to use the secondary storage. 
 
 Many thanks 
 
 Andrei 
 



https://reviews.apache.org/ down ??

2013-12-06 Thread Saksham Srivastava
Is anyone else also having the same problem?

Thanks,
Saksham



Re: https://reviews.apache.org/ down ??

2013-12-06 Thread Syed Ahmed

Me too. I get a 502 proxy error.


On Fri 06 Dec 2013 04:32:19 AM EST, Saksham Srivastava wrote:

Is anyone else also having the same problem?

Thanks,
Saksham







RE: https://reviews.apache.org/ down ??

2013-12-06 Thread Saksham Srivastava
Can someone kindly look into this.

Thanks,
Saksham

-Original Message-
From: Syed Ahmed [mailto:sah...@cloudops.com] 
Sent: Friday, December 06, 2013 3:07 PM
To: dev@cloudstack.apache.org
Cc: Saksham Srivastava
Subject: Re: https://reviews.apache.org/ down ??

Me too. I get a 502 proxy error.


On Fri 06 Dec 2013 04:32:19 AM EST, Saksham Srivastava wrote:
 Is anyone else also having the same problem?

 Thanks,
 Saksham






Re: https://reviews.apache.org/ down ??

2013-12-06 Thread Hugo Trippaers


Sent from my iPhone

 On 6 dec. 2013, at 09:56, Saksham Srivastava saksham.srivast...@citrix.com 
 wrote:
 
 Can someone kindly look into this.
 
 Thanks,
 Saksham
 
 -Original Message-
 From: Syed Ahmed [mailto:sah...@cloudops.com] 
 Sent: Friday, December 06, 2013 3:07 PM
 To: dev@cloudstack.apache.org
 Cc: Saksham Srivastava
 Subject: Re: https://reviews.apache.org/ down ??
 
 Me too. I get a 502 proxy error.
 
 
 On Fri 06 Dec 2013 04:32:19 AM EST, Saksham Srivastava wrote:
 Is anyone else also having the same problem?
 
 Thanks,
 Saksham
 
 


Re: https://reviews.apache.org/ down ??

2013-12-06 Thread Hugo Trippaers
Saksham,

This is apache infrastructure, so not much we can do directly. Did you check if 
apache infra is aware of the problem?

Cheers,

Hugo

Sent from my iPhone

 On 6 dec. 2013, at 09:56, Saksham Srivastava saksham.srivast...@citrix.com 
 wrote:
 
 Can someone kindly look into this.
 
 Thanks,
 Saksham
 
 -Original Message-
 From: Syed Ahmed [mailto:sah...@cloudops.com] 
 Sent: Friday, December 06, 2013 3:07 PM
 To: dev@cloudstack.apache.org
 Cc: Saksham Srivastava
 Subject: Re: https://reviews.apache.org/ down ??
 
 Me too. I get a 502 proxy error.
 
 
 On Fri 06 Dec 2013 04:32:19 AM EST, Saksham Srivastava wrote:
 Is anyone else also having the same problem?
 
 Thanks,
 Saksham
 
 


RE: https://reviews.apache.org/ down ??

2013-12-06 Thread Saksham Srivastava
Also raised https://issues.apache.org/jira/browse/INFRA-7076


-Original Message-
From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com] 
Sent: Friday, December 06, 2013 3:41 PM
To: dev@cloudstack.apache.org
Cc: Syed Ahmed
Subject: RE: https://reviews.apache.org/ down ??

http://monitoring.apache.org/status/ shows Red. They should fix this soon.

-Original Message-
From: Hugo Trippaers [mailto:trip...@gmail.com] 
Sent: Friday, December 06, 2013 3:34 PM
To: dev@cloudstack.apache.org
Cc: Syed Ahmed; dev@cloudstack.apache.org
Subject: Re: https://reviews.apache.org/ down ??

Saksham,

This is apache infrastructure, so not much we can do directly. Did you check if 
apache infra is aware of the problem?

Cheers,

Hugo

Sent from my iPhone

 On 6 dec. 2013, at 09:56, Saksham Srivastava saksham.srivast...@citrix.com 
 wrote:
 
 Can someone kindly look into this.
 
 Thanks,
 Saksham
 
 -Original Message-
 From: Syed Ahmed [mailto:sah...@cloudops.com] 
 Sent: Friday, December 06, 2013 3:07 PM
 To: dev@cloudstack.apache.org
 Cc: Saksham Srivastava
 Subject: Re: https://reviews.apache.org/ down ??
 
 Me too. I get a 502 proxy error.
 
 
 On Fri 06 Dec 2013 04:32:19 AM EST, Saksham Srivastava wrote:
 Is anyone else also having the same problem?
 
 Thanks,
 Saksham
 
 


Re: https://reviews.apache.org/ down ??

2013-12-06 Thread Hugo Trippaers
Great!

Cheers,
Hugo

Sent from my iPhone

 On 6 dec. 2013, at 10:17, Saksham Srivastava saksham.srivast...@citrix.com 
 wrote:
 
 Also raised https://issues.apache.org/jira/browse/INFRA-7076
 
 
 -Original Message-
 From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com] 
 Sent: Friday, December 06, 2013 3:41 PM
 To: dev@cloudstack.apache.org
 Cc: Syed Ahmed
 Subject: RE: https://reviews.apache.org/ down ??
 
 http://monitoring.apache.org/status/ shows Red. They should fix this soon.
 
 -Original Message-
 From: Hugo Trippaers [mailto:trip...@gmail.com] 
 Sent: Friday, December 06, 2013 3:34 PM
 To: dev@cloudstack.apache.org
 Cc: Syed Ahmed; dev@cloudstack.apache.org
 Subject: Re: https://reviews.apache.org/ down ??
 
 Saksham,
 
 This is apache infrastructure, so not much we can do directly. Did you check 
 if apache infra is aware of the problem?
 
 Cheers,
 
 Hugo
 
 Sent from my iPhone
 
 On 6 dec. 2013, at 09:56, Saksham Srivastava saksham.srivast...@citrix.com 
 wrote:
 
 Can someone kindly look into this.
 
 Thanks,
 Saksham
 
 -Original Message-
 From: Syed Ahmed [mailto:sah...@cloudops.com] 
 Sent: Friday, December 06, 2013 3:07 PM
 To: dev@cloudstack.apache.org
 Cc: Saksham Srivastava
 Subject: Re: https://reviews.apache.org/ down ??
 
 Me too. I get a 502 proxy error.
 
 
 On Fri 06 Dec 2013 04:32:19 AM EST, Saksham Srivastava wrote:
 Is anyone else also having the same problem?
 
 Thanks,
 Saksham
 
 


Re: S3 Secondary Storage SSL certificate error

2013-12-06 Thread Wei ZHOU
The browsers take different actions on untrusted SSL certification.


2013/12/6 Andrei Mikhailovsky and...@arhont.com



 I will give it a try, but why would it matter what browser I am using? The
 error that I am seeing is generated when ssvm is connecting to S3 backend
 to store snapshots, templates, etc.

 Andrei

 - Original Message -

 From: Wei ZHOU ustcweiz...@gmail.com
 To: dev@cloudstack.apache.org
 Sent: Thursday, 5 December, 2013 12:59:54 PM
 Subject: Re: S3 Secondary Storage SSL certificate error

 Andrei,

 What browser do you use? Try the following steps
 (1) update SSL Certificate in Infrastructure tab.
 (2) change secstorage.ssl.cert.domain in global setting
 (3) restart management server


 2013/12/5 Andrei Mikhailovsky and...@arhont.com

  Hello,
 
  Does anyone know how to add a self signed ssl certificate which is used
 by
  the S3 secondary storage to the trusted list? I am having an issue with
  java exceptions stating that the certificate is not trusted. As a
 result, I
  am not able to use the secondary storage.
 
  Many thanks
 
  Andrei
 




NFS mount, snapshot and template issue - was Re: [HELP] Unable to create/register new templates

2013-12-06 Thread Indra Pramana
Dear all,

Anyone can help on this? :)

Still related to this problem, I noted that our KVM hypervisors are having
issues mounting to the NFS secondary storage. Symptoms include df command
will hung (but not df -l), and we cannot change directory (cd) to the
mounted secondary storage.

I can confirm that the secondary storage is fine, I can mount from SSVM
just fine (but not the hosts). Mounting using o proto=tcp,port=2049 works
fine, but not using normal mount. Can I configure libvirt to use TCP
protocol when connecting to netfs?

Backup snapshot is also failing, with status Created on Primary. This
means the snapshot is created on our primary storage (we are using Ceph RBD
primary storage), but failed to be copied over to the NFS secondary storage
due to the same NFS mount issue. agent.log shows that the snapshot is being
copied but when I checked the secondary storage, it was created with 0
bytes file size.

Excerpts from agent.log on the KVM hypervisor:


2013-12-06 05:11:39,904 DEBUG [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-4:null) Didn't find an existing storage pool
c10404d3-070e-3579-980e-cb0d40effb7b by UUID, checking for pools with
duplicate paths
2013-12-06 05:11:39,907 DEBUG [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-4:null) Checking path of existing pool
22b0d26c-d8fa-490e-9382-9b4685e2b08e against pool we want to create
2013-12-06 05:11:39,912 DEBUG [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-4:null) Checking path of existing pool
d433809b-01ea-3947-ba0f-48077244e4d6 against pool we want to create
2013-12-06 05:11:39,917 DEBUG [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-4:null) Attempting to create storage pool
c10404d3-070e-3579-980e-cb0d40effb7b
2013-12-06 05:11:39,921 DEBUG [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-4:null) pool type='netfs'
namec10404d3-070e-3579-980e-cb0d40effb7b/name
uuidc10404d3-070e-3579-980e-cb0d40effb7b/uuid
source
host name='x.x.x.x'/
dir path='/mnt/vol1/sec-storage2'/
/source
target
path/mnt/c10404d3-070e-3579-980e-cb0d40effb7b/path
/target
/pool

2013-12-06 05:11:49,305 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-4:null) Succesfully connected to Ceph cluster at
ceph-mon.simplercloud.com:6789
2013-12-06 05:11:49,335 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-4:null) Attempting to create
/mnt/c10404d3-070e-3579-980e-cb0d40effb7b/snapshots/364/2847 recursively
2013-12-06 05:11:49,349 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-4:null) Backing up RBD snapshot to
/mnt/c10404d3-070e-3579-980e-cb0d40effb7b/snapshots/364/2847/a5173b30-2bff-4927-b56c-c0db0f02e4cd
...
2013-12-06 05:16:00,780 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-4:null) Completed backing up RBD snapshot
a5173b30-2bff-4927-b56c-c0db0f02e4cd to
/mnt/c10404d3-070e-3579-980e-cb0d40effb7b/snapshots/364/2847/a5173b3
0-2bff-4927-b56c-c0db0f02e4cd. Bytes written: 10737418240
=

Based on the logs above, it seems that the backing up of the RBD snapshot
is completed, but in fact it's not. The status of the snapshot is
CreatedOnPrimary, and when I log in to the secondary server to check, the
snapshot file is created but with 0 (zero) file size.

-rw-r--r--  1 root  wheel  0 Dec  6 05:11
a5173b30-2bff-4927-b56c-c0db0f02e4cd

I suspect that the NFS mount issue is the root cause of the problem, which
in turns affect the inability of creating/registering templates/ISO and
backup snapshot. Any advice on this is greatly appreciated!

Looking forward to your reply, thank you.

Cheers.



On Tue, Dec 3, 2013 at 9:14 PM, Indra Pramana in...@sg.or.id wrote:

 Dear all,

 I am running CloudStack version 4.2.0 with KVM hypervisor, Ceph RBD
 primary storage and NFS secondary storage.

 Since yesterday, I am not able to create/register a new template. Normally
 I would be converting a root-disk volume into a template. In this case, the
 process of creating the template will take forever and will never complete.

 On management-server log, there is not much information other than a line
 stating that the template is being copied:

 
 2013-12-03 17:43:33,340 DEBUG [agent.transport.Request]
 (Job-Executor-33:job-5446 = [ f6f014b3-7301-4be0-98e9-e6a8caba5e51 ]) Seq
 37-2044592856: Sending  { Cmd , MgmtId: 161342671900, via: 37, Ver: v1,
 Flags: 100111,
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:10c780a0-d574-4332-bcf4-9988e7ed963d,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:d433809b-01ea-3947-ba0f-48077244e4d6,id:214,poolType:RBD,host:
 

RE: https://reviews.apache.org/ down ??

2013-12-06 Thread Saksham Srivastava
The issue is fixed now:
=

 [ 
https://issues.apache.org/jira/browse/INFRA-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jan iversen closed INFRA-7076.
--

Resolution: Fixed
  Assignee: jan iversen

/dev/sda1 was inconsistent, a manual fsck on the console solved the problem.

Site is up and running.

syslog has not been examined.

 Apache review board is inaccessible
 ---

 Key: INFRA-7076
 URL: https://issues.apache.org/jira/browse/INFRA-7076
 Project: Infrastructure
  Issue Type: Bug
  Components: ReviewBoard
Reporter: Saksham Srivastava
Assignee: jan iversen
Priority: Critical

 https://reviews.apache.org/ is showing proxy server error.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

-Original Message-
From: Hugo Trippaers [mailto:trip...@gmail.com] 
Sent: Friday, December 06, 2013 4:00 PM
To: dev@cloudstack.apache.org
Cc: dev@cloudstack.apache.org; Syed Ahmed
Subject: Re: https://reviews.apache.org/ down ??

Great!

Cheers,
Hugo

Sent from my iPhone

 On 6 dec. 2013, at 10:17, Saksham Srivastava saksham.srivast...@citrix.com 
 wrote:
 
 Also raised https://issues.apache.org/jira/browse/INFRA-7076
 
 
 -Original Message-
 From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com] 
 Sent: Friday, December 06, 2013 3:41 PM
 To: dev@cloudstack.apache.org
 Cc: Syed Ahmed
 Subject: RE: https://reviews.apache.org/ down ??
 
 http://monitoring.apache.org/status/ shows Red. They should fix this soon.
 
 -Original Message-
 From: Hugo Trippaers [mailto:trip...@gmail.com] 
 Sent: Friday, December 06, 2013 3:34 PM
 To: dev@cloudstack.apache.org
 Cc: Syed Ahmed; dev@cloudstack.apache.org
 Subject: Re: https://reviews.apache.org/ down ??
 
 Saksham,
 
 This is apache infrastructure, so not much we can do directly. Did you check 
 if apache infra is aware of the problem?
 
 Cheers,
 
 Hugo
 
 Sent from my iPhone
 
 On 6 dec. 2013, at 09:56, Saksham Srivastava saksham.srivast...@citrix.com 
 wrote:
 
 Can someone kindly look into this.
 
 Thanks,
 Saksham
 
 -Original Message-
 From: Syed Ahmed [mailto:sah...@cloudops.com] 
 Sent: Friday, December 06, 2013 3:07 PM
 To: dev@cloudstack.apache.org
 Cc: Saksham Srivastava
 Subject: Re: https://reviews.apache.org/ down ??
 
 Me too. I get a 502 proxy error.
 
 
 On Fri 06 Dec 2013 04:32:19 AM EST, Saksham Srivastava wrote:
 Is anyone else also having the same problem?
 
 Thanks,
 Saksham
 
 


RE: [Jenkins] slave for building hyperv agent

2013-12-06 Thread Alex Hitchins
C# should run under Mono without much fuss, unless there are core Windows
library's used in the application.



Alexander Hitchins

Personal Email : a...@alexhitchins.com
Apache Email   : a...@alexhitchins.com
Website: http://alexhitchins.com
Mobile : 07788 423 969

-Original Message-
From: Hugo Trippaers [mailto:trip...@gmail.com] 
Sent: 05 December 2013 20:09
To: dev@cloudstack.apache.org
Cc: dev@cloudstack.apache.org
Subject: Re: [Jenkins] slave for building hyperv agent

Hey devdeep,

I'll try. The trouble with windows boxes is that we need a license for it. I
need to check if my company is ok with assigning one to this machine.

Do you need any other software besides just plain windows server standard
2012?

Cheers,

Hugo 

Sent from my iPhone

 On 5 dec. 2013, at 12:02, Devdeep Singh devdeep.si...@citrix.com wrote:
 
 Hi Hugo,
 
 The agent code is C# based. So I was looking for a windows based server to
build it. Will it be possible to get one?
 
 Regards,
 Devdeep
 
 -Original Message-
 From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers
 Sent: Thursday, December 5, 2013 4:35 PM
 To: dev@cloudstack.apache.org
 Subject: Re: [Jenkins] slave for building hyperv agent
 
 Devdeep,
 
 what kind of instance would you need? I might be able to help you out with
a Linux based server in our cloud?
 
 Or if you have a fixed set of instructions to prepare a slave i'm happy to
add them to the template i use for the other builds from
jenkins.buildacloud.org?
 
 Cheers,
 
 Hugo
 
 
 On 4 dec. 2013, at 12:24, Devdeep Singh devdeep.si...@citrix.com wrote:
 
 Hi,
 
 I am looking to setup a Jenkins slave to build the hyperv agent. The
hyperv agent code can be build using Mono and the instructions for building
it are available at [1]. Can anyone help with providing an instance so that
it can be configured as a jenkins slave for regular builds of the hyperv
agent?
 
 [1]
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent
+Installer
 
 Regards,
 Devdeep
 



Re: Request: Help designing a 'powered by' logo for CloudStack

2013-12-06 Thread Daan Hoogland
Kirk,

Not to stress my dislike of our fellow primates; I would like some
more emphasis on the cloud then that. The fellow reminds me just a tad
to much of greasemonkey.

my .02 of wrench,
Daan

On Thu, Dec 5, 2013 at 10:10 PM, Kirk Jantzer kirk.jant...@gmail.com wrote:
 Not to throw a wrench in things, but I got into work this morning and saw
 my badge from the CloudStack conference in San Jose earlier this year. It's
 the face of a monkey made up of a bunch of text from some CloudStack
 documentation. I thought something to that effect with the words powered,
 by, apache, and cloudstack scattered (but obvious) throughout the
 logo. What are everyone's thoughts on this?? I'm not asking to change
 things, I'm just brainstorming here.


 Regards,

 Kirk Jantzer
 http://about.me/kirkjantzer


 On Thu, Dec 5, 2013 at 3:37 PM, Laszlo Hornyak 
 laszlo.horn...@gmail.comwrote:

 I want to avoid having an overlay on the image, so I will return to my
 previous design and fix that. Guys if you want the monkey, now you have a
 very easy job :-)


 On Thu, Dec 5, 2013 at 10:37 AM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:

  Yes Kirk, that would help. That or a scale down of the cloud and
  monkey in comparison to the letters. (I have no problem with any of
  our fellow primates)
 
  On Thu, Dec 5, 2013 at 12:11 AM, Kirk Jantzer kirk.jant...@gmail.com
  wrote:
   Daan - agreed about the balance, however disagree about the monkey. I
  think
   if the text was a layer over the cloud, it might be more balanced, like
   this: http://i.imgur.com/WTNAIoG.png (not the same font or text, but
 the
   idea)
  
  
   Regards,
  
   Kirk Jantzer
   http://about.me/kirkjantzer
  
  
   On Wed, Dec 4, 2013 at 4:34 PM, Daan Hoogland daan.hoogl...@gmail.com
  wrote:
  
   I actually don't like the cute creature in there. from a graphical
   stance; it ruins the balance in the logo, hanging out on the top
   right. maybe because of the form factor. maybe you can try one without
   the monkey and one cut in which the centre of the picture is between
   the base of the monkey tail and the start of the cloud.
  
   sorry to nag,
   Daan
  
   On Wed, Dec 4, 2013 at 10:00 PM, Laszlo Hornyak
   laszlo.horn...@gmail.com wrote:
Hi,
   
Sending version 0.0.3:
- Complete monkey added
- Apache added
- Clouds more like the original logo
This also comes with some cons:
- 4 colors
- lots of text, at least compared to 0.0.1
but if you look at it scaled down to very small, it is still
 readable,
   even
the monkey is so-so.
   
Just in case someone feels like experimenting, I also attached the
 up
  to
date version of my reverse engineered cloudstack monkey with cloud.
   
steroidmonkey is just a bit different from the poweredbycloudstack
  svg,
   spot
the difference :-)
   
Your feedback is welcome!
   
Thank you,
Laszlo
   
   
On Tue, Dec 3, 2013 at 11:31 AM, Daan Hoogland 
  daan.hoogl...@gmail.com
wrote:
   
I like,
2. But I agree with Rbyn about the word apache. I should be in
 there.
I think it must even.
1. It looks streched on my preview in finder as well
   
On Mon, Dec 2, 2013 at 9:47 PM, Robyn Bergeron 
 rberg...@redhat.com
wrote:


 - Original Message -
 From: Laszlo Hornyak laszlo.horn...@gmail.com
 To: dev@cloudstack.apache.org
 Cc: market...@cloudstack.apache.org
 Sent: Sunday, December 1, 2013 10:31:11 AM
 Subject: Re: Request: Help designing a 'powered by' logo for
   CloudStack

 Hi,

 Here is my version:
  - SVG format as you requested
  - Only two colors, exactly the same as for the original logo. I
   prefer
 few
 colors for such pictures
  - Unfortunately the monkey could not make it, the whole thing
  needs
   to
 fit
 into a very small area and the monkey would be too little detail
  (the
 monkey is übercool anyway)
  - if no monkey, then cloud
  - only powered by cloudstack, no extra text because it make
  make
 difficult to read in such a small place
  - see attached file :)

 Hi,

 I like the cloud idea/placement. (And totally get that it's going
  to
   be
 hard to see the monkey in such a small space. Even though he's so
   cute.)

 Two things -

 1) The lettering in the word cloudstack looks stretched as
  compared
 with the normal look of the font - I'm not sure if that's
   intentional, not
 intentional, something really weird in how it's rendering on my
   screen... :)
 2) I realize the problem around no extra text but ... do we
 want
  to
 add in the word apache? (or conversely, is there any reason why
 it
   shouldn't
 be added in... legal, etc)?

 -robyn




 On Fri, Nov 15, 2013 at 6:56 PM, David Nalley da...@gnsa.us
  wrote:

  Hi folks:
 
  If you happen to have some graphical design talent (I have
  none) 

RE: [Jenkins] slave for building hyperv agent

2013-12-06 Thread Donal Lafferty
+1, and for avoidance of doubt...

To *build* the Hyper-V agent, we can use Mono and NuGet packages with licenses 
acceptable to the Apache Community.  The packages are downloaded automatically.

To *unit* test the Hyper-V agent, you can use Mono and the NuGet packages.  
Unit tests mock the Hyper-V API response to CloudStack commands.
 
For *functional* and *integration* tests, you need a Windows operating system.  
These are release tests and not build tests.


DL


 -Original Message-
 From: Alex Hitchins [mailto:cloudst...@alexhitchins.com]
 Sent: 06 December 2013 12:50
 To: dev@cloudstack.apache.org
 Subject: RE: [Jenkins] slave for building hyperv agent
 
 C# should run under Mono without much fuss, unless there are core
 Windows library's used in the application.
 
 
 
 Alexander Hitchins
 
 Personal Email : a...@alexhitchins.com
 Apache Email   : a...@alexhitchins.com
 Website: http://alexhitchins.com
 Mobile : 07788 423 969
 
 -Original Message-
 From: Hugo Trippaers [mailto:trip...@gmail.com]
 Sent: 05 December 2013 20:09
 To: dev@cloudstack.apache.org
 Cc: dev@cloudstack.apache.org
 Subject: Re: [Jenkins] slave for building hyperv agent
 
 Hey devdeep,
 
 I'll try. The trouble with windows boxes is that we need a license for it. I 
 need
 to check if my company is ok with assigning one to this machine.
 
 Do you need any other software besides just plain windows server standard
 2012?
 
 Cheers,
 
 Hugo
 
 Sent from my iPhone
 
  On 5 dec. 2013, at 12:02, Devdeep Singh devdeep.si...@citrix.com
 wrote:
 
  Hi Hugo,
 
  The agent code is C# based. So I was looking for a windows based
  server to
 build it. Will it be possible to get one?
 
  Regards,
  Devdeep
 
  -Original Message-
  From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers
  Sent: Thursday, December 5, 2013 4:35 PM
  To: dev@cloudstack.apache.org
  Subject: Re: [Jenkins] slave for building hyperv agent
 
  Devdeep,
 
  what kind of instance would you need? I might be able to help you out
  with
 a Linux based server in our cloud?
 
  Or if you have a fixed set of instructions to prepare a slave i'm
  happy to
 add them to the template i use for the other builds from
 jenkins.buildacloud.org?
 
  Cheers,
 
  Hugo
 
 
  On 4 dec. 2013, at 12:24, Devdeep Singh devdeep.si...@citrix.com
 wrote:
 
  Hi,
 
  I am looking to setup a Jenkins slave to build the hyperv agent. The
 hyperv agent code can be build using Mono and the instructions for building
 it are available at [1]. Can anyone help with providing an instance so that it
 can be configured as a jenkins slave for regular builds of the hyperv agent?
 
  [1]
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv
 +Agent
 +Installer
 
  Regards,
  Devdeep
 



Review Request 16080: Move Netscaler plugin from non-oss to oss and upgrade the nitro API to 10.1

2013-12-06 Thread Syed Ahmed

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

Review request for cloudstack, Murali Reddy and Prasanna Santhanam.


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


Repository: cloudstack-git


Description
---

This patch moves the Netscaler plugin from non-oss to oss and upgrades the 
nitro API to 10.1. There were a few changes in the NetscalerResource.java for 
moving to 10.1. 


Diffs
-

  client/pom.xml fc01113 
  plugins/network-elements/netscaler/pom.xml e3a2736 
  
plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
 7dac9a0 
  plugins/pom.xml 17dd8af 

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


Testing
---


Thanks,

Syed Ahmed



Review Request 16085: Fixed an Issue reported by xen server team

2013-12-06 Thread Santhosh Edukulla

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

Review request for cloudstack and Girish Shilamkar.


Repository: cloudstack-git


Description
---

Added a temp time sleep fix for a start command. Applies only to 4.2-forward 
branch.


Diffs
-

  test/integration/smoke/test_snapshots.py 06777e4 
  test/integration/smoke/test_volumes.py b60b70e 

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


Testing
---

No


Thanks,

Santhosh Edukulla



Review Request 16086: Added a temp sleep fix for vm start command

2013-12-06 Thread Santhosh Edukulla

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

Review request for cloudstack.


Repository: cloudstack-git


Description
---

Added a temporary time sleep fix post a restart command. Applies to 
4.2,master,4.3

Note: Has to clean other things as well and will do more cleaner way of 
handling things.


Diffs
-

  test/integration/smoke/test_volumes.py 816ae03 

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


Testing
---

No.


Thanks,

Santhosh Edukulla



Re: Review Request 16002: CLOUDSTACK-3932 UI: Truncation issue occurred in secondary storage URL.

2013-12-06 Thread Dariusz Nejbauer

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

(Updated Dec. 6, 2013, 5:08 p.m.)


Review request for cloudstack, Brian Federle and Jessica Wang.


Summary (updated)
-

CLOUDSTACK-3932 UI: Truncation issue occurred in secondary storage URL.


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


Repository: cloudstack-git


Description
---

Wrong layout format in Secondary Storage QuickView: 
https://issues.apache.org/jira/secure/attachment/12594894/Truncation.jpg

Problem with layout occurs when quick-view displays details field from json 
data. In table body, row has the same class as the parent div.


Diffs
-

  ui/scripts/ui/widgets/detailView.js b0ebaa9b27947f3720e2068471361004bce02f7a 

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


Testing
---

Tested locally on:
1. DevCloud setup
2. Win 7-Chrome
3. Win 7-Firefox 22.0
4. Win 7-IE9
5. Ubuntu 12.04-Firefox 25.0.1

QuickView after change:
https://drive.google.com/file/d/0Bxp-rsbufeAzZEtlakxKTEwyaGM/edit?usp=sharing


Thanks,

Dariusz Nejbauer



Re: Review Request 16086: Added a temp sleep fix for vm start command

2013-12-06 Thread Santhosh Edukulla

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

(Updated Dec. 6, 2013, 6:28 p.m.)


Review request for cloudstack and Girish Shilamkar.


Changes
---

Added a reviewer


Repository: cloudstack-git


Description
---

Added a temporary time sleep fix post a restart command. Applies to 
4.2,master,4.3

Note: Has to clean other things as well and will do more cleaner way of 
handling things.


Diffs
-

  test/integration/smoke/test_volumes.py 816ae03 

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


Testing
---

No.


Thanks,

Santhosh Edukulla



Re: Review Request 16044: CLOUDSTACK-5388 Volume Snapshot UI does not provide option of adding quiesce vm parameter

2013-12-06 Thread ASF Subversion and Git Services

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


Commit 90cc00df462f9b566575ef6c961cff1667b4243c in branch 
refs/heads/ui-wip-cs5388-review from Chris Suich
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=90cc00d ]

Added quiescevm option to volume snapshot dialog when storage supports it

CLOUDSTACK-5388


- ASF Subversion and Git Services


On Dec. 5, 2013, 9:28 p.m., Chris Suich wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/16044/
 ---
 
 (Updated Dec. 5, 2013, 9:28 p.m.)
 
 
 Review request for cloudstack, Brian Federle and Jessica Wang.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Volume Snapshot UI does not provide option of adding quiesce vm parameter 
 when the underlying storage does support the option.
 
 
 Diffs
 -
 
   ui/scripts/storage.js 4875662 
 
 Diff: https://reviews.apache.org/r/16044/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Chris Suich
 




Re: Review Request 16044: CLOUDSTACK-5388 Volume Snapshot UI does not provide option of adding quiesce vm parameter

2013-12-06 Thread ASF Subversion and Git Services

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


Commit 14dcd803fa17d688db1a990bb23bdcff1d013da4 in branch 
refs/heads/ui-wip-cs5388-review from Chris Suich
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=14dcd80 ]

Fixed issue with quiescevm param on snapshot UI

CLOUDSTACK-5388


- ASF Subversion and Git Services


On Dec. 5, 2013, 9:28 p.m., Chris Suich wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/16044/
 ---
 
 (Updated Dec. 5, 2013, 9:28 p.m.)
 
 
 Review request for cloudstack, Brian Federle and Jessica Wang.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Volume Snapshot UI does not provide option of adding quiesce vm parameter 
 when the underlying storage does support the option.
 
 
 Diffs
 -
 
   ui/scripts/storage.js 4875662 
 
 Diff: https://reviews.apache.org/r/16044/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Chris Suich
 




Re: About the implementation of RvR

2013-12-06 Thread Alex Ough
Hi Sheng, good to hear from you!

Btw, can I get the review request id of the RvR so that I can get
information of how it was implemented?

Thanks
Alex Ough


On Thu, Dec 5, 2013 at 6:53 PM, Sheng Yang sh...@yasker.org wrote:

 I meant, VPC and redundant router. :)

 --Sheng


 On Thu, Dec 5, 2013 at 4:52 PM, Sheng Yang sh...@yasker.org wrote:

  Sure!
 
  Yes, I am the right person for VPC. :)
 
  Redundant router for VPC would be a great improvement for CloudStack, I
  just haven't got enough time to work on that.
 
  I think the design would works mostly the same way, but there are things
  become more tricky for VPC e.g. hot plug nics and un-consequences public
  nics in the VPC VR(if multiple vlan is necessary). Many if not all
 scripts
  in the VR need to be changed to follow VPC
 
  I would very glad to help on RvR for VPC.
 
  Thanks.
 
  --Sheng
 
 
  On Thu, Dec 5, 2013 at 11:54 AM, Alex Ough alex.o...@sungard.com
 wrote:
 
  Hi Sheng,
 
  I hope you're the right person for this, but if not, please let me know.
 
  Currently I'm planning to work on the redundant routers in VPC
  (CLOUDSTACK-764) because my company will need this feature in the near
  future and you seem to have implemented the RvR in non-VPC networks.
 
  I think it is appropriate to follow the same implementation with yours,
  so can I get the review request information of this implementation so
 that
  I can reference your implementation if possible?
 
  Thanks.
  Alex Ough
 
 
 



Re: About the implementation of RvR

2013-12-06 Thread Daan Hoogland
Alex, I think Sheng build the RvR before Cloudstack was donated to
Apache by Citrix. i.e. no review id

On Fri, Dec 6, 2013 at 8:26 PM, Alex Ough alex.o...@sungard.com wrote:
 Hi Sheng, good to hear from you!

 Btw, can I get the review request id of the RvR so that I can get
 information of how it was implemented?

 Thanks
 Alex Ough


 On Thu, Dec 5, 2013 at 6:53 PM, Sheng Yang sh...@yasker.org wrote:

 I meant, VPC and redundant router. :)

 --Sheng


 On Thu, Dec 5, 2013 at 4:52 PM, Sheng Yang sh...@yasker.org wrote:

  Sure!
 
  Yes, I am the right person for VPC. :)
 
  Redundant router for VPC would be a great improvement for CloudStack, I
  just haven't got enough time to work on that.
 
  I think the design would works mostly the same way, but there are things
  become more tricky for VPC e.g. hot plug nics and un-consequences public
  nics in the VPC VR(if multiple vlan is necessary). Many if not all
 scripts
  in the VR need to be changed to follow VPC
 
  I would very glad to help on RvR for VPC.
 
  Thanks.
 
  --Sheng
 
 
  On Thu, Dec 5, 2013 at 11:54 AM, Alex Ough alex.o...@sungard.com
 wrote:
 
  Hi Sheng,
 
  I hope you're the right person for this, but if not, please let me know.
 
  Currently I'm planning to work on the redundant routers in VPC
  (CLOUDSTACK-764) because my company will need this feature in the near
  future and you seem to have implemented the RvR in non-VPC networks.
 
  I think it is appropriate to follow the same implementation with yours,
  so can I get the review request information of this implementation so
 that
  I can reference your implementation if possible?
 
  Thanks.
  Alex Ough
 
 
 



[ACS 4.3] Code freeze is today

2013-12-06 Thread Animesh Chaturvedi
Folks

The code freeze for ACS 4.3 is today and the release will move into limited 
updates with only blockers and critical fixes.

We are targeting first RC candidate in 5 weeks  on 1/10 and with holidays at 
year end we will see some downtime. Let's pull in all our energy for next few 
weeks and help bring blockers and criticals to single digit in two weeks by 
12/20. For the most recent status checkout the release dashboard [1]. There are 
still large number of unassigned issues [2]. Please review and pull in 
unassigned issues.


[1] https://issues.apache.org/jira/secure/Dashboard.jspa?selectPageId=12321625
[2] https://issues.apache.org/jira/issues/?filter=12323959

Thanks
Animesh


Re: Review Request 16042: fixed feature for lost event uuid and event type in the action event messages

2013-12-06 Thread Alex Ough

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

(Updated Dec. 6, 2013, 8:17 p.m.)


Review request for cloudstack.


Changes
---

Made the fix only affect 'ActionEventUtils.java' because it doesn't seem to be 
good for 'CallContext' class to know about the events. All it does is just to 
store and retrieve data without knowing what the data is about.


Repository: cloudstack-git


Description
---

Bug fix for CLOUDSTACK-3190 (action events message published on 'event bus' 
should have the UUID of the entity for which event generated and event type).


Diffs (updated)
-

  server/src/com/cloud/event/ActionEventUtils.java eba6874 

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


Testing
---

Confirmed that 'entity'  'entityuuid' are included in the messages.

[x] 
'management-server.ActionEvent.USER-CREATE.User.*':'{eventDateTime:2013-12-05
 12:45:10 -0600,status:Completed,description:Successfully completed 
creating User. UserName: test2, FirstName :a, LastName: 
a,event:USER.CREATE,entityuuid:67888f40-80f3-4ec0-9a45-e1f729cf7b36,entity:com.cloud.user.User,account:32907226-5dd5-11e3-a6af-d073d0b82aa6,user:3295ad2c-5dd5-11e3-a6af-d073d0b82aa6}'

 [x] 
'management-server.ActionEvent.USER-DELETE.User.*':'{eventDateTime:2013-12-05
 12:45:38 -0600,status:Completed,description:Successfully completed 
deleting User. UserId: 
5,event:USER.DELETE,entityuuid:67888f40-80f3-4ec0-9a45-e1f729cf7b36,entity:com.cloud.user.User,account:32907226-5dd5-11e3-a6af-d073d0b82aa6,user:3295ad2c-5dd5-11e3-a6af-d073d0b82aa6}'


Thanks,

Alex Ough



Re: Review Request 16044: CLOUDSTACK-5388 Volume Snapshot UI does not provide option of adding quiesce vm parameter

2013-12-06 Thread ASF Subversion and Git Services

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


Commit a2c0abe98b52b9ee02cc17536731dc04fe3c67d6 in branch refs/heads/4.3 from 
Chris Suich
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a2c0abe ]

Fixed issue with quiescevm param on snapshot UI

CLOUDSTACK-5388


- ASF Subversion and Git Services


On Dec. 5, 2013, 9:28 p.m., Chris Suich wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/16044/
 ---
 
 (Updated Dec. 5, 2013, 9:28 p.m.)
 
 
 Review request for cloudstack, Brian Federle and Jessica Wang.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Volume Snapshot UI does not provide option of adding quiesce vm parameter 
 when the underlying storage does support the option.
 
 
 Diffs
 -
 
   ui/scripts/storage.js 4875662 
 
 Diff: https://reviews.apache.org/r/16044/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Chris Suich
 




Re: Review Request 16044: CLOUDSTACK-5388 Volume Snapshot UI does not provide option of adding quiesce vm parameter

2013-12-06 Thread ASF Subversion and Git Services

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


Commit 6ac7811274aa31eeef8eead4c7fc4e808af0a147 in branch refs/heads/4.3 from 
Chris Suich
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6ac7811 ]

Added quiescevm option to volume snapshot dialog when storage supports it

CLOUDSTACK-5388


- ASF Subversion and Git Services


On Dec. 5, 2013, 9:28 p.m., Chris Suich wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/16044/
 ---
 
 (Updated Dec. 5, 2013, 9:28 p.m.)
 
 
 Review request for cloudstack, Brian Federle and Jessica Wang.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Volume Snapshot UI does not provide option of adding quiesce vm parameter 
 when the underlying storage does support the option.
 
 
 Diffs
 -
 
   ui/scripts/storage.js 4875662 
 
 Diff: https://reviews.apache.org/r/16044/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Chris Suich
 




Re: Review Request 16044: CLOUDSTACK-5388 Volume Snapshot UI does not provide option of adding quiesce vm parameter

2013-12-06 Thread Brian Federle

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

Ship it!


Ship It!

- Brian Federle


On Dec. 5, 2013, 9:28 p.m., Chris Suich wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/16044/
 ---
 
 (Updated Dec. 5, 2013, 9:28 p.m.)
 
 
 Review request for cloudstack, Brian Federle and Jessica Wang.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Volume Snapshot UI does not provide option of adding quiesce vm parameter 
 when the underlying storage does support the option.
 
 
 Diffs
 -
 
   ui/scripts/storage.js 4875662 
 
 Diff: https://reviews.apache.org/r/16044/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Chris Suich
 




Re: Review Request 16044: CLOUDSTACK-5388 Volume Snapshot UI does not provide option of adding quiesce vm parameter

2013-12-06 Thread ASF Subversion and Git Services

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


Commit 782bd4d9bcb1606ccd6d09d4c480dea529618c5d in branch refs/heads/master 
from Chris Suich
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=782bd4d ]

Fixed issue with quiescevm param on snapshot UI

CLOUDSTACK-5388


- ASF Subversion and Git Services


On Dec. 5, 2013, 9:28 p.m., Chris Suich wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/16044/
 ---
 
 (Updated Dec. 5, 2013, 9:28 p.m.)
 
 
 Review request for cloudstack, Brian Federle and Jessica Wang.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Volume Snapshot UI does not provide option of adding quiesce vm parameter 
 when the underlying storage does support the option.
 
 
 Diffs
 -
 
   ui/scripts/storage.js 4875662 
 
 Diff: https://reviews.apache.org/r/16044/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Chris Suich
 




Re: Review Request 16044: CLOUDSTACK-5388 Volume Snapshot UI does not provide option of adding quiesce vm parameter

2013-12-06 Thread ASF Subversion and Git Services

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


Commit 06344db330f6121855a0c8460f8771f7d6c6054a in branch refs/heads/master 
from Chris Suich
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=06344db ]

Added quiescevm option to volume snapshot dialog when storage supports it

CLOUDSTACK-5388


- ASF Subversion and Git Services


On Dec. 5, 2013, 9:28 p.m., Chris Suich wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/16044/
 ---
 
 (Updated Dec. 5, 2013, 9:28 p.m.)
 
 
 Review request for cloudstack, Brian Federle and Jessica Wang.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Volume Snapshot UI does not provide option of adding quiesce vm parameter 
 when the underlying storage does support the option.
 
 
 Diffs
 -
 
   ui/scripts/storage.js 4875662 
 
 Diff: https://reviews.apache.org/r/16044/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Chris Suich
 




Re: Review Request 15922: Enhanced few features under Marvin

2013-12-06 Thread Will Stevens


 On Dec. 6, 2013, 6:35 a.m., Girish Shilamkar wrote:
  Committed to 4.2, 4.3 and master.

I am unable to run the following command on the 4.3 branch now:

mvn -P developer -pl tools/devcloud -Ddeploysvr -X

I get one of the following error:
[DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py -i 
devcloud.cfg
Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 567, in module
from marvin.marvinLog import MarvinLog
ImportError: No module named marvinLog

or

[DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py -i 
devcloud.cfg
Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 19, in module
import configGenerator
  File /mnt/hgfs/palo_alto/cloudstack/tools/marvin/marvin/configGenerator.py, 
line 22, in module
from marvin.codes import *
ImportError: No module named codes


I have rebuilt my system many times now trying to get this to work. 

Partially related to this process.  In order to use devcloud I had to make the 
following changes to the root pom.xml
$ git diff pom.xml 
diff --git a/pom.xml b/pom.xml
index 31946d8..a49927e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -747,9 +747,7 @@
   /properties
   modules
 moduledeveloper/module
-!--
 moduletools/module
---
   /modules
 /profile
 profile
@@ -759,7 +757,7 @@
   /properties
   modules
 moduledeveloper/module
-!--moduletools/devcloud/module --
+moduletools/devcloud/module
   /modules
 /profile
 profile


Also, because my code is in a shared directory, I have to also make this change:
$ git diff tools/marvin/pom.xml
diff --git a/tools/marvin/pom.xml b/tools/marvin/pom.xml
index 0869248..f33fedf 100644
--- a/tools/marvin/pom.xml
+++ b/tools/marvin/pom.xml
@@ -73,7 +73,7 @@
   executablepython/executable
   arguments
 argumentsetup.py/argument
-argumentsdist/argument
+argumentinstall/argument
   /arguments
 /configuration
   /execution
@@ -126,7 +126,7 @@
   executablepython/executable
   arguments
 argumentsetup.py/argument
-argumentsdist/argument
+argumentinstall/argument
   /arguments
 /configuration
   /execution


Here are my steps for trying to rebuild my environment:

# completely blow away and rebuild my DB
$ /etc/init.d/mysqld stop
$ rm -rf /var/lib/mysql/
$ /etc/init.d/mysqld start

# clean install (I have to skip tests because 'Apache CloudStack Console Proxy 
- RDP Client' fails tests)
$ mvn -P developer,systemvm clean install -Dmaven.test.skip=true

# deploy the db
$ mvn -P developer -pl developer,tools/devcloud -Ddeploydb

# start the server
$ chmod 755 
/mnt/hgfs/palo_alto/cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
$ export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
$ mvn -pl :cloud-client-ui jetty:run

# once the server is started I resync marvin
$ cd tools/marvin/dist/
$ curl -o Marvin-0.1.0.tar.gz 
https://builds.apache.org/job/cloudstack-marvin/lastSuccessfulBuild/artifact/tools/marvin/dist/Marvin-0.1.0-1555.tar.gz
$ export MAVEN_OPTS=
$ mvn -Pdeveloper,marvin.sync -Dendpoint=localhost -pl :cloud-marvin

# now I try to deploy the server
$ export MAVEN_OPTS=
$ mvn -P developer -pl tools/devcloud -Ddeploysvr -X

# I have tried running 'python setup.py install' inside 'tools/marvin' as well 
as many other combinations of steps.

I have spent a solid half day trying to troubleshoot this...


- Will


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


On Nov. 30, 2013, 6:27 p.m., Santhosh Edukulla wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/15922/
 ---
 
 (Updated Nov. 30, 2013, 6:27 p.m.)
 
 
 Review request for cloudstack and Girish Shilamkar.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Added few enhancements to marvin.
 Added new module for Logging Facility to marvin.
 Added new Init facility to marvin.
 Currently, there are multiple ways we are doing logging
 Removed few unwanted logging cases.
 Removed few command line switch options for logging.
 The new way of logging now provides consolidated logging
 under one single folder timestamped under the configured
 folder path.
 Removed parsing configuration from deploydata center
 Added parsing,start logging and deploy as part of init
 Added new error 

How to register an event subscriber

2013-12-06 Thread Alex Ough
All,

To support the new feature, CLOUDSTACK-4992, I'd like to create an
event subscriber that implements 'EventSubscriber' interface, but I'm
not sure how to register that subscriber to make it running.

Do I need to specify it in any config file or load it from anywhere
when the management server is started?

Your reply will be very appreciated.
Thanks
Alex Ough


Re: Entity UUID and Type missing on ActionEvent event notifications

2013-12-06 Thread Alex Ough
I modified the fix to make a little simpler, so can you review it please?

I'd like to finalize this as soon as possible to move on with CLOUDSTACK-4992.

Thanks
Alex Ough

On Thu, Dec 5, 2013 at 1:32 PM, Alex Ough alex.o...@sungard.com wrote:
 All,

 I submitted the review request, so please review it and let me know if there
 is anything missing/incorrect.

 Thanks
 Alex Ough


 On Wed, Dec 4, 2013 at 11:29 PM, Murali Reddy murali.re...@citrix.com
 wrote:

 On 05/12/13 12:01 AM, Alex Ough alex.o...@sungard.com wrote:

 All,
 
 I made a comment on its jira,
 CLOUDSTACK-3190https://issues.apache.org/jira/browse/CLOUDSTACK-3190,
 so can anyone confirm what I found?
 I guess it is related with some refactoring related with 'CallContext'
 class.

 Alex,

 Yes, it regressed during shift from UserContext to CallContext. Please go
 ahead with changes

 
 If correct, I'd like make changes because it is a blocker of what I'm
 working on for
 CLOUDSTACK-4992https://issues.apache.org/jira/browse/CLOUDSTACK-4992
 .
 
 Thanks
 Alex Ough
 
 
 On Wed, Nov 20, 2013 at 1:37 PM, Nitin Mehta nitin.me...@citrix.com
 wrote:
 
  David - CallContext gets created during the entry point of the API.
  I haven't had the chance to completely investigate but I am hoping that
  you can push the UUID then or on completion of the API (in case where
 you
  are creating the actual resource).
  See if that works else there is no other way out.
 
  Another feedback on Rabbit MQ would be to push the list of all the
  first
  class objects (UUIDs) that are affected  in the event description if
  possible. Say user invokes attachVolume to a vm. It would be good to
  always push vm uuid.
  Just putting in the volume uuid necessitates another call to CS and
  also
  that this was attach volume operation.
 
  Thanks,
  -Nitin
 
  On 20/11/13 8:23 AM, David Grizzanti david.grizza...@sungard.com
  wrote:
 
  Thanks for the feedback and info on the existing bug filed for this.
  
  Nitin - I was originally thinking along the lines of what Murali has
  recently commented (i.e. adding Entity Details in the UserContext in
 all
  the places where an Action Event is generated).  The particular case I
  was using this for when I found the issue was for creating a network,
  which is not an async job.  The AsyncJobManager I believe it
 generating a
  different type of event that what I was originally looking at.
  
  Let me know your thoughts.
  
  Thanks
  
  --
  David Grizzanti
  Software Engineer
  Sungard Availability Services
  
  e: david.grizza...@sungard.com
  w: 215.446.1431
  c: 570.575.0315
  
  On November 20, 2013 at 2:45:50 AM, Murali Reddy
  (murali.re...@citrix.com) wrote:
  
  
  
  On 20/11/13 2:15 AM, David Grizzanti david.grizza...@sungard.com
  wrote:
  
  Hi All,
  
  I noticed that the event messages going to rabbitmq of type
  ActionEvent
  are missing any reference to the entity Id/UUID. Was this omission
  intentional? Poking through the code, I was able to find that adding
 the
  
  information on to the event is fairly straightforward (albeit a bit
  tedious). Does anyone have any objections to updating these event
 types
  with this information? I can file the appropriate Jira, but wanted to
  check in with the list first to get opinions.
  
  David,
  
  Omission is not intentional. Please see [1] for earlier discussion.
 There
  
  is a bug opened as well[2].
  
  If you see ActionEventUtils, there is code that gets 'entity type' and
  'entity uuid' from the CallContext and fills the details on the
   message
  published. I added this as generic mechanism. Unfortunately, there is
 not
  
  a single place where if you populate the entity type and uuid in the
 call
  
  context then things would fall in place. So its tedious job of adding
 the
  
  entity type and uuid details to the call context to all the methods
  annotated with 'ActionEvent', but other wise it is a much needed fix.
  
  [1]
  
 

  http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201306.mbox/%3CCD
 F
  1
  db6a.424d9%25murali.re...@citrix.com%3E
  [2] https://issues.apache.org/jira/browse/CLOUDSTACK-3190
  
  
   Example event for network creation below.
  
  Thanks
  
  --
  @source=management-server, @type=ActionEvent,
  @action=NETWORK-CREATE, @resource_type=Network, @resource_id=*
  {
   status: Completed,
   event: NETWORK.CREATE,
   account: 6d836cf8-47cd-11e3-a130-606d02c0c082,
   user: 6d838544-47cd-11e3-a130-606d02c0c082
  }
  
  --
  David Grizzanti
  Software Engineer
  Sungard Availability Services
  
  e: david.grizza...@sungard.com
  w: 215.446.1431
  c: 570.575.0315
  
  
  
 
 
 
 






Re: About the implementation of RvR

2013-12-06 Thread Sheng Yang
In fact I've written something on wiki to help people to understand
redundant router, but may not covered anything of RvR.

Here is for your reference:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Redundant+Virtual+Router+Functional+Spec

--Sheng


On Fri, Dec 6, 2013 at 11:33 AM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 Alex, I think Sheng build the RvR before Cloudstack was donated to
 Apache by Citrix. i.e. no review id

 On Fri, Dec 6, 2013 at 8:26 PM, Alex Ough alex.o...@sungard.com wrote:
  Hi Sheng, good to hear from you!
 
  Btw, can I get the review request id of the RvR so that I can get
  information of how it was implemented?
 
  Thanks
  Alex Ough
 
 
  On Thu, Dec 5, 2013 at 6:53 PM, Sheng Yang sh...@yasker.org wrote:
 
  I meant, VPC and redundant router. :)
 
  --Sheng
 
 
  On Thu, Dec 5, 2013 at 4:52 PM, Sheng Yang sh...@yasker.org wrote:
 
   Sure!
  
   Yes, I am the right person for VPC. :)
  
   Redundant router for VPC would be a great improvement for CloudStack,
 I
   just haven't got enough time to work on that.
  
   I think the design would works mostly the same way, but there are
 things
   become more tricky for VPC e.g. hot plug nics and un-consequences
 public
   nics in the VPC VR(if multiple vlan is necessary). Many if not all
  scripts
   in the VR need to be changed to follow VPC
  
   I would very glad to help on RvR for VPC.
  
   Thanks.
  
   --Sheng
  
  
   On Thu, Dec 5, 2013 at 11:54 AM, Alex Ough alex.o...@sungard.com
  wrote:
  
   Hi Sheng,
  
   I hope you're the right person for this, but if not, please let me
 know.
  
   Currently I'm planning to work on the redundant routers in VPC
   (CLOUDSTACK-764) because my company will need this feature in the
 near
   future and you seem to have implemented the RvR in non-VPC networks.
  
   I think it is appropriate to follow the same implementation with
 yours,
   so can I get the review request information of this implementation so
  that
   I can reference your implementation if possible?
  
   Thanks.
   Alex Ough
  
  
  
 



RE: Review Request 15922: Enhanced few features under Marvin

2013-12-06 Thread Santhosh Edukulla
Hi will,

You need to install latest marvin. Changes to it requires for users to install 
it again. Using mvn, it just builds and packages, it wont install.

under marvin folder, run python setup.py install, or can use pip install 
marvin..tar.gz  

Thanks!
Santhosh 

From: Will Stevens [nore...@reviews.apache.org] on behalf of Will Stevens 
[wstev...@cloudops.com]
Sent: Friday, December 06, 2013 4:14 PM
To: Girish Shilamkar
Cc: Santhosh Edukulla; Will Stevens; cloudstack
Subject: Re: Review Request 15922: Enhanced few features under Marvin

 On Dec. 6, 2013, 6:35 a.m., Girish Shilamkar wrote:
  Committed to 4.2, 4.3 and master.

I am unable to run the following command on the 4.3 branch now:

mvn -P developer -pl tools/devcloud -Ddeploysvr -X

I get one of the following error:
[DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py -i 
devcloud.cfg
Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 567, in module
from marvin.marvinLog import MarvinLog
ImportError: No module named marvinLog

or

[DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py -i 
devcloud.cfg
Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 19, in module
import configGenerator
  File /mnt/hgfs/palo_alto/cloudstack/tools/marvin/marvin/configGenerator.py, 
line 22, in module
from marvin.codes import *
ImportError: No module named codes


I have rebuilt my system many times now trying to get this to work.

Partially related to this process.  In order to use devcloud I had to make the 
following changes to the root pom.xml
$ git diff pom.xml
diff --git a/pom.xml b/pom.xml
index 31946d8..a49927e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -747,9 +747,7 @@
   /properties
   modules
 moduledeveloper/module
-!--
 moduletools/module
---
   /modules
 /profile
 profile
@@ -759,7 +757,7 @@
   /properties
   modules
 moduledeveloper/module
-!--moduletools/devcloud/module --
+moduletools/devcloud/module
   /modules
 /profile
 profile


Also, because my code is in a shared directory, I have to also make this change:
$ git diff tools/marvin/pom.xml
diff --git a/tools/marvin/pom.xml b/tools/marvin/pom.xml
index 0869248..f33fedf 100644
--- a/tools/marvin/pom.xml
+++ b/tools/marvin/pom.xml
@@ -73,7 +73,7 @@
   executablepython/executable
   arguments
 argumentsetup.py/argument
-argumentsdist/argument
+argumentinstall/argument
   /arguments
 /configuration
   /execution
@@ -126,7 +126,7 @@
   executablepython/executable
   arguments
 argumentsetup.py/argument
-argumentsdist/argument
+argumentinstall/argument
   /arguments
 /configuration
   /execution


Here are my steps for trying to rebuild my environment:

# completely blow away and rebuild my DB
$ /etc/init.d/mysqld stop
$ rm -rf /var/lib/mysql/
$ /etc/init.d/mysqld start

# clean install (I have to skip tests because 'Apache CloudStack Console Proxy 
- RDP Client' fails tests)
$ mvn -P developer,systemvm clean install -Dmaven.test.skip=true

# deploy the db
$ mvn -P developer -pl developer,tools/devcloud -Ddeploydb

# start the server
$ chmod 755 
/mnt/hgfs/palo_alto/cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
$ export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
$ mvn -pl :cloud-client-ui jetty:run

# once the server is started I resync marvin
$ cd tools/marvin/dist/
$ curl -o Marvin-0.1.0.tar.gz 
https://builds.apache.org/job/cloudstack-marvin/lastSuccessfulBuild/artifact/tools/marvin/dist/Marvin-0.1.0-1555.tar.gz
$ export MAVEN_OPTS=
$ mvn -Pdeveloper,marvin.sync -Dendpoint=localhost -pl :cloud-marvin

# now I try to deploy the server
$ export MAVEN_OPTS=
$ mvn -P developer -pl tools/devcloud -Ddeploysvr -X

# I have tried running 'python setup.py install' inside 'tools/marvin' as well 
as many other combinations of steps.

I have spent a solid half day trying to troubleshoot this...


- Will


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


On Nov. 30, 2013, 6:27 p.m., Santhosh Edukulla wrote:

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

 (Updated Nov. 30, 2013, 6:27 p.m.)


 Review request for cloudstack and Girish Shilamkar.


 

Re: Review Request 15922: Enhanced few features under Marvin

2013-12-06 Thread Will Stevens
Where do I get the latest package?  I was getting 1555 from here:
https://builds.apache.org/job/cloudstack-marvin/

I did run 'python setup.py install' in the 'tools/marvin' directory and
that did not work either.

Can you specify the steps I need to take to get this working?

Thanks,

Will


On Fri, Dec 6, 2013 at 10:55 PM, Santhosh Edukulla 
santhosh.eduku...@citrix.com wrote:

 Hi will,

 You need to install latest marvin. Changes to it requires for users to
 install it again. Using mvn, it just builds and packages, it wont install.

 under marvin folder, run python setup.py install, or can use pip install
 marvin..tar.gz

 Thanks!
 Santhosh
 
 From: Will Stevens [nore...@reviews.apache.org] on behalf of Will Stevens
 [wstev...@cloudops.com]
 Sent: Friday, December 06, 2013 4:14 PM
 To: Girish Shilamkar
 Cc: Santhosh Edukulla; Will Stevens; cloudstack
 Subject: Re: Review Request 15922: Enhanced few features under Marvin

  On Dec. 6, 2013, 6:35 a.m., Girish Shilamkar wrote:
   Committed to 4.2, 4.3 and master.

 I am unable to run the following command on the 4.3 branch now:

 mvn -P developer -pl tools/devcloud -Ddeploysvr -X

 I get one of the following error:
 [DEBUG] Executing command line: python
 ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
 Traceback (most recent call last):
   File ../marvin/marvin/deployDataCenter.py, line 567, in module
 from marvin.marvinLog import MarvinLog
 ImportError: No module named marvinLog

 or

 [DEBUG] Executing command line: python
 ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
 Traceback (most recent call last):
   File ../marvin/marvin/deployDataCenter.py, line 19, in module
 import configGenerator
   File
 /mnt/hgfs/palo_alto/cloudstack/tools/marvin/marvin/configGenerator.py,
 line 22, in module
 from marvin.codes import *
 ImportError: No module named codes


 I have rebuilt my system many times now trying to get this to work.

 Partially related to this process.  In order to use devcloud I had to make
 the following changes to the root pom.xml
 $ git diff pom.xml
 diff --git a/pom.xml b/pom.xml
 index 31946d8..a49927e 100644
 --- a/pom.xml
 +++ b/pom.xml
 @@ -747,9 +747,7 @@
/properties
modules
  moduledeveloper/module
 -!--
  moduletools/module
 ---
/modules
  /profile
  profile
 @@ -759,7 +757,7 @@
/properties
modules
  moduledeveloper/module
 -!--moduletools/devcloud/module --
 +moduletools/devcloud/module
/modules
  /profile
  profile


 Also, because my code is in a shared directory, I have to also make this
 change:
 $ git diff tools/marvin/pom.xml
 diff --git a/tools/marvin/pom.xml b/tools/marvin/pom.xml
 index 0869248..f33fedf 100644
 --- a/tools/marvin/pom.xml
 +++ b/tools/marvin/pom.xml
 @@ -73,7 +73,7 @@
executablepython/executable
arguments
  argumentsetup.py/argument
 -argumentsdist/argument
 +argumentinstall/argument
/arguments
  /configuration
/execution
 @@ -126,7 +126,7 @@
executablepython/executable
arguments
  argumentsetup.py/argument
 -argumentsdist/argument
 +argumentinstall/argument
/arguments
  /configuration
/execution


 Here are my steps for trying to rebuild my environment:

 # completely blow away and rebuild my DB
 $ /etc/init.d/mysqld stop
 $ rm -rf /var/lib/mysql/
 $ /etc/init.d/mysqld start

 # clean install (I have to skip tests because 'Apache CloudStack Console
 Proxy - RDP Client' fails tests)
 $ mvn -P developer,systemvm clean install -Dmaven.test.skip=true

 # deploy the db
 $ mvn -P developer -pl developer,tools/devcloud -Ddeploydb

 # start the server
 $ chmod 755
 /mnt/hgfs/palo_alto/cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
 $ export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m -Xdebug
 -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
 $ mvn -pl :cloud-client-ui jetty:run

 # once the server is started I resync marvin
 $ cd tools/marvin/dist/
 $ curl -o Marvin-0.1.0.tar.gz
 https://builds.apache.org/job/cloudstack-marvin/lastSuccessfulBuild/artifact/tools/marvin/dist/Marvin-0.1.0-1555.tar.gz
 $ export MAVEN_OPTS=
 $ mvn -Pdeveloper,marvin.sync -Dendpoint=localhost -pl :cloud-marvin

 # now I try to deploy the server
 $ export MAVEN_OPTS=
 $ mvn -P developer -pl tools/devcloud -Ddeploysvr -X

 # I have tried running 'python setup.py install' inside 'tools/marvin' as
 well as many other combinations of steps.

 I have spent a solid half day trying to troubleshoot this...


 - Will


 ---
 This is an automatically generated e-mail. To reply, visit:
 

RE: Review Request 15922: Enhanced few features under Marvin

2013-12-06 Thread Santhosh Edukulla
1. The path mentioned below does not contain latest.

2.  When you pull the latest 4.3 code, the latest marvin for that build is 
available with it. So, running python setup.py install in that folder should 
install latest marvin 

3. In your case of running mvn, under devcloud pom.xml, you are asking it to 
run deploy data center as well using -Ddeploysvr switch which requires latest 
marvin to work with deployDataCenter.

So for devcloud module, you need latest marvin. I would recommend running mvn 
clean install or with other some profile as mvn clean install -P 
developer,systemvm It will  get you latest marvin with cloudstackAPI folder 
and running 
python setup.py install from tools/marvin should install the marvin.

Thereafter you can build devcloud. Let me know.


Regards,
Santhosh

From: williamstev...@gmail.com [williamstev...@gmail.com] on behalf of Will 
Stevens [wstev...@cloudops.com]
Sent: Friday, December 06, 2013 10:59 PM
To: Santhosh Edukulla
Cc: dev@cloudstack.apache.org; Girish Shilamkar
Subject: Re: Review Request 15922: Enhanced few features under Marvin

Where do I get the latest package?  I was getting 1555 from here: 
https://builds.apache.org/job/cloudstack-marvin/

I did run 'python setup.py install' in the 'tools/marvin' directory and that 
did not work either.

Can you specify the steps I need to take to get this working?

Thanks,

Will


On Fri, Dec 6, 2013 at 10:55 PM, Santhosh Edukulla 
santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.com wrote:
Hi will,

You need to install latest marvin. Changes to it requires for users to install 
it again. Using mvn, it just builds and packages, it wont install.

under marvin folder, run python setup.py install, or can use pip install 
marvin..tar.gz

Thanks!
Santhosh

From: Will Stevens 
[nore...@reviews.apache.orgmailto:nore...@reviews.apache.org] on behalf of 
Will Stevens [wstev...@cloudops.commailto:wstev...@cloudops.com]
Sent: Friday, December 06, 2013 4:14 PM
To: Girish Shilamkar
Cc: Santhosh Edukulla; Will Stevens; cloudstack
Subject: Re: Review Request 15922: Enhanced few features under Marvin

 On Dec. 6, 2013, 6:35 a.m., Girish Shilamkar wrote:
  Committed to 4.2, 4.3 and master.

I am unable to run the following command on the 4.3 branch now:

mvn -P developer -pl tools/devcloud -Ddeploysvr -X

I get one of the following error:
[DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py -i 
devcloud.cfg
Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 567, in module
from marvin.marvinLog import MarvinLog
ImportError: No module named marvinLog

or

[DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py -i 
devcloud.cfg
Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 19, in module
import configGenerator
  File /mnt/hgfs/palo_alto/cloudstack/tools/marvin/marvin/configGenerator.py, 
line 22, in module
from marvin.codes import *
ImportError: No module named codes


I have rebuilt my system many times now trying to get this to work.

Partially related to this process.  In order to use devcloud I had to make the 
following changes to the root pom.xml
$ git diff pom.xml
diff --git a/pom.xml b/pom.xml
index 31946d8..a49927e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -747,9 +747,7 @@
   /properties
   modules
 moduledeveloper/module
-!--
 moduletools/module
---
   /modules
 /profile
 profile
@@ -759,7 +757,7 @@
   /properties
   modules
 moduledeveloper/module
-!--moduletools/devcloud/module --
+moduletools/devcloud/module
   /modules
 /profile
 profile


Also, because my code is in a shared directory, I have to also make this change:
$ git diff tools/marvin/pom.xml
diff --git a/tools/marvin/pom.xml b/tools/marvin/pom.xml
index 0869248..f33fedf 100644
--- a/tools/marvin/pom.xml
+++ b/tools/marvin/pom.xml
@@ -73,7 +73,7 @@
   executablepython/executable
   arguments
 argumentsetup.py/argument
-argumentsdist/argument
+argumentinstall/argument
   /arguments
 /configuration
   /execution
@@ -126,7 +126,7 @@
   executablepython/executable
   arguments
 argumentsetup.py/argument
-argumentsdist/argument
+argumentinstall/argument
   /arguments
 /configuration
   /execution


Here are my steps for trying to rebuild my environment:

# completely blow away and rebuild my DB
$ /etc/init.d/mysqld stop
$ rm -rf /var/lib/mysql/
$ /etc/init.d/mysqld start

# clean install (I have to skip tests because 'Apache CloudStack Console Proxy 
- RDP Client' fails tests)
$ mvn -P developer,systemvm clean install -Dmaven.test.skip=true


Re: Review Request 15922: Enhanced few features under Marvin

2013-12-06 Thread Will Stevens
If you looked at the steps I have done, you will see that I have done
that...

I have done a clean install in order to get the latest marvin.  That didnt
work so I tried grabbing a version from online.  That didnt work.  I also
tried doing a 'python setup.py install'.  That also didn't work...

So you're saying that this SHOULD work???

# clean install (I have to skip tests because 'Apache CloudStack
Console Proxy - RDP Client' fails tests)
$ mvn -P developer,systemvm clean install -Dmaven.test.skip=true

# deploy the db
$ mvn -P developer -pl developer,tools/devcloud -Ddeploydb

# I have done it with and without the following lines
$ cd tools/marvin
$ python setup.py install

# start the server
$ chmod 755 
/mnt/hgfs/palo_alto/cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
$ export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m -Xdebug
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
$ mvn -pl :cloud-client-ui jetty:run

# now I try to deploy the server
$ export MAVEN_OPTS=
$ mvn -P developer -pl tools/devcloud -Ddeploysvr -X

This results in:

[DEBUG] Executing command line: python
../marvin/marvin/deployDataCenter.py -i devcloud.cfg
Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 567, in module
from marvin.marvinLog import MarvinLog
ImportError: No module named marvinLog



On Fri, Dec 6, 2013 at 11:32 PM, Santhosh Edukulla 
santhosh.eduku...@citrix.com wrote:

 1. The path mentioned below does not contain latest.

 2.  When you pull the latest 4.3 code, the latest marvin for that build is
 available with it. So, running python setup.py install in that folder
 should install latest marvin

 3. In your case of running mvn, under devcloud pom.xml, you are asking it
 to run deploy data center as well using -Ddeploysvr switch which requires
 latest marvin to work with deployDataCenter.

 So for devcloud module, you need latest marvin. I would recommend running
 mvn clean install or with other some profile as mvn clean install -P
 developer,systemvm It will  get you latest marvin with cloudstackAPI
 folder and running
 python setup.py install from tools/marvin should install the marvin.

 Thereafter you can build devcloud. Let me know.


 Regards,
 Santhosh
 
 From: williamstev...@gmail.com [williamstev...@gmail.com] on behalf of
 Will Stevens [wstev...@cloudops.com]
 Sent: Friday, December 06, 2013 10:59 PM
 To: Santhosh Edukulla
 Cc: dev@cloudstack.apache.org; Girish Shilamkar
 Subject: Re: Review Request 15922: Enhanced few features under Marvin

 Where do I get the latest package?  I was getting 1555 from here:
 https://builds.apache.org/job/cloudstack-marvin/

 I did run 'python setup.py install' in the 'tools/marvin' directory and
 that did not work either.

 Can you specify the steps I need to take to get this working?

 Thanks,

 Will


 On Fri, Dec 6, 2013 at 10:55 PM, Santhosh Edukulla 
 santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.com wrote:
 Hi will,

 You need to install latest marvin. Changes to it requires for users to
 install it again. Using mvn, it just builds and packages, it wont install.

 under marvin folder, run python setup.py install, or can use pip install
 marvin..tar.gz

 Thanks!
 Santhosh
 
 From: Will Stevens [nore...@reviews.apache.orgmailto:
 nore...@reviews.apache.org] on behalf of Will Stevens [
 wstev...@cloudops.commailto:wstev...@cloudops.com]
 Sent: Friday, December 06, 2013 4:14 PM
 To: Girish Shilamkar
 Cc: Santhosh Edukulla; Will Stevens; cloudstack
 Subject: Re: Review Request 15922: Enhanced few features under Marvin

  On Dec. 6, 2013, 6:35 a.m., Girish Shilamkar wrote:
   Committed to 4.2, 4.3 and master.

 I am unable to run the following command on the 4.3 branch now:

 mvn -P developer -pl tools/devcloud -Ddeploysvr -X

 I get one of the following error:
 [DEBUG] Executing command line: python
 ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
 Traceback (most recent call last):
   File ../marvin/marvin/deployDataCenter.py, line 567, in module
 from marvin.marvinLog import MarvinLog
 ImportError: No module named marvinLog

 or

 [DEBUG] Executing command line: python
 ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
 Traceback (most recent call last):
   File ../marvin/marvin/deployDataCenter.py, line 19, in module
 import configGenerator
   File
 /mnt/hgfs/palo_alto/cloudstack/tools/marvin/marvin/configGenerator.py,
 line 22, in module
 from marvin.codes import *
 ImportError: No module named codes


 I have rebuilt my system many times now trying to get this to work.

 Partially related to this process.  In order to use devcloud I had to make
 the following changes to the root pom.xml
 $ git diff pom.xml
 diff --git a/pom.xml b/pom.xml
 index 31946d8..a49927e 100644
 --- a/pom.xml
 +++ b/pom.xml
 @@ -747,9 +747,7 @@
/properties
 

Re: Review Request 15922: Enhanced few features under Marvin

2013-12-06 Thread Will Stevens


 On Dec. 6, 2013, 6:35 a.m., Girish Shilamkar wrote:
  Committed to 4.2, 4.3 and master.
 
 Will Stevens wrote:
 I am unable to run the following command on the 4.3 branch now:
 
 mvn -P developer -pl tools/devcloud -Ddeploysvr -X
 
 I get one of the following error:
 [DEBUG] Executing command line: python 
 ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
 Traceback (most recent call last):
   File ../marvin/marvin/deployDataCenter.py, line 567, in module
 from marvin.marvinLog import MarvinLog
 ImportError: No module named marvinLog
 
 or
 
 [DEBUG] Executing command line: python 
 ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
 Traceback (most recent call last):
   File ../marvin/marvin/deployDataCenter.py, line 19, in module
 import configGenerator
   File 
 /mnt/hgfs/palo_alto/cloudstack/tools/marvin/marvin/configGenerator.py, line 
 22, in module
 from marvin.codes import *
 ImportError: No module named codes
 
 
 I have rebuilt my system many times now trying to get this to work. 
 
 Partially related to this process.  In order to use devcloud I had to 
 make the following changes to the root pom.xml
 $ git diff pom.xml 
 diff --git a/pom.xml b/pom.xml
 index 31946d8..a49927e 100644
 --- a/pom.xml
 +++ b/pom.xml
 @@ -747,9 +747,7 @@
/properties
modules
  moduledeveloper/module
 -!--
  moduletools/module
 ---
/modules
  /profile
  profile
 @@ -759,7 +757,7 @@
/properties
modules
  moduledeveloper/module
 -!--moduletools/devcloud/module --
 +moduletools/devcloud/module
/modules
  /profile
  profile
 
 
 Also, because my code is in a shared directory, I have to also make this 
 change:
 $ git diff tools/marvin/pom.xml
 diff --git a/tools/marvin/pom.xml b/tools/marvin/pom.xml
 index 0869248..f33fedf 100644
 --- a/tools/marvin/pom.xml
 +++ b/tools/marvin/pom.xml
 @@ -73,7 +73,7 @@
executablepython/executable
arguments
  argumentsetup.py/argument
 -argumentsdist/argument
 +argumentinstall/argument
/arguments
  /configuration
/execution
 @@ -126,7 +126,7 @@
executablepython/executable
arguments
  argumentsetup.py/argument
 -argumentsdist/argument
 +argumentinstall/argument
/arguments
  /configuration
/execution
 
 
 Here are my steps for trying to rebuild my environment:
 
 # completely blow away and rebuild my DB
 $ /etc/init.d/mysqld stop
 $ rm -rf /var/lib/mysql/
 $ /etc/init.d/mysqld start
 
 # clean install (I have to skip tests because 'Apache CloudStack Console 
 Proxy - RDP Client' fails tests)
 $ mvn -P developer,systemvm clean install -Dmaven.test.skip=true
 
 # deploy the db
 $ mvn -P developer -pl developer,tools/devcloud -Ddeploydb
 
 # start the server
 $ chmod 755 
 /mnt/hgfs/palo_alto/cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
 $ export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m -Xdebug 
 -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
 $ mvn -pl :cloud-client-ui jetty:run
 
 # once the server is started I resync marvin
 $ cd tools/marvin/dist/
 $ curl -o Marvin-0.1.0.tar.gz 
 https://builds.apache.org/job/cloudstack-marvin/lastSuccessfulBuild/artifact/tools/marvin/dist/Marvin-0.1.0-1555.tar.gz
 $ export MAVEN_OPTS=
 $ mvn -Pdeveloper,marvin.sync -Dendpoint=localhost -pl :cloud-marvin
 
 # now I try to deploy the server
 $ export MAVEN_OPTS=
 $ mvn -P developer -pl tools/devcloud -Ddeploysvr -X
 
 # I have tried running 'python setup.py install' inside 'tools/marvin' as 
 well as many other combinations of steps.
 
 I have spent a solid half day trying to troubleshoot this...

This is the most basic example:

# clean install (I have to skip tests because 'Apache CloudStack Console Proxy 
- RDP Client' fails tests)
$ mvn -P developer,systemvm clean install -Dmaven.test.skip=true

# deploy the db
$ mvn -P developer -pl developer,tools/devcloud -Ddeploydb

# I have done it with and without the following lines
$ cd tools/marvin
$ python setup.py install

# start the server
$ chmod 755 
/mnt/hgfs/palo_alto/cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
$ export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m -Xdebug 

RE: Review Request 15922: Enhanced few features under Marvin

2013-12-06 Thread Santhosh Edukulla
I was thinking that it was an install issue. So, I just pulled the latest code 
for 4.3 and master to see the changes for this patch, i could see marvinLog.py 
and marvinInit.py files seems to be missing and so is the reason for this 
failure.  If we see, these files were available as part of the patch, these 
were not pushed.

Regards,
Santhosh

From: williamstev...@gmail.com [williamstev...@gmail.com] on behalf of Will 
Stevens [wstev...@cloudops.com]
Sent: Saturday, December 07, 2013 12:24 AM
To: Santhosh Edukulla
Cc: dev@cloudstack.apache.org; Girish Shilamkar
Subject: Re: Review Request 15922: Enhanced few features under Marvin

If you looked at the steps I have done, you will see that I have done that...

I have done a clean install in order to get the latest marvin.  That didnt work 
so I tried grabbing a version from online.  That didnt work.  I also tried 
doing a 'python setup.py install'.  That also didn't work...

So you're saying that this SHOULD work???


# clean install (I have to skip tests because 'Apache CloudStack Console Proxy 
- RDP Client' fails tests)
$ mvn -P developer,systemvm clean install -Dmaven.test.skip=true

# deploy the db
$ mvn -P developer -pl developer,tools/devcloud -Ddeploydb

# I have done it with and without the following lines
$ cd tools/marvin
$ python setup.py install

# start the server
$ chmod 755 
/mnt/hgfs/palo_alto/cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
$ export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
$ mvn -pl :cloud-client-ui jetty:run

# now I try to deploy the server
$ export MAVEN_OPTS=
$ mvn -P developer -pl tools/devcloud -Ddeploysvr -X

This results in:

[DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py -i 
devcloud.cfg
Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 567, in module
from marvin.marvinLog import MarvinLog
ImportError: No module named marvinLog


On Fri, Dec 6, 2013 at 11:32 PM, Santhosh Edukulla 
santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.com wrote:
1. The path mentioned below does not contain latest.

2.  When you pull the latest 4.3 code, the latest marvin for that build is 
available with it. So, running python setup.py install in that folder should 
install latest marvin

3. In your case of running mvn, under devcloud pom.xml, you are asking it to 
run deploy data center as well using -Ddeploysvr switch which requires latest 
marvin to work with deployDataCenter.

So for devcloud module, you need latest marvin. I would recommend running mvn 
clean install or with other some profile as mvn clean install -P 
developer,systemvm It will  get you latest marvin with cloudstackAPI folder 
and running
python setup.py install from tools/marvin should install the marvin.

Thereafter you can build devcloud. Let me know.


Regards,
Santhosh

From: williamstev...@gmail.commailto:williamstev...@gmail.com 
[williamstev...@gmail.commailto:williamstev...@gmail.com] on behalf of Will 
Stevens [wstev...@cloudops.commailto:wstev...@cloudops.com]
Sent: Friday, December 06, 2013 10:59 PM
To: Santhosh Edukulla
Cc: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org; Girish 
Shilamkar
Subject: Re: Review Request 15922: Enhanced few features under Marvin

Where do I get the latest package?  I was getting 1555 from here: 
https://builds.apache.org/job/cloudstack-marvin/

I did run 'python setup.py install' in the 'tools/marvin' directory and that 
did not work either.

Can you specify the steps I need to take to get this working?

Thanks,

Will


On Fri, Dec 6, 2013 at 10:55 PM, Santhosh Edukulla 
santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.com
 wrote:
Hi will,

You need to install latest marvin. Changes to it requires for users to install 
it again. Using mvn, it just builds and packages, it wont install.

under marvin folder, run python setup.py install, or can use pip install 
marvin..tar.gz

Thanks!
Santhosh

From: Will Stevens 
[nore...@reviews.apache.orgmailto:nore...@reviews.apache.orgmailto:nore...@reviews.apache.orgmailto:nore...@reviews.apache.org]
 on behalf of Will Stevens 
[wstev...@cloudops.commailto:wstev...@cloudops.commailto:wstev...@cloudops.commailto:wstev...@cloudops.com]
Sent: Friday, December 06, 2013 4:14 PM
To: Girish Shilamkar
Cc: Santhosh Edukulla; Will Stevens; cloudstack
Subject: Re: Review Request 15922: Enhanced few features under Marvin

 On Dec. 6, 2013, 6:35 a.m., Girish Shilamkar wrote:
  Committed to 4.2, 4.3 and master.

I am unable to run the following command on the 4.3 branch now:

mvn -P developer -pl tools/devcloud -Ddeploysvr -X

I get one of the following error:
[DEBUG] Executing command 

Re: Review Request 15922: Enhanced few features under Marvin

2013-12-06 Thread Girish Shilamkar
Mea culpa. I will push the missed out files.

Regards,
Girish

On 07-Dec-2013, at 12:34 PM, Santhosh Edukulla santhosh.eduku...@citrix.com 
wrote:

 I was thinking that it was an install issue. So, I just pulled the latest 
 code for 4.3 and master to see the changes for this patch, i could see 
 marvinLog.py and marvinInit.py files seems to be missing and so is the reason 
 for this failure.  If we see, these files were available as part of the 
 patch, these were not pushed.
 
 Regards,
 Santhosh
 
 From: williamstev...@gmail.com [williamstev...@gmail.com] on behalf of Will 
 Stevens [wstev...@cloudops.com]
 Sent: Saturday, December 07, 2013 12:24 AM
 To: Santhosh Edukulla
 Cc: dev@cloudstack.apache.org; Girish Shilamkar
 Subject: Re: Review Request 15922: Enhanced few features under Marvin
 
 If you looked at the steps I have done, you will see that I have done that...
 
 I have done a clean install in order to get the latest marvin.  That didnt 
 work so I tried grabbing a version from online.  That didnt work.  I also 
 tried doing a 'python setup.py install'.  That also didn't work...
 
 So you're saying that this SHOULD work???
 
 
 # clean install (I have to skip tests because 'Apache CloudStack Console 
 Proxy - RDP Client' fails tests)
 $ mvn -P developer,systemvm clean install -Dmaven.test.skip=true
 
 # deploy the db
 $ mvn -P developer -pl developer,tools/devcloud -Ddeploydb
 
 # I have done it with and without the following lines
 $ cd tools/marvin
 $ python setup.py install
 
 # start the server
 $ chmod 755 
 /mnt/hgfs/palo_alto/cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
 $ export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m -Xdebug 
 -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
 $ mvn -pl :cloud-client-ui jetty:run
 
 # now I try to deploy the server
 $ export MAVEN_OPTS=
 $ mvn -P developer -pl tools/devcloud -Ddeploysvr -X
 
 This results in:
 
 [DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py 
 -i devcloud.cfg
 Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 567, in module
from marvin.marvinLog import MarvinLog
 ImportError: No module named marvinLog
 
 
 On Fri, Dec 6, 2013 at 11:32 PM, Santhosh Edukulla 
 santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.com wrote:
 1. The path mentioned below does not contain latest.
 
 2.  When you pull the latest 4.3 code, the latest marvin for that build is 
 available with it. So, running python setup.py install in that folder should 
 install latest marvin
 
 3. In your case of running mvn, under devcloud pom.xml, you are asking it to 
 run deploy data center as well using -Ddeploysvr switch which requires 
 latest marvin to work with deployDataCenter.
 
 So for devcloud module, you need latest marvin. I would recommend running 
 mvn clean install or with other some profile as mvn clean install -P 
 developer,systemvm It will  get you latest marvin with cloudstackAPI folder 
 and running
 python setup.py install from tools/marvin should install the marvin.
 
 Thereafter you can build devcloud. Let me know.
 
 
 Regards,
 Santhosh
 
 From: williamstev...@gmail.commailto:williamstev...@gmail.com 
 [williamstev...@gmail.commailto:williamstev...@gmail.com] on behalf of Will 
 Stevens [wstev...@cloudops.commailto:wstev...@cloudops.com]
 Sent: Friday, December 06, 2013 10:59 PM
 To: Santhosh Edukulla
 Cc: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org; Girish 
 Shilamkar
 Subject: Re: Review Request 15922: Enhanced few features under Marvin
 
 Where do I get the latest package?  I was getting 1555 from here: 
 https://builds.apache.org/job/cloudstack-marvin/
 
 I did run 'python setup.py install' in the 'tools/marvin' directory and that 
 did not work either.
 
 Can you specify the steps I need to take to get this working?
 
 Thanks,
 
 Will
 
 
 On Fri, Dec 6, 2013 at 10:55 PM, Santhosh Edukulla 
 santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.commailto:santhosh.eduku...@citrix.com
  wrote:
 Hi will,
 
 You need to install latest marvin. Changes to it requires for users to 
 install it again. Using mvn, it just builds and packages, it wont install.
 
 under marvin folder, run python setup.py install, or can use pip install 
 marvin..tar.gz
 
 Thanks!
 Santhosh
 
 From: Will Stevens 
 [nore...@reviews.apache.orgmailto:nore...@reviews.apache.orgmailto:nore...@reviews.apache.orgmailto:nore...@reviews.apache.org]
  on behalf of Will Stevens 
 [wstev...@cloudops.commailto:wstev...@cloudops.commailto:wstev...@cloudops.commailto:wstev...@cloudops.com]
 Sent: Friday, December 06, 2013 4:14 PM
 To: Girish Shilamkar
 Cc: Santhosh Edukulla; Will Stevens; cloudstack
 Subject: Re: Review Request 15922: Enhanced few features under 

Re: Progress on GlusterFS support from the CCCEU Hackathon

2013-12-06 Thread Wido den Hollander

Hi Niels,

I saw that you already got some good feedback on your first version of 
the patch.


I'll wait for the second revision of the patch to do my review.

Wido

On 12/01/2013 03:46 PM, Niels de Vos wrote:

On Mon, Nov 25, 2013 at 12:41:58PM -0800, David Nalley wrote:

Hi folks:

Just bringing some things from the hackathon back to the mailing list.

One of the things worked on there was GlusterFS support. Wido and
Niels began work on this, and you can see the blog post[1] from Niels,
which might be helpful to others as well for things like Sheepdog.

There's also now a project on gluster's forge [2] where the code for
this work in progress lives for the moment. Please don't hesitate to
get involved and help if you are interested.


I've now posted the changes for review as well:
* Add support for Primary Storage on Gluster using the libvirt backend
   - https://reviews.apache.org/r/15932/
* [#15933] Add Gluster to the list of protocols in the Management Server
   - https://reviews.apache.org/r/15933/

If someone can review these and give some pointers for improving so that
it can be included in a future release, I'd much appreciate that. The
current patches are done against the 4.2 branch, but they probably apply
cleanly against master too.

These are my first patches for CloudStack, and it's likely that I missed
something. I thought it makes sense to show these changes early so that
anyone interested can try, ask questions and/or give feedback.

Thanks,
Niels



[1] http://blog.nixpanic.net/2013/11/initial-work-on-gluster-integration.html
[2] https://forge.gluster.org/cloudstack-gluster#more



--
Wido den Hollander
42on B.V.

Phone: +31 (0)20 700 9902
Skype: contact42on