Re: Juju Storage/MAAS

2017-10-31 Thread James Beedy
I’ve created this bug for further tracking https://bugs.launchpad.net/juju/+bug/1729127 > On Oct 31, 2017, at 7:59 PM, James Beedy wrote: > > Yes, deploying without —storage results in a successful deploy. > >> On Oct 31, 2017, at 7:52 PM, Ian Booth

Re: Juju Storage/MAAS

2017-10-31 Thread James Beedy
I’ve created this bug for further tracking https://bugs.launchpad.net/juju/+bug/1729127 > On Oct 31, 2017, at 7:59 PM, James Beedy wrote: > > Yes, deploying without —storage results in a successful deploy. > >> On Oct 31, 2017, at 7:52 PM, Ian Booth

Re: Juju Storage/MAAS

2017-10-31 Thread James Beedy
Yes, deploying without —storage results in a successful deploy. > On Oct 31, 2017, at 7:52 PM, Ian Booth wrote: > > And just to ask the obvious: deploying without the --storage constraint > results > in a successful deploy, albeit to a machine with maybe the wrong

Re: Juju Storage/MAAS

2017-10-31 Thread James Beedy
Yes, deploying without —storage results in a successful deploy. > On Oct 31, 2017, at 7:52 PM, Ian Booth wrote: > > And just to ask the obvious: deploying without the --storage constraint > results > in a successful deploy, albeit to a machine with maybe the wrong

Re: Juju Storage/MAAS

2017-10-31 Thread Ian Booth
And just to ask the obvious: deploying without the --storage constraint results in a successful deploy, albeit to a machine with maybe the wrong disk? On 01/11/17 10:51, James Beedy wrote: > Ian, > > So, I think I'm close here. > > The filesytem/device layout on my node(s):

Re: Juju Storage/MAAS

2017-10-31 Thread Ian Booth
And just to ask the obvious: deploying without the --storage constraint results in a successful deploy, albeit to a machine with maybe the wrong disk? On 01/11/17 10:51, James Beedy wrote: > Ian, > > So, I think I'm close here. > > The filesytem/device layout on my node(s):

Re: Juju Storage/MAAS

2017-10-31 Thread James Beedy
Ian, So, I think I'm close here. The filesytem/device layout on my node(s): https://imgur.com/a/Nzn2H I have tagged the md0 device with the tag "raid0", then I have created the storage pool as you have specified. `juju create-storage-pool ssd-disks maas tags=raid0` Then ran the following

Re: Juju Storage/MAAS

2017-10-31 Thread Ian Booth
Thanks for raising the issue - we'll get the docs updated! On 01/11/17 07:44, James Beedy wrote: > I knew it would be something simple and sensible :) > > Thank you! > > On Tue, Oct 31, 2017 at 2:38 PM, Ian Booth wrote: > >> Of the top of my head, you want to do

Re: Juju Storage/MAAS

2017-10-31 Thread Ian Booth
Thanks for raising the issue - we'll get the docs updated! On 01/11/17 07:44, James Beedy wrote: > I knew it would be something simple and sensible :) > > Thank you! > > On Tue, Oct 31, 2017 at 2:38 PM, Ian Booth wrote: > >> Of the top of my head, you want to do

Re: Juju Storage/MAAS

2017-10-31 Thread James Beedy
I knew it would be something simple and sensible :) Thank you! On Tue, Oct 31, 2017 at 2:38 PM, Ian Booth wrote: > Of the top of my head, you want to do something like: > > $ juju create-storage-pool ssd-disks maas tags=ssd > $ juju deploy postgresql --storage

Re: Juju Storage/MAAS

2017-10-31 Thread James Beedy
I knew it would be something simple and sensible :) Thank you! On Tue, Oct 31, 2017 at 2:38 PM, Ian Booth wrote: > Of the top of my head, you want to do something like: > > $ juju create-storage-pool ssd-disks maas tags=ssd > $ juju deploy postgresql --storage

Re: Juju Storage/MAAS

2017-10-31 Thread Ian Booth
Of the top of my head, you want to do something like: $ juju create-storage-pool ssd-disks maas tags=ssd $ juju deploy postgresql --storage pgdata=ssd-disks,32G The above assumes you have tagged in MAAS any SSD disks with the "ssd" tag. You can select whatever criteria you want and whatever tags

Re: Juju Storage/MAAS

2017-10-31 Thread Ian Booth
Of the top of my head, you want to do something like: $ juju create-storage-pool ssd-disks maas tags=ssd $ juju deploy postgresql --storage pgdata=ssd-disks,32G The above assumes you have tagged in MAAS any SSD disks with the "ssd" tag. You can select whatever criteria you want and whatever tags

Juju Storage/MAAS

2017-10-31 Thread James Beedy
Trying to check out Juju storage capabilities on MAAS I found [0], but can't quite wrap my head around what the syntax might be to make it work, and what the extent of the capability of the Juju storage features are when used with MAAS. Re-reading [0], and looking for anything else I can find on

Juju Storage/MAAS

2017-10-31 Thread James Beedy
Trying to check out Juju storage capabilities on MAAS I found [0], but can't quite wrap my head around what the syntax might be to make it work, and what the extent of the capability of the Juju storage features are when used with MAAS. Re-reading [0], and looking for anything else I can find on

Re: set_state not setting the state immediately

2017-10-31 Thread Merlijn Sebrechts
2017-10-31 14:39 GMT+01:00 fengxia : we have been using Ansible (called from charm) for executions. > - Would you recommend this approach to new users? - Do you have examples of such Charms? - Do you have docs detailing the ansible-Juju integration? - What can we

Re: set_state not setting the state immediately

2017-10-31 Thread fengxia
Merlijn, Nice summary of these issues. Especially for the #2, we have been using Ansible (called from charm) for executions. I think there are 3 points here: 1. confg mgt has solved idempotency, great! 2. many organizations have accumulated an asset of recipes using these config tools

Re: Disk ID for a provisioned instance

2017-10-31 Thread Akshat Jiwan Sharma
This is very helpful! Thanks. On Tue, Oct 31, 2017 at 11:23 AM, Andrew Wilkins < andrew.wilk...@canonical.com> wrote: > On Tue, Oct 31, 2017 at 1:40 PM Akshat Jiwan Sharma > wrote: > >> Thanks Andrew. I'm using google cloud platform. But also planning to use >> aws in the