Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1061

Generic EC2 API assumes the instanceType field is required

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.1
    • None
    • jclouds-compute
    • OpenNebula 4.14.2

    Description

      When executing describeInstancesInRegion() from generic EC2 API against OpenNebula 4.14.2 it seems that the generic EC2 API assumes the instanceType field is required: https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/main/java/org/jclouds/ec2/domain/RunningInstance.java#L297

      <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2016-01-13/">
          <requestId>db4affa0-2d0a-4419-9e51-956407249654</requestId>
          <reservationSet>
              <item>
                  <reservationId>default</reservationId>
                  <ownerId>oneadmin</ownerId>
                  <groupSet>
                      <item>
                          <groupId>default</groupId>
                      </item>
                  </groupSet>
                  <instancesSet>
                      <item>
                          <instanceId>i-00000042</instanceId>
                          <imageId></imageId>
                          <instanceState>
                              <code>16</code>
                              <name>running</name>
                          </instanceState>
                          <privateIpAddress>192.168.0.100</privateIpAddress>
                          <privateDnsName>192.168.0.100</privateDnsName>
                          <dnsName>192.168.0.100</dnsName>
                          <keyName>none</keyName>
                          <productCodes/>
                          <instanceType></instanceType>
                          <launchTime>2016-01-20T17:24:25+01:00</launchTime>
                          <placement>
                              <availabilityZone>default</availabilityZone>
                          </placement>
                          <amiLaunchIndex>42</amiLaunchIndex>
                          <kernelId>eki-EA801065</kernelId>
                          <ramdiskId>eri-1FEE1144</ramdiskId>
                          <monitoring>
                              <state>disabled</state>
                          </monitoring>
                          <clientToken></clientToken>
                      </item>
                  </instancesSet>
              </item>
          </reservationSet>
      </DescribeInstancesResponse>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pdiblasi Paolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: