Re: Specify an existing security group as model config?

2018-01-12 Thread Kapil Thangavelu
two cents, typical real world requirements vary, in the enterprise you might have various tiering by architectural layer (front end waf elb ingress, waf servers, set of dmz components/web servers, set of app servers, set of dbs) all structured out with connectivity models. typically these map to a

Re: Support AWS EIP

2016-11-07 Thread Kapil Thangavelu
Hi James What's the use case your using them for? Elastic IPs in aws are a very limited commodity you get like 5 per region per account by default. IMO it's generally not a recommended practice to depend on them as effectively they represent public endpoints mapping to a single instance in aws.

Re: Support AWS EIP

2016-11-07 Thread Kapil Thangavelu
Hi James What's the use case your using them for? Elastic IPs in aws are a very limited commodity you get like 5 per region per account by default. IMO it's generally not a recommended practice to depend on them as effectively they represent public endpoints mapping to a single instance in aws.

Re: Planning for Juju 2.2 (16.10 timeframe)

2016-03-19 Thread Kapil Thangavelu
On Tue, Mar 8, 2016 at 6:51 PM, Mark Shuttleworth wrote: > Hi folks > > We're starting to think about the next development cycle, and gathering > priorities and requests from users of Juju. I'm writing to outline some > current topics and also to invite requests or thoughts on

Re: Planning for Juju 2.2 (16.10 timeframe)

2016-03-19 Thread Kapil Thangavelu
On Tue, Mar 8, 2016 at 6:51 PM, Mark Shuttleworth wrote: > Hi folks > > We're starting to think about the next development cycle, and gathering > priorities and requests from users of Juju. I'm writing to outline some > current topics and also to invite requests or thoughts on

Re: Fwd: AWS Cross Account Roles

2016-03-04 Thread Kapil Thangavelu
On Fri, Mar 4, 2016 at 8:25 PM, Kapil Thangavelu <kap...@gmail.com> wrote: > > > On Fri, Mar 4, 2016 at 7:27 PM, Mark Shuttleworth <m...@ubuntu.com> wrote: > >> On 04/03/16 12:17, Kapil Thangavelu wrote: >> > They can be refreshed prior to expiration to g

Re: Fwd: AWS Cross Account Roles

2016-03-04 Thread Kapil Thangavelu
On Fri, Mar 4, 2016 at 7:27 PM, Mark Shuttleworth <m...@ubuntu.com> wrote: > On 04/03/16 12:17, Kapil Thangavelu wrote: > > They can be refreshed prior to expiration to get equivalent immortality, > > example using pysdk > > https://gist.github.com/kapilt/ac8e222081f63

Re: Fwd: AWS Cross Account Roles

2016-03-04 Thread Kapil Thangavelu
They can be refreshed prior to expiration to get equivalent immortality, example using pysdk https://gist.github.com/kapilt/ac8e222081f63ba64e93 Ideal usage is actually using Iam instance roles as well for instance credentials which basically work the same way wrt to refresh intervals. As perm

Re: "environment" vs "model" in the code

2016-01-20 Thread Kapil Thangavelu
so its a verb, its an instance/noun, does it also apply to templates (previously known as bundles)? i'm curious to try out the re-branding on some guinea pigs. re what's commonly running to model, autoscale groups, elbs, multiple networks, security groups, iam roles, rds. thanks, Kapil

Re: "environment" vs "model" in the code

2016-01-18 Thread Kapil Thangavelu
out of curiosity is there any public explanation on the reason for the change? environments map fairly naturally to various service topology stages, ie my prod, qa, dev environments. while model is a rather opaque term that doesn't convey much. On Thu, Jan 14, 2016 at 7:16 PM, Menno Smits

Re: state of networking?

