deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh A (Created) (JIRA)" <>
Subject [jira] [Created] (DTACLOUD-143) Deltacloud API displays server ip instead of vm ip for an stopped instance in rhevm setup
Date Fri, 10 Feb 2012 18:18:59 GMT
Deltacloud API displays server ip instead of vm ip for an stopped instance in rhevm setup

                 Key: DTACLOUD-143
             Project: DeltaCloud
          Issue Type: Bug
          Components: Server
         Environment: Deltacloud API 0.5.0
commit f2fffe85b7826a8627e51eeb78ef3c1d3e1d25dd
API Provider - RHEVM 3.0.
OS - Fedora, RHEL
            Reporter: Ramesh A
            Assignee: David Lutterkort
            Priority: Minor

When the instance is in stopped state, Deltacloud API renders the server ip as the vm ip(in
public_addresses section), ideally should not display the server ip.  Displays the correct
vm ip when the instance is in running state.

Expected Result:
Should display appropriate message or Should not display the ip as the rhevm-agent does not
render any ip from the guest info from rhevm server

Curl Output:
[rananda@rananda ~]$ curl -X GET --user "<username>:<password>" "http://localhost:3001/api/instances/6373cfcd-8eba-4d1a-b370-90358f89e2d9?format=xml"
<?xml version='1.0' encoding='utf-8' ?>
<instance href='http://localhost:3001/api/instances/6373cfcd-8eba-4d1a-b370-90358f89e2d9'
  <image href='http://localhost:3001/api/images/714322dd-b912-46f9-8e08-6b83c8d2cdaf' id='714322dd-b912-46f9-8e08-6b83c8d2cdaf'></image>
  <realm href='http://localhost:3001/api/realms/ba2b3a52-4303-11e1-b6c2-5cf3fc1c861c' id='ba2b3a52-4303-11e1-b6c2-5cf3fc1c861c'></realm>
  <hardware_profile href='http://localhost:3001/api/hardware_profiles/SERVER' id='SERVER'>
    <property kind='fixed' name='memory' unit='MB' value='512'></property>
    <property kind='fixed' name='storage' unit='GB' value='1'></property>
    <property kind='fixed' name='cpu' unit='count' value='1'></property>
    <link href='http://localhost:3001/api/instances/6373cfcd-8eba-4d1a-b370-90358f89e2d9/start'
method='post' rel='start' />
    <link href='http://localhost:3001/api/instances/6373cfcd-8eba-4d1a-b370-90358f89e2d9'
method='delete' rel='destroy' />
    <link href='http://localhost:3001/api/images;instance_id=6373cfcd-8eba-4d1a-b370-90358f89e2d9'
method='post' rel='create_image' />
  <public_addresses><address port='5902' type='vnc'></address></public_addresses>
[rananda@rananda ~]$ 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message