Re: [PATCH core] Core: Prevent multiple driver class loading (DTACLOUD-290)

2012-08-01 Thread David Lutterkort
On Wed, 2012-08-01 at 13:40 +0200, mfoj...@redhat.com wrote: > From: Michal Fojtik > > This patch should prevent memory leaking caused > by repetetive driver loading on every request. > > Signed-off-by: Michal fojtik > --- > server/lib/deltacloud/helpers/driver_helper.rb |4 ++-- > 1 file

Re: [PATCH core 4/5] Core: Minor tweak to deltacloud test helper

2012-08-01 Thread David Lutterkort
On Tue, 2012-07-31 at 14:33 +0200, mfoj...@redhat.com wrote: > From: Michal Fojtik > > * The 'root_url' can be now used in this way: > > get root_url '/url' > > Signed-off-by: Michal fojtik > --- > server/tests/deltacloud/common.rb |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(

Re: Initial support for CIMI minitest (rev 2)

2012-08-01 Thread David Lutterkort
On Wed, 2012-08-01 at 14:55 +0200, Michal Fojtik wrote: > Hi, > > Seems like a missing 'require "rubygems"' for me. > > Do you want me to add this into all files or we are good with: > > export RUBYOPT="rubygems" ? I don't want to rely on env vars for running tests. I am thinking that each test

[jira] [Commented] (DTACLOUD-291) LoadError when running rake with bundler on Fedora 17

2012-08-01 Thread David Lutterkort (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427030#comment-13427030 ] David Lutterkort commented on DTACLOUD-291: --- Do we have any idea what's causin

Re: [PATCH 1/2] API TESTS - moves common collections tests to separate file

2012-08-01 Thread David Lutterkort
On Wed, 2012-08-01 at 14:38 +0300, mar...@redhat.com wrote: > From: marios > > > Signed-off-by: marios > --- > tests/deltacloud/buckets_test.rb | 135 > ++ > tests/deltacloud/common_tests_collections.rb | 105 > tests/deltacloud/test_

Re: [PATCH 2/2] API TESTS: adds images and instances tests

2012-08-01 Thread David Lutterkort
On Wed, 2012-08-01 at 14:38 +0300, mar...@redhat.com wrote: > From: marios > > > Signed-off-by: marios > --- > tests/config.yaml | 19 ++- > tests/deltacloud/base_api_test.rb |8 +- > tests/deltacloud/images_test.rb| 75 > tests/deltacloud/instances_test.

Re: [PATCH 2/2] API TESTS: adds images and instances tests

2012-08-01 Thread Ronelle Landy
Two comments (so far): 1. running >> rake test:deltacloud produces a bunch of warnings like: /home/dcloud/workspace/deltacloud/tests/deltacloud/instances_test.rb:28: warning: class variable access from toplevel 2: tests take a really long time to complete (tests are still running ...). Maybe th

[jira] [Closed] (DTACLOUD-289) Error when creating storage volumes and load balancers on ec2

2012-08-01 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy closed DTACLOUD-289. -- Resolution: Fixed Tested that this patch works ... mfojtik is pushing the patch to master. E

[jira] [Commented] (DTACLOUD-289) Error when creating storage volumes and load balancers on ec2

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426621#comment-13426621 ] Michal Fojtik commented on DTACLOUD-289: commit 7c2054768279f22354b91e738f50aa29

Re: [PATCH core] Core: Added missing :with_capability options (DTACLOUD-298)

2012-08-01 Thread Ronelle Landy
ACK ... was able to create/destroy load balancers and storage snapshots. > From: mfoj...@redhat.com > To: dev@deltacloud.apache.org > Sent: Wednesday, August 1, 2012 8:37:45 AM > Subject: [PATCH core] Core: Added missing :with_capability options > (DTACLOUD-298) > > From: Michal Fojtik > > Wit

[jira] [Commented] (DTACLOUD-291) LoadError when running rake with bundler on Fedora 17

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426592#comment-13426592 ] Michal Fojtik commented on DTACLOUD-291: I suggest to add NO_BUNDLER=1 environme

[jira] [Assigned] (DTACLOUD-291) LoadError when running rake with bundler on Fedora 17

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik reassigned DTACLOUD-291: -- Assignee: David Lutterkort > LoadError when running rake with bundler on Fedora 1

[jira] [Created] (DTACLOUD-291) LoadError when running rake with bundler on Fedora 17

2012-08-01 Thread Ronelle Landy (JIRA)
Ronelle Landy created DTACLOUD-291: -- Summary: LoadError when running rake with bundler on Fedora 17 Key: DTACLOUD-291 URL: https://issues.apache.org/jira/browse/DTACLOUD-291 Project: DeltaCloud

Re: Initial support for CIMI minitest (rev 2)

2012-08-01 Thread Michal Fojtik
Hi, Seems like a missing 'require "rubygems"' for me. Do you want me to add this into all files or we are good with: export RUBYOPT="rubygems" ? -- Michal Michal Fojtik http://deltacloud.org mfoj...@redhat.com On Aug 1, 2012, at 12:35 AM, David Lutterkort wrote: > On Tue, 2012-07-31 at 1

Re: [PATCH core] Core: Prevent multiple driver class loading (DTACLOUD-290)

2012-08-01 Thread Jan Provazník
On 08/01/2012 01:40 PM, mfoj...@redhat.com wrote: From: Michal Fojtik This patch should prevent memory leaking caused by repetetive driver loading on every request. Signed-off-by: Michal fojtik --- server/lib/deltacloud/helpers/driver_helper.rb |4 ++-- 1 file changed, 2 insertions(+),

[jira] [Commented] (DTACLOUD-290) Memory leaking on Fedora 17

2012-08-01 Thread Jan Provaznik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426573#comment-13426573 ] Jan Provaznik commented on DTACLOUD-290: The updated patch works fine - no memor

[jira] [Resolved] (DTACLOUD-288) New provider driver for Aruba cloud.it platform.

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik resolved DTACLOUD-288. Resolution: Fixed Assignee: Michal Fojtik commit 45d3aa03d61bc99454db38dc3126c4dbc7

[jira] [Commented] (DTACLOUD-288) New provider driver for Aruba cloud.it platform.

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426561#comment-13426561 ] Michal Fojtik commented on DTACLOUD-288: Thanks! I just pushed the driver. Than

[jira] [Commented] (DTACLOUD-289) Error when creating storage volumes and load balancers on ec2

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426556#comment-13426556 ] Michal Fojtik commented on DTACLOUD-289: This is caused by missing the :with_cap

[jira] [Assigned] (DTACLOUD-289) Error when creating storage volumes and load balancers on ec2

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik reassigned DTACLOUD-289: -- Assignee: Michal Fojtik > Error when creating storage volumes and load balancers

[PATCH core] Core: Added missing :with_capability options (DTACLOUD-298)

2012-08-01 Thread mfojtik
From: Michal Fojtik Without this option the DC will fail to check required capability and end with exception. Signed-off-by: Michal fojtik --- server/lib/deltacloud/collections/load_balancers.rb |8 server/lib/deltacloud/collections/storage_volumes.rb |2 +- 2 files changed,

[jira] [Resolved] (DTACLOUD-22) deltacloudd seems unhappy with Ruby 1.9.1 on Win7

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik resolved DTACLOUD-22. --- Resolution: Won't Fix Assignee: Michal Fojtik (was: David Lutterkort) According to IR

[jira] [Commented] (DTACLOUD-290) Memory leaking on Fedora 17

2012-08-01 Thread Jan Provaznik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426545#comment-13426545 ] Jan Provaznik commented on DTACLOUD-290: I can confirm that the original patch i

[jira] [Assigned] (DTACLOUD-290) Memory leaking on Fedora 17

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik reassigned DTACLOUD-290: -- Assignee: Michal Fojtik > Memory leaking on Fedora 17 > -

[jira] [Commented] (DTACLOUD-290) Memory leaking on Fedora 17

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426536#comment-13426536 ] Michal Fojtik commented on DTACLOUD-290: I modified the patch to work nicely wit

[PATCH core] Core: Prevent multiple driver class loading (DTACLOUD-290)

2012-08-01 Thread mfojtik
From: Michal Fojtik This patch should prevent memory leaking caused by repetetive driver loading on every request. Signed-off-by: Michal fojtik --- server/lib/deltacloud/helpers/driver_helper.rb |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/deltacloud/he

[PATCH 2/2] API TESTS: adds images and instances tests

2012-08-01 Thread marios
From: marios Signed-off-by: marios --- tests/config.yaml | 19 ++- tests/deltacloud/base_api_test.rb |8 +- tests/deltacloud/images_test.rb| 75 tests/deltacloud/instances_test.rb | 353 4 files changed, 448 insertion

[PATCH 1/2] API TESTS - moves common collections tests to separate file

2012-08-01 Thread marios
From: marios Signed-off-by: marios --- tests/deltacloud/buckets_test.rb | 135 ++ tests/deltacloud/common_tests_collections.rb | 105 tests/deltacloud/test_setup.rb | 23 - 3 files changed, 178 insertions(+), 85 del

[jira] [Commented] (DTACLOUD-290) Memory leaking on Fedora 17

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426513#comment-13426513 ] Michal Fojtik commented on DTACLOUD-290: (remove the 'puts' ;-)

[jira] [Commented] (DTACLOUD-290) Memory leaking on Fedora 17

2012-08-01 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426512#comment-13426512 ] Michal Fojtik commented on DTACLOUD-290: Hi, After some debugging we tried this

[jira] [Created] (DTACLOUD-290) Memory leaking on Fedora 17

2012-08-01 Thread Jan Provaznik (JIRA)
Jan Provaznik created DTACLOUD-290: -- Summary: Memory leaking on Fedora 17 Key: DTACLOUD-290 URL: https://issues.apache.org/jira/browse/DTACLOUD-290 Project: DeltaCloud Issue Type: Bug

[jira] [Commented] (DTACLOUD-288) New provider driver for Aruba cloud.it platform.

2012-08-01 Thread Aruba Staff (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426359#comment-13426359 ] Aruba Staff commented on DTACLOUD-288: -- Hi Michal, I'll send you the credentials o