2015-09-17 Thread Kapil Thangavelu
The network support listed in the 1.25 alpha release notes ( https://lists.ubuntu.com/archives/juju-dev/2015-August/004721.html ) looks pretty good, i'll give it a whirl. On Tue, Sep 15, 2015 at 7:11 AM, Kapil Thangavelu <kap...@gmail.com> wrote: > Its been hard to see much

Re: state of networking?

2015-09-15 Thread Kapil Thangavelu
extant subnets is more typical. cheers, kapil On Fri, Jul 24, 2015 at 3:44 PM, Dimiter Naydenov < dimiter.nayde...@canonical.com> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 23.07.2015 22:57, Kapil Thangavelu wrote: > > I've talked to a few folk at s

Re: [ Docs ] - Charming with Docker

2015-09-15 Thread Kapil Thangavelu
i think participating in the burgeoning docker ecosystem is a worthwhile goal by making it easier to write charms that utilize docker. I do have some concerns though about the complexity of the layering that's taking place in the charm ecosystem. I've found that juju has been fairly hard to teach

state of networking?

2015-07-23 Thread Kapil Thangavelu
I've talked to a few folk at some conferences, but i'm curious what's been happening in networking? it feels like its been fairly long time w/ little visible progress on end user features. particularly i'm curious about aws (ie. the worlds biggest cloud :-).. more concretely - can i use existing

Re: Openstack bootstrap error

2015-07-02 Thread Kapil Thangavelu
The console log of the instance would be useful (available via horizon or cli). re bootstrap, it creates a security group, and launches an instances with user data, the user data functionality of the openstack cloud must be functional for this to work. the user data for the instance setups ssh

Re: Messaging to new users

2015-07-02 Thread Kapil Thangavelu
On Wed, Jul 1, 2015 at 9:53 PM, Tim Penhey tim.pen...@canonical.com wrote: I have been wondering for a while how we message to new users. I raise this because I see quite a few messages on stack overflow that go something like this: I'm really new to Juju and I'm trying to set up MaaS.

Re: Openstack bootstrap error

2015-07-02 Thread Kapil Thangavelu
to the pastebin/gist here. cheers, Kapil On Thu, Jul 2, 2015 at 9:24 AM, dinesh.senap...@wipro.com wrote: Re-bootstrapped and checked the console log, it is empty *From:* Kapil Thangavelu [mailto:kap...@gmail.com] *Sent:* Thursday, July 02, 2015 6:30 PM *To:* Dinesh Kumar Senapaty (WT01

Re: any ways to update unit public address ?

2015-05-26 Thread Kapil Thangavelu
On Tue, May 26, 2015 at 4:36 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Tue, May 26, 2015 at 11:45 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: Hi! users sometimes can changed their server ip address, does it possible to change unit public address? Or only way is to edit

Re: Upcoming change in 1.24: tags in EC2

2015-05-25 Thread Kapil Thangavelu
On Thu, May 21, 2015 at 10:26 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: Hi all, Just a small announcement, in case anyone cares. In the EC2 provider, from 1.24, we will start tagging instances and volumes with their Juju-internal names and the Juju environment UUID. Instances,

Re: Upcoming change in 1.24: tags in EC2

2015-05-25 Thread Kapil Thangavelu
: On 25/05/15 18:57, Kapil Thangavelu wrote: That's super awesome, and very helpful for real world usage. A few suggestions, For users with multiple environments, seeing a bunch machine-0 in the ui, is rather confusing, i'd suggest prefixing with the env name. Potentially even more

Re: Deploying Juju charms from Github

2015-04-14 Thread Kapil Thangavelu
for all local charms automatically, but they could override as needed. patches welcome. cheers, Kapil Thanks, Rob From: Kapil Thangavelu [mailto:kap...@gmail.com] Sent: 14 April 2015 05:57 To: Robert Day Cc: juju@lists.ubuntu.com Subject: Re: Deploying Juju charms from Github There's

Re: Deploying Juju charms from Github

2015-04-13 Thread Kapil Thangavelu
There's a few things going on. The charm key in the bundle should just be the charm name. The git support has a bug (there's a pending merge proposal for this) re parent dir/checkout dir which is the cause of those tracebacks. The @ syntax works for revision and tags but not branches. Given its

Re: Using juju with Scaleway

2015-04-07 Thread Kapil Thangavelu
Prior to the rename they had a manual provider based cli plugin, but it looks likes it needs to be updated for the latest api version. https://github.com/online-labs/juju-onlinelabs On Fri, Apr 3, 2015 at 10:59 AM Zygmunt Krynicki zygmunt.kryni...@canonical.com wrote: Hi Is it possible to

Re: Reg Juju Api

2015-02-25 Thread Kapil Thangavelu
On Wed, Feb 25, 2015 at 8:05 PM, Rajendar K k.rajen...@gmail.com wrote: Hi Mark, Thanks for your kind reply. It makes me to understand better about juju.. Here are my few queires.. *(i) Each charm starts with a blank machine, like centos6 or trusty orwindows8, and

Re: juju and openstack reseting secgroups automatically overnight

2015-02-12 Thread Kapil Thangavelu
in some sense this is expected behavior, juju syncs the iaas resource it creates to its internal state for them. Re workarounds.. At least for openstack (or ec2 vpc) if you want manually created security rules, you should ideally create a separate group + rules and attach to the relevant

Re: Availability of alpha Easy Juju on Azure disk image

2015-02-11 Thread Kapil Thangavelu
That's pretty awesome for a cloud integrated quickstart. nice work. Sounds like it work for aws marketplace and gce click to deploy as well. cheers, Kapil On Wed, Feb 11, 2015 at 3:16 AM, Samuel Cozannet samuel.cozan...@canonical.com wrote: Thanks Marco, that is awesome :) For those

keeping state in units

2015-02-11 Thread Kapil Thangavelu
Hi Folks, Just merged a new charm helper that I wanted to highlight. I've seen quite a few charms tracking state in various ways, from ad hoc files per setting to the config settings helper, which leads to some charms having a half-dozen state tracking files. Ideally charms can be written such

new release of python-jujuclient

2015-01-28 Thread Kapil Thangavelu
Hi Folks, I just pushed a new release of python-jujuclient (0.5.0) .. @ https://pypi.python.org/pypi/jujuclient Change highlights. Docs on Getting started, api signatures, and examples @ http://python-jujuclient.readthedocs.org It now has coverage for all the client facade apis (backups, ha,

Re: Rackspace OpenStack configuration

2015-01-28 Thread Kapil Thangavelu
re the delta from juju openstack driver to rackspace, the nutshell was a slightly different auth mechanism for keystone (trivial) and no api for network security groups (optional openstack extension). fwiw, swift originated at rackspace, so definitely have object storage and they do have tenant

Re: How best to install Spark?

2015-01-28 Thread Kapil Thangavelu
On Wed, Jan 28, 2015 at 1:54 PM, Ken Williams ke...@theasi.co wrote: Hi Sam/Amir, I've been able to 'juju ssh spark-master/0' and I successfully ran the two simple examples for pyspark and spark-shell, ./bin/pyspark sc.parallelize(range(1000)).count() 1000

Re: New charms client

2015-01-26 Thread Kapil Thangavelu
on trunk. thanks Kapil On Sun, Jan 25, 2015 at 4:18 PM, roger peppe rogpe...@gmail.com wrote: On 25 January 2015 at 16:53, Kapil Thangavelu kapil.thangav...@canonical.com wrote: odd, i don't show any deltas (godeps/install and output below).. and i'm only getting it on a few of the facades

Re: New charms client

2015-01-25 Thread Kapil Thangavelu
, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Fri, Jan 23, 2015 at 11:32 PM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: I'm having some problems actually using this api, is it enabled? or does it need a feature flag? return self.rpc._rpc({ Type: Charms

Re: A cautionary tale of names

2015-01-12 Thread Kapil Thangavelu
On Mon, Jan 12, 2015 at 10:03 AM, roger peppe roger.pe...@canonical.com wrote: On 12 January 2015 at 15:43, Gustavo Niemeyer gust...@niemeyer.net wrote: A few quick notes: - Having an understandable name in a resource useful It's also good to be clear about what a name actually

Re: Announcement: gocharm

2014-12-19 Thread Kapil Thangavelu
very cool, thanks roger. On Fri, Dec 19, 2014 at 9:25 AM, roger peppe roger.pe...@canonical.com wrote: For those Juju fans that also like Go: http://rogpeppe.wordpress.com/2014/12/19/gocharm-juju-charms-in-go/ Enjoy! -- Juju mailing list Juju@lists.ubuntu.com Modify settings or

separating out golang juju client from

2014-12-19 Thread Kapil Thangavelu
one of the issues with having it in tree, means client usage falls under the AGPL. We want to have the client used widely under a more permissive license. I've already had contributions to other projects n'acked due to license on our libraries. I'd like to see it moved to a separate repo so that's

Re: separating out golang juju client from

2014-12-19 Thread Kapil Thangavelu
applications and facilitating integrations. cheers, Kapil On Fri, Dec 19, 2014 at 6:03 AM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: one of the issues with having it in tree, means client usage falls under the AGPL. We want to have the client used widely under a more permissive

Re: vCloud Director Support

2014-12-18 Thread Kapil Thangavelu
On Wed, Dec 17, 2014 at 7:23 AM, Vahric Muhtaryan vah...@doruk.net.tr wrote: Hello All MAAS and JUJU is looks like very good product , I would like to ask as an infrastructure will you add vCloud Director , we are vmwre vcloud air network partner and I m thinking to integrate the juju with

Fwd: [Calico] Project Calico and Juju Charms

2014-12-12 Thread Kapil Thangavelu
-- Forwarded message -- From: Cory Benfield cory.benfi...@metaswitch.com Date: Fri, Dec 12, 2014 at 4:26 AM Subject: [Calico] Project Calico and Juju Charms To: cal...@lists.projectcalico.org cal...@lists.projectcalico.org Hi everybody, I'm excited to announce that, after a

Re: local provider

2014-12-12 Thread Kapil Thangavelu
On Fri, Dec 12, 2014 at 11:26 AM, Nate Finch nate.fi...@canonical.com wrote: It seems like a lot of people get confused by Juju, because it is different than the tools they know. They want to deploy stuff with Juju, and so they get a machine from AWS/Digital Ocean/whatever, ssh into the

Re: Custom AWS Endpoint / Region

2014-12-10 Thread Kapil Thangavelu
It requires a custom compilation atm, as the list of valid aws endpoints [0] is embedded in a library dependency @ launchpad.net/goamz (the originator of 50+ forks on github). It would be nice to have the endpoints constructed at runtime from its environment.yaml config parameters, the primary

Re: juju vs. Puppet/Chef/Salt/Ansible/etc.

2014-12-09 Thread Kapil Thangavelu
On Mon, Dec 8, 2014 at 6:35 PM, Eric Snow eric.s...@canonical.com wrote: The reaction I get most often from folks that aren't familiar with juju and skim through the juju site is that it looks like a competitor to the various configuration management tools out there like Puppet or Salt.

Re: Dynamic osd-devices selection for Ceph charm

2014-12-01 Thread Kapil Thangavelu
On Sat, Nov 29, 2014 at 11:25 AM, John McEleney john.mcele...@netservers.co.uk wrote: Hi all, I've been working on the Ceph charm with the intention of making it much more powerful when it comes to the selection of OSD devices. I wanted to knock a few ideas around to see what might be

Re: new release of jujucharms.com with docs and perf improvements.

2014-11-25 Thread Kapil Thangavelu
one more suggestion, given the site is ssl.. spdy (future http/2) would be a significant improvement with connection reuse and pipelining. On Tue, Nov 25, 2014 at 8:45 PM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: definitely helps a bit on speed. already covered on irc

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 that

Re: Feature Request: show running relations in 'juju status'

2014-11-17 Thread Kapil Thangavelu
On Mon, Nov 17, 2014 at 11:23 PM, Ian Booth ian.bo...@canonical.com wrote: On 17/11/14 15:47, Stuart Bishop wrote: On 17 November 2014 07:13, Ian Booth ian.bo...@canonical.com wrote: The new Juju Status work planned for this cycle will hopefully address the main concern about knowing

Re: supplement open--port/close-port with ensure-these-and-only-these-ports?

2014-11-01 Thread Kapil Thangavelu
On Sat, Nov 1, 2014 at 12:58 PM, John Meinel j...@arbash-meinel.com wrote: I believe there is already opened-ports to tell you what ports Juju is currently tracking. That's cool and news to me, it looks like it landed in trunk earlier on october 2nd (ie 1.21) and hasn't made release notes or

Re: Handling relation-get gives null data issue

2014-10-31 Thread Kapil Thangavelu
You've setup a race condition. First you should be receiving data in relation-changed not relation-joined. If you try to receive set values in relation-joined and the sending side comes up second, you'll never see the data. Also you should make things resistant to races by exiting if the data you

Re: move already deployed service to new vps with different ip address.

2014-10-21 Thread Kapil Thangavelu
On Tue, Oct 21, 2014 at 6:26 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2014-10-21 14:18 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: it looks like the machine agent isn't starting up, can you pastebin the log machine-0.log from /var/log/juju I find the issue

Re: Set a juju state message

2014-10-21 Thread Kapil Thangavelu
not at the moment, it is something being worked on right now, so hooks/charms can report more feedback regarding state and blockers directly to status. cheers, Kapil On Thu, Oct 16, 2014 at 10:08 AM, Stein Myrseth stein.myrs...@gmail.com wrote: Regarding agent-state agent-state-info I’m

Re: Multiple Juju Relationships to a Single Charm

2014-10-21 Thread Kapil Thangavelu
630 2435 Mobile: +44 (0) 791 860 8145 On Sat, Oct 4, 2014 at 1:04 PM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: Hi Michael, Thanks for elaborating. Afaics, the crux is two fold. The primary of being able to establish multiple relations between apache and identity providers

Re: Multiple Juju Relationships to a Single Charm

2014-10-21 Thread Kapil Thangavelu
On Tue, Oct 21, 2014 at 7:05 AM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: On Wed, Oct 15, 2014 at 10:42 AM, Maarten Ectors maarten.ect...@canonical.com wrote: Hi Kapil, The problem Mike is trying to solve is that one Apache charm might host multiple tenants and websites

Re: move already deployed service to new vps with different ip address.

2014-10-21 Thread Kapil Thangavelu
On Tue, Oct 21, 2014 at 8:08 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2014-10-21 14:37 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: the other option to try, rather than using manual on localhost, is to use manual on lxc containers created within host, this isolates all

Re: move already deployed service to new vps with different ip address.

2014-10-21 Thread Kapil Thangavelu
Tolstov v.tols...@selfip.ru wrote: 2014-10-21 17:11 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: try with -s ie. $ sudo lxc-clone -s -B aufs trusty trusty-new Created container trusty-new as snapshot of trusty Ok, juju bootstrap ubuntu@juju error: unrecognized args

Re: mongodb log file size

2014-10-20 Thread Kapil Thangavelu
That should be fine, the dictates here are from mongodb default semantics, we've tweaked them minorly but for the most part there per upstream recommends. The amount of data juju uses is miniscule (1-2mb).. till juju 1.21 where we store charms in mongodb. cheers, Kapil On Sun, Oct 19, 2014 at

Re: mongodb log file size

2014-10-20 Thread Kapil Thangavelu
need object storage needs makes things a bit simpler. most charms are fairly small minus those that bundle binaries. -k On Mon, Oct 20, 2014 at 4:53 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2014-10-20 21:16 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: That should

Re: Azure US West having problems

2014-10-20 Thread Kapil Thangavelu
possibly related to http://azure.microsoft.com/en-us/status/ Starting at approximately 19:00 on the 18th Oct, 2014 UTC a limited subset of customers may experience intermittent errors when attempting to access Azure Virtual Networks. Engineers are continuing with their manual recovery and have

Re: move already deployed service to new vps with different ip address.

2014-10-15 Thread Kapil Thangavelu
On Wed, Oct 15, 2014 at 3:32 PM, John Meinel j...@arbash-meinel.com wrote: So if the machines are able to contact the API server, they should inform it of their new addresses, which should update the other charm to point at the new addresses. Note that with LXC you'd also have stable IP

Re: how to get info about completing deploying charms

2014-10-13 Thread Kapil Thangavelu
On Mon, Oct 13, 2014 at 10:49 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2014-10-13 19:19 GMT+04:00 Marco Ceppi marco.ce...@canonical.com: So there's no current way to determine when an environment is idle in Juju, there's work being done to allow services to illuminate more than just

Re: Multiple Juju Relationships to a Single Charm

2014-10-04 Thread Kapil Thangavelu
or CLI controls for this? thx, Mike On 2014-10-03 13:30, Kapil Thangavelu wrote: not quite clear why you think it doesn't work, could you outline what you'd like to do and where the difficulty arises. a picture is worth a thousand words, but some words as context are useful to frame it. -k

Re: Multiple Juju Relationships to a Single Charm

2014-10-03 Thread Kapil Thangavelu
not quite clear why you think it doesn't work, could you outline what you'd like to do and where the difficulty arises. a picture is worth a thousand words, but some words as context are useful to frame it. -k On Fri, Oct 3, 2014 at 1:15 PM, Michael Schwartz m...@gluu.org wrote: Juju'ers:

Re: Juju Scale Test

2014-10-02 Thread Kapil Thangavelu
Unfortunately that's not very representative of the current implementation as it was based on pyjuju while the current implementation is in go and utilizing mongodb instead of zookeeper. -kapil On Thu, Oct 2, 2014 at 9:40 AM, Charles Butler charles.but...@canonical.com wrote: There's this

disabling upgrades on new machines by default?

2014-10-01 Thread Kapil Thangavelu
juju can save minutes per machine (especially against release images) if we turn off upgrades by default. At the moment in juju 1.21 (dev) there's a setting os-enable-upgrade: false that will do just that (apt-get update but not upgrade) but thats not by default. i wanted to raise the question of

Re: ACTION: if you have admin hardcoded in scripts, this is a warning that things will change soon(ish)

2014-09-29 Thread Kapil Thangavelu
That could be useful, assuming it has properties of not hanging on dead envs.. etc. at the moment jenv parsing clients are responsible for manually verifying connectivity to servers. Although it doesn't really address the issue for servers interacting with the api. ie they'll need to have their

Re: ACTION: if you have admin hardcoded in scripts, this is a warning that things will change soon(ish)

2014-09-28 Thread Kapil Thangavelu
On Fri, Sep 26, 2014 at 12:57 AM, Tim Penhey tim.pen...@canonical.com wrote: Hi folks, All environments that exist so far have had an admin user being the main (and only) user that was created in the environment, and it was used for all client connections. Code has landed in master now

Re: I gave a quick writeup over Juju on Digital Ocean

2014-09-22 Thread Kapil Thangavelu
andrew has almost finished the work on getting providers by default not using object storage (already quite functional).. The other missing piece is getting DO to install cloud-init into their default ubuntu images, and supporting their variation on ec2 metadata api for retrieving userdata within

psa pls don't use transactions for single doc unobserved atomic updates

2014-09-21 Thread Kapil Thangavelu
Its sort of misses the point on why we're doing client side transactions. Mongodb has builtin atomic operations on an individual document. We use client side txns (multiple order of magnitude slower) for multi-document txns *and/or* things we want to observe for watches. -k -- Juju-dev mailing

Re: Revision file on charms

2014-09-08 Thread Kapil Thangavelu
On Mon, Sep 8, 2014 at 4:00 PM, Simon Davy bloodearn...@gmail.com wrote: On 8 September 2014 15:40, Matt Bruzek matthew.bru...@canonical.com wrote: José I just had a conversation about that with the Ecosystems team. You are correct, the revision file in the charm directory is no longer

Re: new release of juju digital ocean plugin (0.5.1)

2014-09-06 Thread Kapil Thangavelu
:41, Kapil Thangavelu kapil.thangav...@canonical.com escreveu: Hi Folks, I wanted to send out an announce on the new version of the juju digital ocean plugin 0.5.1 Docs and download info are on the project page. http://github.com/kapilt/juju-digitalocean Its been in fairly regular use

new release of juju digital ocean plugin (0.5.1)

2014-09-05 Thread Kapil Thangavelu
Hi Folks, I wanted to send out an announce on the new version of the juju digital ocean plugin 0.5.1 Docs and download info are on the project page. http://github.com/kapilt/juju-digitalocean Its been in fairly regular use by lots of folks and is stable. It takes about 3-4m to bootstrap a new

Re: juju local bootstrap from tip

2014-09-01 Thread Kapil Thangavelu
on a similar topic (local on tip) i was debugging with pitti his lxc environment on utopic host earlier today, and the culmination of several rounds of debugging and bug filing revealed this one Bug #1364069: local provider must transform localhost in apt proxy address amd64 apport-bug utopic

Re: Thoughts on Dense Container testing

2014-08-31 Thread Kapil Thangavelu
plugins) using udp for encapsulation. cheers, Kapil ps. ec2 is/was broken due to archive error across regions today. On Wed, Aug 27, 2014 at 9:52 AM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: On Wed, Aug 27, 2014 at 9:17 AM, John A Meinel john.mei...@canonical.com wrote

Re: Thoughts on Dense Container testing

2014-08-27 Thread Kapil Thangavelu
On Wed, Aug 27, 2014 at 9:17 AM, John A Meinel john.mei...@canonical.com wrote: So I played around with manually assigning IP addresses to a machine, and using BTRFS to make the LXC instances cheap in terms of disk space. I had success bringing up LXC instances that I created directly, I

Re: First customer pain point pull request - default-hook

2014-08-19 Thread Kapil Thangavelu
hmm.. there's three distinct threads here. default-hook - charms that do so symlink 0-100% - to one hook.. in practice everything, sometimes minus install (as the hook infrastructure needs pkgs).. and most typically implemented via dispatch table. something-changed - completely orthogonal to

Re: First customer pain point pull request - default-hook

2014-08-18 Thread Kapil Thangavelu
That doc implies a completely different style of authoring ie. rewrite then of most extant (95%) charms using symlinks to a single implementation. There are a minority that do indeed reconsider all current state from juju each hook invocation, in which case this level of optimization is useful,

Re: getting rid of all-machines.log

2014-08-15 Thread Kapil Thangavelu
sight of our actual goal. Just my 2 cents. Regards, Gabriel Thanks, Kapil On 14.08.2014 23:47, Kapil Thangavelu wrote: On Thu, Aug 14, 2014 at 2:14 PM, Nate Finch nate.fi...@canonical.com wrote: I didn't bring up 12 factor, it's irrelevant to my argument. I'm trying to make

