kvm instance creation

2015-06-02 Thread Michael Foord
Hey folks, Just wanting to share the knowledge in case I get hit by a bus (and provide an opportunity for those of you who know more than me to point out my howling errors) :-) With the new MAAS (1.8) devices API, to allocate an IP address for a container we need to know the MAC address of

Re: gocharm or harm.v5 how to get charm dir?

2015-06-02 Thread roger peppe
The charm directory is held in Context.CharmDir. See http://godoc.org/github.com/juju/gocharm/hook#Context. On 1 June 2015 at 19:35, Vasiliy Tolstov v.tols...@selfip.ru wrote: Does it possible to determine charm dir using go bindings? I need absolute path to charm dir to get files from assets

[Incoming] Docker Charm revs to v0.1.0

2015-06-02 Thread Charles Butler
Big release incoming to the docker charm to anyone out there that's using the service. v0.1.0 includes some great new features targeted at developers building off of the charm in larger ecosystem enablement. You can read about the road to 0.1.0 here:

Re: add users to already deployed ftp server charm

2015-06-02 Thread Charles Butler
Vasilly, this would be a prime opportunity to extend the charm with a Juju action! https://jujucharms.com/docs/devel/actions You can somewhat extrapolate different data types for action variables by defining a string and loading it with say, a JSON object with the properties you need and then

add users to already deployed ftp server charm

2015-06-02 Thread Vasiliy Tolstov
Hi! I need to able add/del ftp users (login:passwd format) on already deployed ftp server unit. What is the idiomatic right way to do this? I'm already have relation to establish connections to needed services, but also i need to add/del users by hand. For example i have sinle unit ftp server and

fork/exec ... unable to allocate memory

2015-06-02 Thread John Meinel
So we're running into this failure mode again at one of our sites. Specifically, the system is running with a reasonable number of nodes (~100) and has been running for a while. It appears that it wanted to restart itself (I don't think it restarted jujud, but I do think it at least restarted a

Re: add users to already deployed ftp server charm

2015-06-02 Thread Vasiliy Tolstov
2015-06-03 2:16 GMT+03:00 Charles Butler charles.but...@canonical.com: Vasilly, this would be a prime opportunity to extend the charm with a Juju action! https://jujucharms.com/docs/devel/actions You can somewhat extrapolate different data types for action variables by defining a string

Re: fork/exec ... unable to allocate memory

2015-06-02 Thread Gustavo Niemeyer
Hey John, It's probably an overcommit issue. Even if you don't have the memory in use, cloning it would mean the new process would have a chance to change that memory and thus require real memory pages, which the system obviously cannot give it. You can workaround that by explicitly enabling

Re: fork/exec ... unable to allocate memory

2015-06-02 Thread Gustavo Niemeyer
Ah, and you can also suggest increasing the swap. It would not actually be used, but the system would be able to commit to the amount of memory required, if it really had to. On Jun 3, 2015 1:24 AM, Gustavo Niemeyer gust...@niemeyer.net wrote: Hey John, It's probably an overcommit issue. Even

Re: charm-tools version in wily

2015-06-02 Thread Nobuto Murata
2015-06-02 20:22 GMT+09:00 Marco Ceppi ma...@ondina.co: Hello! Yes we plan to update the charm tools versions and several other packages in the archive this cycle. I've kicked off an upload of charm-tools 1.5.1 to the PPA in the mean time. Thanks, Marco! On Tue, Jun 2, 2015 at 2:40 AM

Re: charm-tools version in wily

2015-06-02 Thread Marco Ceppi
Hello! Yes we plan to update the charm tools versions and several other packages in the archive this cycle. I've kicked off an upload of charm-tools 1.5.1 to the PPA in the mean time. Thanks, Marco Ceppi On Tue, Jun 2, 2015 at 2:40 AM Nobuto Murata nob...@nobuto-murata.org wrote: Hi, I've

Reminder: on June 15th, Go 1.4 will stop compiling things from code.google.com.

2015-06-02 Thread Katherine Cox-Buday
I think there was an effort to remove this from our code, but I thought I'd send out a reminder to check and for personal projects. May the source be with you... - Katherine -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at:

Re: Reminder: on June 15th, Go 1.4 will stop compiling things from code.google.com.

2015-06-02 Thread John Meinel
What about old releases, etc? It seems like this is potentially an issue if we ever want to build an old release (for reference purposes, reproducing a bug, etc). Do we at least have a reasonable workaround (grab the code from X move it to Y, set the version using godeps), etc? John =:- On Tue,

Re: Reminder: on June 15th, Go 1.4 will stop compiling things from code.google.com.

2015-06-02 Thread Nate Finch
If you git clone the new repo into the old path on disk, that should just work with godeps etc. On Jun 2, 2015 8:15 AM, John Meinel j...@arbash-meinel.com wrote: What about old releases, etc? It seems like this is potentially an issue if we ever want to build an old release (for reference

Re: Reminder: on June 15th, Go 1.4 will stop compiling things from code.google.com.

2015-06-02 Thread Eric Snow
On Tue, Jun 2, 2015 at 5:57 AM, Katherine Cox-Buday katherine.cox-bu...@canonical.com wrote: I think there was an effort to remove this from our code, but I thought I'd send out a reminder to check and for personal projects. May the source be with you... code.google.com/p/winsvc is the only

Re: gocharm or harm.v5 how to get charm dir?

2015-06-02 Thread Vasiliy Tolstov
2015-06-01 21:54 GMT+03:00 Nate Finch nate.fi...@canonical.com: Hooks and actions all fire with the root of the charmdir as the current directory, so in general, you don't need to get it, you're already there. For example, if your charm has charmdir/assets/foo.jpg ... you can just do f,

Re: gocharm or harm.v5 how to get charm dir?

2015-06-02 Thread Vasiliy Tolstov
2015-06-02 10:10 GMT+03:00 roger peppe rogpe...@gmail.com: The charm directory is held in Context.CharmDir. See http://godoc.org/github.com/juju/gocharm/hook#Context. Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or

charm-tools version in wily

2015-06-02 Thread Nobuto Murata
Hi, I've found the latest charm-tools is not available on Ubuntu wily. I've noticed it by `charm create -t python mycharm` giving error: unrecognized arguments: -t. charms-tools version in Ubuntu wily archive is 1.0.0-0ubuntu2. It would be nice if the latest charm-tools is uploaded into