Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 246D29064 for ; Wed, 28 Mar 2012 09:22:41 +0000 (UTC) Received: (qmail 27184 invoked by uid 500); 28 Mar 2012 09:22:41 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 27140 invoked by uid 500); 28 Mar 2012 09:22:40 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 26758 invoked by uid 99); 28 Mar 2012 09:22:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 09:22:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 09:22:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EB4EC34A4FB for ; Wed, 28 Mar 2012 09:22:17 +0000 (UTC) Date: Wed, 28 Mar 2012 09:22:17 +0000 (UTC) From: "Marios Andreou (Updated) (JIRA)" To: dev@deltacloud.apache.org Message-ID: <56216433.27884.1332926537991.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1274628444.25580.1332881188594.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DTACLOUD-181) json output from creating an image (from a stopped instance) in RHEV-M does not return readable hardware profiles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DTACLOUD-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou updated DTACLOUD-181: ------------------------------------ Attachment: 0001-Fixes-DTACLOUD_181-json-output-of-HardareProfile-wit.patch attached patch should resolve issue > json output from creating an image (from a stopped instance) in RHEV-M does not return readable hardware profiles > ----------------------------------------------------------------------------------------------------------------- > > Key: DTACLOUD-181 > URL: https://issues.apache.org/jira/browse/DTACLOUD-181 > Project: DeltaCloud > Issue Type: Bug > Components: Server > Environment: deltacloud commit version: 59659586a6783bd4c851056813ed8369d08d4589 - clone: from https://git-wip-us.apache.org/repos/asf/deltacloud.git > Fedora 16 > rhevm 3.X > Reporter: Ronelle Landy > Assignee: Marios Andreou > Priority: Minor > Attachments: 0001-Fixes-DTACLOUD_181-json-output-of-HardareProfile-wit.patch > > > Found when verifying DTACLOUD-170: > The json output from creating an image from a STOPPED instance in rhevm returns the hardware profiles as: > # > The XML output from the same operation returns the hardware profiles as: > > The complete output in both json and xml are copied below. Logging this as a sepate issue to DTACLOUD-170 as it is far more minor. > >> Output in json > curl -X POST -F "name=rlandyImage" -F "description=Image description" -F "instance_id=59f35d07-093c-46a5-814b-d0c6084ef8c9" --user "uname:password" "http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/images?format=json" > {"image":{"owner_id":"xxx","href":"http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/images/c4ddf46e-3abb-4bce-962e-2b55d4a01594","actions":[{"create_instance":{"method":"post","href":"/api/instances;image_id=c4ddf46e-3abb-4bce-962e-2b55d4a01594"}}],"architecture":"x86_64","state":"\n locked\n ","name":"rlandyImage","id":"c4ddf46e-3abb-4bce-962e-2b55d4a01594","description":"Image description","hardware_profiles":["#","#"]}}[rlandy@localhost /]$ > [rlandy@localhost /]$ > >> Output in xml > [rlandy@localhost /]$ curl -X POST -F "name=rlandyImageXml" -F "description=Image description" -F "instance_id=59f35d07-093c-46a5-814b-d0c6084ef8c9" --user "uname:password" "http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/images?format=xml" > > > rlandyImageXml > xxx > Image description > x86_64 > locked > > > > > > > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira