Ask Your Question
0

Zun not starting up

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

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

Comments

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: https://docs.openstack.org/kolla-ansi...

hongbin034 gravatar imagehongbin034 ( 2019-02-28 22:35:18 -0500 )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 -0500 )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 -0500 )edit

I was thinking that it might be related to this https://bugs.launchpad.net/kolla-ansi... as my controller is also a compute, I am redoing my environment to separate them.

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

1 answer

Sort by ยป oldest newest most voted
1

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 37 times

Last updated: Mar 02