the injection pattern for extending charms

2013-08-24 Thread Patrick Hetu
Hi guys, I was looking for a way to extends the buildbot-master charm to be able to add configuration chunks from an other charm or a subordinate. For configuring the new OpenStack latent buildslave for example: http://docs.buildbot.net/current/manual/cfg-buildslaves.html?highlight=latent#opensta

RackSpace support

2013-08-28 Thread Patrick Hetu
Hello, I've tried to make Juju-core to work with RackSpace and it's not but here's the details of my quest: First, getting the list of the Flavors give back a 203 HTTP status (Non-Authoritative Information) instead of the expected 200. There is no SecurityGroup in RackSpace. The catalog returne

Re: RackSpace support

2013-08-29 Thread Patrick Hetu
> > There is no SecurityGroup in RackSpace. > > If the global firewaller mode isn't enough to work around this, we > probably need a disabled firewaller mode too. What did you do for > this? I just comment the security groups code for the test. > > The catalog returned with the token by Keyston

Re: the injection pattern for extending charms

2013-12-02 Thread Patrick Hetu
I've finally done a workable draft with the "configuration injection" feature. So know a charm can add builders configuration via a "builder-file" relation. Also the charm use charmhelper library now: lp:~patrick-hetu/charms/precise/buildbot-master/charmhelpers lp:~pa

Re: The PostgreSQL charm, AWS and robustness

2014-05-29 Thread Patrick Hetu
> > I have a new project that I'm wanting to deploy and it is a django > project backed with a postgresql database. Pretty simple really. > If you plan to use the python-django charm be sure to use this branch: https://code.launchpad.net/~patrick-hetu/charms/precise/python-dj

Re: The PostgreSQL charm, AWS and robustness

2014-06-04 Thread Patrick Hetu
> > > Any idea when this will land for general availability? > No, there is a merge proposal but it's in the hands of the charmers team to review it (and for me to stop adding stuff to it ;-) ) I'm working with cjohnston and noodles775 on an rewrite that use only Ansible but I'm just getting start

Migrating the python-django charm to Ansible

2014-11-05 Thread Patrick Hetu
Since the last UDS, I'm trying to make the python-django charm evolve to use Ansible for is various tasks instead of using pure Python scripts. My previous attempt: lp:~patrick-hetu/charms/precise/python-django/ansible had some problems so I decided to restart from scratch here (wo

Re: Migrating the python-django charm to Ansible

2014-11-07 Thread Patrick Hetu
​> Specifically, this is not the config.yaml you're talking about, but > the config file which is passed during deployment right? As in, > "myconfig.yaml" in: > > juju deploy --config myconfig.yaml mycharm yes, that's what I meant. >> [1] Using a configuration file without that charm name at the

Re: Migrating the python-django charm to Ansible

2014-11-17 Thread Patrick Hetu
14-11-07 15:33 GMT-05:00 Patrick Hetu : > > ​> Specifically, this is not the config.yaml you're talking about, but > > the config file which is passed during deployment right? As in, > > "myconfig.yaml" in: > > > > juju deploy --config myconfig.yaml

simple stream for runabove

2015-02-02 Thread Patrick Hetu
Hi there, I'm trying to get Runabove's openstack cloud to work with Juju but I can't get the simple stream to work. Simplestream.go seems to just skip to index2.json because of an error but it didn't report any: 2015-02-03 02:38:34 INFO juju.cmd supercommand.go:37 running juju [1.21.1-utopic-amd6

Re: simple stream for runabove

2015-02-03 Thread Patrick Hetu
http://cloud-images.ubuntu.com/releases/streams/v1/ > > Best regards, > > On 03/02/2015 04:50, Patrick Hetu wrote: > > Hi there, > > > > I'm trying to get Runabove's openstack cloud to work with Juju but > > I can't get the simple stream to wor

Re: django-python upgrade questions

2015-02-03 Thread Patrick Hetu
an "aptkit" ansible role that could be reuse as many time that you need in the charm's playbook see: http://bazaar.launchpad.net/~patrick-hetu/charms/precise/python-django/ansible_reboot/view/head:/playbooks/roles/aptkit/defaults/main.yml or you could use "pure" ansible mo

Re: simple stream for runabove

2015-02-11 Thread Patrick Hetu
2015-02-04 10:46 GMT-05:00 Nicolas Thomas  : > Patrick you should try : > juju-metadata generate-image -a amd64 -u $OS_AUTH_URL -i $IMAGE_UUID -r > $OS_REGION_NAME -s trusty > juju-metadata generate-image -a amd64 -u $OS_AUTH_URL -i $IMAGE_UUID -r > $OS_REGION_NAME -s precise > > Then upload the

Re: presenting a poster on juju at PyCon 2015

2015-04-11 Thread Patrick Hetu
Hi Eric, I'm at pycon and I could give you a hand explaining Juju if you want. I'm the author of the python-django charm and other python related charms. I'll be around wearing a Juju t-shirt. Patrick Le jeudi 2 avril 2015, Michael Foord a écrit : > > > On 29/03/15 07:08, Eric Snow wrote: > >