[jira] [Assigned] (DTACLOUD-456) Opennebula: Error occurs when requesting all instances against opennebula

2013-02-11 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou reassigned DTACLOUD-456: --- Assignee: Ronelle Landy > Opennebula: Error occurs when requesting all instance

[jira] [Closed] (DTACLOUD-303) Creating an image from running Openstack instance errors out - stopping the instance, terminates it

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy closed DTACLOUD-303. -- Resolution: Fixed Fixed - see DTACLOUD-450 > Creating an image from running

[jira] [Commented] (DTACLOUD-445) Default value for HWP root_type should be 'nil'

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576242#comment-13576242 ] Ronelle Landy commented on DTACLOUD-445: Apply the patch and testing for the moc

[jira] [Closed] (DTACLOUD-113) "Instance state transition" image needs horizontal scroll bar

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy closed DTACLOUD-113. -- Resolution: Fixed No longer applies to the current GUI > "Instance state tra

[jira] [Closed] (DTACLOUD-422) Deltacloud (1.1.0) installation on RHEL: installing sinatra-1.3.3 doc returns 'unrecognized option `--encoding=UTF-8'

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy closed DTACLOUD-422. -- Resolution: Fixed Closing this JIRA since nobody else reported a similar issue

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

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy closed DTACLOUD-359. -- Closing this JIRA - fixed pushed to master > haml issue in error handling: unde

[jira] [Commented] (DTACLOUD-458) When sending a 'run on instance' request, the user should be able to specify the username

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576221#comment-13576221 ] Ronelle Landy commented on DTACLOUD-458: JSON 406 error is fixed by the patch in

[jira] [Commented] (DTACLOUD-459) run_command always returns 406 when specifying JSON as a response type

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576220#comment-13576220 ] Ronelle Landy commented on DTACLOUD-459: ACK - patch works for me: curl -v -X P

[jira] [Commented] (DTACLOUD-458) When sending a 'run on instance' request, the user should be able to specify the username

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576205#comment-13576205 ] Ronelle Landy commented on DTACLOUD-458: This seems to work for XML output (200

[jira] [Commented] (DTACLOUD-462) RHEVM calling GET /api/instances/instance_id after the instance is stopped, errors out

2013-02-11 Thread Joseph J. VLcek (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576192#comment-13576192 ] Joseph J. VLcek commented on DTACLOUD-462: -- I can not reproduce this using the

[jira] [Commented] (DTACLOUD-416) No Base64 Decoding Openstack Driver

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576157#comment-13576157 ] Ronelle Landy commented on DTACLOUD-416: Verification waiting on: DTACLOUD-464

[jira] [Created] (DTACLOUD-464) Error when creating instances - Openstack provider (openstack gem 1.0.9)

2013-02-11 Thread Ronelle Landy (JIRA)
Ronelle Landy created DTACLOUD-464: -- Summary: Error when creating instances - Openstack provider (openstack gem 1.0.9) Key: DTACLOUD-464 URL: https://issues.apache.org/jira/browse/DTACLOUD-464 Projec

[jira] [Commented] (DTACLOUD-450) Creating images from instances - Openstack provider returns 404 although the image is created

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576116#comment-13576116 ] Ronelle Landy commented on DTACLOUD-450: Fixed with: openstack (1.0.9) curl -v

[jira] [Closed] (DTACLOUD-450) Creating images from instances - Openstack provider returns 404 although the image is created

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy closed DTACLOUD-450. -- Closing JIRA as fixed in openstack gem (1.0.9) Test out put copied in comment above

[jira] [Closed] (DTACLOUD-437) Empty user-data genrated on rhevm3.1 instance

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy closed DTACLOUD-437. -- Closing JIRA as fixed in deltacloud commit version: 98cfca63b52a63f73442522c8d30b18bdcd566fc Te

[jira] [Resolved] (DTACLOUD-461) SyntaxError when starting Deltacloud server - Openstack provider (gem 1.0.9)

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy resolved DTACLOUD-461. Resolution: Fixed moving issue to Resolved state > SyntaxError when star

[jira] [Closed] (DTACLOUD-457) RHEVm, Passing an invalid instance ID to start instance results in traceback with 500.

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy closed DTACLOUD-457. -- Resolution: Fixed Closing this JIRA as fixed in Deltacloud commit version: 98cfca63b52a63f73

[jira] [Commented] (DTACLOUD-461) SyntaxError when starting Deltacloud server - Openstack provider (gem 1.0.9)

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575982#comment-13575982 ] Ronelle Landy commented on DTACLOUD-461: Please push to master so we can close o

[jira] [Commented] (DTACLOUD-461) SyntaxError when starting Deltacloud server - Openstack provider (gem 1.0.9)

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575980#comment-13575980 ] Ronelle Landy commented on DTACLOUD-461: Yes - ack'ed: tracker.deltacloud.org/se

Re: CIMI actions, validations and more...

2013-02-11 Thread Michal Fojtik
Pls do not push this patch, it requires more testing. Michal Sent from my phone On Feb 11, 2013, at 13:35, mfoj...@redhat.com wrote: > Hi, > > This patch-bomb is represents merged version of David patches that add > the 'ref' attribute type and my validation patches. > > -- Michal >

[jira] [Updated] (DTACLOUD-461) SyntaxError when starting Deltacloud server - Openstack provider (gem 1.0.9)

2013-02-11 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou updated DTACLOUD-461: Attachment: 0001-Core-Deltacloud-openstack-driver-1.8.7-compatibility.patch does this fix

More EntityCreate CIMI models

2013-02-11 Thread mfojtik
Hi, This patch is an addition to the 1/11 set I sent earlier today (I don't want to do more spam ;-). I added more *Create models for some other entities. Things still pending: - Network* -> It lack support in Mock driver, so I can't run tests. - Volume* -> Too complex to just move the create to

[PATCH core] CIMI: Added more EntityCreate models for CIMI

2013-02-11 Thread mfojtik
From: Michal Fojtik - AddressCreate - AddressTemplateCreate - CredentialCreate - CredentialTemplateCreate - MachineImageCreate - NetworkCreate As part of this patch, all 'create' operations were moved to these EntityCreate models. Signed-off-by: Michal fojtik --- server/lib/cimi/collections/a

[jira] [Commented] (DTACLOUD-461) SyntaxError when starting Deltacloud server - Openstack provider (gem 1.0.9)

2013-02-11 Thread Ronelle Landy (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575850#comment-13575850 ] Ronelle Landy commented on DTACLOUD-461: Works fine on ruby 1.9.3 (only a Ruby

[jira] [Assigned] (DTACLOUD-463) Error when deleting RHEVM instance - the instance never showed an IP address when in a "running" state

2013-02-11 Thread Joseph J. VLcek (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph J. VLcek reassigned DTACLOUD-463: Assignee: Joseph J. VLcek > Error when deleting RHEVM instance - the instance

[jira] [Assigned] (DTACLOUD-462) RHEVM calling GET /api/instances/instance_id after the instance is stopped, errors out

2013-02-11 Thread Joseph J. VLcek (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph J. VLcek reassigned DTACLOUD-462: Assignee: Joseph J. VLcek > RHEVM calling GET /api/instances/instance_id afte

Re: [PATCH] [Core] - minor typo on realms xml view - DTACLOUD-460

2013-02-11 Thread mar...@redhat.com
On 08/02/13 20:23, David Lutterkort wrote: > On Fri, 2013-02-08 at 19:38 +0200, mar...@redhat.com wrote: >> From: marios >> >> https://issues.apache.org/jira/browse/DTACLOUD-460 >> >> Signed-off-by: marios >> --- >> server/views/realms/show.xml.haml | 2 +- >> 1 file changed, 1 insertion(+), 1 d

[jira] [Closed] (DTACLOUD-460) GET /api/realms?format=xml returns "undefined method `each' for nil:NilClass" + stack trace

2013-02-11 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou closed DTACLOUD-460. --- > GET /api/realms?format=xml returns "undefined method `each' for nil:NilClass" > + stack

[jira] [Commented] (DTACLOUD-460) GET /api/realms?format=xml returns "undefined method `each' for nil:NilClass" + stack trace

2013-02-11 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575816#comment-13575816 ] Marios Andreou commented on DTACLOUD-460: - updated patch based on D Lutterkort c

[jira] [Resolved] (DTACLOUD-460) GET /api/realms?format=xml returns "undefined method `each' for nil:NilClass" + stack trace

2013-02-11 Thread Marios Andreou (JIRA)
[ https://issues.apache.org/jira/browse/DTACLOUD-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou resolved DTACLOUD-460. - Resolution: Fixed > GET /api/realms?format=xml returns "undefined method `each' for

[jira] [Created] (DTACLOUD-463) Error when deleting RHEVM instance - the instance never showed an IP address when in a "running" state

2013-02-11 Thread Ronelle Landy (JIRA)
Ronelle Landy created DTACLOUD-463: -- Summary: Error when deleting RHEVM instance - the instance never showed an IP address when in a "running" state Key: DTACLOUD-463 URL: https://issues.apache.org/jira/browse/DT

[jira] [Created] (DTACLOUD-462) RHEVM calling GET /api/instances/instance_id after the instance is stopped, errors out

2013-02-11 Thread Ronelle Landy (JIRA)
Ronelle Landy created DTACLOUD-462: -- Summary: RHEVM calling GET /api/instances/instance_id after the instance is stopped, errors out Key: DTACLOUD-462 URL: https://issues.apache.org/jira/browse/DTACLOUD-462

Re: [PATCH] Entity.ent_properties: make sure we always store a Hash

2013-02-11 Thread Michal Fojtik
On 02/08, lut...@redhat.com wrote: ACK, nice catch. -- Michal > From: David Lutterkort > > Previously, if you assigned nil to properties, ent_properties would end up > being "null" which is not valid JSON. > --- > server/lib/db/entity.rb | 5 + > server/tests/cimi/db/entity

Re: [PATCH] CIMI: fixing a few typos in comments

2013-02-11 Thread Michal Fojtik
On 02/11, di...@fast.au.fujitsu.com wrote: ACK. > From: Dies Koper > > --- > server/lib/cimi/collections/addresses.rb | 2 +- > server/lib/cimi/collections/machines.rb | 2 +- > server/lib/cimi/models/base.rb | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git

Re: [PATCH] CIMI: added common attribute 'updated' to base model. Not used anywhere yet.

2013-02-11 Thread Michal Fojtik
On 02/11, di...@fast.au.fujitsu.com wrote: ACK. > From: Dies Koper > > --- > server/lib/cimi/models/base.rb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/server/lib/cimi/models/base.rb b/server/lib/cimi/models/base.rb > index 45c6da8..5a8b13a 100644 > --- a/server/l

[PATCH core 11/11] CIMI: Added validation for 'ref' attributes

2013-02-11 Thread mfojtik
From: Michal Fojtik - Added MachineTemplateCreate action Signed-off-by: Michal fojtik --- server/lib/cimi/collections/base.rb | 2 +- server/lib/cimi/models.rb | 3 +- server/lib/cimi/models/base.rb| 14 ++-- server/lib/cimi/models/ma

[PATCH core 09/11] Core: Add custom message option for report_error()

2013-02-11 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/lib/deltacloud/helpers/deltacloud_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/deltacloud/helpers/deltacloud_helper.rb b/server/lib/deltacloud/helpers/deltacloud_helper.rb index 4575ae2

[PATCH core 10/11] CIMI: Replaced :grab_content_type helper with :current_content_type

2013-02-11 Thread mfojtik
From: Michal Fojtik In Sinatra helpers have direct access to the 'request' method, so there is no need to pass any parameter to this helper. This patch will also report unsupported media type correctly via Deltacloud exception handler with proper HTTP status code. Signed-off-by: Michal fojtik

[PATCH core 08/11] Core: Fixed JSON and XML serialization of realms

2013-02-11 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- server/lib/deltacloud/models/realm.rb | 2 +- server/views/realms/show.xml.haml | 7 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/server/lib/deltacloud/models/realm.rb b/server/lib/deltacloud/models/realm.rb in

[PATCH core 07/11] CIMI: Tests for CIMI validation in MachineTemplate model

2013-02-11 Thread mfojtik
From: Michal Fojtik Signed-off-by: Michal fojtik --- .../cimi/collections/machine_templates_test.rb | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 server/tests/cimi/collections/machine_templates_test.rb diff --git a/server/tests/cimi/collections/machine_

[PATCH core 03/11] Move the logic from Machine.create_from_json and Machine.create_from_xml into MachineCreate

2013-02-11 Thread mfojtik
From: David Lutterkort Signed-off-by: Michal fojtik --- server/lib/cimi/collections/machines.rb | 7 +--- server/lib/cimi/models/machine.rb| 69 server/lib/cimi/models/machine_create.rb | 29 ++ 3 files changed, 31 insertions(+), 74 deleti

[PATCH core 06/11] CIMI: Initial inclusion of CIMI action models

2013-02-11 Thread mfojtik
From: Michal Fojtik The way of how we currently create CIMI entities is not really nice. We parse the raw JSON/XML and then we are trying to create the CIMI entity. Besides the code looks ugly, there is no way to add validation for required attributes without make it even more uglier. This patc

[PATCH core 01/11] This makes it possible to have a full MachineConfiguration object referenced from a Machinetemplate

2013-02-11 Thread mfojtik
From: David Lutterkort Signed-off-by: Michal fojtik --- server/lib/cimi/models.rb | 4 +- server/lib/cimi/models/base.rb | 5 +++ server/lib/cimi/models/machine_template.rb | 6 +-- server/lib/cimi/models/schema.rb | 44

[PATCH core 05/11] CIMI: Capture the validation errors and advertise them as HTTP 400

2013-02-11 Thread mfojtik
From: Michal Fojtik In case when client sent scrumbed XML or JSON body, this patch will make sure we send 'HTTP 400 - Bad Request' back instead of horrible looking 500 error. This patch also properly advertise the ValidationError in case when client want to create CIMI resource but the validatio

[PATCH core 02/11] CIMI models: add a MachineCreate model

2013-02-11 Thread mfojtik
From: David Lutterkort Signed-off-by: Michal fojtik --- server/lib/cimi/models.rb | 1 + server/lib/cimi/models/machine_create.rb | 18 +++ server/tests/cimi/model/machine_create_spec.rb | 44 ++ 3 files changed, 63 insertions(+) cre

CIMI actions, validations and more...

2013-02-11 Thread mfojtik
Hi, This patch-bomb is represents merged version of David patches that add the 'ref' attribute type and my validation patches. -- Michal

[PATCH core 04/11] CIMI: Initial addition of attribute validation for CIMI models

2013-02-11 Thread mfojtik
From: Michal Fojtik This addition will make possible to specify the 'required => true' option for all attributes in CIMI models, like: class Machine < Base text :name, :required => true end To run a check if the instance of Machine is valid or not you can do following: Machine.from_xml(xml_b

possible values to realm@resource_types

2013-02-11 Thread Koper, Dies
Hi Marios, About the resource_types you've added for OpenStack, I was wondering whether/how I could make use of it for fgcp. At the moment, I'm mapping two fgcp concepts to realms: systems and networks. The first one is important when creating storage_volumes: a volume must go into a system. The l