Re: [ANN] juju-core 1.13.3 has been released

2013-09-03 Thread Andrew Wilkins
Hi Kapil and Antonio, Dave and I decided not to include manual provisioning in the release notes on account of it needing some documentation. There are some things that require a bit of explanation: the target machine needs to be able to route to the state server; currently only Ubuntu is supporte

Manual provisioning - feedback wanted

2013-09-08 Thread Andrew Wilkins
Hello everyone, As was noted in the 1.13.3 release notes thread, we did not announce one the major features that made it into the release (manual provisioning). This was intentional as we have not written any documentation yet. On the other hand, it would be good to get some feedback so that we ca

Re: Manual provisioning - feedback wanted

2013-09-08 Thread Andrew Wilkins
On Mon, Sep 9, 2013 at 9:57 AM, David Cheney wrote: > > > > As of 1.13.3 you can now do this: > > juju add-machine ssh:[user@]host > > * Does this user have to be root ? If the user has to be root, do we > have to get into the business of telling people how to adjust their > /etc/ssh/sshd to a

Re: Manual provisioning - feedback wanted

2013-09-09 Thread Andrew Wilkins
On Mon, Sep 9, 2013 at 9:39 PM, Andreas Hasenack wrote: > Here is what I just tried with juju-core trunk (r1772): > Thanks for trying it out. > $ sudo $(which juju) bootstrap > $ juju status > environment: local > machines: > "0": > agent-state: started > agent-version: 1.15.0.1 >

Re: Manual provisioning - feedback wanted

2013-09-09 Thread Andrew Wilkins
On Tue, Sep 10, 2013 at 1:01 AM, Nate Finch wrote: > I'm pretty interested in this, actually, since I want to be able to use > juju to deploy charms to a VPS I have... but even with this change, it's > not workable, because we can't manually choose a machine to bootstrap to. > Needing an AWS machi

Re: Manual provisioning - feedback wanted

2013-09-10 Thread Andrew Wilkins
On Tue, Sep 10, 2013 at 4:18 PM, Andreas Hasenack wrote: > The 10.0.3.53 "machine" is a new container I brought up manually with > lxc-create and lxc-start. lxc-list above shows all containers, and it was > the only one running. > > Right now I have this output for that ls command: > # ls /etc/ini

Re: Manual provisioning - feedback wanted

2013-09-15 Thread Andrew Wilkins
okup 162.243.10.110: invalid domain name > > Matt > > > > On Tue, Sep 10, 2013 at 10:56 AM, Andreas Hasenack > wrote: > >> On Tue, Sep 10, 2013 at 10:17 AM, Andrew Wilkins < >> andrew.wilk...@canonical.com> wrote: >> >>> On Tue, Sep 10, 2013 a

Re: Manual provisioning - feedback wanted

2013-09-17 Thread Andrew Wilkins
-machine ssh:..." under the hood. I miswrote earlier: you'll always need an existing, bootstrapped environment. But with the null provider/manual bootstrap, you can put everything in your VPS, or what have you. You won't need to have a cloud environment just for the bootstrap node. Cheers

Re: Manual provisioning - feedback wanted

2013-09-25 Thread Andrew Wilkins
3-09-25 14:46:52 INFO juju runner.go:253 worker: start "uniter" > 2013-09-25 14:46:52 DEBUG juju.worker.logger logger.go:60 logger setup > 2013-09-25 14:46:53 DEBUG juju.worker.logger logger.go:45 reconfiguring > logging from "=DEBUG" to "=WARNING" > 2013-09-

Re: juju-core 1.15.1 is released

2013-10-05 Thread Andrew Wilkins
Hi Marco, There's a docs branch up for review here: https://code.launchpad.net/~axwalk/juju-core/manual-provisioning-docs/+merge/188501 (It needs a couple of tweaks, e.g. admin-secret can be removed from the config example.) Quick start is something like this: - $ juju init - Modify ~/.juju/en

Re: juju-core 1.15.1 is released

2013-10-05 Thread Andrew Wilkins
On Sat, Oct 5, 2013 at 11:41 PM, Bjorn Tillenius wrote: > Hi Andrew, > > bootstrapping the environment fails for me, with this error message: > > 2013-10-05 15:33:46 INFO juju.environs.tools simplestreams.go:235 > Fetching tools to generate hash: > > sftp://juju-bootstrap//var/lib/juju/storage/too

Re: juju-core 1.15.1 is released

2013-10-06 Thread Andrew Wilkins
On Sun, Oct 6, 2013 at 2:02 AM, Bjorn Tillenius wrote: > On Sun, Oct 06, 2013 at 01:04:33AM +0800, Andrew Wilkins wrote: > > On Sat, Oct 5, 2013 at 11:41 PM, Bjorn Tillenius >wrote: > > > > > Hi Andrew, > > > > > > bootstrapping the envi

Re: setup tutorial with local provider - never goes beyond pending

2013-10-06 Thread Andrew Wilkins
Hi Dan, It may take a while to come up the first time, as the LXC template will need to debootstrap. If it never comes up, then ~/.juju/local/log/machine-0.log is probably the best bet for diagnosis. If you could share that, I'll take a look. In the mean time, I'm installing 12.04.03 and juju 1.14

Re: setup tutorial with local provider - never goes beyond pending

2013-10-07 Thread Andrew Wilkins
e. Something along the lines of: https://bugs.launchpad.net/juju-core/+bug/1213186 Cheers, Andrew > cheers > Dan > > On Mon, 2013-10-07 at 14:29 +0800, Andrew Wilkins wrote: > > > It may take a while to come up the first time, as the LXC template > > will need to debootstrap.

Re: setup tutorial with local provider - never goes beyond pending

2013-10-07 Thread Andrew Wilkins
On Tue, Oct 8, 2013 at 2:59 AM, Mark Shuttleworth wrote: > On 07/10/13 07:29, Andrew Wilkins wrote: > > It may take a while to come up the first time, as the LXC template > > will need to debootstrap. > > Are we downloading an image, or a set of packages? debootstrap would b

Re: Juju Status for 9 October.

2013-10-09 Thread Andrew Wilkins
Hi Jorge, I was just watching the playback, and wanted to try and clear up null provider vs. manual provisioning. As you discussed, the manual provisioning command is agnostic of the provider. However, the resulting agents currently do not work properly with the majority of providers, and really

Re: java not working in chrooted environment

2013-10-09 Thread Andrew Wilkins
On Wed, Oct 9, 2013 at 11:04 PM, Saurabh wrote: > Hi everybody, > Hi Saurabh, > I have Installed juju on my ubuntu 12.04 machine in a local environment. > I am writing a charm for an application development server, but It could > not get java. > I have written the install hook to install open_

Re: Charm Ecosystem Status for 30 October

2013-10-31 Thread Andrew Wilkins
On Thu, Oct 31, 2013 at 7:11 PM, Curtis Hovey-Canonical < cur...@canonical.com> wrote: > What bug tag to we use for this? manual-provider? noh-provider? susan? > mu > > On Thu, Oct 31, 2013 at 12:00 AM, John Arbash Meinel > wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > O

juju status filters

2013-11-10 Thread Andrew Wilkins
Seems not everyone's aware of this, so: juju status has filters (since a few months ago), in the same way that pyjuju had them. If you've got lots of services and units, you can prune the output to just those things relating to a service or unit by doing: juju status service or juju st

Re: Nagios charm

2013-11-18 Thread Andrew Wilkins
On Mon, Nov 18, 2013 at 11:06 PM, Maarten Ectors < maarten.ect...@canonical.com> wrote: > Is there any way to make the Nagios charm work with NRPE in such a way > that no relationship needs to be made between Nagios and other charms. NRPE > is a subordinate charm hence the Nagios charm should be a

Re: Jenkins and Jenkins-slave charms

2014-01-09 Thread Andrew Wilkins
On Fri, Jan 10, 2014 at 12:05 AM, Steve Powell wrote: > On 9 Jan 2014, at 12:36, Steve Powell wrote: > > To see the whole of the log so far execute "juju debug-log -n 1”, and then > ^C out. (“-n 0” is invalid for some reason); > > > ….another one is shot down in flames! > > Of course I should hav

Re: Status of Juju CI 2014-01

2014-01-21 Thread Andrew Wilkins
Awesome work! I hope to look into the Windows issue early next week. It'd be good to know whether the new go.crypto SSH client works any better on Windows. Cheers, Andrew On Wed, Jan 22, 2014 at 6:30 AM, Curtis Hovey-Canonical < cur...@canonical.com> wrote: > Gentles. > > Last week we added a

Re: Juju on existing VM

2014-01-28 Thread Andrew Wilkins
Hi Ibha, There have been a bunch of manual provisioning bugs fixed in 1.17.0 and 1.17.1. I *think* you need to set default-series in your environment for this particular problem. I would recommend moving to 1.17.1, though. Cheers, Andrew On Fri, Jan 24, 2014 at 2:14 PM, Gandhi, Ibha (HP Softwa

Re: Juju Run now in development release.

2014-02-04 Thread Andrew Wilkins
On Tue, Feb 4, 2014 at 4:38 PM, Stuart Bishop wrote: > On Tue, Feb 4, 2014 at 3:17 PM, Jorge O. Castro wrote: > > > Also forgot to mention, on the remote instances you can do `juju-run` > > and this will run commands in a _hook context_, that should make it > > handy for those of you writing char

Re: I WANT YOU, to give me your feedback (Juju docs!)

2014-03-21 Thread Andrew Wilkins
+1 to Markdown. Nice integration with GitHub (edit, preview, etc.), pretty much a de facto standard on there. I'd also like to see us using GitHub Pages for unstable/unreleased versions of Juju. On Sat, Mar 22, 2014 at 1:47 AM, Marco Ceppi wrote: > Hi everyone, > > I'm spreading this email out ac

Re: OpenStack provider plus Juju not working

2014-03-27 Thread Andrew Wilkins
On Fri, Mar 28, 2014 at 12:24 PM, Hui Xiang wrote: > Hi juju community, > > I hit en error when using juju plus OpenStack provider, below is the > environment and what I found, please give me a help to let me move on. > > OpenStack: Havana(deployed with devstack) > juju : 1.16.6-precise-amd

Re: OpenStack provider plus Juju not working

2014-03-27 Thread Andrew Wilkins
nly one suffering >> from swift and juju relationship, hehe. >> >> Seems to me juju is getting a wrong url for their tools, as Andrew >> noticed. >> >> Abs, >> Sebas. >> >> >> >> 2014-03-28 1:39 GMT-03:00 Andrew Wilkins :

Re: OpenStack provider plus Juju not working

2014-03-27 Thread Andrew Wilkins
a. For OpenStack, this would typically be a swift container. In Hui's case, it's in the original email: http://10.55.32.149:8080/v1/AUTH_02db550787604a85a3df364b5cdf9ac4/2ae43fe4-eb72-4402-9c5c-4a42749cfee3/ tools Sebas. > > > > 2014-03-28 1:57 GMT-03:00 Andrew Wilkins : >

Re: juju-core 1.17.7 is released

2014-03-28 Thread Andrew Wilkins
On Fri, Mar 28, 2014 at 9:05 PM, Curtis Hovey-Canonical < cur...@canonical.com> wrote: > On Fri, Mar 28, 2014 at 5:14 AM, James Page wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > On 27/03/14 23:09, Curtis Hovey-Canonical wrote: > >> juju-core 1.17.7 > >> > >> A new develo

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

2014-04-17 Thread Andrew Wilkins
I don't have an immediate need for this, but just wanted to say it looks very handy. Thanks! Cheers, Andrew On Thu, Apr 17, 2014 at 1:08 PM, Casey Marshall < casey.marsh...@canonical.com> wrote: > All, > I'd like to share a small set of juju plugins I've developed: > > https://github.com/cmars/

Re: Juju devel 1.19.1 is released

2014-04-25 Thread Andrew Wilkins
On Sat, Apr 26, 2014 at 4:16 AM, Curtis Hovey-Canonical < cur...@canonical.com> wrote: > juju-core 1.19.1 > > A new development release of Juju, juju-core 1.19.1, is now available. > > > Getting Juju > > juju-core 1.19.1 is available for trusty and backported to earlier > series in the following P

Re: juju manual bootstrap - does it work?

2014-05-03 Thread Andrew Wilkins
On Sat, May 3, 2014 at 2:11 PM, brian mullan wrote: > I've tried for 2 days to get this to work and I'm stumped. > using my laptop w/ubuntu 14.04 desktop > remote server /w ubuntu 14.04 fresh server install > > I am the only account on both systems and I have both ssh and sudo access > on both >

Re: juju manual bootstrap - does it work?

2014-05-04 Thread Andrew Wilkins
ash* > brian > > > > On Sun, May 4, 2014 at 7:22 AM, brian mullan wrote: > >> >> Thanks Andrew... information you asked for is inline. >> >> >> On Sat, May 3, 2014 at 10:12 PM, Andrew Wilkins < >> andrew.wilk...@canonical.com> wrote: >> >>

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

2014-05-06 Thread Andrew Wilkins
On Tue, May 6, 2014 at 12:36 PM, John Meinel wrote: > I'll also note that Tim had some good ideas about how to change the Local > provider to be more consistent with other providers. (Essentially creating > a separate process that could implement a "Remote Provider" sort of > interface.) That cou

Re: Detecting cowboy'd changes in a Juju Env

2014-05-12 Thread Andrew Wilkins
On Tue, May 13, 2014 at 4:14 AM, Joey STANFORD wrote: > Hi Juju'ers, > > I'm curious to know if there is any reliable mechanism to detect a > cowboyed change inside a juju environment and then report them. > > A non-juju synonym of what I'm trying to accomplish would be with puppet > managing a s

Re: ERROR juju.cmd supercommand.go:300 waited for 10m0s without being able to connect: /var/lib/juju/nonce.txt does not exist

2014-05-13 Thread Andrew Wilkins
On Tue, May 13, 2014 at 12:41 PM, John Meinel wrote: > You might be running into this: > > http://askubuntu.com/questions/458535/how-to-change-juju-bootstrap-time-from-the-10min-it-gives-you > John > =:-> > > > On Mon, May 12, 2014 at 4:47 PM, boyd yang wrote: > >> Hello, >> >> I got juju bootstr

Re: ERROR juju.cmd supercommand.go:300 waited for 10m0s without being able to connect: /var/lib/juju/nonce.txt does not exist

2014-05-13 Thread Andrew Wilkins
On Tue, May 13, 2014 at 4:04 PM, Andrew Wilkins < andrew.wilk...@canonical.com> wrote: > On Tue, May 13, 2014 at 12:41 PM, John Meinel wrote: > >> You might be running into this: >> >> http://askubuntu.com/questions/458535/how-to-change-juju-bootstrap-time-from-

Re: New documentation page: Working with Units

2014-05-14 Thread Andrew Wilkins
I haven't read through it all, but "juju scp -r" stuck out like a sore thumb. https://bugs.launchpad.net/juju-core/+bug/1318711 Probably want to take it off the docs until it's actually supported. In the mean time, you can do "juju scp -- -r $source $target" Cheers, Andrew On Thu, May 15, 2014

Re: arch constraint default changed?

2014-05-16 Thread Andrew Wilkins
On Wed, May 14, 2014 at 4:28 AM, William Reade wrote: > We shouldn't ever have to worry about whether or not --upload-tools was > used, because it's *already* been used at the point where we pick > instances, and the single possible arch is thus already chosen, entirely > independent of constraint

Re: resolve dependency between services

2014-05-21 Thread Andrew Wilkins
On Wed, May 21, 2014 at 10:53 PM, Tudor Rogoz wrote: > Hi, > > > I'm new to juju and I just started to work on a new charm and I'm not > sure how to solve several issues.I will appreciate any advice on this. > > > The topology that I want to achieve is described bellow: > > > My service (i w

Re: proxies and multiplexing

2014-06-15 Thread Andrew Wilkins
On Fri, Jun 13, 2014 at 9:38 PM, Stuart Bishop wrote: > Hi. > > I'm having some trouble fitting proxy services, such as load > balancers, caches, connection pools etc. into the juju world view. > > I feel that a proxy should seamlessly drop into an existing relation, > emulating the server from t

Relation addresses

2014-06-17 Thread Andrew Wilkins
Hi all, (This is a cross post from juju-dev; making sure charm authors see this). 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 had some prelimina

Re: Best practice to continuously integrate application updates

2014-07-01 Thread Andrew Wilkins
On Wed, Jul 2, 2014 at 10:47 AM, Denis Weerasiri wrote: > Hi, > I mentioned the command as "charm-update". But it should have been > "upgrade-charm" > https://juju.ubuntu.com/docs/authors-charm-upgrades.html > > > On Wed, Jul 2, 2014 at 12:44 PM, Denis Weerasiri > wrote: > >> Hi, >> Support I ha

Re: juju as a web service

2014-07-09 Thread Andrew Wilkins
Hi Tudor, Juju has a websocket API that you can use to perform the same operations as the CLI can. There are Go and Python client APIs. The Go one is in the core repository, and the Python one is here: https://launchpad.net/python-jujuclient Cheers, Andrew On Wed, Jul 9, 2014 at 5:06 AM, Tudor

Re: Juju-Vagrant boxes: Flaky API connections shortly after booting

2014-07-10 Thread Andrew Wilkins
On Thu, Jul 10, 2014 at 9:06 AM, Abel Deuring wrote: > Recent versions of the Juju-Vagrant images (see > https://juju.ubuntu.com/docs/config-vagrant.html ) do not work after a > reboot because a script that is invoked to configure NAT has > difficulties to access the state server; the web server

Re: Device mappings in EC2

2014-07-17 Thread Andrew Wilkins
On Mon, Jul 14, 2014 at 10:09 PM, Henning Eggers 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 m3 EC2 inst

Swift middleware subordinate charms?

2014-09-24 Thread Andrew Wilkins
Hi folks, I've just started looking into writing a charm (possibly two charms?) to deploy some middleware to Swift; both the proxy and storage will have middleware added. Today was the first time I've deployed any OpenStack component, so my terminology could be off. I imagine a middleware charm w

Re: Swift middleware subordinate charms?

2014-09-24 Thread Andrew Wilkins
On Wed, Sep 24, 2014 at 6:59 PM, Michael Nelson < michael.nel...@canonical.com> wrote: > On Wed, Sep 24, 2014 at 7:52 PM, Andrew Wilkins > wrote: > > Hi folks, > > > > I've just started looking into writing a charm (possibly two charms?) to > > deploy som

Re: Swift middleware subordinate charms?

2014-09-25 Thread Andrew Wilkins
On Fri, Sep 26, 2014 at 12:54 AM, James Page wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 24/09/14 12:09, Andrew Wilkins wrote: > > > > Anyway, normally I think you'd want the primary charm's > > (swift-proxy's) relevant relat

Re: SSH host key maintenance, local provider

2014-10-06 Thread Andrew Wilkins
On Fri, Oct 3, 2014 at 4:19 PM, Stuart Bishop wrote: > On 3 October 2014 20:23, Curtis Hovey-Canonical > wrote: > > On Fri, Oct 3, 2014 at 8:30 AM, Simon Davy > wrote: > >> On 3 October 2014 13:21, Simon Davy wrote: > >>> This is what I have: > >>> > >>> Host 10.0.3.* > >>> StrictHostKeyCh

Re: failed to deploy wordpress via local

2014-10-07 Thread Andrew Wilkins
On Mon, Oct 6, 2014 at 11:31 PM, Vasiliy Tolstov wrote: > Hi. I'm try to deploy wordpress on local vps node (kvm virt). > i'm install juju stable from ppa, install juju-local and doing > bootstrap, switch local > > when i'm try to get step for single node juju deploy --to 0 wordpress > i get erro

Re: failed to deploy wordpress via local

2014-10-07 Thread Andrew Wilkins
On Tue, Oct 7, 2014 at 3:46 PM, Vasiliy Tolstov wrote: > 2014-10-07 11:00 GMT+04:00 Andrew Wilkins : > > he local provider's "machine 0" is the host itself, which is typically a > > laptop or desktop computer. Deploying units on machine 0 is disallowed to > &g

Re: proper way to deploy to one server (lxc based)

2014-10-07 Thread Andrew Wilkins
On Tue, Oct 7, 2014 at 10:55 PM, Vasiliy Tolstov wrote: > Hello. What is the recommended way to install all-in-one (for example > wordpress) and publicly available server? > For example i have server with address 85.77.88.99 and want to install > wordpress on it via running juju on this server an

Re: proper way to deploy to one server (lxc based)

2014-10-08 Thread Andrew Wilkins
On Wed, Oct 8, 2014 at 11:33 AM, Vasiliy Tolstov wrote: > 2014-10-08 10:35 GMT+04:00 Andrew Wilkins : > > Not as a first-class citizen in Juju. There's > > https://github.com/cmars/juju-nat, but I've just spoken to the author > who > > informs me that it current

Re: proper way to deploy to one server (lxc based)

2014-10-08 Thread Andrew Wilkins
On Wed, Oct 8, 2014 at 12:39 PM, Vasiliy Tolstov wrote: > 2014-10-08 14:23 GMT+04:00 Nate Finch : > > The point is - don't use local provider. If you have a single VPS, use > the > > manual provider to bootstrap onto that machine. You can run juju > bootstrap > > from your laptop to bootstrap ju

Re: proper way to deploy to one server (lxc based)

2014-10-09 Thread Andrew Wilkins
On Wed, Oct 8, 2014 at 11:36 PM, Vasiliy Tolstov wrote: > 2014-10-08 15:23 GMT+04:00 Andrew Wilkins : > > It is perfectly fine to bootstrap the local host using the manual > provider. > > > Thanks =) Last question - how to calculate free resources or how put > together

Re: proper way to deploy to one server (lxc based)

2014-10-09 Thread Andrew Wilkins
On Thu, Oct 9, 2014 at 11:39 AM, Vasiliy Tolstov wrote: > 2014-10-09 11:53 GMT+04:00 Andrew Wilkins : > > LXC has options for limiting resources, e.g. to set a limit on memory > usage. > > I don't *think* we expose this option in Juju at the moment. One option > you &

Re: lxc options in manual environment

2014-10-19 Thread Andrew Wilkins
Which version of Juju are you using? This was made provider-independent recently, and you can configure it with lxc-clone: true lxc-clone-aufs: true in your environments.yaml Cheers, Andrew On Sun, Oct 19, 2014 at 3:09 AM, Vasiliy Tolstov wrote: > Does it possible to minimize hdd disk u

Re: lxc options in manual environment

2014-10-20 Thread Andrew Wilkins
On Mon, Oct 20, 2014 at 5:40 PM, Vasiliy Tolstov wrote: > 2014-10-20 6:34 GMT+04:00 Andrew Wilkins : > > Which version of Juju are you using? This was made provider-independent > > recently, and you can configure it with > > lxc-clone: true > > lxc-c

Re: [Review Queue] Tez and Shoutcast

2014-11-03 Thread Andrew Wilkins
On Mon, Nov 3, 2014 at 11:16 PM, Curtis Hovey-Canonical < cur...@canonical.com> wrote: > On Fri, Oct 31, 2014 at 3:48 PM, Whit Morriss > wrote: > > Today I reviewed a bundle and a charm, both from our esteemed Chuck > Butler. > > > > The tez bundle sets up a framework for doing realtime high volu

Re: [Review Queue] More Trusty Promotions

2014-11-05 Thread Andrew Wilkins
On Thu, Nov 6, 2014 at 6:03 AM, Charles Butler wrote: > Trusty Promotions > rsyslog-forwarder > gunicorn > dokuwiki > postgresql-psql > joomla > terracotta > > > New icons for services to match jujucharms.com branding: > - hdp-hadoop > - hdp-hive > - hdp-pig > - hdp-tez > - hdp-storm > - hdp-zook

Re: Unit-get

2014-11-06 Thread Andrew Wilkins
Hi Sameer, The behaviour changed a few months ago to address a bug: https://bugs.launchpad.net/juju-core/+bug/1353442 Is this causing you problems, or were you just surprised/curious? Cheers, Andrew On Wed, Nov 5, 2014 at 8:09 PM, Sameer Zeidat wrote: > Hi, > > I bootstrapped juju stable toda

Re: Unit-get

2014-11-09 Thread Andrew Wilkins
6, FQDN). Regards, > Sameer > ---------- > From: Andrew Wilkins > Sent: ‎7/‎11/‎2014 3:25 PM > To: Sameer Zeidat > Cc: juju > Subject: Re: Unit-get > > Hi Sameer, > > The behaviour changed a few months ago to address a bug: > https://b

Re: Unit-get

2014-11-09 Thread Andrew Wilkins
On Mon, Nov 10, 2014 at 9:32 AM, Michael Nelson < michael.nel...@canonical.com> wrote: > On Fri, Nov 7, 2014 at 3:19 PM, Andrew Wilkins > wrote: > > Hi Sameer, > > > > The behaviour changed a few months ago to address a bug: > > https://bugs.launchpad.net/ju

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

Re: RFC: unmounting /mnt on AWS instances

2014-11-17 Thread Andrew Wilkins
Sorry, I don't have a timeline as of yet. Work has started, but specs and designs are still subject to change. The intention is to have it ready by 15.04. Cheers, Andrew Thanks! > Marco Ceppi > > On Mon Nov 17 2014 at 9:13:45 PM Andrew Wilkins < > andrew.wilk...@canonical.com&g

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 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

Re: unit-get public-address

2014-11-26 Thread Andrew Wilkins
Hi Mike, Sounds like you're hitting https://bugs.launchpad.net/juju-core/+bug/1308374 . There's a workaround described in the bug description: use an external DNS. Alternatively, you could (temporarily) do something EC2-specific in your charm: $(ec2metadata --public-ipv4) Cheers, Andrew On

Re: Dynamic osd-devices selection for Ceph charm

2014-11-30 Thread Andrew Wilkins
On Sun, Nov 30, 2014 at 12: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: unit-get public-address

2014-12-03 Thread Andrew Wilkins
1.21. The workarounds I mentioned should only be used as a stop gap. > > On Wed Nov 26 2014 at 10:10:35 PM Andrew Wilkins < > andrew.wilk...@canonical.com> wrote: > >> Hi Mike, >> >> Sounds like you're hitting >> https://bugs.launchpad.net/juju-core/+b

Re: Handling IP address change

2014-12-08 Thread Andrew Wilkins
On Tue, Dec 9, 2014 at 10:31 AM, Stuart Bishop wrote: > Hi. > > Does juju handle IP address changes of units yet? If so, what hooks > can I expect to be invoked? > >From 1.21 onwards, config-changed will be fired whenever the unit's addresses change. > - config-changed? > - relation-changed

Re: Handling IP address change

2014-12-09 Thread Andrew Wilkins
On Tue, Dec 9, 2014 at 8:20 PM, Kapil Thangavelu < kapil.thangav...@canonical.com> wrote: > > > On Mon, Dec 8, 2014 at 9:53 PM, Andrew Wilkins < > andrew.wilk...@canonical.com> wrote: > >> On Tue, Dec 9, 2014 at 10:31 AM, Stuart Bishop < >> stu

Re: Released update to jujucharms.com today the 10th.

2014-12-10 Thread Andrew Wilkins
On Thu, Dec 11, 2014 at 3:04 AM, Rick Harding wrote: > Heads up that a new release has hit jujucharms.com. This contains several > smaller things but you might be interested. Please check it out and let us > know if you hit any issues. > > > http://jujugui.wordpress.com/2014/12/10/new-jujucharms-

Re: Doubt in choosing environment type

2014-12-14 Thread Andrew Wilkins
On Sat, Dec 13, 2014 at 8:06 PM, Danial Behzadi wrote: > > Hi there, > I recently got an Ubuntu VPS and want to setup some services like Open-VPN > and remotely use them via juju charms to learn more about juju. I'm in > doubt which environment type I should choose, local(lxc) or Maas? > Sorry fo

Re: bind mount support for local provider

2015-01-18 Thread Andrew Wilkins
On Sat, Jan 17, 2015 at 11:47 PM, Corey Bryant wrote: > Excellent, thanks Ian. Do you have an estimate on when this will be > available? > Hi Corey, Not yet; we are working towards getting a single provider fully functional before delving too deeply into others. I'll ping you when we've got a

Re: An Open Question: Charm Dependency Management

2015-01-20 Thread Andrew Wilkins
On Wed, Jan 21, 2015 at 1:36 AM, Charles Butler < charles.but...@canonical.com> wrote: > Greetings, > > If you work on charms in any capacity: this affects you, and I would love > to have your feedback. > > While working the review queue I've encountered a few charm merges that > are failing our t

Re: juju deploy ceph hangs in pending in maas environment

2015-01-29 Thread Andrew Wilkins
On Fri, Jan 30, 2015 at 12:28 AM, Daniel Bidwell wrote: > There is no /var/log/juju on machine-1/unit-ceph-0. I have the > cloud-init.log at http://pastebin.com/GKA2W6Cv but am not sure what to > look for to figure out why the juju agent was never successfully > installed on it? What do I look

Re: How best to install Spark?

2015-02-02 Thread Andrew Wilkins
On Mon, Feb 2, 2015 at 9:57 PM, Samuel Cozannet < samuel.cozan...@canonical.com> wrote: > Excellent! Happy to help you through your discovery of awesomeness with > Juju :) > > Note that, if you have jq installed (which I advise, sudo apt-get install > jq) > juju stat | python -c 'import sys, yaml,

Re: Availability of alpha "Easy Juju on Azure" disk image

2015-02-10 Thread Andrew Wilkins
Hi Samuel, Looks neat. A few things: 1. Once the VM is ready, the entire landing page keeps refreshing at 1s intervals. That doesn't leave a lot of time to add the .publishsettings file and upload. 2. There's no feedback to say whether or not the .publishsetttings file has been uploaded, and whe

Re: OpenStack Bundle Changes

2015-04-06 Thread Andrew Wilkins
On Tue, Apr 7, 2015 at 3:49 AM, Charles Butler wrote: > Greetings everyone! > > I have exciting news mixed with a status update. First up - we're > launching an Openstack topic page on jujucharms.com - you can get an > early sneak peek before the launch this week here: > http://qa.storefront.theb

Re: failure upgrading Juju from 1.21.1 to 1.22.0 on trusty

2015-04-08 Thread Andrew Wilkins
On Wed, Apr 8, 2015 at 3:24 PM, John Meinel wrote: > upgrade step "set AvailZone in instanceData" failed: no instances found > seems suspicious. > What version of MAAS are you running? > It is possible that it would come before MAAS availability zones? > > Certainly we couldn't really find 0 inst

Re: failure upgrading Juju from 1.21.1 to 1.22.0 on trusty

2015-04-08 Thread Andrew Wilkins
On Wed, Apr 8, 2015 at 6:09 PM, Joshua Randall wrote: > > I'd want to hear from others on this matter, as my experience with > repairing upgrades is limited. > > I recommend you don't take any action on the following immediately, > until others have weighed in. > I will hold off doing anything el

Re: Running Juju in Google compute engine

2015-05-01 Thread Andrew Wilkins
On Fri, May 1, 2015 at 8:26 PM, Jorge O. Castro wrote: > I was able to find the project name, client email, and client id in > the GCE UI, but I wasn't able to find where I'm supposed to find the > private key, can someone help me out? Did you get a JSON key file from the console yet? APIs

Upcoming change in 1.24: tags in EC2

2015-05-21 Thread Andrew Wilkins
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, for example, will have a name of "machine-0", "machine-1", etc., corresponding to the ID in

Re: Upcoming change in 1.24: tags in EC2

2015-05-24 Thread Andrew Wilkins
On Mon, May 25, 2015 at 6:22 AM, Tim Penhey wrote: > On 22/05/15 17:26, Andrew Wilkins 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 > >

Re: Upcoming change in 1.24: tags in EC2

2015-05-25 Thread Andrew Wilkins
On Tue, May 26, 2015 at 4:05 AM, Mark Shuttleworth wrote: > 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 sug

Re: Upcoming change in 1.24: tags in EC2

2015-05-25 Thread Andrew Wilkins
On Tue, May 26, 2015 at 12:18 PM, Richard Harding < rick.hard...@canonical.com> wrote: > On Tue, 26 May 2015, Andrew Wilkins wrote: > > > On Tue, May 26, 2015 at 4:05 AM, Mark Shuttleworth > wrote: > > > > > On 25/05/15 18:57, Kapil Thangavelu wrote: &g

Re: Upcoming change in 1.24: tags in EC2

2015-05-28 Thread Andrew Wilkins
On Tue, May 26, 2015 at 1:48 PM, Kapil Thangavelu wrote: > > > On Mon, May 25, 2015 at 9:23 PM, Andrew Wilkins < > andrew.wilk...@canonical.com> wrote: > >> On Tue, May 26, 2015 at 12:18 PM, Richard Harding < >> rick.hard...@canonical.com> wrote: >>

Re: What is the proper procedure to upgrade juju (from 1.18 to 1.24)

2015-06-30 Thread Andrew Wilkins
On Wed, Jul 1, 2015 at 1:34 AM Mario Splivalo wrote: > Hi, lads (and ladies!) > > I need to upgrade customer who's running juju 1.18 (on a fairly large > setup, 100+ nodes), and I'm not sure what's the proper procedure to do so. > > I tried (in our lab, local OpenStack) upgrading juju-core packag

Re: Adding a new machine in juju

2015-07-03 Thread Andrew Wilkins
Hi Suchitra, The first time you try to add a machine with the local provider (or adding an LXC container in any provider), Juju will download the required LXC image. Once that's done, it'll be updating packages with APT. If your network speed is slow, this can take a while. This should be much imp

Re: Accessing files between conatiners.

2015-08-13 Thread Andrew Wilkins
Hi Sunitha, We intend to support shared filesystems in the core of Juju, but this is not currently available. You could use NFS if a shared filesystem is appropriate. Can you describe the problem you're trying to solve by sharing files? There may be a better approach that will work today. Cheers

Re: Compiling juju on openSUSE

2015-09-19 Thread Andrew Wilkins
On Sat, Sep 19, 2015 at 11:12 PM Herman Bergwerf wrote: > So I installed the Go code without make install-dependencies and it > paniced because my os was not supported (these versions are supported: > https://github.com/juju/juju/blob/master/juju/series/supportedseries.go) > I thought Go code was

Re: What is the default username/password of LXC instances (Ubuntu) deployed by Juju via MAAS?

2015-09-19 Thread Andrew Wilkins
On Sun, Sep 20, 2015 at 12:17 AM Jeff McLamb wrote: > Hi all - > > I am currently in a situation where my juju deployment host and MAAS host > (thus DHCP/DNS) are down and I won’t be able to power them back on for a > few days. > > I have manually added entries to /etc/hosts on all of my bare met

Re: Juju on CloudStack

2015-09-20 Thread Andrew Wilkins
On Mon, Sep 21, 2015 at 5:53 AM Herman Bergwerf wrote: > I find it quite difficult to understand the semantics of a general juju > provider (so far juju/environs helped a bit to understand the general > principle). Is there a place where I can find what I need to write a very > minimal provider?

Re: "Designing for Success: Juju and Charm architecture overview" - Juju Charm Summit

2015-09-20 Thread Andrew Wilkins
On Sat, Sep 19, 2015 at 2:43 AM Marco Ceppi wrote: > Here are my slides from the first session on Thursday morning. It's a > meant to be an overview of the Juju and Charm architecture. I'm curious on > feedback as it's the first time I've run this style presentation. > > > https://docs.google.com

Re: Charms, layers, and Launchpad

2015-12-17 Thread Andrew Wilkins
On Fri, Dec 18, 2015 at 8:58 AM Cory Johns wrote: > Greetings, all. > > I wanted to suggest a convention for managing layered charms with > Launchpad. > > Until the publish workflow is ready, the "built charm" (i.e., output from > `charm build`) must be checked in to Launchpad in a repo such as:

Re: Charms, layers, and Launchpad

2015-12-17 Thread Andrew Wilkins
on the first build, and that's totally fine. If pip could be optionally instructed to reuse the existing wheelhouses, that would be helpful. I'd build the charms once before losing network, and then continue iterating with the cached dependencies. Cheers, Andrew > On Thu, Dec 17

git charm layers

2016-01-04 Thread Andrew Wilkins
Hi, I was recently inspired by Domas's git charm (https://jujucharms.com/git/) to create a pair of git charm layers and interface. You can find them at: https://github.com/axw/layer-git-server https://github.com/axw/layer-git-client https://github.com/axw/interface-git layer-git-serve

JNS: Juju Name Server

2016-01-05 Thread Andrew Wilkins
Hi, A little while ago, I found myself wanting to address a service by its Juju name, but outside of Juju. I didn't want to be tied to an IP/host name, because they might change; I didn't want to be tied to any one cloud provider; and I wanted it to work across environments. So I wrote a little D

  1   2   >