Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2017-02-24 Thread Trond Hindenes
We're using the Azure RG module all the time on RC5. Here's my complete *azure* pip freeze from our prod Ansible control node: azure==2.0.0rc5 azure-batch==0.30.0rc5 azure-common==1.1.4

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2017-02-23 Thread Brad Sturgis
Hi Matt, Please let me know if you can help. I have gotten Ansible 2.2.1.0 working fine with Amazon AWS. But I am getting a 403 Forbidden Error when trying to provision a Resource group. I can delete a resource group I created on Azure though so my service principal must be correct. Here is

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-10-19 Thread Matt Davis
Everything 2.1.1+ should work with either rc5 or rc6 (TMK there were no breaking changes against our Azure footprint in rc6). On Wednesday, October 19, 2016 at 8:08:23 AM UTC-7, Andrea Dixon wrote: > > Thanks! Uninstalling every azure-* package certainly helped me get one of > my environments

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-09-01 Thread Matt Davis
That's not us calling that, it's the Azure Python SDK calling itself, so something is internally out of sync (possibly stale .pyc files?). The way they package "azure" as a empty meta-package that depends on lots of other packages makes it really easy for things to get out of sync, especially

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-08-30 Thread Andrea Dixon
The issue is not on the constructor line though it's at line 146 of ComputeManagementClient which is the Serializer (inside the constructor) On Tuesday, 30 August 2016 01:58:12 UTC+1, Matt Davis wrote: > > It doesn't look like your Azure SDK is at the correct version- the rc5 > version of

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-08-29 Thread Andrea Dixon
Is azure 2.0.0rc5 + ansible stable-2.1 supposed to work now? I have azure python sdk 2.0.0rc5 installed and I'm trying to run the azure_rm.py inventory file that I plucked from the head of stable-2.1 but I get the following error: [cafex@cfx-ansible stable-2.1]$ ./azure_rm.py --list Traceback

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-07-08 Thread Matt Davis
I've cherry-picked everything back to 2.1 that's been fixed in devel, so it *should* all work on current stable-2.1 (slash 2.1.1 RC2). If there's stuff that still isn't working, please file issues so we can get it fixed. Thanks! -Matt On Thursday, July 7, 2016 at 6:25:25 PM UTC-7, Steven

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-07-07 Thread Matt Davis
Yeah, looks like the azure_rm_deployment module got missed for rc5 updates. I've tested and pushed a fix to devel and stable-2.1 (just in the nick of time for 2.1.1rc2), so try updating from stable-2.1 with submodules- should work now. -Matt On Thursday, July 7, 2016 at 5:51:12 AM UTC-7,

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-07-07 Thread Steven Carter
I am installing with 'pip install --no-cache-dir git+git:// github.com/ansible/ansible.git@stable-2.1', so the source directory gets plowed over every time. Thanks, Steven. On Thu, Jul 7, 2016 at 4:38 AM, 'J Hawkesworth' via Ansible Project < ansible-project@googlegroups.com> wrote: > Just a

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-07-07 Thread 'J Hawkesworth' via Ansible Project
Just a guess but if you are running ansible from source and switching between branches, you may need to run a make clean to get rid of any .pyc files Hope this helps, Jon On Thursday, July 7, 2016 at 4:26:17 AM UTC+1, Steven Carter wrote: > > Strange, I thought that I had this working with

Re: [ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-07-06 Thread Steven Carter
Strange, I thought that I had this working with azure 2.0.0rc5 + ansible stable-2.1, but when I tried to re-install and run my ansible, I get: An exception occurred during task execution. The full traceback is: Traceback (most recent call last): File

[ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-07-05 Thread Matt Davis
Yep, if you're happy running from source, that's probably your best bet- we'll be backporting fixes to the Azure modules to stable-2.1 at least until 2.2 releases in late summer/early fall. Last I heard, RC5 was supposed to become the final release of the Azure Python SDK. Doing "real work"

[ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-07-01 Thread Steven Carter
Is there a combination of azure python + Ansible that will work or is azure 2.0.0rc5 + stable-2.1 my best bet? Thanks, Steven. On Friday, July 1, 2016 at 5:36:29 PM UTC-4, Matt Davis wrote: > > The Azure Python SDK is unfortunately still unreleased and a bit of a > moving target, which is the

[ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-07-01 Thread Matt Davis
The Azure Python SDK is unfortunately still unreleased and a bit of a moving target, which is the cause of the issues you're seeing. Microsoft released a new RC on that stuff within a couple days of us shipping Ansible 2.1.0 that broke everything. We may end up retroactively labeling the new

[ansible-project] Re: Version (and other) problems with Ansible Azure Modules

2016-07-01 Thread Steven Carter
I was able to work around this by using Ansible 2.2.0. Does the problem exist in 2.1.0.1? Should I be using that instead? Thanks, Steven. On Friday, July 1, 2016 at 11:29:17 AM UTC-4, Steven Carter wrote: > > when trying to run: > > - hosts: localhost > connection: local > gather_facts: