[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-7889) DeltaCloud / AS / RSE integration

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Dec 14 10:25:52 EST 2010


    [ https://issues.jboss.org/browse/JBIDE-7889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569931#comment-12569931 ] 

Andre Dietisheim edited comment on JBIDE-7889 at 12/14/10 10:25 AM:
--------------------------------------------------------------------

removed erroneous comment

      was (Author: adietish):
    the bug we currently have here is that the client does not have a hostname for the instance he tries to open the remote system explorer for.

org.jboss.tools.deltacloud.integration:

RSEandASWizardPage#runJob, line 119:

the hostname is <code>null</code>

The reason for this is in the server. The client waits for the state of the instance to turn RUNNING (from PENDING) in:

DeltaCloud#waitForState(), line 472 etc.

It queries the server for the instance and checks the state the server reports. If the instance finally turn RUNNING, the instance is replaced in the local cache. Unfortunately it seems like there's a bug in the server response. It does not fill in the values, that are needed for the hostname. See what the server responds - check public_addresses:

<?xml version='1.0' encoding='utf-8' ?>
<instance href='http://try.steamcannon.org/deltacloud/api/instances/i-28093445' id='i-28093445'>
  <name>ami-e0a35789</name>
  <owner_id>357159121505</owner_id>
  <image href='http://try.steamcannon.org/deltacloud/api/images/ami-e0a35789' id='ami-e0a35789'></image>
  <realm href='http://try.steamcannon.org/deltacloud/api/realms/us-east-1a' id='us-east-1a'></realm>
  <state>PENDING</state>
  <hardware_profile href='http://try.steamcannon.org/deltacloud/api/hardware_profiles/m1.small' id='m1.small'>
  </hardware_profile>
  <actions>
    <link href='http://try.steamcannon.org/deltacloud/api/instances/i-28093445/stop' method='post' rel='stop' />
  </actions>
  <launch_time>2010-12-14T11:12:18.000Z</launch_time>
  <public_addresses>
    <address></address>
  </public_addresses>
  <private_addresses>
    <address></address>
  </private_addresses>
  <authentication type='key'>
    <login>
      <keyname>adie</keyname>
    </login>
  </authentication>
</instance>

  
> DeltaCloud / AS / RSE  integration
> ----------------------------------
>
>                 Key: JBIDE-7889
>                 URL: https://issues.jboss.org/browse/JBIDE-7889
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: deltacloud, JBossAS
>    Affects Versions: 3.2.0.Beta2
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>            Priority: Blocker
>             Fix For: 3.2.0.CR1
>
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list