deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DTACLOUD-147) Delatcloud is not returning the ip address for a running instance in RHEVM (including audrey agent/ rhev agent)
Date Fri, 09 Mar 2012 19:22:57 GMT

     [ https://issues.apache.org/jira/browse/DTACLOUD-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ronelle Landy closed DTACLOUD-147.
----------------------------------


Verified that an ip address is returned:

curl -X GET --user 'username:password' "http://localhost:4001/api/instances/eca1101e-be01-4a13-b36a-907b2fad9985?format=xml"

<?xml version='1.0' encoding='utf-8' ?>
<instance href='http://localhost:4001/api/instances/eca1101e-be01-4a13-b36a-907b2fad9985'
id='eca1101e-be01-4a13-b36a-907b2fad9985'>
  <name>RHEL6-2-rhev-agent-RHEL6-2-rhev-agent</name>
  <owner_id>admin@internal</owner_id>
  <image href='http://localhost:4001/api/images/985d7c30-cd27-445d-a25c-2c0d85f42f1e' id='985d7c30-cd27-445d-a25c-2c0d85f42f1e'></image>
  <realm href='http://localhost:4001/api/realms/a9347fb8-5976-11e1-a53e-5254005809b7' id='a9347fb8-5976-11e1-a53e-5254005809b7'></realm>
  <state>RUNNING</state>
  <hardware_profile href='http://localhost:4001/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>
  </hardware_profile>
  <actions>
    <link href='http://localhost:4001/api/instances/eca1101e-be01-4a13-b36a-907b2fad9985/stop'
method='post' rel='stop' />
    <link href='http://localhost:4001/api/images;instance_id=eca1101e-be01-4a13-b36a-907b2fad9985'
method='post' rel='create_image' />
  </actions>
  <launch_time>2012-03-06T13:40:31.115-05:00</launch_time>
  <public_addresses><address type='ipv4'>10.16.120.113</address>
<address port='5900' type='vnc'>10.16.120.50</address></public_addresses>
  <private_addresses></private_addresses>
</instance>

Versions tested:

gem query |grep rbovirt
rbovirt (0.0.6)

Deltacloud git commit: 61ac9fef965dd7d1af7c213357ea7d66630d88d7


                
> Delatcloud is not returning the ip address for a running instance in RHEVM (including
audrey agent/ rhev agent)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-147
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-147
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Fedora 16/ RHEL 6.2
> rbovirt (0.0.5)
> rhevm 3.0
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>
> Deltacloud returns the mac and vnc address for a running instance in rhevm but not the
ip address. Even if the instance was launched from an image with rhev agent or aeolus-audrey
agent, the ip address is not returned. The ip address for the same running instance is returned
in previous versions of Deltacloud (deltacloud-core 0.5.0/5)
> API output from Deltacloud (using rbovirt):
>  curl -X GET --user "username:password" "http://nec-em6.rhts.eng.bos.redhat.com:3001/api/instances/d959f410-526b-4962-9e50-881f43a16a11?format=xml"
> <?xml version='1.0' encoding='utf-8' ?>
> <instance href='http://nec-em6.rhts.eng.bos.redhat.com:3001/api/instances/d959f410-526b-4962-9e50-881f43a16a11'
id='d959f410-526b-4962-9e50-881f43a16a11'>
>   <name>rlandyBasicRhevm</name>
>   <owner_id>admin@internal</owner_id>
>   <image href='http://nec-em6.rhts.eng.bos.redhat.com:3001/api/images/194a5df9-141b-4f8f-973e-157afd2cd01b'
id='194a5df9-141b-4f8f-973e-157afd2cd01b'></image>
>   <realm href='http://nec-em6.rhts.eng.bos.redhat.com:3001/api/realms/ba2b3a52-4303-11e1-b6c2-5cf3fc1c861c'
id='ba2b3a52-4303-11e1-b6c2-5cf3fc1c861c'></realm>
>   <state>RUNNING</state>
>   <hardware_profile href='http://nec-em6.rhts.eng.bos.redhat.com:3001/api/hardware_profiles/SERVER'
id='SERVER'>
>     <property kind='fixed' name='storage' unit='GB' value='1'></property>
>     <property kind='fixed' name='cpu' unit='count' value='1'></property>
>     <property kind='fixed' name='memory' unit='MB' value='512'></property>
>   </hardware_profile>
>   <actions>
>     <link href='http://nec-em6.rhts.eng.bos.redhat.com:3001/api/instances/d959f410-526b-4962-9e50-881f43a16a11/stop'
method='post' rel='stop' />
>     <link href='http://nec-em6.rhts.eng.bos.redhat.com:3001/api/images;instance_id=d959f410-526b-4962-9e50-881f43a16a11'
method='post' rel='create_image' />
>   </actions>
>   <launch_time>2012-02-14T20:27:25.886-05:00</launch_time>
>   <public_addresses><address type='mac'>00:1a:4a:10:78:3d</address>
> <address port='5906' type='vnc'>qeblade27.rhq.lab.eng.bos.redhat.com</address></public_addresses>
>   <private_addresses></private_addresses>
> </instance>
> [rlandy@localhost yum.repos.d]$ 
> API output from deltacloud-core-0.5.0/5:
> [rlandy@localhost yum.repos.d]$ curl -X GET --user "uname:password" "http://hp-dl360g5-02.rhts.eng.bos.redhat.com:3001/api/instances/d959f410-526b-4962-9e50-881f43a16a11?format=xml"
> <?xml version='1.0' encoding='utf-8' ?>
> <instance href='http://hp-dl360g5-02.rhts.eng.bos.redhat.com:3001/api/instances/d959f410-526b-4962-9e50-881f43a16a11'
id='d959f410-526b-4962-9e50-881f43a16a11'>
>   <name>rlandyBasicRhevm</name>
>   <owner_id>admin@internal</owner_id>
>   <image href='http://hp-dl360g5-02.rhts.eng.bos.redhat.com:3001/api/images/194a5df9-141b-4f8f-973e-157afd2cd01b'
id='194a5df9-141b-4f8f-973e-157afd2cd01b'></image>
>   <realm href='http://hp-dl360g5-02.rhts.eng.bos.redhat.com:3001/api/realms/ba2b3a52-4303-11e1-b6c2-5cf3fc1c861c'
id='ba2b3a52-4303-11e1-b6c2-5cf3fc1c861c'></realm>
>   <state>RUNNING</state>
>   <hardware_profile href='http://hp-dl360g5-02.rhts.eng.bos.redhat.com:3001/api/hardware_profiles/SERVER'
id='SERVER'>
>     <property kind='fixed' name='cpu' unit='count' value='1'></property>
>     <property kind='fixed' name='memory' unit='MB' value='512'></property>
>     <property kind='fixed' name='storage' unit='GB' value='1'></property>
>   </hardware_profile>
>   <actions>
>     <link href='http://hp-dl360g5-02.rhts.eng.bos.redhat.com:3001/api/instances/d959f410-526b-4962-9e50-881f43a16a11/stop'
method='post' rel='stop' />
>     <link href='http://hp-dl360g5-02.rhts.eng.bos.redhat.com:3001/api/images;instance_id=d959f410-526b-4962-9e50-881f43a16a11'
method='post' rel='create_image' />
>   </actions>
>   <launch_time>2012-02-14T20:27:25.886-05:00</launch_time>
>   <public_addresses><address type='ipv4'>10.16.120.161</address></public_addresses>
>   <private_addresses></private_addresses>
> </instance>
> [rlandy@localhost yum.repos.d]$
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message