TemplateBuilderImpl.build NoSuchElementException for EC2 windows ami osfamily unrecognized

61 views
Skip to first unread message

Kenneth Nagin

unread,
Jan 10, 2012, 6:07:07 AM1/10/12
to jclouds
In the last month I created EC2 AMI windows images.
Jclouds can find the images without any problems.
But it will not create nodes from the images.
TemplateBuilderImpl. throws java.util.NoSuchElementException.
Older windows images work fine. I've saved snapshots of these older
image without making any changes
but the exception still occurs. The problem only occurs for newly
created windows image. There is no
problem with newly created Ubuntu images.

I think the source of the problem is that jclouds is not recording the
operatingSystem family properly when it builds its Image class.
However the Amazon gui displays the platform as windows.

This is a display of image printout:

VMImage: [id=us-east-1/ami-2b25f142, name=null,
operatingSystem=[name=null, family=unrecognized, version=, arch=hvm,
is64Bit=false, description=300629125119/ms-cygwin-ts-passwordless],
description=Microsoft Windows with cygwin Tradestation and
passwordless ssh, version=passwordless, location=[id=us-east-1,
scope=REGION, description=us-east-1, parent=aws-ec2, iso3166Codes=[US-
VA], metadata={}], loginUser=root, userMetadata={owner=300629125119,
rootDeviceType=ebs, virtualizationType=hvm, hypervisor=xen}, tags=[]]


This is a trace of the exception:

java.util.NoSuchElementException: no hardware profiles support images
matching params: [biggest=false, fastest=false, imageName=null,
imageDescription=Microsoft Windows with cygwin Tradestation and
passwordless ssh, imageId=us-east-1/ami-2b25f142, imagePredicate=null,
imageVersion=passwordless, location=[id=us-east-1, scope=REGION,
description=us-east-1, parent=aws-ec2, iso3166Codes=[US-VA],
metadata={}], minCores=0.0, minRam=0, osFamily=unrecognized,
osName=null, osDescription=300629125119/ms-cygwin-ts-passwordless,
osVersion=, osArch=hvm, os64Bit=false, hardwareId=t1.micro]
at
org.jclouds.compute.domain.internal.TemplateBuilderImpl.resolveSize(TemplateBuilderImpl.java:
614)
at
org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:
573)
at com.ibm.pds.va.VA.createVMInstance(VA.java:312)
at com.ibm.pds.va.VaTest.createVMInstanceFromVMImage(VaTest.java:909)
at
com.ibm.pds.va.VaTest.testCreateVMInstanceFromVMImageWindows(VaTest.java:
169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
60)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
37)
at java.lang.reflect.Method.invoke(Method.java:611)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:
83)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:
49)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
197)


