1.23-beta websocket incompatibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Invalid
|
Critical
|
Unassigned | ||
python-jujuclient |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When trying to use the python-jujuclient library against an environment bootstrapped using 1.23-beta2 from ppa:juju/devel the client errors with the following traceback:
websocket.
Reproduction:
On a clean 14.04 install:
```
sudo add-apt-repository ppa:juju/devel
sudo apt-get update
sudo apt-get install juju juju-core juju-local python-virtualenv
juju init
juju switch local
juju bootstrap
juju deploy trusty/ubuntu
juju status
virtualenv ~/ilovejuju
. ~/ilovejuju/
pip install jujulcient pyyaml
```
The output of the above: http://
$ juju version
1.23-beta2-
$ dpkg -l | grep juju
ii juju-0.7 0.7+bzr628+
ii juju-core 1.23-beta2-
ii juju-deployer 0.4.3-0ubuntu1~
ii juju-local 1.23-beta2-
ii juju-mongodb 2.4.9-0ubuntu3 amd64 MongoDB object/
ii juju-quickstart 2.0.1+bzr124+
ii python-jujuclient 0.50.1-2 amd64 Python API client for juju-corez
>>> from jujuclient import Environment
>>> env = Environment.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/
File "build/
File "build/
File "build/
File "build/
File "/home/
websock.
File "/home/
self.
File "/home/
send(sock, header_str)
File "/home/
raise WebSocketConnec
websocket.
description: | updated |
Changed in python-jujuclient: | |
status: | New → Invalid |
Changed in juju-core: | |
status: | New → Incomplete |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
importance: | High → Critical |
summary: |
- 1.23-beta2 websocket incompatibility + 1.23-beta websocket incompatibility |
Changed in juju-core: | |
milestone: | 1.23.0 → none |
Using "1.23-beta3" from gh:juju/1.23 branch (ref: 9710c29) this issue does not present itself. I suspect this will be resolved in the beta3 release of 1.23 if all commits up to 9710c29 are included. Can't really pinpoint which commit addresses this.