zun and zun-ui built from source stable/train running on centos7 and using python-zunclient 3.6.0. When I start an interactive container with heat os::zun:container. I am unable to see anything in the console through zun-ui. It seems like the socket is open, but it returns nothing. I can type commands and they appear in the logs, but do not show/render in the console window. If I attach to that same container with cli I have no issues getting an interactive shell and using it. I could not find much in the logs, but with debug on for zun-wsproxy I get the following.
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15290]: 2019-12-12 13:07:59.279 15290 DEBUG zun.websocket.websocketproxy [-] 172.17.1.5: new handler Process vmsg /usr/local/lib/python3.6/site-packages/websockify/websockifyserver.py:634
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15290]: 2019-12-12 13:07:59.279 15290 DEBUG zun.websocket.websocketproxy [-] 172.17.1.5: new handler Process vmsg /usr/local/lib/python3.6/site-packages/websockify/websockifyserver.py:634
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15290]: 2019-12-12 13:07:59.296 15300 INFO zun.websocket.websocketproxy [-] 172.17.1.5 - - [12/Dec/2019 13:07:59] 172.17.1.5: Plain non-SSL (ws://) WebSocket connection
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15300]: 2019-12-12 13:07:59.296 15300 INFO zun.websocket.websocketproxy [-] 172.17.1.5 - - [12/Dec/2019 13:07:59] 172.17.1.5: Plain non-SSL (ws://) WebSocket connection
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15290]: 2019-12-12 13:07:59.298 15300 INFO zun.websocket.websocketproxy [-] 172.17.1.5 - - [12/Dec/2019 13:07:59] 172.17.1.5: Path: '/?token=dfa0656d-a392-49dd-8dff-18743c65e979&uuid=c336f5c2-191a-4ffa-a536-1f79d937d136'
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15300]: 2019-12-12 13:07:59.298 15300 INFO zun.websocket.websocketproxy [-] 172.17.1.5 - - [12/Dec/2019 13:07:59] 172.17.1.5: Path: '/?token=dfa0656d-a392-49dd-8dff-18743c65e979&uuid=c336f5c2-191a-4ffa-a536-1f79d937d136'
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15290]: 2019-12-12 13:07:59.301 15300 DEBUG oslo_db.api [req-9dd5c55e-3ca1-4c33-97e7-5331c63582cb - - - - -] Loading backend 'sqlalchemy' from 'zun.db.sqlalchemy.api' _load_backend /usr/local/lib/python3.6/site-packages/oslo_db/api.py:261
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15300]: 2019-12-12 13:07:59.301 15300 DEBUG oslo_db.api [req-9dd5c55e-3ca1-4c33-97e7-5331c63582cb - - - - -] Loading backend 'sqlalchemy' from 'zun.db.sqlalchemy.api' _load_backend /usr/local/lib/python3.6/site-packages/oslo_db/api.py:261
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15290]: 2019-12-12 13:07:59.415 15300 DEBUG oslo_db.sqlalchemy.engines [req-9dd5c55e-3ca1-4c33-97e7-5331c63582cb - - - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/local/lib/python3.6/site-packages/oslo_db/sqlalchemy/engines.py:307
Dec 12 13:07:59 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15300]: 2019-12-12 13:07:59.415 15300 DEBUG oslo_db.sqlalchemy.engines [req-9dd5c55e-3ca1-4c33-97e7-5331c63582cb - - - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/local/lib/python3.6/site-packages/oslo_db/sqlalchemy/engines.py:307
Dec 12 13:09:10 zun-a68d9b6f-bd40-50db-a60a-75c8177381ac zun-wsproxy[15290]: 2019-12-12 13:09:10.776 15300 INFO
Fix is proposed in Heat: https:/ /review. opendev. org/#/c/ 699078/