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 C5B199E7B for ; Tue, 27 Mar 2012 20:46:49 +0000 (UTC) Received: (qmail 39097 invoked by uid 500); 27 Mar 2012 20:46:49 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 39083 invoked by uid 500); 27 Mar 2012 20:46:49 -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 39075 invoked by uid 99); 27 Mar 2012 20:46:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 20:46:49 +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; Tue, 27 Mar 2012 20:46:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 90BD1349338 for ; Tue, 27 Mar 2012 20:46:28 +0000 (UTC) Date: Tue, 27 Mar 2012 20:46:28 +0000 (UTC) From: "Ronelle Landy (Created) (JIRA)" To: dev@deltacloud.apache.org Message-ID: <1274628444.25580.1332881188594.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 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: David Lutterkort Priority: Minor 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