juju deploy failure WebSocketConnection closed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Undecided
|
Unassigned | ||
juju-deployer |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This is error during openstack deployment:
+ . ./pipeline_
++ export OPENSTACK_
++ OPENSTACK_
++ export COMPUTE=nova-lxc
++ COMPUTE=nova-lxc
++ export BLOCK_STORAGE=
++ BLOCK_STORAGE=
++ export IMAGE_STORAGE=
++ IMAGE_STORAGE=
++ export PIPELINE_
++ PIPELINE_
++ export NETWORKING=
++ NETWORKING=
++ export UBUNTU_
++ UBUNTU_
Bootstrap succeeded:
2015-02-03 17:37:12,530 [INFO] oil_ci.juju.client: Boostrapping new environment
Bootstrapping environment "ci-oil-slave10"
Starting new instance for initial state server
Launching instance
WARNING no architecture was specified, acquiring an arbitrary node
WARNING no architecture was specified, acquiring an arbitrary node
WARNING no architecture was specified, acquiring an arbitrary node
- /MAAS/api/
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to hayward-11.oil:22
Attempting to connect to hayward-11.oil:22
Attempting to connect to 10.245.0.161:22
Warning: Permanently added '10.245.0.161' (ECDSA) to the list of known hosts.
Logging to /var/log/
Installing add-apt-repository
Adding apt repository: deb http://
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https:/
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap complete
And the failure:
2015-02-03 17:49:56,354 [DEBUG] deployer.import: Getting charms...
2015-02-03 17:49:56,355 [DEBUG] deployer.charm: Branching charm lp:charms/mongodb @ trusty/mongodb
2015-02-03 17:49:58,839 [DEBUG] deployer.charm: Branching charm lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next @ trusty/
2015-02-03 17:50:01,271 [DEBUG] deployer.charm: Branching charm lp:~lutostag/charms/trusty/ceph/fix-six-bug @ trusty/ceph
2015-02-03 17:50:10,808 [DEBUG] deployer.charm: Branching charm lp:~openstack-charmers/charms/trusty/heat/next @ trusty/heat
2015-02-03 17:50:17,109 [DEBUG] deployer.charm: Branching charm lp:charms/neutron-openvswitch @ trusty/
2015-02-03 17:50:19,876 [DEBUG] deployer.charm: Branching charm lp:~lutostag/charms/trusty/mysql/fix-six-bug @ trusty/mysql
2015-02-03 17:50:23,105 [DEBUG] deployer.charm: Branching charm lp:charms/neutron-api @ trusty/neutron-api
2015-02-03 17:50:26,148 [DEBUG] deployer.charm: Branching charm lp:~openstack-charmers/charms/trusty/glance/next @ trusty/glance
2015-02-03 17:50:30,087 [DEBUG] deployer.charm: Branching charm lp:charms/ceilometer @ trusty/ceilometer
2015-02-03 17:50:33,287 [DEBUG] deployer.charm: Branching charm lp:~lutostag/charms/trusty/nova-compute/oil @ trusty/nova-compute
2015-02-03 17:50:36,200 [DEBUG] deployer.charm: Branching charm lp:charms/ceilometer-agent @ trusty/
2015-02-03 17:50:39,239 [DEBUG] deployer.charm: Branching charm lp:charms/rabbitmq-server @ trusty/
2015-02-03 17:50:41,770 [DEBUG] deployer.charm: Branching charm lp:~gnuoy/charms/trusty/keystone/next-1385105 @ trusty/keystone
2015-02-03 17:50:44,320 [DEBUG] deployer.charm: Branching charm lp:charms/openstack-dashboard @ trusty/
2015-02-03 17:50:46,785 [DEBUG] deployer.charm: Branching charm lp:~openstack-charmers/charms/trusty/cinder/next @ trusty/cinder
2015-02-03 17:50:49,240 [DEBUG] deployer.charm: Branching charm lp:charms/quantum-gateway @ trusty/
2015-02-03 17:50:51,875 [DEBUG] deployer.deploy: Resolving configuration
2015-02-03 17:50:51,984 [DEBUG] deployer.env: Connecting to environment...
2015-02-03 17:50:57,295 [ERROR] oil_ci.
Traceback (most recent call last):
File "/usr/lib/
debug=True, verbose=True)
File "/usr/lib/
importer.
File "/usr/lib/
self.
File "/usr/lib/
self.client = EnvironmentClie
File "/usr/lib/
return Connector(
File "/usr/lib/
cls, address, data['user'], data['password'], cert_path)
File "/usr/lib/
env.
File "/usr/lib/
"Params": {"AuthTag": user, "Password": password}})
File "/usr/lib/
raw = self.conn.recv()
File "/usr/lib/
opcode, data = self.recv_data()
File "/usr/lib/
frame = self.recv_frame()
File "/usr/lib/
frame_
File "/usr/lib/
header = recv_fn(2)
File "/usr/lib/
bytes = self._recv(
File "/usr/lib/
raise WebSocketConnec
WebSocketConnec
2015-02-03 17:50:57,363 [INFO] oil_ci.
2015-02-03 17:51:02,369 [ERROR] oil_ci.
+ rc=1
+ echo 'Deployment returned: 1'
Deployment returned: 1
+ [[ 1 == 0 ]]
+ test-catalog -p 03494fef-
2015-02-03 17:51:02 [INFO] test-catalog.: Loading system wide config: /etc/test-
+ oil-ci generate pipeline_tags --nodes=
2015-02-03 17:51:03,677 [DEBUG] oil_ci: Loaded config from: /etc/oil-
2015-02-03 17:51:03,927 [DEBUG] oil_ci.
Command failed, please check log for more info
Traceback (most recent call last):
File "/usr/bin/oil-ci", line 9, in <module>
load_
File "/usr/lib/
return utils.run(sys.argv, categories)
File "/usr/lib/
ret = fn(*fn_args, **fn_kwargs)
File "/usr/lib/
api.
File "/usr/lib/
mapping = HardwareMapper(
File "/usr/lib/
self.juju = load_file(juju_f)
File "/usr/lib/
with open(filename) as file_:
IOError: [Errno 2] No such file or directory: u'artifacts/
tags: | added: api |
affects: | juju-core → juju-deployer |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
This has nothing to do with juju-deployer per se, even the cli isn't working, its clear the juju-core api server is not responding.