Re: Port ranges - restricting opening and closing ranges

2014-08-06 Thread Kapil Thangavelu
agreed. to be clear .. imo, close-port shouldn't error unless there's a type mismatch on inputs. ie none of the posited scenarios in this thread should result in an error. -k On Tue, Aug 5, 2014 at 8:34 PM, Gustavo Niemeyer gust...@niemeyer.net wrote: On Tue, Aug 5, 2014 at 4:18 PM, roger

Re: Port ranges - restricting opening and closing ranges

2014-08-05 Thread Kapil Thangavelu
imo, no, its a no-op. the end state is still the same. if its an error, and now we have partial failure modes to consider against ranges. On Tue, Aug 5, 2014 at 1:25 PM, David Cheney david.che...@canonical.com wrote: Yes, absolutely. On Tue, Aug 5, 2014 at 8:33 PM, Domas Monkus

Re: api/cli compatability between juju minor versions

2014-07-29 Thread Kapil Thangavelu
There's an extant version incompatibility between 1.18 and 1.20 that was highlighted during the 1.19 dev cycle which is unaddressed till the unreleased 1.21 (http://pad.lv/1311227). We should treat compatibility breakage as a blocker for stable releases. Also in addition to the api cli,

Re: juju as a web service

2014-07-19 Thread Kapil Thangavelu
awesome, looking forward to seeing it. On Wed, Jul 9, 2014 at 11:15 AM, Sebastian sebas5...@gmail.com wrote: Juju as a service is a real need, i started that project some months ago. we are planning to release an MVP in the next two months :) Abs, Sebas. Em 09/07/2014 11:47, Adam Stokes

