[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2014-05-05 Thread Richard Harding
Brian, can you do me a favor and check out the network inspector tool of
the browser in your scenario? The client you load the GUI from needs to
be able to login/pull down the JS from the GUI charm, however it also
needs to talk on other ports as it holds a websocket connection to the
juju state server. If the screen is spinning that it's unable to connect
to the environment, I suspect the proxy is not proxying the secure
websocket connection through to the juju state server.

A look at the network tab while loading the GUI should show the
websocket connection attempting but failing.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2014-05-01 Thread brian mullan
I have the same problem as reported in the original post of this bug ...
except ... my use case is different.

I created an OpenStack instance of ubuntu 14.04.
I installed juju on that instance and configured it for Local Provider (re 
lxc).
I then bootstrapped and deployed Juju-GUI which successfully installed into its 
own LXC container.

If I install a desktop on that Openstack Ubuntu instance and log into it
via a remote desktop capability I can start Firefox and point it to the
10.0.30.x address of the juju-gui container and login to juju-gui.

While logged into the OpenStack Ubuntu instance I can obviously ping
to/from the juju-gui container and the Ubuntu Host.

But because my OpenStack Ubuntu instance is a 173.39.x.x address and the
juju-gui container is a non-routable 10.x.x.x address I obviously cannot
use Firefox from my Laptop and connect to the juju-gui.

However, I thought I could solve that by installing a Reverse Proxy on
the OpenStack Ubuntu Host and point it to the 10.0.3.x address of Juju-
gui container.

I used NGINX and it almost seems to work.

From my laptop I point Firefox to the 173.39.x.x address  of the Ubuntu
Host and the NGINX Proxy starts to redirect to the juju-gui.I see
the Juju-Gui login screen start to appear but it just keeps spinning its
circle and is stuck on Trying to connect to the Juju environment
message.

So I am piggy backing on this Bug report since the resulting message is
the same.I had thought that a Reverse Proxy like this would enable
this access.

My use-case is to have people that from their desktop at work use their
browser to connect to Juju-Gui then deploy services to LXC containers
on the OpenStack ubuntu instance.Its our own Openstack on our own
hardware so I can install this on a very large compute  network
resource machine.

note:  yes I understand I could deploy juju-gui to a cloud server but
then ... that server  the juju-gui would not be utilizing LXC
afterwards for deployment of charm services.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-11-08 Thread David Medberry
Okay, opening a new bug with content from 2013-11-08

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-09-17 Thread Richard Harding
Marking invalid as fixes have been released and things have been quite
for a while. If the issue returns please open a new bug.

** Changed in: juju-gui
   Status: Incomplete = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-06-19 Thread Gary Poster
For anyone looking at this bug, the Juju GUI fix mentioned has been
released for several months now.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-05-17 Thread Launchpad Bug Tracker
[Expired for juju (Ubuntu) because there has been no activity for 60
days.]

** Changed in: juju (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-03-18 Thread Robie Basak
** Changed in: juju (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-03-14 Thread Marius B. Kotsbak
I found this in /var/log/juju/api-agent.log:

 KeyError: 'result'
2013-03-12 16:30:31,763: juju.rapi.delta@ERROR: An error occurred 'result'
Traceback (most recent call last):
  File /var/lib/juju/units/juju-gui-4/charm/juju/juju/rapi/delta.py, line 59, 
in pump
current = (yield self.context.status())['result']

where line 59 is:

current = (yield self.context.status())['result']

** Also affects: juju (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-03-14 Thread Gary Poster
Hi Marius. I take it that you encountered this problem again? Under what
circumstances–what versions of the charm and GUI? ~juju-gui's trunk of
the charm + juju GUI trunk should do what you need but everything else
will not at the moment. We are blocked by ~charmers in getting the charm
published, but we will make another release of the GUI no later than
next week.

The rapi error you gave probably is unrelated, unless you are
encountering a behavior we've never seen (possible).

Gary

On Mar 14, 2013, at 6:10 AM, Marius B. Kotsbak
1149...@bugs.launchpad.net wrote:

 I found this in /var/log/juju/api-agent.log:
 
 KeyError: 'result'
 2013-03-12 16:30:31,763: juju.rapi.delta@ERROR: An error occurred 'result'
 Traceback (most recent call last):
  File /var/lib/juju/units/juju-gui-4/charm/juju/juju/rapi/delta.py, line 
 59, in pump
current = (yield self.context.status())['result']
 
 where line 59 is:
 
 current = (yield self.context.status())['result']
 
 ** Also affects: juju (Ubuntu)
   Importance: Undecided
   Status: New
 
 -- 
 You received this bug notification because you are a member of Juju GUI
 Hackers, which is subscribed to juju-gui.
 https://bugs.launchpad.net/bugs/1149410
 
 Title:
  Stuck on Trying to connect to the Juju environment
 
 To manage notifications about this bug go to:
 https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-03-14 Thread Marius B. Kotsbak
Yes, I encountered it again, using juju-gui-source: trunk. and
cs:precise/juju-gui. Maybe this was a slightly different problem, but
still at loading the main page and failing to connect to the API. I also
saw this in the log:

Starting or restarting Juju API agent. and  Failed to perform start
on service juju-api-agent

I changed back to stable and deployed again, and then it worked fine.
What other combo is recommended for a newer version?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-03-14 Thread Gary Poster
On 03/14/2013 08:17 AM, Marius B. Kotsbak wrote:
 Yes, I encountered it again, using juju-gui-source: trunk. and
 cs:precise/juju-gui. Maybe this was a slightly different problem, but
 still at loading the main page and failing to connect to the API. I also
 saw this in the log:
 
 Starting or restarting Juju API agent. and  Failed to perform start
 on service juju-api-agent

This is new to me.  I'll pass it along to a pyjuju dev in case anyone
else has seen it.  A pastebin of a longer bit of log output might be
helpful.

 I changed back to stable and deployed again, and then it worked fine.
 What other combo is recommended for a newer version?

ATM, for what I believe to be the specific issue you are encountering:

charm: cs:~juju-gui/precise/juju-gui
juju-gui-source: lp:juju-gui

That's bleeding edge.  Using the GUI release (the charm default
behavior) means it has been better tested.  Moreover, on the charm
trunk, using a GUI release is also about eight minutes faster to deploy
on ec2 than a branch. Once we make a release with this fix (version
number  0.2.2) we suggest you go back to using releases.

Gary

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1149410

Title:
  Stuck on Trying to connect to the Juju environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-gui/+bug/1149410/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs