You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Dani Estévez <ka...@gmail.com> on 2017/03/17 21:19:49 UTC
[AzureARM] Working on new Image API as part of Managed Disks
Just letting everyone know i'm working on implementing one of the new Managed Disks REST API for Azure ARM
https://docs.microsoft.com/en-us/rest/api/manageddisks/images/images-rest-api
I found that AzureComputeExtensionApiLiveTest.testSpawnNodeFromImage() wasn't working and i discovered that this process can be done much simpler through this new API
Managed Disks is a new feature that could be very useful to simplify the ARM provider by removing dependencies and code working with StorageAccount and Blobs.
Having this VirtualMachineImageAPI will simplify code and make that test work.
Re: [AzureARM] Working on new Image API as part of Managed Disks
Posted by Andrea Turli <an...@gmail.com>.
Thanks again Dani,
sounds like a plan to me, opened a https://issues.apache.org/
jira/browse/JCLOUDS-1257 and a first PR for it at
https://github.com/jclouds/jclouds-labs/pull/372
I think we can start from there and add/improve as needed, let's start the
discussion on the PR.
Ok?
Cheers
On Fri, Mar 17, 2017 at 11:11 PM, Daniel Estévez <ka...@gmail.com> wrote:
> Good to know!
>
> Right now i'm finishing the APILiveTest but only with one of the 3 possible
> ways of creating an image (from an existing generalizedVM)
> You can check progress here
> https://github.com/danielestevez/jclouds-labs/tree/vmImageAPI
>
> I'm not sure if opening a PR with TODOs on the other possible ways (from
> blob, from snapshot)
>
> What exactly do you need the ImageAPI for? We should definitely synchronize
> somehow :)
>
> Cheers!
>
> El vie., 17 mar. 2017 a las 18:01, Andrea Turli (<an...@gmail.com>)
> escribió:
>
> > Daniel,
> >
> > Thanks for sharing your plan, this would be really useful for me as well
> in
> > fact l I've already implemented the ManagedDiskApi and I'm looking at the
> > ImageApi. The reason we need both is that a vm with managed disks
> "breaks"
> > captureApi. I've not opened a PR yet because of a broken test in
> > VirtualMachineApiLiveTest but let me know if you want me to do that so
> that
> > we can pair on this new useful feature or you prefer to start from
> scratch.
> >
> > Thanks,
> > Andrea
> >
> > Il 17/mar/2017 22:19, "Dani Estévez" <ka...@gmail.com> ha scritto:
> >
> > Just letting everyone know i'm working on implementing one of the new
> > Managed Disks REST API for Azure ARM
> >
> > https://docs.microsoft.com/en-us/rest/api/manageddisks/
> > images/images-rest-api
> >
> > I found that AzureComputeExtensionApiLiveTest.testSpawnNodeFromImage()
> > wasn't working and i discovered that this process can be done much
> simpler
> > through this new API
> >
> > Managed Disks is a new feature that could be very useful to simplify the
> > ARM provider by removing dependencies and code working with
> StorageAccount
> > and Blobs.
> > Having this VirtualMachineImageAPI will simplify code and make that test
> > work.
> >
>
Re: [AzureARM] Working on new Image API as part of Managed Disks
Posted by Daniel Estévez <ka...@gmail.com>.
Good to know!
Right now i'm finishing the APILiveTest but only with one of the 3 possible
ways of creating an image (from an existing generalizedVM)
You can check progress here
https://github.com/danielestevez/jclouds-labs/tree/vmImageAPI
I'm not sure if opening a PR with TODOs on the other possible ways (from
blob, from snapshot)
What exactly do you need the ImageAPI for? We should definitely synchronize
somehow :)
Cheers!
El vie., 17 mar. 2017 a las 18:01, Andrea Turli (<an...@gmail.com>)
escribió:
> Daniel,
>
> Thanks for sharing your plan, this would be really useful for me as well in
> fact l I've already implemented the ManagedDiskApi and I'm looking at the
> ImageApi. The reason we need both is that a vm with managed disks "breaks"
> captureApi. I've not opened a PR yet because of a broken test in
> VirtualMachineApiLiveTest but let me know if you want me to do that so that
> we can pair on this new useful feature or you prefer to start from scratch.
>
> Thanks,
> Andrea
>
> Il 17/mar/2017 22:19, "Dani Estévez" <ka...@gmail.com> ha scritto:
>
> Just letting everyone know i'm working on implementing one of the new
> Managed Disks REST API for Azure ARM
>
> https://docs.microsoft.com/en-us/rest/api/manageddisks/
> images/images-rest-api
>
> I found that AzureComputeExtensionApiLiveTest.testSpawnNodeFromImage()
> wasn't working and i discovered that this process can be done much simpler
> through this new API
>
> Managed Disks is a new feature that could be very useful to simplify the
> ARM provider by removing dependencies and code working with StorageAccount
> and Blobs.
> Having this VirtualMachineImageAPI will simplify code and make that test
> work.
>
Re: [AzureARM] Working on new Image API as part of Managed Disks
Posted by Andrea Turli <an...@gmail.com>.
Daniel,
Thanks for sharing your plan, this would be really useful for me as well in
fact l I've already implemented the ManagedDiskApi and I'm looking at the
ImageApi. The reason we need both is that a vm with managed disks "breaks"
captureApi. I've not opened a PR yet because of a broken test in
VirtualMachineApiLiveTest but let me know if you want me to do that so that
we can pair on this new useful feature or you prefer to start from scratch.
Thanks,
Andrea
Il 17/mar/2017 22:19, "Dani Estévez" <ka...@gmail.com> ha scritto:
Just letting everyone know i'm working on implementing one of the new
Managed Disks REST API for Azure ARM
https://docs.microsoft.com/en-us/rest/api/manageddisks/
images/images-rest-api
I found that AzureComputeExtensionApiLiveTest.testSpawnNodeFromImage()
wasn't working and i discovered that this process can be done much simpler
through this new API
Managed Disks is a new feature that could be very useful to simplify the
ARM provider by removing dependencies and code working with StorageAccount
and Blobs.
Having this VirtualMachineImageAPI will simplify code and make that test
work.