Re: Device mappings in EC2

2014-07-14 Thread Kapil Thangavelu
On Mon, Jul 14, 2014 at 10:09 AM, Henning Eggers henn...@keeeb.com wrote: Hi, this is a follow-up to these two: http://askubuntu.com/questions/457282/why-do-ec2-instances-provisioned-with-juju-no-longer-include-additional-storage https://bugs.launchpad.net/juju-core/+bug/1280852 The new

Re: access environment.yaml data from the hooks

2014-07-11 Thread Kapil Thangavelu
On Fri, Jul 11, 2014 at 4:44 AM, Tudor Rogoz ro...@adobe.com wrote: Hi all, Is it possible to access the juju environment properties directly from the hooks? More precisely, I want to have access to the AWS credentials (defined in the environments.yaml file) directly from the hooks, is

Re: Relation addresses

2014-06-18 Thread Kapil Thangavelu
, Jun 18, 2014 at 6:12 AM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Tue, Jun 17, 2014 at 11:35 PM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: On Tue, Jun 17, 2014 at 9:29 AM, John Meinel j...@arbash-meinel.com wrote: ... In a nutshell: - There will be a new

Re: Relation addresses

2014-06-18 Thread Kapil Thangavelu
On Wed, Jun 18, 2014 at 5:21 PM, William Reade william.re...@canonical.com wrote: On Wed, Jun 18, 2014 at 7:05 PM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: addresses are just keys in a unit relation data bag. relation-get is the cli tool to retrieve either self or related

Re: Relation addresses

2014-06-17 Thread Kapil Thangavelu
On Tue, Jun 17, 2014 at 12:39 AM, Andrew Wilkins andrew.wilk...@canonical.com wrote: Hi all, I've started looking into fixing https://bugs.launchpad.net/juju-core/+bug/1215579. The gist is, we currently set private-address in relation settings when a unit joins, but never update it. I've

Re: Relation addresses

2014-06-17 Thread Kapil Thangavelu
On Tue, Jun 17, 2014 at 9:29 AM, John Meinel j...@arbash-meinel.com wrote: ... In a nutshell: - There will be a new hook, relation-address-changed, and a new tool called address-get. This seems less than ideal, we already have standards ways of getting this data and being notified of

Re: This is why we should make go get work on trunk

2014-06-06 Thread Kapil Thangavelu
just as it fails for many other projects.. etcd, docker, serf, consul, etc... most larger projects are going to run afoul of trying to do cowboy dependency management and adopt one of the extant tools for managing deps and have a non standard install explained to users in its readme, else its

Re: Ubuntu Online Summit

2014-05-31 Thread Kapil Thangavelu
On Sat, May 31, 2014 at 8:22 AM, brian mullan bmullan.m...@gmail.com wrote: Jorge Would there be a possibility of doing a session on Juju in Local Provider mode using LXC. There is so much interest in containers today and I think it would be useful to show juju-gui deployed by juju into a

