deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (JIRA)" <>
Subject [jira] [Created] (DTACLOUD-477) Openstack provider: Realms not correct reported from GET /api/instance/Instance_id
Date Thu, 14 Feb 2013 17:28:13 GMT
Ronelle Landy created DTACLOUD-477:

             Summary: Openstack provider: Realms not correct reported from GET /api/instance/Instance_id
                 Key: DTACLOUD-477
             Project: DeltaCloud
          Issue Type: Bug
          Components: Native/Frontend
         Environment: Deltacloud 1.1.1 - gem under test
Openstack provider
            Reporter: Ronelle Landy

Create an instance passing a realm_id - note that this realm is the same as the one where
the image resides:

>>  curl -X POST -F "image_id=67663" -F "realm_id=az-2.region-a.geo-1" --user "un:pw"

12:17:20 -0500","state":"PENDING","owner":"....","image":{"href":"","id":"67663","rel":"image"},

All good above.

Now GET the instance ... not that the realm is reported as:

<realm href='' id='n/a'></realm>

>>  curl -X GET --user "un:pw" ""<?xml
version='1.0' encoding='utf-8' ?>
<instance href='' id='1099283'>
  <name>server2013-02-14 12:17:20 -0500</name>
  <image href='' id='67663'></image>
  <realm href='' id='n/a'></realm>
  <hardware_profile href=''
    <link href=''
method='post' rel='reboot' />
    <link href=''
method='post' rel='stop' />
    <link href=';instance_id=1099283'
method='post' rel='create_image' />
  <public_addresses><address type='ipv4'></address></public_addresses>
  <private_addresses><address type='ipv4'></address></private_addresses>
  <authentication type='key'>
[root@cloud-qe-3 tests]# 

This fails  deltacloud/test/instances_test.rb.

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:

View raw message