The template used for creating the image looks like this:
Template template =
mContext.getComputeService().templateBuilder().hardwareId(<hardware
id>.imageId(<image id).build();

I tried using the osFamily() template builder method as an override
but that does not work because jclouds
can not find the image since its predicate does not match.

Is there a work around for this?

- Kenneth

Adrian Cole

unread,
Jan 11, 2012, 4:44:19 AM1/11/12
to jcl...@googlegroups.com
Hi, Kenneth.

The code responsible for this is AWSEC2ReviseParsedImage. This code
is regex-based, and is probably not matching your image based on this.
If you can send the output of jclouds.wire log relating to this
image, I can help figure out the right regex for you.

There's a discussion of workarounds here:
http://www.jclouds.org/documentation/userguide/using-ec2 under Parsing
private images


I hope this helps!
-A

> --
> You received this message because you are subscribed to the Google Groups "jclouds" group.
> To post to this group, send email to jcl...@googlegroups.com.
> To unsubscribe from this group, send email to jclouds+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jclouds?hl=en.
>

Kenneth Nagin

unread,
Jan 11, 2012, 11:22:33 AM1/11/12
to jclouds

Kenneth Nagin

unread,
Jan 31, 2012, 9:43:29 AM1/31/12
to jclouds
This is jclouds.wire log: imageId=us-east-1/ami-2b25f142 is the one
we are interested in.

This is trimmed down list of the images. The first item is the one
that jclouds fails to create an instance from. The next two it can
successfully create instances from. The last one is another failure
example. In this third one I created a windows instance using
jclouds, then saved it manual, but could not launch if from jclouds.
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<imageId>ami-2b25f142</imageId>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<imageLocation>300629125119/ms-cygwin-ts-passwordless</
imageLocation>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<imageState>available</imageState>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<imageOwnerId>300629125119</imageOwnerId>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<isPublic>false</isPublic>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<architecture>i386</architecture>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<imageType>machine</imageType>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<platform>windows</platform>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<name>ms-cygwin-ts-passwordless</name>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<description>Microsoft Windows with cygwin Tradestation and
passwordless ssh</description>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<rootDeviceType>ebs</rootDeviceType>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<rootDeviceName>/dev/sda1</rootDeviceName>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<blockDeviceMapping>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - <<
" <deviceName>/dev/sda1</deviceName>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - <<
" <ebs>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - <<
" <snapshotId>snap-a6ef2ac2</snapshotId>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - <<
" <volumeSize>30</volumeSize>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - <<
" <deleteOnTermination>true</
deleteOnTermination>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - <<
" </ebs>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << " </
blockDeviceMapping>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<virtualizationType>hvm</virtualizationType>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << "
<hypervisor>xen</hypervisor>[\n]"
15:29:29.657 [i/o thread 1] DEBUG jclouds.wire - << " </
item>[\n]"

15:29:29.660 [i/o thread 1] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:29.660 [i/o thread 1] DEBUG jclouds.wire - << "
<imageId>ami-7525e81c</imageId>[\n]"
15:29:29.660 [i/o thread 1] DEBUG jclouds.wire - << "
<imageLocation>300629125119/windows-cygwin-tradestation</
imageLocation>[\n]"
15:29:29.660 [i/o thread 1] DEBUG jclouds.wire - << "
<imageState>available</imageState>[\n]"
15:29:29.660 [i/o thread 1] DEBUG jclouds.wire - << "
<imageOwnerId>300629125119</imageOwnerId>[\n]"
15:29:29.660 [i/o thread 1] DEBUG jclouds.wire - << "
<isPublic>false</isPublic>[\n]"
15:29:29.660 [i/o thread 1] DEBUG jclouds.wire - << "
<architecture>i386</architecture>[\n]"
15:29:29.660 [i/o thread 1] DEBUG jclouds.wire - << "
<imageType>machine</imageType>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<platform>windows</platform>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<name>windows-cygwin-tradestation</name>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<description>Windows server with cygwin openssh and tradestation</
description>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<rootDeviceType>ebs</rootDeviceType>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<rootDeviceName>/dev/sda1</rootDeviceName>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<blockDeviceMapping>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <deviceName>/dev/sda1</deviceName>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <ebs>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <snapshotId>snap-9844f7fb</snapshotId>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <volumeSize>30</volumeSize>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <deleteOnTermination>true</
deleteOnTermination>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" </ebs>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << " </
blockDeviceMapping>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<virtualizationType>hvm</virtualizationType>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<hypervisor>xen</hypervisor>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<imageId>ami-b94f85d0</imageId>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<imageLocation>300629125119/ubuntu-aeskulap</imageLocation>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<imageState>available</imageState>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<imageOwnerId>300629125119</imageOwnerId>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<isPublic>false</isPublic>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<architecture>i386</architecture>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<imageType>machine</imageType>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<kernelId>aki-407d9529</kernelId>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<name>ubuntu-aeskulap</name>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<description>ubuntu: apps: aeskulap, users: nagin ensure-user</
description>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<rootDeviceType>ebs</rootDeviceType>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<rootDeviceName>/dev/sda1</rootDeviceName>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<blockDeviceMapping>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <deviceName>/dev/sda1</deviceName>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <ebs>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <snapshotId>snap-99dbbefc</snapshotId>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <volumeSize>8</volumeSize>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" <deleteOnTermination>true</
deleteOnTermination>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - <<
" </ebs>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:29.661 [i/o thread 1] DEBUG jclouds.wire - << " </
blockDeviceMapping>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<virtualizationType>paravirtual</virtualizationType>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<hypervisor>xen</hypervisor>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<imageId>ami-d9d205b0</imageId>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<imageLocation>300629125119/ms-cygwin-ts-nochange</imageLocation>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<imageState>available</imageState>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<imageOwnerId>300629125119</imageOwnerId>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<isPublic>false</isPublic>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<architecture>i386</architecture>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<imageType>machine</imageType>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<platform>windows</platform>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<name>ms-cygwin-ts-nochange</name>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<rootDeviceType>ebs</rootDeviceType>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<rootDeviceName>/dev/sda1</rootDeviceName>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<blockDeviceMapping>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - <<
" <deviceName>/dev/sda1</deviceName>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - <<
" <ebs>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - <<
" <snapshotId>snap-e00ba384</snapshotId>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - <<
" <volumeSize>30</volumeSize>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - <<
" <deleteOnTermination>true</
deleteOnTermination>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - <<
" </ebs>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << " </
blockDeviceMapping>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<virtualizationType>hvm</virtualizationType>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "
<hypervisor>xen</hypervisor>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << " </
imagesSet>[\n]"
15:29:29.662 [i/o thread 1] DEBUG jclouds.wire - << "</
DescribeImagesResponse>"
15:29:30.865 [i/o thread 0] DEBUG
o.j.h.i.JavaUrlHttpCommandExecutorService - Receiving response
903252178: HTTP/1.1 200 OK
15:29:30.865 [i/o thread 0] DEBUG jclouds.headers - << HTTP/1.1 200 OK
15:29:30.865 [i/o thread 0] DEBUG jclouds.headers - << Server:
AmazonEC2
15:29:30.865 [i/o thread 0] DEBUG jclouds.headers - << Transfer-
Encoding: chunked
15:29:30.865 [i/o thread 0] DEBUG jclouds.headers - << Date: Tue, 31
Jan 2012 13:29:30 GMT
15:29:30.865 [i/o thread 0] DEBUG jclouds.headers - << Content-Type:
text/xml;charset=UTF-8
15:29:30.865 [i/o thread 0] DEBUG jclouds.wire - << "<?xml
version="1.0" encoding="UTF-8"?>[\n]"
15:29:30.865 [i/o thread 0] DEBUG jclouds.wire - <<
"<DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/
2011-05-15/">[\n]"
15:29:30.865 [i/o thread 0] DEBUG jclouds.wire - << "
<requestId>f9155e2a-afb2-4178-b8e8-853e590ad238</requestId>[\n]"
15:29:30.865 [i/o thread 0] DEBUG jclouds.wire - << " <imagesSet/
>[\n]"
15:29:30.865 [i/o thread 0] DEBUG jclouds.wire - << "</
DescribeImagesResponse>"
15:29:30.881 [user thread 0] DEBUG jclouds.compute - << images(12)
15:29:30.889 [main] DEBUG jclouds.compute - << images(12)

Here the test lists the running instances. Notice that I was able to
manually launch a instance from the ami image ami-2b25f142.
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << "
<instancesSet>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <instanceId>i-ebcd078e</instanceId>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <imageId>ami-2b25f142</imageId>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <instanceState>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <code>16</code>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <name>running</name>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </instanceState>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <privateDnsName>ip-10-242-205-180.ec2.internal</
privateDnsName>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
"
<dnsName>ec2-23-20-14-212.compute-1.amazonaws.com</dnsName>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <reason/>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <amiLaunchIndex>0</amiLaunchIndex>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <productCodes/>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <instanceType>t1.micro</instanceType>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <launchTime>2012-01-29T06:29:44.000Z</
launchTime>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <placement>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <availabilityZone>us-east-1c</
availabilityZone>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupName/>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <tenancy>default</tenancy>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </placement>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <platform>windows</platform>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <monitoring>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <state>disabled</state>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </monitoring>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <privateIpAddress>10.242.205.180</
privateIpAddress>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <ipAddress>23.20.14.212</ipAddress>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupSet>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupId>sg-de936cb6</groupId>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupName>jclouds#ensure2#us-east-1</
groupName>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </groupSet>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <architecture>i386</architecture>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <rootDeviceType>ebs</rootDeviceType>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <rootDeviceName>/dev/sda1</rootDeviceName>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <blockDeviceMapping>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <deviceName>/dev/sda1</deviceName>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <ebs>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <volumeId>vol-19415b74</
volumeId>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <status>attached</status>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <attachTime>2012-01-29T06:30:08.000Z</
attachTime>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <deleteOnTermination>true</
deleteOnTermination>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </ebs>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </blockDeviceMapping>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <virtualizationType>hvm</virtualizationType>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <clientToken/>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <tagSet>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <key>Name</key>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <value/>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <key>user</key>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <value>nagin</value>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" </tagSet>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <hypervisor>xen</hypervisor>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << " </
instancesSet>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << "
<reservationId>r-422dd922</reservationId>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << "
<ownerId>300629125119</ownerId>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << "
<groupSet>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupId>sg-de936cb6</groupId>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupName>jclouds#ensure2#us-east-1</
groupName>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:32.931 [i/o thread 3] DEBUG jclouds.wire - << " </
groupSet>[\n]"
15:29:32.932 [i/o thread 3] DEBUG jclouds.wire - << "
<instancesSet>[\n]"
15:29:32.932 [i/o thread 3] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:32.932 [i/o thread 3] DEBUG jclouds.wire - <<
" <instanceId>i-a56cb9c0</instanceId>[\n]"
15:29:32.932 [i/o thread 3] DEBUG jclouds.wire - <<
" <imageId>ami-2b25f142</imageId>[\n]"
15:29:32.932 [i/o thread 3] DEBUG jclouds.wire - <<
" <instanceState>[\n]"
15:29:32.932 [i/o thread 3] DEBUG jclouds.wire - <<
" <code>16</code>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <name>running</name>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </instanceState>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <privateDnsName>ip-10-245-82-211.ec2.internal</
privateDnsName>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
"
<dnsName>ec2-107-21-187-24.compute-1.amazonaws.com</dnsName>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <reason/>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <amiLaunchIndex>0</amiLaunchIndex>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <productCodes/>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <instanceType>t1.micro</instanceType>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <launchTime>2012-01-29T13:22:33.000Z</
launchTime>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <placement>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <availabilityZone>us-east-1c</
availabilityZone>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupName/>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <tenancy>default</tenancy>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </placement>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <platform>windows</platform>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <monitoring>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <state>disabled</state>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </monitoring>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <privateIpAddress>10.245.82.211</
privateIpAddress>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <ipAddress>107.21.187.24</ipAddress>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupSet>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupId>sg-de936cb6</groupId>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupName>jclouds#ensure2#us-east-1</
groupName>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </groupSet>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <architecture>i386</architecture>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <rootDeviceType>ebs</rootDeviceType>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <rootDeviceName>/dev/sda1</rootDeviceName>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <blockDeviceMapping>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <deviceName>/dev/sda1</deviceName>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <ebs>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <volumeId>vol-f3a9b39e</
volumeId>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <status>attached</status>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <attachTime>2012-01-29T13:23:02.000Z</
attachTime>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <deleteOnTermination>true</
deleteOnTermination>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </ebs>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </blockDeviceMapping>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <virtualizationType>hvm</virtualizationType>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <clientToken/>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <tagSet>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <key>Name</key>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <value/>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <key>user</key>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <value>simona</value>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </tagSet>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <hypervisor>xen</hypervisor>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << " </
instancesSet>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << "
<reservationId>r-58ab5538</reservationId>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << "
<ownerId>300629125119</ownerId>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << "
<groupSet>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupId>sg-de936cb6</groupId>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupName>jclouds#ensure2#us-east-1</
groupName>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << " </
groupSet>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << "
<instancesSet>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - << "
<item>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <instanceId>i-b12bf3d4</instanceId>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <imageId>ami-b94f85d0</imageId>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <instanceState>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <code>16</code>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <name>running</name>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" </instanceState>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <privateDnsName>ip-10-243-87-118.ec2.internal</
privateDnsName>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
"
<dnsName>ec2-50-19-188-224.compute-1.amazonaws.com</dnsName>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <reason/>[\n]"
15:29:32.933 [i/o thread 3] DEBUG jclouds.wire - <<
" <keyName>jclouds#ensure2#us-east-1#50</
keyName>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <amiLaunchIndex>0</amiLaunchIndex>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <productCodes/>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <instanceType>t1.micro</instanceType>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <launchTime>2012-01-31T08:41:01.000Z</
launchTime>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <placement>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <availabilityZone>us-east-1c</
availabilityZone>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupName/>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <tenancy>default</tenancy>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" </placement>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <kernelId>aki-407d9529</kernelId>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <monitoring>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <state>disabled</state>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" </monitoring>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <privateIpAddress>10.243.87.118</
privateIpAddress>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <ipAddress>50.19.188.224</ipAddress>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupSet>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupId>sg-de936cb6</groupId>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <groupName>jclouds#ensure2#us-east-1</
groupName>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" </groupSet>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <architecture>i386</architecture>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <rootDeviceType>ebs</rootDeviceType>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <rootDeviceName>/dev/sda1</rootDeviceName>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <blockDeviceMapping>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <deviceName>/dev/sda1</deviceName>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <ebs>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <volumeId>vol-a2de3dce</
volumeId>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <status>attached</status>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <attachTime>2012-01-31T08:41:22.000Z</
attachTime>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <deleteOnTermination>true</
deleteOnTermination>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" </ebs>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" </blockDeviceMapping>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <virtualizationType>paravirtual</
virtualizationType>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <clientToken/>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <tagSet>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <item>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <key>Name</key>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <value>ensure2-b12bf3d4</value>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" </item>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" </tagSet>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - <<
" <hypervisor>xen</hypervisor>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - << " </
instancesSet>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - << " </
item>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - << " </
reservationSet>[\n]"
15:29:32.934 [i/o thread 3] DEBUG jclouds.wire - << "</
DescribeInstancesResponse>"
15:29:33.188 [i/o thread 2] DEBUG
o.j.h.i.JavaUrlHttpCommandExecutorService - Receiving response
-420330374: HTTP/1.1 200 OK
15:29:33.189 [i/o thread 2] DEBUG jclouds.headers - << HTTP/1.1 200 OK
15:29:33.189 [i/o thread 2] DEBUG jclouds.headers - << Server:
AmazonEC2
15:29:33.189 [i/o thread 2] DEBUG jclouds.headers - << Transfer-
Encoding: chunked
15:29:33.189 [i/o thread 2] DEBUG jclouds.headers - << Date: Tue, 31
Jan 2012 13:29:32 GMT
15:29:33.189 [i/o thread 2] DEBUG jclouds.headers - << Content-Type:
text/xml;charset=UTF-8
15:29:33.189 [i/o thread 2] DEBUG jclouds.wire - << "<?xml
version="1.0" encoding="UTF-8"?>[\n]"
15:29:33.189 [i/o thread 2] DEBUG jclouds.wire - <<
"<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/
2011-05-15/">[\n]"
15:29:33.189 [i/o thread 2] DEBUG jclouds.wire - << "
<requestId>2604229f-fdd1-441f-8202-a02ef8ea6970</requestId>[\n]"
15:29:33.189 [i/o thread 2] DEBUG jclouds.wire - << "
<reservationSet/>[\n]"
15:29:33.189 [i/o thread 2] DEBUG jclouds.wire - << "</
DescribeInstancesResponse>"
15:29:33.797 [i/o thread 4] DEBUG
o.j.h.i.JavaUrlHttpCommandExecutorService - Receiving response
-495511142: HTTP/1.1 200 OK
15:29:33.797 [i/o thread 4] DEBUG jclouds.headers - << HTTP/1.1 200 OK
15:29:33.797 [i/o thread 4] DEBUG jclouds.headers - << Server:
AmazonEC2
15:29:33.797 [i/o thread 4] DEBUG jclouds.headers - << Transfer-
Encoding: chunked
15:29:33.797 [i/o thread 4] DEBUG jclouds.headers - << Date: Tue, 31
Jan 2012 13:29:32 GMT
15:29:33.797 [i/o thread 4] DEBUG jclouds.headers - << Content-Type:
text/xml;charset=UTF-8
15:29:33.797 [i/o thread 4] DEBUG jclouds.wire - << "<?xml
version="1.0" encoding="UTF-8"?>[\n]"
15:29:33.797 [i/o thread 4] DEBUG jclouds.wire - <<
"<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/
2011-05-15/">[\n]"
15:29:33.797 [i/o thread 4] DEBUG jclouds.wire - << "
<requestId>e5a6d6da-b24e-4903-a25a-150cbfc8e717</requestId>[\n]"
15:29:33.797 [i/o thread 4] DEBUG jclouds.wire - << "
<reservationSet/>[\n]"
15:29:33.797 [i/o thread 4] DEBUG jclouds.wire - << "</
DescribeInstancesResponse>"
15:29:33.808 [main] DEBUG jclouds.compute - << list(3)

Here is the failure. The test tries to create an instance from the
image using jclouds:

15:29:33.816 [main] DEBUG jclouds.compute - >> searching
params([biggest=false, fastest=false, imageName=null,
imageDescription=null, imageId=us-east-1/ami-2b25f142,
imagePredicate=null, imageVersion=null, location=[id=us-east-1,
scope=REGION, description=us-east-1, parent=aws-ec2, iso3166Codes=[US-
VA], metadata={}], minCores=0.0, minRam=0, osFamily=null, osName=null,
osDescription=null, osVersion=null, osArch=null, os64Bit=null,
hardwareId=t1.micro])
java.util.NoSuchElementException: no hardware profiles support images
matching params: [biggest=false, fastest=false, imageName=null,
imageDescription=Microsoft Windows with cygwin Tradestation and
passwordless ssh, imageId=us-east-1/ami-2b25f142, imagePredicate=null,
imageVersion=passwordless, location=[id=us-east-1, scope=REGION,
description=us-east-1, parent=aws-ec2, iso3166Codes=[US-VA],
metadata={}], minCores=0.0, minRam=0, osFamily=unrecognized,
osName=null, osDescription=300629125119/ms-cygwin-ts-passwordless,
osVersion=, osArch=hvm, os64Bit=false, hardwareId=t1.micro]
at
org.jclouds.compute.domain.internal.TemplateBuilderImpl.resolveSize(TemplateBuilderImpl.java:
614)
at
org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:
573)
at com.ibm.pds.va.VMImage.createVMInstance(VMImage.java:262)
at com.ibm.pds.va.VMImage.createVMInstance(VMImage.java:286)
at
com.ibm.pds.va.VaTest.testProvisionVMInstanceFromHotWindowsInstanceWith1TarFileUseVMImageTarFile(VaTest.java:
409)
On Jan 11, 11:44 am, Adrian Cole <adrian.f.c...@gmail.com> wrote:
> Hi, Kenneth.
>
> The code responsible for this is AWSEC2ReviseParsedImage.  This code
> is regex-based, and is probably not matching your image based on this.
>  If you can send the output of jclouds.wire log relating to this
> image, I can help figure out the right regex for you.
>
> There's a discussion of workarounds here:http://www.jclouds.org/documentation/userguide/using-ec2under Parsing

Adrian Cole

unread,
Jan 31, 2012, 12:20:54 PM1/31/12
to jcl...@googlegroups.com
forgive lazy web.  is this a public ami?  if so, throw an issue and I'll sort it out as soon as I can.

-A

Kenneth Nagin

unread,
Feb 1, 2012, 1:14:34 AM2/1/12
to jclouds
The AMI images come from my private space in EC2. They are all
derived from public AMI images. I launched the public images, added
additional applications (cygwin on the windows images), and did some
reconfiguration. I repeated this process a few times, building on the
preceding generation. This worked fine, however windows images that
I altered since December no longer can be launched by jclouds! They
can be launched manually. There is no problem with launching linux
images. Any help would be appreciated.

-Kenneth
> ...
>
> read more »

Kenneth Nagin

unread,
Feb 1, 2012, 3:53:45 AM2/1/12
to jclouds
Bingo!
The problem was related to how I was naming the Windows AMI images.
The solution was to prefix the names with "Windows". I was using
"ms".
Thus the problem is solved by replacing AMI name "ms-cygwin-ts-
passwordless" with "Windows-2003R-i386-Base-cygwin-ts-2012-02-01" .

That said I think there is a problem with the jclouds template parsing
algorithm for finding images.

I would think that an image id is unique for any owner and thus should
not be not be dependent on the AMI name or any other query predicate.

