You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Ronelle Landy (JIRA)" <ji...@apache.org> on 2012/11/13 22:18:14 UTC
[jira] [Created] (DTACLOUD-369) GET /cimi/machine_configurations
returns long series of numbers and an incomplete response (Opennebula)
Ronelle Landy created DTACLOUD-369:
--------------------------------------
Summary: GET /cimi/machine_configurations returns long series of numbers and an incomplete response (Opennebula)
Key: DTACLOUD-369
URL: https://issues.apache.org/jira/browse/DTACLOUD-369
Project: DeltaCloud
Issue Type: Bug
Components: CIMI/Frontend
Environment: Deltacloud 1.0.4 +
Opennebula
Reporter: Ronelle Landy
The native Deltacloud API returns the hardware profiles available for Opennebula (see first copied response). Using the CIMI frontend, /cimi/machine_configurations returns long series of numbers (see second copied response):
-------------- /api/hardware_profiles --------------
>> curl -X GET -v --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles?format=xml"* About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
* Trying 10.16.96.108... connected
* Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
* Server auth using Basic with user ''
> GET /api/hardware_profiles?format=xml HTTP/1.1
> Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> Accept: */*
>
< HTTP/1.1 200 OK
< X-Frame-Options: sameorigin
< X-XSS-Protection: 1; mode=block
< Content-Type: application/xml
< X-Backend-Runtime: 0.40972232818603516
< Server: Apache-Deltacloud/1.0.5
< X-Deltacloud-Driver: opennebula
< Content-Length: 1009
< ETag: 22bb498eb3f9b57ae451d6058f341911
< Cache-Control: max-age=0, private, must-revalidate
< Date: Tue, 13 Nov 2012 21:11:56 GMT
< Connection: keep-alive
<
<?xml version='1.0' encoding='utf-8' ?>
<hardware_profiles>
<hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/small' id='small'>
<id>small</id>
<name>small</name>
<property kind='fixed' name='cpu' unit='count' value='1' />
<property kind='fixed' name='memory' unit='MB' value='1024' />
</hardware_profile>
<hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/medium' id='medium'>
<id>medium</id>
<name>medium</name>
<property kind='fixed' name='cpu' unit='count' value='4' />
<property kind='fixed' name='memory' unit='MB' value='4096' />
</hardware_profile>
<hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/large' id='large'>
<id>large</id>
<name>large</name>
<property kind='fixed' name='cpu' unit='count' value='8' />
<property kind='fixed' name='memory' unit='MB' value='8192' />
</hardware_profile>
</hardware_profiles>
* Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
* Closing connection #0
----------- compare with the output returned from /cimi/machine_configurations ----------------
[rlandy@localhost /]$ curl -X GET -v -H "accept:application/xml" --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations"
* About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
* Trying 10.16.96.108... connected
* Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
* Server auth using Basic with user ''
> GET /cimi/machine_configurations HTTP/1.1
> Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> accept:application/xml
>
< HTTP/1.1 200 OK
< X-Frame-Options: sameorigin
< X-XSS-Protection: 1; mode=block
< Content-Type: application/xml
< CIMI-Specification-Version: 1.0.5
< Content-Length: 25838
< ETag: 1eba3ffe01c0fcf41f7c272ee3d6fa7f
< Cache-Control: max-age=0, private, must-revalidate
< Date: Tue, 13 Nov 2012 21:12:03 GMT
< Connection: keep-alive
< Server: thin 1.5.0 codename Knife
<
<Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
<id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations</id>
<count>3</count>
<MachineConfiguration>
<id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/large</id>
<name>large</name>
<description>Machine Configuration with 8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192 KiB of memory and 8 CPU</description>
<created>2012-11-13T16:12:03-05:00</created>
<cpu>8</cpu>
<memory>8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192</memory>
</MachineConfiguration>
<MachineConfiguration>
<id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/medium</id>
<name>medium</name>
<description>Machine Configuration with 4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096 KiB of memory and 4 CPU</description>
<created>2012-11-13T16:12:03-05:00</created>
<cpu>4</cpu>
<memory>4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096</memory>
</MachineConfiguration>
<MachineConfiguration>
<id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/small</id>
<name>small</name>
<description>Machine Configuration with 1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024 KiB of memory and 1 CPU</description>
<created>2012-11-13T16:12:03-05:00</created>
<cpu>1</cpu>
<memory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</memory>
</MachineConfiguration>
</Collection>
* Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
* Closing connection #0
[rlandy@localhost /]$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DTACLOUD-369) GET /cimi/machine_configurations
returns long series of numbers and an incomplete response (Opennebula)
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou resolved DTACLOUD-369.
-------------------------------------
Resolution: Fixed
> GET /cimi/machine_configurations returns long series of numbers and an incomplete response (Opennebula)
> -------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-369
> URL: https://issues.apache.org/jira/browse/DTACLOUD-369
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: Deltacloud 1.0.4 +
> Opennebula
> Reporter: Ronelle Landy
> Assignee: Marios Andreou
> Attachments: 0001-CIMI-fix-issue-with-machine_configs-values-DTACLOUD-.patch
>
>
> The native Deltacloud API returns the hardware profiles available for Opennebula (see first copied response). Using the CIMI frontend, /cimi/machine_configurations returns long series of numbers (see second copied response):
> -------------- /api/hardware_profiles --------------
> >> curl -X GET -v --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles?format=xml"* About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /api/hardware_profiles?format=xml HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < X-Backend-Runtime: 0.40972232818603516
> < Server: Apache-Deltacloud/1.0.5
> < X-Deltacloud-Driver: opennebula
> < Content-Length: 1009
> < ETag: 22bb498eb3f9b57ae451d6058f341911
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:11:56 GMT
> < Connection: keep-alive
> <
> <?xml version='1.0' encoding='utf-8' ?>
> <hardware_profiles>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/small' id='small'>
> <id>small</id>
> <name>small</name>
> <property kind='fixed' name='cpu' unit='count' value='1' />
> <property kind='fixed' name='memory' unit='MB' value='1024' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/medium' id='medium'>
> <id>medium</id>
> <name>medium</name>
> <property kind='fixed' name='cpu' unit='count' value='4' />
> <property kind='fixed' name='memory' unit='MB' value='4096' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/large' id='large'>
> <id>large</id>
> <name>large</name>
> <property kind='fixed' name='cpu' unit='count' value='8' />
> <property kind='fixed' name='memory' unit='MB' value='8192' />
> </hardware_profile>
> </hardware_profiles>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> ----------- compare with the output returned from /cimi/machine_configurations ----------------
>
> [rlandy@localhost /]$ curl -X GET -v -H "accept:application/xml" --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations"
> * About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /cimi/machine_configurations HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > accept:application/xml
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < CIMI-Specification-Version: 1.0.5
> < Content-Length: 25838
> < ETag: 1eba3ffe01c0fcf41f7c272ee3d6fa7f
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:12:03 GMT
> < Connection: keep-alive
> < Server: thin 1.5.0 codename Knife
> <
> <Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations</id>
> <count>3</count>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/large</id>
> <name>large</name>
> <description>Machine Configuration with 8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192 KiB of memory and 8 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>8</cpu>
> <memory>8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/medium</id>
> <name>medium</name>
> <description>Machine Configuration with 4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096 KiB of memory and 4 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>4</cpu>
> <memory>4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/small</id>
> <name>small</name>
> <description>Machine Configuration with 1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024 KiB of memory and 1 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>1</cpu>
> <memory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</memory>
> </MachineConfiguration>
> </Collection>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> [rlandy@localhost /]$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (DTACLOUD-369) GET /cimi/machine_configurations
returns long series of numbers and an incomplete response (Opennebula)
Posted by "Ronelle Landy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ronelle Landy closed DTACLOUD-369.
----------------------------------
Fixed in: deltacloud commit version: b5680d8cdb45a38168da3bbdcb0dd71dc55b984a
curl -X GET --user "un:pw" "cloud-qe-5.idm.lab.bos.redhat.com:3005/cimi/machine_configurations?format=xml"
<Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
<id>http://cloud-qe-5.idm.lab.bos.redhat.com:3005/cimi/machine_configurations</id>
<count>3</count>
<MachineConfiguration>
<id>http://cloud-qe-5.idm.lab.bos.redhat.com:3005/cimi/machine_configurations/large</id>
<name>large</name>
<description>Machine Configuration with 8388608 KiB of memory and 8 CPU</description>
<created>2012-11-15T10:00:37-05:00</created>
<cpu>8</cpu>
<memory>8388608</memory>
</MachineConfiguration>
<MachineConfiguration>
<id>http://cloud-qe-5.idm.lab.bos.redhat.com:3005/cimi/machine_configurations/medium</id>
<name>medium</name>
<description>Machine Configuration with 4194304 KiB of memory and 4 CPU</description>
<created>2012-11-15T10:00:37-05:00</created>
<cpu>4</cpu>
<memory>4194304</memory>
</MachineConfiguration>
<MachineConfiguration>
<id>http://cloud-qe-5.idm.lab.bos.redhat.com:3005/cimi/machine_configurations/small</id>
<name>small</name>
<description>Machine Configuration with 1048576 KiB of memory and 1 CPU</description>
<created>2012-11-15T10:00:37-05:00</created>
<cpu>1</cpu>
<memory>1048576</memory>
</MachineConfiguration>
</Collection>
> GET /cimi/machine_configurations returns long series of numbers and an incomplete response (Opennebula)
> -------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-369
> URL: https://issues.apache.org/jira/browse/DTACLOUD-369
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: Deltacloud 1.0.4 +
> Opennebula
> Reporter: Ronelle Landy
> Assignee: Ronelle Landy
> Attachments: 0001-CIMI-fix-issue-with-machine_configs-values-DTACLOUD-.patch
>
>
> The native Deltacloud API returns the hardware profiles available for Opennebula (see first copied response). Using the CIMI frontend, /cimi/machine_configurations returns long series of numbers (see second copied response):
> -------------- /api/hardware_profiles --------------
> >> curl -X GET -v --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles?format=xml"* About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /api/hardware_profiles?format=xml HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < X-Backend-Runtime: 0.40972232818603516
> < Server: Apache-Deltacloud/1.0.5
> < X-Deltacloud-Driver: opennebula
> < Content-Length: 1009
> < ETag: 22bb498eb3f9b57ae451d6058f341911
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:11:56 GMT
> < Connection: keep-alive
> <
> <?xml version='1.0' encoding='utf-8' ?>
> <hardware_profiles>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/small' id='small'>
> <id>small</id>
> <name>small</name>
> <property kind='fixed' name='cpu' unit='count' value='1' />
> <property kind='fixed' name='memory' unit='MB' value='1024' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/medium' id='medium'>
> <id>medium</id>
> <name>medium</name>
> <property kind='fixed' name='cpu' unit='count' value='4' />
> <property kind='fixed' name='memory' unit='MB' value='4096' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/large' id='large'>
> <id>large</id>
> <name>large</name>
> <property kind='fixed' name='cpu' unit='count' value='8' />
> <property kind='fixed' name='memory' unit='MB' value='8192' />
> </hardware_profile>
> </hardware_profiles>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> ----------- compare with the output returned from /cimi/machine_configurations ----------------
>
> [rlandy@localhost /]$ curl -X GET -v -H "accept:application/xml" --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations"
> * About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /cimi/machine_configurations HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > accept:application/xml
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < CIMI-Specification-Version: 1.0.5
> < Content-Length: 25838
> < ETag: 1eba3ffe01c0fcf41f7c272ee3d6fa7f
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:12:03 GMT
> < Connection: keep-alive
> < Server: thin 1.5.0 codename Knife
> <
> <Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations</id>
> <count>3</count>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/large</id>
> <name>large</name>
> <description>Machine Configuration with 8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192 KiB of memory and 8 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>8</cpu>
> <memory>8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/medium</id>
> <name>medium</name>
> <description>Machine Configuration with 4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096 KiB of memory and 4 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>4</cpu>
> <memory>4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/small</id>
> <name>small</name>
> <description>Machine Configuration with 1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024 KiB of memory and 1 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>1</cpu>
> <memory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</memory>
> </MachineConfiguration>
> </Collection>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> [rlandy@localhost /]$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DTACLOUD-369) GET /cimi/machine_configurations
returns long series of numbers and an incomplete response (Opennebula)
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou updated DTACLOUD-369:
------------------------------------
Attachment: 0001-CIMI-fix-issue-with-machine_configs-values-DTACLOUD-.patch
> GET /cimi/machine_configurations returns long series of numbers and an incomplete response (Opennebula)
> -------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-369
> URL: https://issues.apache.org/jira/browse/DTACLOUD-369
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: Deltacloud 1.0.4 +
> Opennebula
> Reporter: Ronelle Landy
> Assignee: Marios Andreou
> Attachments: 0001-CIMI-fix-issue-with-machine_configs-values-DTACLOUD-.patch
>
>
> The native Deltacloud API returns the hardware profiles available for Opennebula (see first copied response). Using the CIMI frontend, /cimi/machine_configurations returns long series of numbers (see second copied response):
> -------------- /api/hardware_profiles --------------
> >> curl -X GET -v --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles?format=xml"* About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /api/hardware_profiles?format=xml HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < X-Backend-Runtime: 0.40972232818603516
> < Server: Apache-Deltacloud/1.0.5
> < X-Deltacloud-Driver: opennebula
> < Content-Length: 1009
> < ETag: 22bb498eb3f9b57ae451d6058f341911
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:11:56 GMT
> < Connection: keep-alive
> <
> <?xml version='1.0' encoding='utf-8' ?>
> <hardware_profiles>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/small' id='small'>
> <id>small</id>
> <name>small</name>
> <property kind='fixed' name='cpu' unit='count' value='1' />
> <property kind='fixed' name='memory' unit='MB' value='1024' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/medium' id='medium'>
> <id>medium</id>
> <name>medium</name>
> <property kind='fixed' name='cpu' unit='count' value='4' />
> <property kind='fixed' name='memory' unit='MB' value='4096' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/large' id='large'>
> <id>large</id>
> <name>large</name>
> <property kind='fixed' name='cpu' unit='count' value='8' />
> <property kind='fixed' name='memory' unit='MB' value='8192' />
> </hardware_profile>
> </hardware_profiles>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> ----------- compare with the output returned from /cimi/machine_configurations ----------------
>
> [rlandy@localhost /]$ curl -X GET -v -H "accept:application/xml" --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations"
> * About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /cimi/machine_configurations HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > accept:application/xml
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < CIMI-Specification-Version: 1.0.5
> < Content-Length: 25838
> < ETag: 1eba3ffe01c0fcf41f7c272ee3d6fa7f
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:12:03 GMT
> < Connection: keep-alive
> < Server: thin 1.5.0 codename Knife
> <
> <Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations</id>
> <count>3</count>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/large</id>
> <name>large</name>
> <description>Machine Configuration with 8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192 KiB of memory and 8 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>8</cpu>
> <memory>8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/medium</id>
> <name>medium</name>
> <description>Machine Configuration with 4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096 KiB of memory and 4 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>4</cpu>
> <memory>4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/small</id>
> <name>small</name>
> <description>Machine Configuration with 1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024 KiB of memory and 1 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>1</cpu>
> <memory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</memory>
> </MachineConfiguration>
> </Collection>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> [rlandy@localhost /]$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (DTACLOUD-369) GET /cimi/machine_configurations
returns long series of numbers and an incomplete response (Opennebula)
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou reassigned DTACLOUD-369:
---------------------------------------
Assignee: Marios Andreou
> GET /cimi/machine_configurations returns long series of numbers and an incomplete response (Opennebula)
> -------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-369
> URL: https://issues.apache.org/jira/browse/DTACLOUD-369
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: Deltacloud 1.0.4 +
> Opennebula
> Reporter: Ronelle Landy
> Assignee: Marios Andreou
>
> The native Deltacloud API returns the hardware profiles available for Opennebula (see first copied response). Using the CIMI frontend, /cimi/machine_configurations returns long series of numbers (see second copied response):
> -------------- /api/hardware_profiles --------------
> >> curl -X GET -v --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles?format=xml"* About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /api/hardware_profiles?format=xml HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < X-Backend-Runtime: 0.40972232818603516
> < Server: Apache-Deltacloud/1.0.5
> < X-Deltacloud-Driver: opennebula
> < Content-Length: 1009
> < ETag: 22bb498eb3f9b57ae451d6058f341911
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:11:56 GMT
> < Connection: keep-alive
> <
> <?xml version='1.0' encoding='utf-8' ?>
> <hardware_profiles>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/small' id='small'>
> <id>small</id>
> <name>small</name>
> <property kind='fixed' name='cpu' unit='count' value='1' />
> <property kind='fixed' name='memory' unit='MB' value='1024' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/medium' id='medium'>
> <id>medium</id>
> <name>medium</name>
> <property kind='fixed' name='cpu' unit='count' value='4' />
> <property kind='fixed' name='memory' unit='MB' value='4096' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/large' id='large'>
> <id>large</id>
> <name>large</name>
> <property kind='fixed' name='cpu' unit='count' value='8' />
> <property kind='fixed' name='memory' unit='MB' value='8192' />
> </hardware_profile>
> </hardware_profiles>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> ----------- compare with the output returned from /cimi/machine_configurations ----------------
>
> [rlandy@localhost /]$ curl -X GET -v -H "accept:application/xml" --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations"
> * About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /cimi/machine_configurations HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > accept:application/xml
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < CIMI-Specification-Version: 1.0.5
> < Content-Length: 25838
> < ETag: 1eba3ffe01c0fcf41f7c272ee3d6fa7f
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:12:03 GMT
> < Connection: keep-alive
> < Server: thin 1.5.0 codename Knife
> <
> <Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations</id>
> <count>3</count>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/large</id>
> <name>large</name>
> <description>Machine Configuration with 8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192 KiB of memory and 8 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>8</cpu>
> <memory>8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/medium</id>
> <name>medium</name>
> <description>Machine Configuration with 4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096 KiB of memory and 4 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>4</cpu>
> <memory>4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/small</id>
> <name>small</name>
> <description>Machine Configuration with 1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024 KiB of memory and 1 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>1</cpu>
> <memory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</memory>
> </MachineConfiguration>
> </Collection>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> [rlandy@localhost /]$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DTACLOUD-369) GET /cimi/machine_configurations
returns long series of numbers and an incomplete response (Opennebula)
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496925#comment-13496925 ]
Marios Andreou commented on DTACLOUD-369:
-----------------------------------------
ACK - opennebula hwp values are captured as string (may also happen in other drivers). So we were doing "string" * integer which just creates a new string with <integer> times the original:
"foo" * 3 == "foofoofoo"
patch above and also on tracker.deltacloud.org/set/125
> GET /cimi/machine_configurations returns long series of numbers and an incomplete response (Opennebula)
> -------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-369
> URL: https://issues.apache.org/jira/browse/DTACLOUD-369
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: Deltacloud 1.0.4 +
> Opennebula
> Reporter: Ronelle Landy
> Assignee: Marios Andreou
> Attachments: 0001-CIMI-fix-issue-with-machine_configs-values-DTACLOUD-.patch
>
>
> The native Deltacloud API returns the hardware profiles available for Opennebula (see first copied response). Using the CIMI frontend, /cimi/machine_configurations returns long series of numbers (see second copied response):
> -------------- /api/hardware_profiles --------------
> >> curl -X GET -v --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles?format=xml"* About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /api/hardware_profiles?format=xml HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < X-Backend-Runtime: 0.40972232818603516
> < Server: Apache-Deltacloud/1.0.5
> < X-Deltacloud-Driver: opennebula
> < Content-Length: 1009
> < ETag: 22bb498eb3f9b57ae451d6058f341911
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:11:56 GMT
> < Connection: keep-alive
> <
> <?xml version='1.0' encoding='utf-8' ?>
> <hardware_profiles>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/small' id='small'>
> <id>small</id>
> <name>small</name>
> <property kind='fixed' name='cpu' unit='count' value='1' />
> <property kind='fixed' name='memory' unit='MB' value='1024' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/medium' id='medium'>
> <id>medium</id>
> <name>medium</name>
> <property kind='fixed' name='cpu' unit='count' value='4' />
> <property kind='fixed' name='memory' unit='MB' value='4096' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/large' id='large'>
> <id>large</id>
> <name>large</name>
> <property kind='fixed' name='cpu' unit='count' value='8' />
> <property kind='fixed' name='memory' unit='MB' value='8192' />
> </hardware_profile>
> </hardware_profiles>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> ----------- compare with the output returned from /cimi/machine_configurations ----------------
>
> [rlandy@localhost /]$ curl -X GET -v -H "accept:application/xml" --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations"
> * About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /cimi/machine_configurations HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > accept:application/xml
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < CIMI-Specification-Version: 1.0.5
> < Content-Length: 25838
> < ETag: 1eba3ffe01c0fcf41f7c272ee3d6fa7f
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:12:03 GMT
> < Connection: keep-alive
> < Server: thin 1.5.0 codename Knife
> <
> <Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations</id>
> <count>3</count>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/large</id>
> <name>large</name>
> <description>Machine Configuration with 8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192 KiB of memory and 8 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>8</cpu>
> <memory>8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/medium</id>
> <name>medium</name>
> <description>Machine Configuration with 4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096 KiB of memory and 4 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>4</cpu>
> <memory>4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/small</id>
> <name>small</name>
> <description>Machine Configuration with 1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024 KiB of memory and 1 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>1</cpu>
> <memory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</memory>
> </MachineConfiguration>
> </Collection>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> [rlandy@localhost /]$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DTACLOUD-369) GET /cimi/machine_configurations
returns long series of numbers and an incomplete response (Opennebula)
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496976#comment-13496976 ]
Marios Andreou commented on DTACLOUD-369:
-----------------------------------------
pushed as commit # 5ed52fc7abf50049ef102e4ad1c7e0f4ef0c6011
> GET /cimi/machine_configurations returns long series of numbers and an incomplete response (Opennebula)
> -------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-369
> URL: https://issues.apache.org/jira/browse/DTACLOUD-369
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: Deltacloud 1.0.4 +
> Opennebula
> Reporter: Ronelle Landy
> Assignee: Ronelle Landy
> Attachments: 0001-CIMI-fix-issue-with-machine_configs-values-DTACLOUD-.patch
>
>
> The native Deltacloud API returns the hardware profiles available for Opennebula (see first copied response). Using the CIMI frontend, /cimi/machine_configurations returns long series of numbers (see second copied response):
> -------------- /api/hardware_profiles --------------
> >> curl -X GET -v --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles?format=xml"* About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /api/hardware_profiles?format=xml HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < X-Backend-Runtime: 0.40972232818603516
> < Server: Apache-Deltacloud/1.0.5
> < X-Deltacloud-Driver: opennebula
> < Content-Length: 1009
> < ETag: 22bb498eb3f9b57ae451d6058f341911
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:11:56 GMT
> < Connection: keep-alive
> <
> <?xml version='1.0' encoding='utf-8' ?>
> <hardware_profiles>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/small' id='small'>
> <id>small</id>
> <name>small</name>
> <property kind='fixed' name='cpu' unit='count' value='1' />
> <property kind='fixed' name='memory' unit='MB' value='1024' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/medium' id='medium'>
> <id>medium</id>
> <name>medium</name>
> <property kind='fixed' name='cpu' unit='count' value='4' />
> <property kind='fixed' name='memory' unit='MB' value='4096' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/large' id='large'>
> <id>large</id>
> <name>large</name>
> <property kind='fixed' name='cpu' unit='count' value='8' />
> <property kind='fixed' name='memory' unit='MB' value='8192' />
> </hardware_profile>
> </hardware_profiles>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> ----------- compare with the output returned from /cimi/machine_configurations ----------------
>
> [rlandy@localhost /]$ curl -X GET -v -H "accept:application/xml" --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations"
> * About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /cimi/machine_configurations HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > accept:application/xml
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < CIMI-Specification-Version: 1.0.5
> < Content-Length: 25838
> < ETag: 1eba3ffe01c0fcf41f7c272ee3d6fa7f
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:12:03 GMT
> < Connection: keep-alive
> < Server: thin 1.5.0 codename Knife
> <
> <Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations</id>
> <count>3</count>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/large</id>
> <name>large</name>
> <description>Machine Configuration with 8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192 KiB of memory and 8 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>8</cpu>
> <memory>8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/medium</id>
> <name>medium</name>
> <description>Machine Configuration with 4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096 KiB of memory and 4 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>4</cpu>
> <memory>4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/small</id>
> <name>small</name>
> <description>Machine Configuration with 1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024 KiB of memory and 1 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>1</cpu>
> <memory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</memory>
> </MachineConfiguration>
> </Collection>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> [rlandy@localhost /]$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (DTACLOUD-369) GET /cimi/machine_configurations
returns long series of numbers and an incomplete response (Opennebula)
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou reassigned DTACLOUD-369:
---------------------------------------
Assignee: Ronelle Landy (was: Marios Andreou)
> GET /cimi/machine_configurations returns long series of numbers and an incomplete response (Opennebula)
> -------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-369
> URL: https://issues.apache.org/jira/browse/DTACLOUD-369
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: Deltacloud 1.0.4 +
> Opennebula
> Reporter: Ronelle Landy
> Assignee: Ronelle Landy
> Attachments: 0001-CIMI-fix-issue-with-machine_configs-values-DTACLOUD-.patch
>
>
> The native Deltacloud API returns the hardware profiles available for Opennebula (see first copied response). Using the CIMI frontend, /cimi/machine_configurations returns long series of numbers (see second copied response):
> -------------- /api/hardware_profiles --------------
> >> curl -X GET -v --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles?format=xml"* About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /api/hardware_profiles?format=xml HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < X-Backend-Runtime: 0.40972232818603516
> < Server: Apache-Deltacloud/1.0.5
> < X-Deltacloud-Driver: opennebula
> < Content-Length: 1009
> < ETag: 22bb498eb3f9b57ae451d6058f341911
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:11:56 GMT
> < Connection: keep-alive
> <
> <?xml version='1.0' encoding='utf-8' ?>
> <hardware_profiles>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/small' id='small'>
> <id>small</id>
> <name>small</name>
> <property kind='fixed' name='cpu' unit='count' value='1' />
> <property kind='fixed' name='memory' unit='MB' value='1024' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/medium' id='medium'>
> <id>medium</id>
> <name>medium</name>
> <property kind='fixed' name='cpu' unit='count' value='4' />
> <property kind='fixed' name='memory' unit='MB' value='4096' />
> </hardware_profile>
> <hardware_profile href='http://cloud-qe-7.idm.lab.bos.redhat.com:3007/api/hardware_profiles/large' id='large'>
> <id>large</id>
> <name>large</name>
> <property kind='fixed' name='cpu' unit='count' value='8' />
> <property kind='fixed' name='memory' unit='MB' value='8192' />
> </hardware_profile>
> </hardware_profiles>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> ----------- compare with the output returned from /cimi/machine_configurations ----------------
>
> [rlandy@localhost /]$ curl -X GET -v -H "accept:application/xml" --user "un:pw" "cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations"
> * About to connect() to cloud-qe-7.idm.lab.bos.redhat.com port 3007 (#0)
> * Trying 10.16.96.108... connected
> * Connected to cloud-qe-7.idm.lab.bos.redhat.com (10.16.96.108) port 3007 (#0)
> * Server auth using Basic with user ''
> > GET /cimi/machine_configurations HTTP/1.1
> > Authorization: Basic cmxhbmR5OjI0Nmpibm44bm1pMWloNTJlMDM=
> > User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> > Host: cloud-qe-7.idm.lab.bos.redhat.com:3007
> > accept:application/xml
> >
> < HTTP/1.1 200 OK
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Type: application/xml
> < CIMI-Specification-Version: 1.0.5
> < Content-Length: 25838
> < ETag: 1eba3ffe01c0fcf41f7c272ee3d6fa7f
> < Cache-Control: max-age=0, private, must-revalidate
> < Date: Tue, 13 Nov 2012 21:12:03 GMT
> < Connection: keep-alive
> < Server: thin 1.5.0 codename Knife
> <
> <Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations</id>
> <count>3</count>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/large</id>
> <name>large</name>
> <description>Machine Configuration with 8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192 KiB of memory and 8 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>8</cpu>
> <memory>8192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192819281928192</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/medium</id>
> <name>medium</name>
> <description>Machine Configuration with 4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096 KiB of memory and 4 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>4</cpu>
> <memory>4096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096409640964096</memory>
> </MachineConfiguration>
> <MachineConfiguration>
> <id>http://cloud-qe-7.idm.lab.bos.redhat.com:3007/cimi/machine_configurations/small</id>
> <name>small</name>
> <description>Machine Configuration with 1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024 KiB of memory and 1 CPU</description>
> <created>2012-11-13T16:12:03-05:00</created>
> <cpu>1</cpu>
> <memory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</memory>
> </MachineConfiguration>
> </Collection>
> * Connection #0 to host cloud-qe-7.idm.lab.bos.redhat.com left intact
> * Closing connection #0
> [rlandy@localhost /]$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira