Re: How to open port with juju when no application is instlaled?

2017-11-23 Thread John Meinel
I had thought of that, but it only works if you then 'juju expose postgresql' which would also expose the other ports of postgres John =:-> On Nov 23, 2017 23:03, "Tim Penhey" wrote: > I think you might be able to use: > > juju run postgresql/0 'open-port 80' > >

How to get started on JAAS with Azure?

2017-11-23 Thread Merlijn Sebrechts
Hi all I haven't been able to figure out a non-hacky way to get started on JAAS with Azure. What I did currently is to follow all the steps listed here in the docs [1], cat `~/.local/share/credentials.yaml` and use the Azure credential to fill in the form in the JAAS UI. This works but there

Re: How to open port with juju when no application is instlaled?

2017-11-23 Thread Tim Penhey
I think you might be able to use: juju run postgresql/0 'open-port 80' Tim On 24/11/17 06:54, Akshat Jiwan Sharma wrote: > Hi, > > I've used juju to deploy postgres on aws. On the same machine I've > installed an nginx server manually (i.e without juju) that listens on > ports 80 and 443. I

Re: How to open port with juju when no application is instlaled?

2017-11-23 Thread Akshat Jiwan Sharma
> Is there a reason you prefer to install it manually? Well actually I'm installing openresty and there is no charm available for it at the moment But thanks for your idea about installing some other charm that I can use, expose it and then use the open port

Re: How to open port with juju when no application is instlaled?

2017-11-23 Thread John Meinel
I believe there is an nginx charm, which you could have installed with "juju deploy nginx --to X" (where X is the machine id of the postgres charm), and then used "juju expose nginx". Is there a reason you prefer to install it manually? One other option would be to co-locate the "ubuntu" charm

How to open port with juju when no application is instlaled?

2017-11-23 Thread Akshat Jiwan Sharma
Hi, I've used juju to deploy postgres on aws. On the same machine I've installed an nginx server manually (i.e without juju) that listens on ports 80 and 443. I want both of these ports to be open but juju command open-port only works when an application is exposed. *open-portopen-port

Re: Is there a universal interface I can use?

2017-11-23 Thread Tilman Baumann
Cool. Thanks The two fields I was interested in, username and password are mising though. :D But I'm thinking right now if I even want to go that route... On 23.11.2017 04:01, John Meinel wrote: > I did start working on a Cassandra interface for something I was working > on. I don't know that it

Re: Is there a universal interface I can use?

2017-11-23 Thread Tilman Baumann
On 22.11.2017 23:26, Haw Loeung wrote: > Hi Tilman, > > On Wed, Nov 22, 2017 at 04:02:08PM +0100, Tilman Baumann wrote: >> However, that doesn't seem to work. Juju complains the relation doesn't >> exist. >> $ juju add-relation cassandra-backup:database cassandra:database >> ERROR no relations