On a similar vain, I suggest that the ownership property, e.g.
PROPERTY_EC2_AMI_QUERY, "owner-id=<list of
owners>;state=available;image-type=machine" that is used to create a
ComputeServiceContext does not belong there but should be specified
in the image search template.

-Kenneth
> ...
>
> read more »

Adrian Cole

unread,
Feb 1, 2012, 11:28:56 AM2/1/12
to jcl...@googlegroups.com
Hi, Kenneth.

Glad you've progressed! 

Even if the owner isn't in the query, getting by id should work regardless, so if you are switching to "by id" then you shouldn't need to modify the filter, right?

Hop onto jclouds-dev google group, also.  We have some windows-related changes we'll be discussing before 1.4.0.  would be nice to have your input.

-A

> ...
>
> read more »

Kenneth Nagin

unread,
Feb 8, 2012, 11:23:47 AM2/8/12
to jclouds
As you suggested did not include the owner when ownership property
when creating the ComputeServiceContext.
I then attempted create node with only the image id.
However, this fails. It can not find the image.

template =
mContext.getComputeService().templateBuilder().options(options).hardwareId(pVMInstanceCreateOptions.getHardwareId()).imageId(getId()).build();
iNodeMetadata =
getOnlyElement(mCompute.createNodesInGroup(System.getProperty("user.name"),
1, template));

The same code works when the context specifies the owner.
-- Kenneth
> ...
>
> read more »

Aled Sage

unread,
Feb 8, 2012, 12:30:45 PM2/8/12
to jcl...@googlegroups.com, Kenneth Nagin
Hi Kenneth,

I've had no luck yet reproducing this on master (with variations of the
test
AWSEC2TemplateBuilderLiveTest.testTemplateBuilderCanUseImageIdFromNonDefaultOwner).

You can perhaps test this faster with the code below, which just checks
that the template has correctly found/chosen the image (i.e. it doesn't
create the VM).

Template template =
mContext.getComputeService().templateBuilder().imageId(imageId).build();
assertEquals(template.getImage().getId(), imageId);

Does that fail for you in the same way?

Aled

>> read more �

Kenneth Nagin

unread,
Feb 26, 2012, 6:37:56 AM2/26/12
to jclouds
Indeed query "by id" works even without the owner id assignment.
However, it does not perform as well as when your specify the owner
id.
When creating VM instances from private Windows AMIs it is on average
18379.25 ms slower.
When creating VM instances from private Ubuntu AMIs it is on average
16572.25 ms slower.

Sorry this took so long to get back to you, but I had a deadline to
meet.

-K
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages