[
https://issues.apache.org/jira/browse/WHIRR-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094900#comment-13094900
]
David Alves commented on WHIRR-379:
-----------------------------------
Adrian
I debugged the direct jclouds test case and it turns out that the
nova.domain.Image object being transformed to a compute.domain.Image does not
have an updated date which is why this fails.
Particularly...
{code}
class NovaImageToImage
...
public Image apply(org.jclouds.openstack.nova.domain.Image from) {
ImageBuilder builder = new ImageBuilder();
builder.ids(from.getId() + "");
builder.name(from.getName() != null ? from.getName() : "unspecified");
builder.description(from.getName() != null ? from.getName() :
"unspecified");
>>> builder.version(from.getUpdated().getTime() + "");
builder.operatingSystem(imageToOs.apply(from)); //image name may not
represent the OS type
builder.defaultCredentials(new Credentials("root", null));
builder.uri(from.getURI());
Image image = builder.build();
return image;
}
{code}
> Provide a local cloud for testing
> ---------------------------------
>
> Key: WHIRR-379
> URL: https://issues.apache.org/jira/browse/WHIRR-379
> Project: Whirr
> Issue Type: New Feature
> Reporter: David Alves
> Attachments: WHIRR-379, WHIRR-379.patch
>
>
> As discussed on the list the idea is to create a local cloud using vagrant
> and openstack and allow whirr tests to run against it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira