RE: resource_metadatum_url error

2012-12-05 Thread Koper, Dies
Hi Marios, I haven't seen it anymore. Cheers, Dies Koper > -Original Message- > From: mar...@redhat.com [mailto:mandr...@redhat.com] > Sent: Tuesday, 4 December 2012 3:23 AM > To: dev@deltacloud.apache.org > Cc: Koper, Dies > Subject: Re: resource_metadatum_url error > > Hi Dies: > >

[PATCH 09/13] fixup! CIMI tests: add content_type helper

2012-12-05 Thread lutter
From: David Lutterkort --- tests/cimi/test_helper.rb |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb index 6d2b79a..b19dd9e 100644 --- a/tests/cimi/test_helper.rb +++ b/tests/cimi/test_helper.rb @@ -355,7 +355,7 @@ m

[PATCH 10/13] CIMI tests: streamline part2

2012-12-05 Thread lutter
From: David Lutterkort Some servers do not return a body for create requests (which is legal) --- tests/cimi/part2_test.rb | 31 +-- 1 files changed, 13 insertions(+), 18 deletions(-) diff --git a/tests/cimi/part2_test.rb b/tests/cimi/part2_test.rb index a70c6ed..6

[PATCH 13/13] * tests/cimi/part3_test.rb: streamline part3

2012-12-05 Thread lutter
From: David Lutterkort Some servers do not return a body for create requests (which is legal) --- tests/cimi/part3_test.rb | 67 -- 1 files changed, 23 insertions(+), 44 deletions(-) diff --git a/tests/cimi/part3_test.rb b/tests/cimi/part3_test.rb i

[PATCH 12/13] CIMI tests: fiddle with log format; dump RestClient traffic in debug level

2012-12-05 Thread lutter
From: David Lutterkort --- tests/cimi/test_helper.rb |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb index 9df8000..3605228 100644 --- a/tests/cimi/test_helper.rb +++ b/tests/cimi/test_helper.rb @@ -203,6 +203,8 @@ m

[PATCH 11/13] * tests/cimi/test_helper.rb (retrieve): accomodate responses w/o body

2012-12-05 Thread lutter
From: David Lutterkort --- tests/cimi/test_helper.rb | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb index b19dd9e..9df8000 100644 --- a/tests/cimi/test_helper.rb +++ b/tests/cimi/test_helper.rb @@ -163,7 +

[PATCH 08/13] * tests/cimi/cep_test.rb: simplify/correct test for Accept: */*

2012-12-05 Thread lutter
From: David Lutterkort --- tests/cimi/cep_test.rb |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/cimi/cep_test.rb b/tests/cimi/cep_test.rb index fcac30d..24e19bf 100644 --- a/tests/cimi/cep_test.rb +++ b/tests/cimi/cep_test.rb @@ -66,7 +66,8 @@ class CloundE

[PATCH 07/13] CIMI tests: add content_type helper to RestClient::Response

2012-12-05 Thread lutter
From: David Lutterkort --- tests/cimi/test_helper.rb |4 ++-- tests/helpers/common.rb |7 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb index bb75f51..6d2b79a 100644 --- a/tests/cimi/test_helper.rb +++ b/tes

[PATCH 06/13] CIMI tests: check creations against what the spec allows

2012-12-05 Thread lutter
From: David Lutterkort The spec allows returning status 201 or 202; Location header must be set --- tests/cimi/part2_test.rb |5 +++-- tests/cimi/part3_test.rb |5 +++-- tests/cimi/part4_test.rb |5 +++-- tests/helpers/common.rb |1 + 4 files changed, 10 insertions(+), 6 deletio

[PATCH 05/13] * tests/cimi/cep_test.rb: remove duplicate tests and assertions not required by CIMI

2012-12-05 Thread lutter
From: David Lutterkort --- tests/cimi/cep_test.rb | 26 ++ 1 files changed, 2 insertions(+), 24 deletions(-) diff --git a/tests/cimi/cep_test.rb b/tests/cimi/cep_test.rb index cc488a3..fcac30d 100644 --- a/tests/cimi/cep_test.rb +++ b/tests/cimi/cep_test.rb @@ -45,12 +

[PATCH 04/13] * tests/cimi/test_helper.rb (model_class): assert that resourceURI is set

2012-12-05 Thread lutter
From: David Lutterkort --- tests/cimi/test_helper.rb |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb index 0d318bf..bb75f51 100644 --- a/tests/cimi/test_helper.rb +++ b/tests/cimi/test_helper.rb @@ -154,6 +154,7 @@ mo

[PATCH 02/13] * tests/cimi/spec_helper.rb: require json/pure so tests can run individually

2012-12-05 Thread lutter
From: David Lutterkort --- server/tests/cimi/spec_helper.rb |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/server/tests/cimi/spec_helper.rb b/server/tests/cimi/spec_helper.rb index 6ec7b0d..8e86701 100644 --- a/server/tests/cimi/spec_helper.rb +++ b/server/tests/cimi/sp

[PATCH 03/13] CIMI: use a helper to produce correct headers for create responses

2012-12-05 Thread lutter
From: David Lutterkort --- server/lib/cimi/collections/credentials.rb |2 +- server/lib/cimi/collections/machine_templates.rb |3 +-- server/lib/cimi/collections/machines.rb |5 ++--- server/lib/cimi/collections/volumes.rb |3 +-- server/lib/cimi/helpers/

More CIMI fixes

2012-12-05 Thread lutter
Some more fixes to CIMI tests; recorded as http://tracker.deltacloud.orgset/185 This includes the patches I previously sent as 'Handle missing subcollections' (tracker patchset 180) David

[PATCH 01/13] CIMI: tolerate missing subcollections when parsing

2012-12-05 Thread lutter
From: David Lutterkort It is legal to omit subcollections, e.g. in Machine; make sure we process these correctly. --- server/lib/cimi/models/schema.rb|8 ++-- server/tests/cimi/data/machine-minimal.json |7 +++ server/tests/cimi/data/machine-minimal.xml |5 +

[jira] [Commented] (DTACLOUD-387) Regexp warning causing test failure

2012-12-05 Thread Dies Koper (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510985#comment-13510985 ] Dies Koper commented on DTACLOUD-387: - No: irb(main):001:0> "Test" =~ /test/i => 0

[jira] [Commented] (DTACLOUD-390) cimi: volume name is not set

2012-12-05 Thread Dies Koper (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510982#comment-13510982 ] Dies Koper commented on DTACLOUD-390: - You have reproduced it correctly. I was so fo

[jira] [Commented] (DTACLOUD-390) cimi: volume name is not set

2012-12-05 Thread Joseph J. VLcek (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510853#comment-13510853 ] Joseph J. VLcek commented on DTACLOUD-390: -- I'm not sure if I'm reproducing thi

[jira] [Resolved] (DTACLOUD-359) haml issue in error handling: undefined method `join' for nil:NilClass

2012-12-05 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik resolved DTACLOUD-359. Resolution: Fixed Assignee: Michal Fojtik http://tracker.deltacloud.org/patch/df993

[jira] [Commented] (DTACLOUD-359) haml issue in error handling: undefined method `join' for nil:NilClass

2012-12-05 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510604#comment-13510604 ] Michal Fojtik commented on DTACLOUD-359: Hi guys, sorry for late reply, this pro

[jira] [Resolved] (DTACLOUD-382) JSON parser incompatibility between 1.9.3p194 and 1.9.3p286

2012-12-05 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik resolved DTACLOUD-382. Resolution: Fixed Assignee: Michal Fojtik Patch pushed. > JSON par

[jira] [Commented] (DTACLOUD-391) Using $select=id,machineConfig for machineTemplates does not include machineConfig

2012-12-05 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510593#comment-13510593 ] Michal Fojtik commented on DTACLOUD-391: Patch recorded in this set: http://trac

[jira] [Commented] (DTACLOUD-388) SBC / IBM SmartCloud error

2012-12-05 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510594#comment-13510594 ] Michal Fojtik commented on DTACLOUD-388: Patch recorded in this set: http://trac

[PATCH core 2/2] SBC: Make sure the hwp_id is not Nil when creating new instance (DTACLOUD-388)

2012-12-05 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/lib/deltacloud/drivers/sbc/sbc_driver.rb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/lib/deltacloud/drivers/sbc/sbc_driver.rb b/server/lib/deltacloud/drivers/sbc/sbc_driver.rb index 2e09a15..c99406

[PATCH core 1/2] CIMI: Fix $select filter to undercore attributes (DTACLOUD-391)

2012-12-05 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/lib/cimi/models/base.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/lib/cimi/models/base.rb b/server/lib/cimi/models/base.rb index 2b13367..2988459 100644 --- a/server/lib/cimi/models/base.rb +++ b/ser

[jira] [Assigned] (DTACLOUD-387) Regexp warning causing test failure

2012-12-05 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik reassigned DTACLOUD-387: -- Assignee: Michal Fojtik > Regexp warning causing test failure > -

[jira] [Commented] (DTACLOUD-387) Regexp warning causing test failure

2012-12-05 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510592#comment-13510592 ] Michal Fojtik commented on DTACLOUD-387: Dies, can you start irb and do this: "

[jira] [Assigned] (DTACLOUD-388) SBC / IBM SmartCloud error

2012-12-05 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik reassigned DTACLOUD-388: -- Assignee: Michal Fojtik > SBC / IBM SmartCloud error > --

[jira] [Assigned] (DTACLOUD-391) Using $select=id,machineConfig for machineTemplates does not include machineConfig

2012-12-05 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik reassigned DTACLOUD-391: -- Assignee: Michal Fojtik > Using $select=id,machineConfig for machineTemplates doe

[jira] [Assigned] (DTACLOUD-381) CIMI: attaching a volume to a machine and deleting volumes are not working

2012-12-05 Thread Joseph J. VLcek (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph J. VLcek reassigned DTACLOUD-381: Assignee: Ronelle Landy (was: Joseph J. VLcek) After assigning this to me Ronell

[jira] [Assigned] (DTACLOUD-390) cimi: volume name is not set

2012-12-05 Thread Joseph J. VLcek (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph J. VLcek reassigned DTACLOUD-390: Assignee: Joseph J. VLcek > cimi: volume name is not set > --

[jira] [Assigned] (DTACLOUD-381) CIMI: attaching a volume to a machine and deleting volumes are not working

2012-12-05 Thread Joseph J. VLcek (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph J. VLcek reassigned DTACLOUD-381: Assignee: Joseph J. VLcek > CIMI: attaching a volume to a machine and deletin

Re: CIMI - tests modifying to run with other drivers - *don't push*

2012-12-05 Thread mar...@redhat.com
On 05/12/12 16:39, Ronelle Landy wrote: >> From: "mar...@redhat.com" >> To: dev@deltacloud.apache.org >> Cc: rla...@redhat.com >> Sent: Wednesday, December 5, 2012 9:04:49 AM >> Subject: Re: CIMI - tests modifying to run with other drivers - *don't push* >> >> Hi Ronelle: >> On 04/12/12 05:09, rla

Re: CIMI - tests modifying to run with other drivers - *don't push*

2012-12-05 Thread Ronelle Landy
> From: "mar...@redhat.com" > To: dev@deltacloud.apache.org > Cc: rla...@redhat.com > Sent: Wednesday, December 5, 2012 9:04:49 AM > Subject: Re: CIMI - tests modifying to run with other drivers - *don't push* > > Hi Ronelle: > On 04/12/12 05:09, rla...@redhat.com wrote: > > These tests require a

Re: CIMI - tests modifying to run with other drivers - *don't push*

2012-12-05 Thread mar...@redhat.com
Hi Ronelle: On 04/12/12 05:09, rla...@redhat.com wrote: > These tests require a modified config.yaml - not included in this submission. > Please do not push this patch until we confirm whether we want to keep the > changes. > apologies - with everything going on the last couple days I only just

DTACLOUD-379 - omit backtrace using 505

2012-12-05 Thread jvlcek
A different approch using code 505.

[PATCH] DTACLOUD-379 - omit backtrace using 505

2012-12-05 Thread jvlcek
From: Joe VLcek --- server/lib/deltacloud/drivers/exceptions.rb| 8 .../lib/deltacloud/drivers/rhevm/rhevm_driver.rb | 4 ++ server/lib/deltacloud/helpers/deltacloud_helper.rb | 1 + server/views/errors/505.html.haml | 47 ++ server/views/er

Re: [PATCH 2/2] CIMI - collections use grab_content_type helper to guess type if not supplied

2012-12-05 Thread mar...@redhat.com
On 05/12/12 02:45, David Lutterkort wrote: > On Tue, 2012-12-04 at 14:23 +0200, mar...@redhat.com wrote: >> From: marios >> >> >> Signed-off-by: marios >> --- >> server/lib/cimi/collections/addresses.rb | 2 +- >> server/lib/cimi/collections/credentials.rb | 2 +- >> server/lib/c

[PATCH 1/2] CIMI - strictly enforce only xml or json as content-type for message bodies

2012-12-05 Thread marios
From: marios Signed-off-by: marios --- server/lib/cimi/helpers/cimi_helper.rb | 9 ++--- server/lib/cimi/models/errors.rb | 8 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/server/lib/cimi/helpers/cimi_helper.rb b/server/lib/cimi/helpers/cimi_helper.rb ind

[PATCH 2/2] CIMI - tests add creation of volume with config by value

2012-12-05 Thread marios
From: marios Signed-off-by: marios --- server/lib/cimi/models/volume.rb | 3 +-- tests/cimi/part4_test.rb | 39 +++ tests/cimi/test_helper.rb| 7 +++ 3 files changed, 47 insertions(+), 2 deletions(-) diff --git a/server/lib/cimi/models

[jira] [Commented] (DTACLOUD-385) Can not create volume with inlined volume config

2012-12-05 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510375#comment-13510375 ] Marios Andreou commented on DTACLOUD-385: - thanks! - pushed by David with commit

[jira] [Closed] (DTACLOUD-385) Can not create volume with inlined volume config

2012-12-05 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou closed DTACLOUD-385. --- > Can not create volume with inlined volume config > --

[jira] [Resolved] (DTACLOUD-385) Can not create volume with inlined volume config

2012-12-05 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou resolved DTACLOUD-385. - Resolution: Fixed > Can not create volume with inlined volume config >