jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Bayer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-393) Support GCE API v1
Date Thu, 05 Dec 2013 21:53:35 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840614#comment-13840614
] 

Andrew Bayer commented on JCLOUDS-393:
--------------------------------------

Ok, three live test failures currently (testInsertInstance, testCreateAndRunAService, testAScriptExecutionAfterBootWithBasicTemplate),
but I'm having trouble running individual tests, so it may take a while to debug. Also, it
turns out that deleteOnTerminate is no longer relevant when attaching disks/creating instances,
at least not for the boot disks, so they don't ever get deleted. Which..well, boo.

This is gonna be hairy. I don't think it'll be ready yet for 1.7.0 at this point...

> Support GCE API v1
> ------------------
>
>                 Key: JCLOUDS-393
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-393
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-labs-google
>            Reporter: Andrew Bayer
>            Assignee: Andrew Bayer
>             Fix For: 1.7.0
>
>
> So this is a bit of a stretch goal for 1.7.0, but GCE has gone GA and moved to API v1,
which...well, https://developers.google.com/compute/docs/transition-v1 - it's got a number
of breaking changes from v1beta16 and earlier. Most notably, instance creation and images
are now more than a little different. The images from v1beta16 and earlier with Google-provided
kernels don't work with v1, the kernel resource is just gone completely, and most annoyingly,
you no longer can create instances from images directly. Instead, you have to first create
a root persistent disk from an image, and then specify that disk when creating the instance.
When you get an instance's information, it no longer has anything about the image it was created
from - instead you've got to go through the disk to see what its source image is, but even
that's a bit odd, since the current API reference doesn't actually include the sourceImage
in the list of fields for disk resources, though it's pretty strongly implied that it should
be there...bah. 
> Anyway, I'm going to try to get this done for 1.7.0, but given the timeframe, it may
not be completed in time. v1beta16 is supposed to stick around until March, so we've got some
cushion to get out 1.7.1 with v1 support if needed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message