set_config.py exist if one file is not found.

Bug #1689454 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Jeffrey Zhang
Ocata
Fix Released
Undecided
Jeffrey Zhang

Bug Description

Found following error, set_config shouldn't exist when file is not found.

ERROR:__main__:Unexpected error:
Traceback (most recent call last):
  File "/usr/local/bin/kolla_set_configs", line 412, in <module>
    main()
  File "/usr/local/bin/kolla_set_configs", line 406, in main
    execute_config_strategy(config)
  File "/usr/local/bin/kolla_set_configs", line 374, in execute_config_strategy
    handle_permissions(config)
  File "/usr/local/bin/kolla_set_configs", line 366, in handle_permissions
    set_perms(os.path.join(root, file_), uid, gid)
  File "/usr/local/bin/kolla_set_configs", line 357, in set_perms
    os.chown(path, uid, gid)
OSError: [Errno 2] No such file or directory: '/var/log/kolla/haproxy/haproxy_latest.log'

description: updated
summary: - fluentd failed due to haproxy_latest.log do not link to a real file
+ set_config.py exist if one file is not found.
Changed in kolla-ansible:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
milestone: none → pike-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.0.0b2

This issue was fixed in the openstack/kolla 5.0.0.0b2 development milestone.

Changed in kolla-ansible:
milestone: pike-2 → pike-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 4.0.2

This issue was fixed in the openstack/kolla 4.0.2 release.

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :
Changed in kolla-ansible:
status: New → Fix Released
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.