Re: --constraints root-disk=16384M fails in EC2

2014-05-29 Thread Kapil Thangavelu
when the instance is started. Hence we do start an instance with the required root disk size but the subsequent constraints matching fails. That's my understanding anyway. On 30/05/14 11:42, Kapil Thangavelu wrote: fwiw. all the ubuntu cloud images root disks in ec2 have 8gb of disk size

Re: juju bootstrap error

2014-05-23 Thread Kapil Thangavelu
juju contacts that server in attempt to download the binaries it uses for agents on machines. you avoid the lookup and download there by using juju bootstrap --upload-tools On Fri, May 23, 2014 at 8:46 AM, boyd yang boyd.y...@gmail.com wrote: Hi David, The error still exists after few days.

Re: [Proposal] Requiring Go 1.2 across the board

2014-05-16 Thread Kapil Thangavelu
fwiw the only interim release still under support is S (along with lts releases of L, P, T). interim releases get 9 months of support, and S expires in July. https://wiki.ubuntu.com/Releases On Fri, May 16, 2014 at 9:15 AM, Gustavo Niemeyer gust...@niemeyer.netwrote: On Fri, May 16, 2014 at

Re: Questions about the integration of the Outscale cloud provider into juju-core

2014-05-05 Thread Kapil Thangavelu
its come up before (rpc providers, shell script providers) but it doesn't quite fit with the upgrade and distribution model in juju-core and go atm. it is possible to layer on top of manual provider using a client side plugin to effectively automate machine creation for a given provider, i've

