)]}'
{"playbooks/releasenotes/notes/collect-baremetal-logs-5ff9c8dfc04689ce.yaml":[{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"cac13672191b04189fbeb0be7db63c7a7c4689cb","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - Support of collecting logs from baremetal nodes"},{"line_number":4,"context_line":"    Added boolean option collect_remote_logs, which allows to configure"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"3a461143_fd0aa878","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":3},"updated":"2017-02-01 18:16:04.000000000","message":"This file is in the wrong location. it should be /releasenotes","commit_id":"398fee07f080c5ac36b4203462ba45cffe2e8b08"}],"playbooks/roles/bifrost-ironic-install/defaults/main.yml":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"2072a45d85900fc2b9c695c1e8af47c57bb6e6d0","unresolved":false,"context_lines":[{"line_number":231,"context_line":"# direction of identifying the address of the conductor host"},{"line_number":232,"context_line":"# in a more uniform fashion. What that is exactly, is TBD."},{"line_number":233,"context_line":"my_ip_address: \"{{ hostvars[inventory_hostname][\u0027ansible_\u0027 + ans_network_interface][\u0027ipv4\u0027][\u0027address\u0027] }}\""},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"remote_syslog_port: \"514\""},{"line_number":236,"context_line":"remote_syslog_proto: \"udp\""},{"line_number":237,"context_line":"collect_baremetal_logs: false"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_73209d4a","line":234,"updated":"2016-12-30 13:52:55.000000000","message":"nit: With more parameters, I think there should at least be an inline comment as to what these are for.","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"},{"author":{"_account_id":8259,"name":"Andrey Shestakov","email":"ashestakov@mirantis.com","username":"ashestakov"},"change_message_id":"742d09d303ef6ab632437a9ce264a2d5f75720e6","unresolved":false,"context_lines":[{"line_number":231,"context_line":"# direction of identifying the address of the conductor host"},{"line_number":232,"context_line":"# in a more uniform fashion. What that is exactly, is TBD."},{"line_number":233,"context_line":"my_ip_address: \"{{ hostvars[inventory_hostname][\u0027ansible_\u0027 + ans_network_interface][\u0027ipv4\u0027][\u0027address\u0027] }}\""},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"remote_syslog_port: \"514\""},{"line_number":236,"context_line":"remote_syslog_proto: \"udp\""},{"line_number":237,"context_line":"collect_baremetal_logs: false"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_04ac1f33","line":234,"in_reply_to":"ba5201f7_73209d4a","updated":"2017-01-04 09:42:58.000000000","message":"Done","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"2072a45d85900fc2b9c695c1e8af47c57bb6e6d0","unresolved":false,"context_lines":[{"line_number":235,"context_line":"remote_syslog_port: \"514\""},{"line_number":236,"context_line":"remote_syslog_proto: \"udp\""},{"line_number":237,"context_line":"collect_baremetal_logs: false"},{"line_number":238,"context_line":"local_syslog_port: \"514\""},{"line_number":239,"context_line":"local_syslog_proto: \"udp\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_33261569","line":239,"range":{"start_line":238,"start_character":0,"end_line":239,"end_character":25},"updated":"2016-12-30 13:52:55.000000000","message":"Seems like these settings should just be defaulted from remote_syslog_port/remote_syslog_proto.","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"},{"author":{"_account_id":8259,"name":"Andrey Shestakov","email":"ashestakov@mirantis.com","username":"ashestakov"},"change_message_id":"a6b7abe8f0c0d66b9e447b7f4b51fad8df48c963","unresolved":false,"context_lines":[{"line_number":235,"context_line":"remote_syslog_port: \"514\""},{"line_number":236,"context_line":"remote_syslog_proto: \"udp\""},{"line_number":237,"context_line":"collect_baremetal_logs: false"},{"line_number":238,"context_line":"local_syslog_port: \"514\""},{"line_number":239,"context_line":"local_syslog_proto: \"udp\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_0af3769f","line":239,"range":{"start_line":238,"start_character":0,"end_line":239,"end_character":25},"in_reply_to":"ba5201f7_33261569","updated":"2017-01-03 10:10:17.000000000","message":"local_syslog_* affect local syslog server on ironic node, it can receive logs from baremetal nodes. remote_syslog_* is for remote syslog/logstash/graylog, which is not managed by bifrost/ironic. So there are two separate logs channels, which are not depend on each other.","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"}],"playbooks/roles/bifrost-ironic-install/tasks/bootstrap.yml":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"a7210d802c79c28b5181b26915dd41413813e696","unresolved":false,"context_lines":[{"line_number":344,"context_line":"- name: \"Configure remote logging\""},{"line_number":345,"context_line":"  template: src\u003d10-rsyslog-remote.conf.j2 dest\u003d/etc/rsyslog.d/10-rsyslog-remote.conf"},{"line_number":346,"context_line":"  when: remote_syslog_server is defined and remote_syslog_server !\u003d \"\""},{"line_number":347,"context_line":"- name: \"Make directory for collected logs\""},{"line_number":348,"context_line":"  file:"},{"line_number":349,"context_line":"    name: \"/var/log/remote\""},{"line_number":350,"context_line":"    state: directory"},{"line_number":351,"context_line":"    owner: \"syslog\""},{"line_number":352,"context_line":"    group: \"syslog\""},{"line_number":353,"context_line":"    mode: 0755"},{"line_number":354,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":355,"context_line":"- name: \"Configure collecting logs from baremetal nodes\""},{"line_number":356,"context_line":"  template: src\u003d15-collect-remote.conf.j2 dest\u003d/etc/rsyslog.d/15-collect-remote.conf"},{"line_number":357,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_b3c84576","line":354,"range":{"start_line":347,"start_character":0,"end_line":354,"end_character":45},"updated":"2016-12-30 13:54:51.000000000","message":"So potentially this folder would be made on each node that is a sender or receiver.  That seems a little confusing for an operator?\n\nMaybe /var/log/ironic-logs ?  Or just make it a variable and user-definable?","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"},{"author":{"_account_id":8259,"name":"Andrey Shestakov","email":"ashestakov@mirantis.com","username":"ashestakov"},"change_message_id":"a6b7abe8f0c0d66b9e447b7f4b51fad8df48c963","unresolved":false,"context_lines":[{"line_number":344,"context_line":"- name: \"Configure remote logging\""},{"line_number":345,"context_line":"  template: src\u003d10-rsyslog-remote.conf.j2 dest\u003d/etc/rsyslog.d/10-rsyslog-remote.conf"},{"line_number":346,"context_line":"  when: remote_syslog_server is defined and remote_syslog_server !\u003d \"\""},{"line_number":347,"context_line":"- name: \"Make directory for collected logs\""},{"line_number":348,"context_line":"  file:"},{"line_number":349,"context_line":"    name: \"/var/log/remote\""},{"line_number":350,"context_line":"    state: directory"},{"line_number":351,"context_line":"    owner: \"syslog\""},{"line_number":352,"context_line":"    group: \"syslog\""},{"line_number":353,"context_line":"    mode: 0755"},{"line_number":354,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":355,"context_line":"- name: \"Configure collecting logs from baremetal nodes\""},{"line_number":356,"context_line":"  template: src\u003d15-collect-remote.conf.j2 dest\u003d/etc/rsyslog.d/15-collect-remote.conf"},{"line_number":357,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_2a8e7a78","line":354,"range":{"start_line":347,"start_character":0,"end_line":354,"end_character":45},"in_reply_to":"ba5201f7_b3c84576","updated":"2017-01-03 10:10:17.000000000","message":"This is directory on ironic node, where local syslog server will save logs from baremetal nodes (on baremetal nodes, logs collection and sending should be configured additionaly). So logs from baremetal node will save to /var/log/remote/%fromhost-ip%/syslog.log.\nAlso baremetal nodes can send logs not to ironic node, but to some another remote log server, in this case no sense to enable local syslog receiver on ironic node.","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"2072a45d85900fc2b9c695c1e8af47c57bb6e6d0","unresolved":false,"context_lines":[{"line_number":352,"context_line":"    group: \"syslog\""},{"line_number":353,"context_line":"    mode: 0755"},{"line_number":354,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":355,"context_line":"- name: \"Configure collecting logs from baremetal nodes\""},{"line_number":356,"context_line":"  template: src\u003d15-collect-remote.conf.j2 dest\u003d/etc/rsyslog.d/15-collect-remote.conf"},{"line_number":357,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":358,"context_line":"- name: \"Configure logrotate for remote logs\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_13d83153","line":355,"range":{"start_line":355,"start_character":40,"end_line":355,"end_character":55},"updated":"2016-12-30 13:52:55.000000000","message":"Baremetal nodes as in inventory?  Or api/conductor nodes?","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"},{"author":{"_account_id":8259,"name":"Andrey Shestakov","email":"ashestakov@mirantis.com","username":"ashestakov"},"change_message_id":"a6b7abe8f0c0d66b9e447b7f4b51fad8df48c963","unresolved":false,"context_lines":[{"line_number":352,"context_line":"    group: \"syslog\""},{"line_number":353,"context_line":"    mode: 0755"},{"line_number":354,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":355,"context_line":"- name: \"Configure collecting logs from baremetal nodes\""},{"line_number":356,"context_line":"  template: src\u003d15-collect-remote.conf.j2 dest\u003d/etc/rsyslog.d/15-collect-remote.conf"},{"line_number":357,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":358,"context_line":"- name: \"Configure logrotate for remote logs\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_8a0f66e0","line":355,"range":{"start_line":355,"start_character":40,"end_line":355,"end_character":55},"in_reply_to":"ba5201f7_13d83153","updated":"2017-01-03 10:10:17.000000000","message":"baremetal nodes as in inventory. Logs from api/conductor collecting by local syslog and storing in /var/log/syslog file. Also by local syslog on ironic node, all logs optionally sending to remote syslog server.","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"2072a45d85900fc2b9c695c1e8af47c57bb6e6d0","unresolved":false,"context_lines":[{"line_number":354,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":355,"context_line":"- name: \"Configure collecting logs from baremetal nodes\""},{"line_number":356,"context_line":"  template: src\u003d15-collect-remote.conf.j2 dest\u003d/etc/rsyslog.d/15-collect-remote.conf"},{"line_number":357,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":358,"context_line":"- name: \"Configure logrotate for remote logs\""},{"line_number":359,"context_line":"  template: src\u003dlogrotate-remote.j2 dest\u003d/etc/logrotate.d/remote"},{"line_number":360,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_33dd3543","line":357,"range":{"start_line":357,"start_character":8,"end_line":357,"end_character":30},"updated":"2016-12-30 13:52:55.000000000","message":"Seems like you might want to predicate the conditional with remote_syslog_server is defined as well.","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"},{"author":{"_account_id":8259,"name":"Andrey Shestakov","email":"ashestakov@mirantis.com","username":"ashestakov"},"change_message_id":"742d09d303ef6ab632437a9ce264a2d5f75720e6","unresolved":false,"context_lines":[{"line_number":354,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":355,"context_line":"- name: \"Configure collecting logs from baremetal nodes\""},{"line_number":356,"context_line":"  template: src\u003d15-collect-remote.conf.j2 dest\u003d/etc/rsyslog.d/15-collect-remote.conf"},{"line_number":357,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"},{"line_number":358,"context_line":"- name: \"Configure logrotate for remote logs\""},{"line_number":359,"context_line":"  template: src\u003dlogrotate-remote.j2 dest\u003d/etc/logrotate.d/remote"},{"line_number":360,"context_line":"  when: collect_baremetal_logs | bool \u003d\u003d true"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ba5201f7_e45abb4f","line":357,"range":{"start_line":357,"start_character":8,"end_line":357,"end_character":30},"in_reply_to":"ba5201f7_33dd3543","updated":"2017-01-04 09:42:58.000000000","message":"it is defined by default with value \u0027false\u0027","commit_id":"5a6cb17908249d6a3fcf7cf9861ba527c46f9d00"}]}
