the cron container keeps on restarting due to log rotate config file lack

Bug #1623717 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Unassigned

Bug Description

2419468dc745 192.168.23.59:4000/gongysh/centos-source-cron:3.0.0 "kolla_start" 9 minutes ago Restarting (1) 2 minutes ago cron
d8dc8bbef7fc 192.168.23.59:4000/gongysh/centos-source-kolla-toolbox:3.0.0 "kolla_start" 9 minutes ago Up 9 minutes kolla_toolbox
99bb902992c4 192.168.23.59:4000/gongysh/centos-source-heka:3.0.0 "kolla_start" 9 minutes ago Up 9 minutes heka

ubuntu@kolla-gong2:/etc/kolla/haproxy$ docker logs 2419468dc745
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Copying service configuration files
INFO:__main__:Removing existing destination: /etc/logrotate.conf
INFO:__main__:Copying /var/lib/kolla/config_files/logrotate/global.conf to /etc/logrotate.conf
INFO:__main__:Setting permissions for /etc/logrotate.conf

...
ERROR:__main__:The source to copy does not exist: /var/lib/kolla/config_files/logrotate/cloudkitty.conf
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Copying service configuration files
INFO:__main__:Removing existing destination: /etc/logrotate.conf
INFO:__main__:Copying /var/lib/kolla/config_files/logrotate/global.conf to /etc/logrotate.conf
INFO:__main__:Setting permissions for /etc/logrotate.conf
INFO:__main__:Removing existing destination: /etc/logrotate.d/ansible.conf
INFO:__main__:Copying /var/lib/kolla/config_files/logrotate/ansible.conf to /etc/logrotate.d/ansible.conf
INFO:__main__:Setting permissions for /etc/logrotate.d/ansible.conf
INFO:__main__:Removing existing destination: /etc/logrotate.d/aodh.conf
INFO:__main__:Copying /var/lib/kolla/config_files/logrotate/aodh.conf to /etc/logrotate.d/aodh.conf
INFO:__main__:Setting permissions for /etc/logrotate.d/aodh.conf
INFO:__main__:Removing existing destination: /etc/logrotate.d/barbican.conf
INFO:__main__:Copying /var/lib/kolla/config_files/logrotate/barbican.conf to /etc/logrotate.d/barbican.conf
INFO:__main__:Setting permissions for /etc/logrotate.d/barbican.conf
INFO:__main__:Removing existing destination: /etc/logrotate.d/cinder.conf
INFO:__main__:Copying /var/lib/kolla/config_files/logrotate/cinder.conf to /etc/logrotate.d/cinder.conf
INFO:__main__:Setting permissions for /etc/logrotate.d/cinder.conf
ERROR:__main__:The source to copy does not exist: /var/lib/kolla/config_files/logrotate/cloudkitty.conf

Revision history for this message
Hui Kang (huikang27) wrote :
Changed in kolla:
status: New → Fix Released
milestone: none → newton-rc1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.