Re: RFC: unmounting /mnt on AWS instances

2014-11-18 Thread Andrew Wilkins
On Wed, Nov 19, 2014 at 1:07 PM, Stuart Bishop wrote: > On 19 November 2014 09:50, Andrew Wilkins > wrote: > > > Ideally that would not be "/mnt", because otherwise we're going to end up > > with a lot of charms that cannot be co-located. My point is that it can > be > > /mnt, and your charm wil

Re: RFC: unmounting /mnt on AWS instances

2014-11-18 Thread Stuart Bishop
On 19 November 2014 09:50, Andrew Wilkins wrote: > Ideally that would not be "/mnt", because otherwise we're going to end up > with a lot of charms that cannot be co-located. My point is that it can be > /mnt, and your charm will keep working without any changes to hooks. Somewhat off topic, but

Re: RFC: unmounting /mnt on AWS instances

2014-11-18 Thread Andrew Wilkins
On Tue, Nov 18, 2014 at 10:58 PM, David Britton wrote: > > On Mon, Nov 17, 2014 at 8:25 PM, Marco Ceppi wrote: > >> I have a few charms that expect /mnt to be the ephemeral disk, while it >> wouldn't be a huge headache and I certainly > > > I'm in the same boat, it won't be a huge headache, but

Re: RFC: unmounting /mnt on AWS instances

2014-11-18 Thread David Britton
On Mon, Nov 17, 2014 at 8:25 PM, Marco Ceppi wrote: > I have a few charms that expect /mnt to be the ephemeral disk, while it > wouldn't be a huge headache and I certainly I'm in the same boat, it won't be a huge headache, but it will be work to do. I've always thought that putting the ephemer

Re: RFC: unmounting /mnt on AWS instances

2014-11-18 Thread Kapil Thangavelu
fwiw, its cloud-init behavior that does the mount. a change to user data can remediate that (per smoser) is mounts: - [ephemeral0, null] On Tue, Nov 18, 2014 at 2:51 AM, Stuart Bishop wrote: > On 18 November 2014 09:25, Marco Ceppi wrote: > > I have a few charms that expect /mnt to be the eph

Re: RFC: unmounting /mnt on AWS instances

2014-11-18 Thread Stuart Bishop
On 18 November 2014 09:25, Marco Ceppi wrote: > I have a few charms that expect /mnt to be the ephemeral disk, while it > wouldn't be a huge headache and I certainly wouldn't want to stand in the > way of progress. It won't be trivial and I'll start to devise a way to test > all the charms so we c

Re: RFC: unmounting /mnt on AWS instances

2014-11-17 Thread Kapil Thangavelu
+smoser On Mon, Nov 17, 2014 at 8:13 PM, Andrew Wilkins < andrew.wilk...@canonical.com> wrote: > Hi all, > > I am working on introducing storage as a first-class primitive in Juju. > Charms will be able to indicate that they require storage (block devices, > filesystems...), and when you deploy t

Re: RFC: unmounting /mnt on AWS instances

2014-11-17 Thread Andrew Wilkins
On Tue, Nov 18, 2014 at 10:25 AM, Marco Ceppi wrote: > I have a few charms that expect /mnt to be the ephemeral disk, while it > wouldn't be a huge headache and I certainly wouldn't want to stand in the > way of progress. It won't be trivial and I'll start to devise a way to test > all the charms

Re: RFC: unmounting /mnt on AWS instances

2014-11-17 Thread Marco Ceppi
I have a few charms that expect /mnt to be the ephemeral disk, while it wouldn't be a huge headache and I certainly wouldn't want to stand in the way of progress. It won't be trivial and I'll start to devise a way to test all the charms so we can get a count of charms that expect /mnt to exist. Thi

RFC: unmounting /mnt on AWS instances

2014-11-17 Thread Andrew Wilkins
Hi all, I am working on introducing storage as a first-class primitive in Juju. Charms will be able to indicate that they require storage (block devices, filesystems...), and when you deploy that charm you will be able to specify some parameters in order to fulfil the storage requirement. One thi