[jira] [Commented] (DTACLOUD-400) "POST /cimi/volumes" returns 412 Precondition Failed for server pointing at RHEVM provider

2012-12-13 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532139#comment-13532139 ] Marios Andreou commented on DTACLOUD-400: - easily reproducible as reported above

[jira] [Assigned] (DTACLOUD-400) "POST /cimi/volumes" returns 412 Precondition Failed for server pointing at RHEVM provider

2012-12-13 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou reassigned DTACLOUD-400: --- Assignee: Marios Andreou > "POST /cimi/volumes" returns 412 Precondition Failed

[jira] [Created] (DTACLOUD-401) CIMI: "can't find image in given datacenter" - Deltacloud server point at Vsphere provider

2012-12-13 Thread Ronelle Landy (JIRA)
Ronelle Landy created DTACLOUD-401: -- Summary: CIMI: "can't find image in given datacenter" - Deltacloud server point at Vsphere provider Key: DTACLOUD-401 URL: https://issues.apache.org/jira/browse/DTACLOUD-401

[jira] [Created] (DTACLOUD-400) "POST /cimi/volumes" returns 412 Precondition Failed for server pointing at RHEVM provider

2012-12-13 Thread Ronelle Landy (JIRA)
Ronelle Landy created DTACLOUD-400: -- Summary: "POST /cimi/volumes" returns 412 Precondition Failed for server pointing at RHEVM provider Key: DTACLOUD-400 URL: https://issues.apache.org/jira/browse/DTACLOUD-400

Re: Deltacloud on Torquebox

2012-12-13 Thread David Lutterkort
Hi Michal, thanks for the writeup - and great news; can you put this up on the website or the wiki ? What's tte reason for turning off iptables ? That's the one step I'd like to see improved ... David On Thu, 2012-12-13 at 14:13 +0100, Michal Fojtik wrote: > Hi guys, > > I tried to run Deltacl

Re: Can't detach volume in openstack driver?

2012-12-13 Thread Ian Main
On Thu, Dec 13, 2012 at 10:11:10AM +0200, mar...@redhat.com wrote: > Hi Ian: > > On 12/12/12 21:53, Ian Main wrote: > > > > Heya guys, > > > > So everything is going great in the openstack driver except I can't seem > > to get the detach method on a volume to work. I always get a 404 error > >

Re: Deltacloud on Torquebox

2012-12-13 Thread Martyn Taylor
This is great stuff Michal. On 12/13/2012 01:13 PM, Michal Fojtik wrote: Hi guys, I tried to run Deltacloud API (latest master) on TorqueBox[1] using jRuby 1.7.1. First, setup environment: 1. Get F17 virtual machine with minimal install 2. Create some non-privileged user 3. su -c 'yum insta

[jira] [Updated] (DTACLOUD-399) Make VSphere API_PROVIDER format consistent with other drivers

2012-12-13 Thread Michal Fojtik (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Fojtik updated DTACLOUD-399: --- Description: In RHEV-M the API_PROVIDER is a full URL (https, /api), same for OpenStack, bu

[jira] [Created] (DTACLOUD-399) Make VSphere API_PROVIDER format consistent with other drivers

2012-12-13 Thread Michal Fojtik (JIRA)
Michal Fojtik created DTACLOUD-399: -- Summary: Make VSphere API_PROVIDER format consistent with other drivers Key: DTACLOUD-399 URL: https://issues.apache.org/jira/browse/DTACLOUD-399 Project: DeltaCl

Deltacloud on Torquebox

2012-12-13 Thread Michal Fojtik
Hi guys, I tried to run Deltacloud API (latest master) on TorqueBox[1] using jRuby 1.7.1. First, setup environment: 1. Get F17 virtual machine with minimal install 2. Create some non-privileged user 3. su -c 'yum install gcc gcc-c++ make tar java-1.7.0-openjdk git' 4. Disable firewall: $ su -

Re: [PATCH core 1/4] Core: Added .to_hash method to all Deltacloud models

2012-12-13 Thread Michal Fojtik
On 12/13, Tomas Sedovic wrote: > ACK, the patchset fixes https://issues.apache.org/jira/browse/DTACLOUD-354 > for me. Thanks Tomas! Pushed. -- Michal > > Thanks! > > - Original Message - > From: mfoj...@redhat.com > To: dev@deltacloud.apache.org > Sent: Thursday, December 13, 2012 1

[PATCH core 5/5] Core: Initial tests for deltacloudd launcher

2012-12-13 Thread mfojtik
From: Michal Fojtik - Starts a Deltacloud APi instance on port 3011 - Checks if DC is running (respond to HTTP requests) - Checks if DC could be started with multiple frontends Signed-off-by: Michal fojtik --- server/tests/deltacloud/launcher_test.rb | 101 +++ 1 fi

[PATCH core 1/5] Core: Remove 'set' in deltacloudd when thin is not installed

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/bin/deltacloudd | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index 08ec5a3..d9ebcfc 100755 --- a/server/bin/deltacloudd +++ b/server/bin/deltacloudd @@ -197,10

Fixed to deltacloudd (rev 2)

2012-12-13 Thread mfojtik
Hi, Couple minor fixes for nits found by David and others: - Fix Deltacloud to start properly when thin is not available or broken. - Force to start with Webrick when using --webrick option. Rack::Server right now choose thin if it is installed. - Initial unit tests for deltacloudd (i'

[PATCH core 3/5] Core: Change directory to $top_srcdir when using Webrick

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/bin/deltacloudd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index 18f8b94..2f0eaeb 100755 --- a/server/bin/deltacloudd +++ b/server/bin/deltacloudd @@ -206,8 +206

[PATCH core 2/5] Core: Print warning when starting as a daemon without thin

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/bin/deltacloudd | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index d9ebcfc..18f8b94 100755 --- a/server/bin/deltacloudd +++ b/server/bin/deltacloudd @@

[PATCH core 4/5] Core: Overide default Rack::Server server to use :webrick

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/bin/deltacloudd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index 2f0eaeb..e0ac8a4 100755 --- a/server/bin/deltacloudd +++ b/server/bin/deltacloudd @@ -85,7 +85

Re: [PATCH core 1/4] Core: Added .to_hash method to all Deltacloud models

2012-12-13 Thread Tomas Sedovic
ACK, the patchset fixes https://issues.apache.org/jira/browse/DTACLOUD-354 for me. Thanks! - Original Message - From: mfoj...@redhat.com To: dev@deltacloud.apache.org Sent: Thursday, December 13, 2012 11:43:17 AM Subject: [PATCH core 1/4] Core: Added .to_hash method to all Deltacloud mod

[PATCH core 1/3] Core: Remove 'set' in deltacloudd when thin is not installed

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/bin/deltacloudd | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index 08ec5a3..d9ebcfc 100755 --- a/server/bin/deltacloudd +++ b/server/bin/deltacloudd @@ -197,10

[PATCH core 3/3] Core: Change directory to $top_srcdir when using Webrick

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/bin/deltacloudd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index 18f8b94..2f0eaeb 100755 --- a/server/bin/deltacloudd +++ b/server/bin/deltacloudd @@ -206,8 +206

[PATCH core 2/3] Core: Print warning when starting as a daemon without thin

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/bin/deltacloudd | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/server/bin/deltacloudd b/server/bin/deltacloudd index d9ebcfc..18f8b94 100755 --- a/server/bin/deltacloudd +++ b/server/bin/deltacloudd @@

[PATCH core 4/4] Core: Added unit tests for JSON serialization

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- .../collections/buckets_collection_test.rb | 3 ++ .../collections/drivers_collection_test.rb | 10 + .../hardware_profiles_collection_test.rb | 4 ++ .../collections/images_collection_test.rb | 4 ++

[PATCH core 3/4] Core: Fix .to_hash method in some models to include more informations

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/lib/deltacloud/models/image.rb | 3 ++- server/lib/deltacloud/models/instance.rb | 6 -- server/lib/deltacloud/models/realm.rb | 3 ++- server/lib/deltacloud/models/storage_volume.rb | 13 +

[PATCH core 1/4] Core: Added .to_hash method to all Deltacloud models

2012-12-13 Thread mfojtik
From: Michal Fojtik * .to_hash produce Ruby Hash that can be converted to JSON * This patch makes 'crack' library obsolete * NOTE: This patch might break JSON backward compatibility. Signed-off-by: Michal fojtik --- server/deltacloud-core.gemspec | 1 - server/lib/cimi/ser

[PATCH core 2/4] Core: Serialize :drivers collection in same way as other collections

2012-12-13 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/lib/deltacloud/collections/drivers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/deltacloud/collections/drivers.rb b/server/lib/deltacloud/collections/drivers.rb index 9753c36..8c51019 100644 --- a

[ANNOUNCE] Fifth Deltacloud Community Call

2012-12-13 Thread Michal Fojtik
Good news everyone! The fifth Deltacloud API Community call will be held on: Thursday, 13th December @ 1700 CET (Prague, Brno, GMT+1) (which means 0800 PST (US West Coast, GMT-8) or 1100 EST (US East Coast, GMT-5)) Anyone interested in the Deltacloud project is very welcome to join us. We are u

Re: Can't detach volume in openstack driver?

2012-12-13 Thread mar...@redhat.com
Hi Ian: On 12/12/12 21:53, Ian Main wrote: > > Heya guys, > > So everything is going great in the openstack driver except I can't seem > to get the detach method on a volume to work. I always get a 404 error > back. I just tried this - it is working fine against the setup i'm trying with.. (th