[elasticluster] Re: Status of Azure support in Elasticluster

2018-03-15 Thread Dave Steinkraus
Hi all,

Weighing in as the original author of the Azure provider for Elasticluster. 
At the time I wrote it (2015), the Azure APIs I was writing to were already 
on their way out, to be replaced by a whole new set, which are 
"declarative" - 'Syntax that lets you state "Here is what I intend to 
create" without having to write the sequence of programming commands to 
create it. The Resource Manager template is an example of declarative 
syntax. In the file, you define the properties for the infrastructure to 
deploy to Azure.' [
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-overview]
 
Back then, there was no firm date for these new APIs to be released.

I'm sorry but not surprised that the old APIs have stopped working 
correctly. I haven't kept up with Azure, but I'm sure at this point the 
only way forward is to rewrite the provider using the current APIs. 
Unfortunately, very little of the old code is likely to be reusable. (On 
the upside, I'll bet the new APIs work much better and more simply than the 
old ones, which were never really stable.)

I have a lot of commitments right now, but I'm willing to put some time 
into scoping out a rewrite. That's all I can promise.

Regards,
Dave 

On Tuesday, January 9, 2018 at 6:25:49 AM UTC-7, Nicolas D wrote:
>
> Hi all,
>
>
> I am testing Elasticluster to create and manage cluster using Slurm in 
> Microsoft Azure. 
>
> So far, I did not succeed to create any instances (still trying !). I have 
> basically started from this example [
> http://c-square.github.io/2015-11-19-create-a-cluster-on-windows-azure/#ii-setup-elasticluster]
>  
> but keep failing with different error in script *azure_provider.py* (I am 
> using dev version 1.3.dev0).
>
>
> However, when looking at available documentation and feedback regarding 
> Azure support in elasticluster there is no much ressources available (or it 
> is quite old). 
>
> What is the status of Azure support in elasticluster? Did someone manage 
> to recently run elasticluster with Azure?
>
>
> Regards,
>
> Nicolas
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticluster" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticluster+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elasticluster] Re: Status of Azure support in Elasticluster

2018-03-15 Thread Dave Steinkraus
Hi Riccardo. Seems like elasticluster is thriving under your leadership
(based on the github notifications, which I still get).

As I said, I haven't kept up with Azure (been more involved with AWS) so
I'm coming in knowing less than you about the new APIs.

I can look into your questions - a quick google didn't yield much.

Best,
Dave

On Thu, Mar 15, 2018 at 2:33 PM, Riccardo Murri 
wrote:

> Hello Dave,
>
> glad to see you're still around, and thanks for chiming in!
>
> I also came to the conclusion that the new APIs are much easier to handle
> and it would be worth rewriting the support module using them.
>
> Microsoft docs link to this example code, which (it looks to me)
> covers all the basic
> functionality needed by ElastiCluster:
> https://github.com/Azure-Samples/virtual-machines-
> python-manage/blob/master/example.py
>
> I have started a rewrite using that code as an example, but I have
> trouble navigating
> the API docs; perhaps you know more and can give me some hints or pointers
> to
> the relevant documentation?  In particular:
>
> - the above example allocates a private IP address on a private network
> (VNet);
>   however ElastiCluster VMs would instead need to have a public IP.
>   This page seem to have all the required info, but only has procedures for
>   attaching IPs via the web interface or the CLI -- no API access.
>   https://docs.microsoft.com/en-us/azure/virtual-network/
> virtual-network-network-interface-addresses
>
> - How does one specify SSH public keys to inject in the VM?  This part
> is missing
>   from the example.
>
> Thanks for any help!
>
> Riccardo
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticluster" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticluster+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.