Zun

Comment 13 for bug 1811791

Revision history for this message
Shu Muto (shu-mutou) wrote :

Here is my zun settings to use websocket for cloud shell.

* /lib/systemd/system/docker.service

[Service]
.....
ExecStart=/usr/bin/dockerd -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 --group stack
.....

After editing this, reload and restart docker.

* /etc/zun/zun.conf

......
[websocket_proxy]
base_url = ws://[ip address of your zun-wsproxy]:6784/
allowed_origins = '[ip address of your horizon]'
wsproxy_host = [ip address of your zun-wsproxy]
wsproxy_port = 6784
......

After editing this, restart services zun-api, zun-compute and zun-wsproxy.

I hope this helps you. Thanks.