Re: open-port: command not found

2017-10-27 Thread Akshat Jiwan Sharma
Thanks Marco and Andrew for the great discussion. I admit that I was a bit confused while running the `open-port` command. >"Different machines will run different applications" This is exactly what confused me. I'm actually running two applications on a single machine (wordpress and mysql). So wh

Re: open-port: command not found

2017-10-26 Thread Marco Ceppi
I think the use case is pretty apparent from the start of this thread, it's opaque to a user that --all does not result in the same execution environment as --unit or --application. It seems --all should be disambiguated to --all-machines and possibly an --all-units feature. I could see wanting to

Re: open-port: command not found

2017-10-23 Thread Andrew Wilkins
On Mon, Oct 23, 2017 at 5:12 PM Marco Ceppi wrote: > On Mon, Oct 23, 2017, 03:59 Andrew Wilkins > wrote: > >> On Mon, Oct 23, 2017 at 4:20 AM Akshat Jiwan Sharma < >> akshatji...@gmail.com> wrote: >> >>> HI, >>> >>> I'm trying to manually expose a port on a juju machine. According to this >>> an

Re: open-port: command not found

2017-10-23 Thread Marco Ceppi
On Mon, Oct 23, 2017, 03:59 Andrew Wilkins wrote: > On Mon, Oct 23, 2017 at 4:20 AM Akshat Jiwan Sharma > wrote: > >> HI, >> >> I'm trying to manually expose a port on a juju machine. According to this >> answer >> >> I

Re: open-port: command not found

2017-10-22 Thread Akshat Jiwan Sharma
wow! thanks a lot once more!! On Mon, Oct 23, 2017 at 8:44 AM, Andrew Wilkins < andrew.wilk...@canonical.com> wrote: > On Mon, Oct 23, 2017 at 11:09 AM Akshat Jiwan Sharma < > akshatji...@gmail.com> wrote: > >> Thanks Andrew. Just one more question how does the open-port command >> behave with re

Re: open-port: command not found

2017-10-22 Thread Andrew Wilkins
On Mon, Oct 23, 2017 at 11:09 AM Akshat Jiwan Sharma wrote: > Thanks Andrew. Just one more question how does the open-port command > behave with respect to the firewalls with cloud providers. Specifically > I'm asking in context of google cloud platform which by default only allows > port 80 and

Re: open-port: command not found

2017-10-22 Thread Akshat Jiwan Sharma
Thanks Andrew. Just one more question how does the open-port command behave with respect to the firewalls with cloud providers. Specifically I'm asking in context of google cloud platform which by default only allows port 80 and 443(IIRC). So after running this command will I have to adjust firewa

Re: open-port: command not found

2017-10-22 Thread Andrew Wilkins
On Mon, Oct 23, 2017 at 4:20 AM Akshat Jiwan Sharma wrote: > HI, > > I'm trying to manually expose a port on a juju machine. According to this > answer > > I should be able to do something like this:- > > juju run "ope