Re: Juju Storage/MAAS

2017-10-31 Thread Ian Booth
Thanks James, we'll get to it. We'll work with the MAAS folks as on the surface it looks like Juju is passing things correctly via the MAAS APIs. The fact that the deployment works minus the storage constraint is interesting. Initially I theorised it could have been a TB vs TiB mismatch but the dis

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 wrote: >> >> And just to ask the obvious:

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 disk? > > >> On 01/11/17 10

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): https://imgur.com/a/

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 comma

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 something like: >> >> $ juju cr

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 pgdata=ssd-disks,32G > > The above

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