Re: juju manual bootstrap - does it work?

2014-05-04 Thread Kapil Thangavelu
Hi Brian, One part of Andrew's reply that may have been overlooked is verifying a passwordless sudo setup for the 'bootstrap-user', ie that the following works. ssh me@server sudo true cheers, Kapil On Sun, May 4, 2014 at 5:59 AM, brian mullan bmullan.m...@gmail.com wrote: Andrews... sorry

Re: What happened to pinned bootstrap

2014-04-18 Thread Kapil Thangavelu
On Fri, Apr 18, 2014 at 11:34 AM, Aaron Bentley aaron.bent...@canonical.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14-04-18 06:28 AM, William Reade wrote: As for automatically upgrading: it's clearly apparent that there's a compelling case for not *always* doing so. But

Re: juju-nat: Easy NAT routing for services in LXC containers

2014-04-17 Thread Kapil Thangavelu
Unrelated but in a similar vein, if you need access to services in a remote/vbox local environment, you can sshuttle to the remote and route the lxc bridge addresses. sshuttle -r ubuntu@remote_machine 10.0.3.0/24 cheers, Kapil On Thu, Apr 17, 2014 at 4:59 AM, Andrew Wilkins

Re: fast containers dev workflow with juju 1.18

2014-04-11 Thread Kapil Thangavelu
wordpress There's also support for aufs overlay directories, but they are not fully compatible with all charms. cheers, Kapil On Fri, Apr 11, 2014 at 5:17 PM, Serge E. Hallyn se...@hallyn.com wrote: Quoting Kapil Thangavelu (kapil.thangav...@canonical.com): Hi Folks, instructions

Re: Best practices for fat charms

2014-04-01 Thread Kapil Thangavelu
fwiw. deployer/bundles have support for an explicit build phase for this reason.. basically a build hook in charms is run prior to deploying. i'd like to push it a bit further to deployer bundles as an archive format that can be completely self-contained for an app. On Tue, Apr 1, 2014 at 3:07

Re: Best practices for fat charms

2014-04-01 Thread Kapil Thangavelu
If your trying to do this in automated fashion, juju supports proxies, and possibily with intelligent proxy you could do something a bit more automated. else its going to require alot of auditing. you could even skip the additional steps of modifying all the charms have the intelligent proxy work

Re: Best practices for fat charms

2014-04-01 Thread Kapil Thangavelu
just to be clear the https url thing is solvable with the intelligent proxy thing just a bit more work and client/library support isn't always great. http://wiki.squid-cache.org/Features/HTTPS On Tue, Apr 1, 2014 at 4:11 PM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: If your

Re: What happened to pinned bootstrap

2014-03-30 Thread Kapil Thangavelu
sounds like a great case being made for --upload-tools by default. On Sun, Mar 30, 2014 at 12:23 AM, John Meinel j...@arbash-meinel.comwrote: I thought at one point we were explicitly requiring that we bootstrap exact versions of tools (so juju CLI 1.17.2 would only bootstrap a 1.17.2 set

Re: What happened to pinned bootstrap

2014-03-30 Thread Kapil Thangavelu
On Sun, Mar 30, 2014 at 4:17 PM, Ian Booth ian.bo...@canonical.com wrote: On 31/03/14 02:11, Kapil Thangavelu wrote: sounds like a great case being made for --upload-tools by default. --upload-tools does happen automatically on bootstrap, but only if no matching, pre-built tools

  1   2   >