Ask Your Question

Zun not starting up

asked 2019-02-28 01:34:38 -0600

vblando gravatar image

using kolla-ansible to deploy my environment, I added zun and kuryr and noticed that I got errors when trying to work on containers via horizon. Then I found out that the zun_compute container is restarting and wont boot up. Kuryr is fine though.

[root@kolla1 kolla]# docker ps |grep zun
0785e894c238        kolla/centos-source-zun-compute:rocky                 "dumb-init --single-c"   15 hours ago        Restarting (1) 19 minutes ago                       zun_compute
27ea20e663f5        kolla/centos-source-zun-wsproxy:rocky                 "dumb-init --single-c"   34 hours ago        Up 34 hours                                         zun_wsproxy
3c82f29b23a3        kolla/centos-source-zun-api:rocky                     "dumb-init --single-c"   34 hours ago        Up 34 hours                                         zun_api
[root@kolla1 kolla]#
[root@kolla1 kolla]# docker ps |grep kur
e0fe62d4e052        kolla/centos-source-kuryr-libnetwork:rocky            "dumb-init --single-c"   34 hours ago        Up 34 hours                                         kuryr
[root@kolla1 kolla]#

Tried restarting the containers but zun_compute still wont run. Logs also is not help as I don't see any relevant error messages.

edit retag flag offensive close merge delete


Did you see any error message in the zun-compute log? You can get into the 'fluentd' container and find the log in /var/log/kolla/zun* . See here:

hongbin034 gravatar imagehongbin034 ( 2019-02-28 22:35:18 -0600 )edit

I already saw the error on kolla logs and a possible cause is that i haven't setup docker on the node properly that's why zun is complaining

vblando gravatar imagevblando ( 2019-03-01 01:38:35 -0600 )edit

To clarify, you already figured out why the zun-compute container was restarting? or you still need help for that?

hongbin034 gravatar imagehongbin034 ( 2019-03-02 09:01:53 -0600 )edit

I was thinking that it might be related to this as my controller is also a compute, I am redoing my environment to separate them.

vblando gravatar imagevblando ( 2019-03-03 10:05:56 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-03-02 09:07:18 -0600

hongbin034 gravatar image

If you see the zun-compute container is restarting, that means it failed to start in before. There should be some error message logged in the zun-compute logs which indicate the culprit of the failure. You can check the log by:

sudo docker exec fluentd cat /var/log/kolla/zun/zun-compute.log
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2019-02-28 01:34:38 -0600

Seen: 261 times

Last updated: Mar 02 '19