New Post has been published on 나만의 세상~!
New Post has been published on http://blog.seabow.pe.kr/?p=7488
[BUG] kolla ansible, bootstrap_mariadb 이 EXIT 상태가 되며 아래와 같은 메시지와 함께 deploy 가 정상 진행되지 않는경우
Problem
bootstrap_mariadb 이 EXIT 상태가 되며 아래와 같은 메시지와 함께 deploy 가 정상 진행되지 않는경우. ( retry 횟수 초과로 deploy 가 중지됨. ) FAILED – RETRYING: wait for slave mariadb (10 retries left).
Solution
# vi /usr/share/kolla-ansible/ansible/library/kolla_docker.py ( 아래의 “####” 로 구분된 라인을 추가 )
627 line add if not self.params.get(‘detach’): rc = self.dc.wait(self.params.get(‘name’)) ######################################### # NOTE(jeffrey4l): since python docker package 3.0, wait return a # dict all the time. if isinstance(rc, dict): rc = rc[‘StatusCode’] ######################################### if rc != 0: self.module.fail_json(
해당 내용은 ocata, piki 모두 해당되며, 대략 내용은 mariadb deploy 과정에서 bootstrap_mariadb 의 시간을 기다려주지 못 해서 Faild 처리 되는 것 같음.
Related articles
https://bugs.launchpad.net/kolla-ansible/+bug/1747217 https://review.openstack.org/#/c/540124/1/ansible/library/kolla_docker.py















