)]}'
{"ansible/group_vars/all.yml":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"9b2d734b8900132b962b68084454d4d90e0a8a10","unresolved":false,"context_lines":[{"line_number":730,"context_line":"##################"},{"line_number":731,"context_line":"# Ironic options"},{"line_number":732,"context_line":"##################"},{"line_number":733,"context_line":"ironic_enable_rolling_upgrade: \"no\""},{"line_number":734,"context_line":""},{"line_number":735,"context_line":"###################"},{"line_number":736,"context_line":"# Ceph options"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_75eb3f11","line":733,"updated":"2018-07-06 16:02:09.000000000","message":"This is the standard upgrade procedure for ironic, should we not use it by default?\n\nAlso, normally per-service options go in defaults/main.yml.","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"07b8f9a50159337dffa8fae3c0bb65f843c9ca4c","unresolved":false,"context_lines":[{"line_number":730,"context_line":"##################"},{"line_number":731,"context_line":"# Ironic options"},{"line_number":732,"context_line":"##################"},{"line_number":733,"context_line":"ironic_enable_rolling_upgrade: \"no\""},{"line_number":734,"context_line":""},{"line_number":735,"context_line":"###################"},{"line_number":736,"context_line":"# Ceph options"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_db3a5ec2","line":733,"in_reply_to":"5f7c97a3_75eb3f11","updated":"2018-07-09 03:57:17.000000000","message":"Thanks a lot, I changed it to \"yes\" by default and added to defaults/main.yml","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"}],"ansible/roles/ironic/handlers/main.yml":[{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"9b527f44106a9879ea9a01a9d07ad062a9353d3d","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  vars:"},{"line_number":4,"context_line":"    service_name: \"ironic-api\""},{"line_number":5,"context_line":"    service: \"{{ ironic_services[service_name] }}\""},{"line_number":6,"context_line":"    config_json: \"{{ ironic_config_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":7,"context_line":"    ironic_conf: \"{{ ironic_confs.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":8,"context_line":"    policy_json: \"{{ ironic_policy_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":9,"context_line":"    ironic_api_container: \"{{ check_ironic_containers.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":10,"context_line":"  become: true"},{"line_number":11,"context_line":"  kolla_docker:"},{"line_number":12,"context_line":"    action: \"recreate_or_restart_container\""},{"line_number":13,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":14,"context_line":"    name: \"{{ service.container_name }}\""},{"line_number":15,"context_line":"    image: \"{{ service.image }}\""},{"line_number":16,"context_line":"    volumes: \"{{ service.volumes|reject(\u0027equalto\u0027, \u0027\u0027)|list }}\""},{"line_number":17,"context_line":"  when:"},{"line_number":18,"context_line":"    - kolla_action !\u003d \"config\""},{"line_number":19,"context_line":"    - inventory_hostname in groups[service.group]"},{"line_number":20,"context_line":"    - service.enabled | bool"},{"line_number":21,"context_line":"    - config_json.changed | bool"},{"line_number":22,"context_line":"      or ironic_conf.changed | bool"},{"line_number":23,"context_line":"      or policy_json.changed | bool"},{"line_number":24,"context_line":"      or ironic_api_container.changed | bool"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Restart ironic-conductor container"},{"line_number":27,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_33a65bae","side":"PARENT","line":24,"range":{"start_line":6,"start_character":3,"end_line":24,"end_character":44},"updated":"2018-07-04 12:50:37.000000000","message":"do we need to updateh the position？","commit_id":"f1c6d54cef0ba376c1332d233b35303a4e8e82de"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"7ea773277100d6cf700cb829cf27ceebcdbb88ff","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  vars:"},{"line_number":4,"context_line":"    service_name: \"ironic-api\""},{"line_number":5,"context_line":"    service: \"{{ ironic_services[service_name] }}\""},{"line_number":6,"context_line":"    config_json: \"{{ ironic_config_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":7,"context_line":"    ironic_conf: \"{{ ironic_confs.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":8,"context_line":"    policy_json: \"{{ ironic_policy_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":9,"context_line":"    ironic_api_container: \"{{ check_ironic_containers.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":10,"context_line":"  become: true"},{"line_number":11,"context_line":"  kolla_docker:"},{"line_number":12,"context_line":"    action: \"recreate_or_restart_container\""},{"line_number":13,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":14,"context_line":"    name: \"{{ service.container_name }}\""},{"line_number":15,"context_line":"    image: \"{{ service.image }}\""},{"line_number":16,"context_line":"    volumes: \"{{ service.volumes|reject(\u0027equalto\u0027, \u0027\u0027)|list }}\""},{"line_number":17,"context_line":"  when:"},{"line_number":18,"context_line":"    - kolla_action !\u003d \"config\""},{"line_number":19,"context_line":"    - inventory_hostname in groups[service.group]"},{"line_number":20,"context_line":"    - service.enabled | bool"},{"line_number":21,"context_line":"    - config_json.changed | bool"},{"line_number":22,"context_line":"      or ironic_conf.changed | bool"},{"line_number":23,"context_line":"      or policy_json.changed | bool"},{"line_number":24,"context_line":"      or ironic_api_container.changed | bool"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Restart ironic-conductor container"},{"line_number":27,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_d99e25b6","side":"PARENT","line":24,"range":{"start_line":6,"start_character":3,"end_line":24,"end_character":44},"in_reply_to":"5f7c97a3_19fd7d07","updated":"2018-07-04 14:42:37.000000000","message":"Sure, sorry for being unhelpful :)\n\nFollowing the ironic rolling upgrade procedure [1], there should be 5 phases to the upgrade.\n\n1. Old api, old conductor\n2. Old api, new conductor (pinned)\n3. New api (pinned), new conductor (pinned)\n4. New api (pinned), new conductor\n5. New api, new conductor.\n\nIf we swap the order of the api and conductor restarts in handlers to make conductor restart first, then this approach works:\n\nConfig both, pinned\nFlush handlers\nConfig both, unpinned\nFlush handlers\n\n[1] https://docs.openstack.org/ironic/latest/admin/upgrade-guide.html#rolling-upgrades","commit_id":"f1c6d54cef0ba376c1332d233b35303a4e8e82de"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"94c729b0d6728fb8efb71b0b2893cbb82b7ea4d5","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  vars:"},{"line_number":4,"context_line":"    service_name: \"ironic-api\""},{"line_number":5,"context_line":"    service: \"{{ ironic_services[service_name] }}\""},{"line_number":6,"context_line":"    config_json: \"{{ ironic_config_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":7,"context_line":"    ironic_conf: \"{{ ironic_confs.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":8,"context_line":"    policy_json: \"{{ ironic_policy_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":9,"context_line":"    ironic_api_container: \"{{ check_ironic_containers.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":10,"context_line":"  become: true"},{"line_number":11,"context_line":"  kolla_docker:"},{"line_number":12,"context_line":"    action: \"recreate_or_restart_container\""},{"line_number":13,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":14,"context_line":"    name: \"{{ service.container_name }}\""},{"line_number":15,"context_line":"    image: \"{{ service.image }}\""},{"line_number":16,"context_line":"    volumes: \"{{ service.volumes|reject(\u0027equalto\u0027, \u0027\u0027)|list }}\""},{"line_number":17,"context_line":"  when:"},{"line_number":18,"context_line":"    - kolla_action !\u003d \"config\""},{"line_number":19,"context_line":"    - inventory_hostname in groups[service.group]"},{"line_number":20,"context_line":"    - service.enabled | bool"},{"line_number":21,"context_line":"    - config_json.changed | bool"},{"line_number":22,"context_line":"      or ironic_conf.changed | bool"},{"line_number":23,"context_line":"      or policy_json.changed | bool"},{"line_number":24,"context_line":"      or ironic_api_container.changed | bool"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Restart ironic-conductor container"},{"line_number":27,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_b6f338e7","side":"PARENT","line":24,"range":{"start_line":6,"start_character":3,"end_line":24,"end_character":44},"in_reply_to":"5f7c97a3_33a65bae","updated":"2018-07-04 14:08:56.000000000","message":"Please read the previous comments.","commit_id":"f1c6d54cef0ba376c1332d233b35303a4e8e82de"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"7335e021225c2324f90435fe2b7bba34c522a40a","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  vars:"},{"line_number":4,"context_line":"    service_name: \"ironic-api\""},{"line_number":5,"context_line":"    service: \"{{ ironic_services[service_name] }}\""},{"line_number":6,"context_line":"    config_json: \"{{ ironic_config_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":7,"context_line":"    ironic_conf: \"{{ ironic_confs.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":8,"context_line":"    policy_json: \"{{ ironic_policy_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":9,"context_line":"    ironic_api_container: \"{{ check_ironic_containers.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":10,"context_line":"  become: true"},{"line_number":11,"context_line":"  kolla_docker:"},{"line_number":12,"context_line":"    action: \"recreate_or_restart_container\""},{"line_number":13,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":14,"context_line":"    name: \"{{ service.container_name }}\""},{"line_number":15,"context_line":"    image: \"{{ service.image }}\""},{"line_number":16,"context_line":"    volumes: \"{{ service.volumes|reject(\u0027equalto\u0027, \u0027\u0027)|list }}\""},{"line_number":17,"context_line":"  when:"},{"line_number":18,"context_line":"    - kolla_action !\u003d \"config\""},{"line_number":19,"context_line":"    - inventory_hostname in groups[service.group]"},{"line_number":20,"context_line":"    - service.enabled | bool"},{"line_number":21,"context_line":"    - config_json.changed | bool"},{"line_number":22,"context_line":"      or ironic_conf.changed | bool"},{"line_number":23,"context_line":"      or policy_json.changed | bool"},{"line_number":24,"context_line":"      or ironic_api_container.changed | bool"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Restart ironic-conductor container"},{"line_number":27,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_19fd7d07","side":"PARENT","line":24,"range":{"start_line":6,"start_character":3,"end_line":24,"end_character":44},"in_reply_to":"5f7c97a3_b6f338e7","updated":"2018-07-04 14:36:54.000000000","message":"I can\u0027t find it, could you please explain again for me? thanks","commit_id":"f1c6d54cef0ba376c1332d233b35303a4e8e82de"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"7332c4a07b2e2e1af2f12e726c769c202a9cb768","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  vars:"},{"line_number":4,"context_line":"    service_name: \"ironic-api\""},{"line_number":5,"context_line":"    service: \"{{ ironic_services[service_name] }}\""},{"line_number":6,"context_line":"    config_json: \"{{ ironic_config_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":7,"context_line":"    ironic_conf: \"{{ ironic_confs.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":8,"context_line":"    policy_json: \"{{ ironic_policy_jsons.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":9,"context_line":"    ironic_api_container: \"{{ check_ironic_containers.results|selectattr(\u0027item.key\u0027, \u0027equalto\u0027, service_name)|first }}\""},{"line_number":10,"context_line":"  become: true"},{"line_number":11,"context_line":"  kolla_docker:"},{"line_number":12,"context_line":"    action: \"recreate_or_restart_container\""},{"line_number":13,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":14,"context_line":"    name: \"{{ service.container_name }}\""},{"line_number":15,"context_line":"    image: \"{{ service.image }}\""},{"line_number":16,"context_line":"    volumes: \"{{ service.volumes|reject(\u0027equalto\u0027, \u0027\u0027)|list }}\""},{"line_number":17,"context_line":"  when:"},{"line_number":18,"context_line":"    - kolla_action !\u003d \"config\""},{"line_number":19,"context_line":"    - inventory_hostname in groups[service.group]"},{"line_number":20,"context_line":"    - service.enabled | bool"},{"line_number":21,"context_line":"    - config_json.changed | bool"},{"line_number":22,"context_line":"      or ironic_conf.changed | bool"},{"line_number":23,"context_line":"      or policy_json.changed | bool"},{"line_number":24,"context_line":"      or ironic_api_container.changed | bool"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Restart ironic-conductor container"},{"line_number":27,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_19ba5de0","side":"PARENT","line":24,"range":{"start_line":6,"start_character":3,"end_line":24,"end_character":44},"in_reply_to":"5f7c97a3_d99e25b6","updated":"2018-07-04 14:56:14.000000000","message":"got it, thanks","commit_id":"f1c6d54cef0ba376c1332d233b35303a4e8e82de"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"9b2d734b8900132b962b68084454d4d90e0a8a10","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    - config_json.changed | bool"},{"line_number":23,"context_line":"      or ironic_conf.changed | bool"},{"line_number":24,"context_line":"      or policy_json.changed | bool"},{"line_number":25,"context_line":"      or ironic_conductor_container.changed | bool"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"- name: Restart ironic-api container"},{"line_number":28,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_c58a8b63","line":25,"updated":"2018-07-06 16:02:09.000000000","message":"This will take all services down simultaneously, which is not really a rolling upgrade - there could be service downtime.\n\nDo we need something like https://review.openstack.org/#/c/482863 to support serial execution of these handlers?","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"07b8f9a50159337dffa8fae3c0bb65f843c9ca4c","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    - config_json.changed | bool"},{"line_number":23,"context_line":"      or ironic_conf.changed | bool"},{"line_number":24,"context_line":"      or policy_json.changed | bool"},{"line_number":25,"context_line":"      or ironic_conductor_container.changed | bool"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"- name: Restart ironic-api container"},{"line_number":28,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_7b5eaa13","line":25,"in_reply_to":"5f7c97a3_c58a8b63","updated":"2018-07-09 03:57:17.000000000","message":"Yes, and i thing i need more time to follow this patch set to support serial execution in the handler\u0027s task.","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"}],"ansible/roles/ironic/tasks/bootstrap_service.yml":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"2be8d67dc30c30111d6a0e7862c2578f2cde806d","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    action: \"start_container\""},{"line_number":14,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":15,"context_line":"    detach: False"},{"line_number":16,"context_line":"    environment: \"{{ upgrade_environment if ironic_enable_rolling_upgrade else bootstrap_environment }}\""},{"line_number":17,"context_line":"    image: \"{{ ironic_api.image }}\""},{"line_number":18,"context_line":"    labels:"},{"line_number":19,"context_line":"      BOOTSTRAP:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"5f7c97a3_21a6c055","line":16,"updated":"2018-07-09 08:20:04.000000000","message":"Needs a \u0027| bool\u0027","commit_id":"7c508b5fe66809b0ce33c89d7b00a8c5642c5e8a"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"d04dbe31fc4199e7e222979947fc66f33b67c8bb","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    action: \"start_container\""},{"line_number":14,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":15,"context_line":"    detach: False"},{"line_number":16,"context_line":"    environment: \"{{ upgrade_environment if ironic_enable_rolling_upgrade else bootstrap_environment }}\""},{"line_number":17,"context_line":"    image: \"{{ ironic_api.image }}\""},{"line_number":18,"context_line":"    labels:"},{"line_number":19,"context_line":"      BOOTSTRAP:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"5f7c97a3_84d6c252","line":16,"in_reply_to":"5f7c97a3_21a6c055","updated":"2018-07-09 08:36:21.000000000","message":"Done","commit_id":"7c508b5fe66809b0ce33c89d7b00a8c5642c5e8a"}],"ansible/roles/ironic/tasks/config.yml":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"6223aba2d083106541abdc9e3ee8e5a6ec34d6c9","unresolved":false,"context_lines":[{"line_number":61,"context_line":"    - item.key in [ \"ironic-api\", \"ironic-conductor\" ]"},{"line_number":62,"context_line":"    - inventory_hostname in groups[item.value.group]"},{"line_number":63,"context_line":"    - item.value.enabled | bool"},{"line_number":64,"context_line":"    - (config_service is defined) and (item.key \u003d\u003d config_service)"},{"line_number":65,"context_line":"  with_dict: \"{{ ironic_services }}\""},{"line_number":66,"context_line":"  notify:"},{"line_number":67,"context_line":"    - \"Restart {{ item.key }} container\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5f7c97a3_3c8d9530","line":64,"updated":"2018-06-25 13:16:25.000000000","message":"The logic is wrong here. Should be:\n\nconfig_service is not defined or item.key \u003d\u003d config_service","commit_id":"518498a365a9059990ee04971e8fdee9fb6a58a9"},{"author":{"_account_id":22582,"name":"Duong Ha-Quang","email":"quangduongha@gmail.com","username":"duonghq"},"change_message_id":"3dc019fd5ede71f54dfc0a1e76544a67cda9ec65","unresolved":false,"context_lines":[{"line_number":61,"context_line":"    - item.key in [ \"ironic-api\", \"ironic-conductor\" ]"},{"line_number":62,"context_line":"    - inventory_hostname in groups[item.value.group]"},{"line_number":63,"context_line":"    - item.value.enabled | bool"},{"line_number":64,"context_line":"    - (config_service is defined) and (item.key \u003d\u003d config_service)"},{"line_number":65,"context_line":"  with_dict: \"{{ ironic_services }}\""},{"line_number":66,"context_line":"  notify:"},{"line_number":67,"context_line":"    - \"Restart {{ item.key }} container\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5f7c97a3_a704c515","line":64,"in_reply_to":"5f7c97a3_3c8d9530","updated":"2018-06-29 02:50:48.000000000","message":"The ``config_service`` is a variable passed from outer YAML file, and denotes which service will be configured. The logic should check if the var is defined and if the current service matches the desired one.","commit_id":"518498a365a9059990ee04971e8fdee9fb6a58a9"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"0dda07e387c82b26870c28dbac6bb7dd91724bfe","unresolved":false,"context_lines":[{"line_number":61,"context_line":"    - item.key in [ \"ironic-api\", \"ironic-conductor\" ]"},{"line_number":62,"context_line":"    - inventory_hostname in groups[item.value.group]"},{"line_number":63,"context_line":"    - item.value.enabled | bool"},{"line_number":64,"context_line":"    - (config_service is defined) and (item.key \u003d\u003d config_service)"},{"line_number":65,"context_line":"  with_dict: \"{{ ironic_services }}\""},{"line_number":66,"context_line":"  notify:"},{"line_number":67,"context_line":"    - \"Restart {{ item.key }} container\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5f7c97a3_43c3523a","line":64,"in_reply_to":"5f7c97a3_a704c515","updated":"2018-06-29 18:20:06.000000000","message":"We need this task to run when config_service is not defined (the default case).","commit_id":"518498a365a9059990ee04971e8fdee9fb6a58a9"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"6223aba2d083106541abdc9e3ee8e5a6ec34d6c9","unresolved":false,"context_lines":[{"line_number":83,"context_line":"  when:"},{"line_number":84,"context_line":"    - inventory_hostname in groups[service.group]"},{"line_number":85,"context_line":"    - service.enabled | bool"},{"line_number":86,"context_line":"    - (config_service is defined) and (config_service \u003d\u003d \"ironic_inspector\")"},{"line_number":87,"context_line":"  notify:"},{"line_number":88,"context_line":"    - Restart ironic-inspector container"},{"line_number":89,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5f7c97a3_dc7fc114","line":86,"updated":"2018-06-25 13:16:25.000000000","message":"As above. Also, should be ironic-inspector. Also, we don\u0027t need to do a rolling upgrade for inspector so this isn\u0027t required at all.","commit_id":"518498a365a9059990ee04971e8fdee9fb6a58a9"}],"ansible/roles/ironic/tasks/rolling_upgrade.yml":[{"author":{"_account_id":28614,"name":"jacky06","email":"zhang.min@99cloud.net","username":"jacky06"},"change_message_id":"30ae10711a899c82d14ed7a0dc76b130a1081b0b","unresolved":false,"context_lines":[{"line_number":6,"context_line":"  vars:"},{"line_number":7,"context_line":"    pin_release_version: \"{{ openstack_previous_release_name }}\""},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- include: pull.yml"},{"line_number":10,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0] or"},{"line_number":11,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"- name: Running Ironic bootstrap container"},{"line_number":14,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"5f7c97a3_e121db50","line":11,"range":{"start_line":9,"start_character":0,"end_line":11,"end_character":59},"updated":"2018-07-05 08:30:28.000000000","message":"this task is unnecessary  since it pull in line 2","commit_id":"0605d7cfbcc824460874cccc9a5cb5b082e19eb9"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"b56775365ba3cdd617c061a1a0e99bd312f3e187","unresolved":false,"context_lines":[{"line_number":6,"context_line":"  vars:"},{"line_number":7,"context_line":"    pin_release_version: \"{{ openstack_previous_release_name }}\""},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"- include: pull.yml"},{"line_number":10,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0] or"},{"line_number":11,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"- name: Running Ironic bootstrap container"},{"line_number":14,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"5f7c97a3_01989766","line":11,"range":{"start_line":9,"start_character":0,"end_line":11,"end_character":59},"in_reply_to":"5f7c97a3_e121db50","updated":"2018-07-05 08:42:01.000000000","message":"Done","commit_id":"0605d7cfbcc824460874cccc9a5cb5b082e19eb9"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"9b2d734b8900132b962b68084454d4d90e0a8a10","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":37,"context_line":"    detach: False"},{"line_number":38,"context_line":"    environment:"},{"line_number":39,"context_line":"      KOLLA_UPGRADE:"},{"line_number":40,"context_line":"      KOLLA_CONFIG_STRATEGY: \"{{ config_strategy }}\""},{"line_number":41,"context_line":"    image: \"{{ ironic_inspector.image }}\""},{"line_number":42,"context_line":"    labels:"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_8c55a5fb","line":39,"updated":"2018-07-06 16:02:09.000000000","message":"Ironic inspector is still using KOLLA_BOOTSTRAP, right?","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"07b8f9a50159337dffa8fae3c0bb65f843c9ca4c","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":37,"context_line":"    detach: False"},{"line_number":38,"context_line":"    environment:"},{"line_number":39,"context_line":"      KOLLA_UPGRADE:"},{"line_number":40,"context_line":"      KOLLA_CONFIG_STRATEGY: \"{{ config_strategy }}\""},{"line_number":41,"context_line":"    image: \"{{ ironic_inspector.image }}\""},{"line_number":42,"context_line":"    labels:"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_7b71ca0c","line":39,"in_reply_to":"5f7c97a3_8c55a5fb","updated":"2018-07-09 03:57:17.000000000","message":"Sorry, my mistake, it must KOLLA_BOOTSTRAP.","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"a4bc7fc37c35ede3c3081b0cf4c03e93b373f30f","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    volumes: \"{{ ironic_inspector.volumes|reject(\u0027equalto\u0027, \u0027\u0027)|list }}\""},{"line_number":47,"context_line":"  run_once: True"},{"line_number":48,"context_line":"  delegate_to: \"{{ groups[ironic_inspector.group][0] }}\""},{"line_number":49,"context_line":"  when: inventory_hostname in groups[ironic_inspector.group]"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"# Restart ironic services with pinned release version"},{"line_number":52,"context_line":"- name: Flush handlers"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_559883ca","line":49,"updated":"2018-07-05 16:37:14.000000000","message":"I still don\u0027t understand, why not include bootstrap_service.yml?","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"07b8f9a50159337dffa8fae3c0bb65f843c9ca4c","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    volumes: \"{{ ironic_inspector.volumes|reject(\u0027equalto\u0027, \u0027\u0027)|list }}\""},{"line_number":47,"context_line":"  run_once: True"},{"line_number":48,"context_line":"  delegate_to: \"{{ groups[ironic_inspector.group][0] }}\""},{"line_number":49,"context_line":"  when: inventory_hostname in groups[ironic_inspector.group]"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"# Restart ironic services with pinned release version"},{"line_number":52,"context_line":"- name: Flush handlers"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_fba5dab4","line":49,"in_reply_to":"5f7c97a3_11b69226","updated":"2018-07-09 03:57:17.000000000","message":"Thank for your best ideas, I think i will use the second way because that make the bootstrap_service codes to clear.","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"ddb8fc56a77d883e32a129f8d4e7a31e9b9978c9","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    volumes: \"{{ ironic_inspector.volumes|reject(\u0027equalto\u0027, \u0027\u0027)|list }}\""},{"line_number":47,"context_line":"  run_once: True"},{"line_number":48,"context_line":"  delegate_to: \"{{ groups[ironic_inspector.group][0] }}\""},{"line_number":49,"context_line":"  when: inventory_hostname in groups[ironic_inspector.group]"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"# Restart ironic services with pinned release version"},{"line_number":52,"context_line":"- name: Flush handlers"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_da3917a3","line":49,"in_reply_to":"5f7c97a3_559883ca","updated":"2018-07-06 01:07:50.000000000","message":"Because i just update in the depend_on patch-set at https://review.openstack.org/#/c/575594/\nThe bootstrap_service.yml pass the variable KOLLA_BOOTSTRAP in environment, that implement \n    ironic-dbsync upgrade\n    ironic-dbsync online_data_migration\nBut in rolling upgrade, we need pass the variable KOLLA_UPGRADE in environment to only run\n    ironic-dbsync upgrade","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"9b2d734b8900132b962b68084454d4d90e0a8a10","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    volumes: \"{{ ironic_inspector.volumes|reject(\u0027equalto\u0027, \u0027\u0027)|list }}\""},{"line_number":47,"context_line":"  run_once: True"},{"line_number":48,"context_line":"  delegate_to: \"{{ groups[ironic_inspector.group][0] }}\""},{"line_number":49,"context_line":"  when: inventory_hostname in groups[ironic_inspector.group]"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"# Restart ironic services with pinned release version"},{"line_number":52,"context_line":"- name: Flush handlers"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_11b69226","line":49,"in_reply_to":"5f7c97a3_da3917a3","updated":"2018-07-06 16:02:09.000000000","message":"I see, thanks for explaining. I think we should still keep the db syncs in bootstrap_service.yml, then they can be used during deploy as well. There are two ways we could make it conditional:\n\n- old bootstrap\n  when: not rolling upgrade\n\n- new bootstrap\n  when: rolling upgrade\n\nOR\n\n- bootstrap\n  vars:\n    old_environment:\n    new_environment:\n  kolla_docker:\n    environment: \"{{ new_environment if rolling upgrade else old_environment }}\"","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"}],"ansible/roles/ironic/tasks/upgrade.yml":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"6223aba2d083106541abdc9e3ee8e5a6ec34d6c9","unresolved":false,"context_lines":[{"line_number":4,"context_line":"        (inventory_hostname in groups[\u0027ironic-api\u0027] or"},{"line_number":5,"context_line":"        inventory_hostname in groups[\u0027ironic-inspector\u0027])"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"# Pin release version"},{"line_number":8,"context_line":"- include: config.yml"},{"line_number":9,"context_line":"  vars:"},{"line_number":10,"context_line":"    pin_release_version: \"queens\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5f7c97a3_fc339d5f","line":7,"updated":"2018-06-25 13:16:25.000000000","message":"There should be 5 phases to the upgrade.\n\n1. Old api, old conductor\n2. Old api, new conductor (pinned)\n3. New api (pinned), new conductor (pinned)\n4. New api (pinned), new conductor\n5. New api, new conductor.\n\nHow about swapping the order of the api and conductor restarts in handlers to make conductor restart first? Then you could just do.\n\n* Config both, pinned\n* Flush handlers\n* Config both, unpinned\n* Flush handlers\n\nDoes that make sense?","commit_id":"518498a365a9059990ee04971e8fdee9fb6a58a9"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"6223aba2d083106541abdc9e3ee8e5a6ec34d6c9","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    image: \"{{ ironic_conductor.image }}\""},{"line_number":22,"context_line":"  when:"},{"line_number":23,"context_line":"    - inventory_hostname in groups[ironic_conductor.group]"},{"line_number":24,"context_line":"    - ironic_conductor.enabled | bool"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Flush handlers"},{"line_number":27,"context_line":"  meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5f7c97a3_dc302158","line":24,"updated":"2018-06-25 13:16:25.000000000","message":"Why are we pulling images here? Also, we\u0027re only pulling ironic conductor and api images, what about the rest?","commit_id":"518498a365a9059990ee04971e8fdee9fb6a58a9"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"aa37cdd476e5f19fecfb3cac8d30c47470d56413","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- include: pull.yml"},{"line_number":8,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"- name: Running Ironic bootstrap container"},{"line_number":11,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_f5f22605","line":8,"updated":"2018-07-03 09:07:32.000000000","message":"I still don\u0027t understand why we\u0027re pulling images here. Wasn\u0027t it always assumed that you have to pull images before running the upgrade?","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"f6e0387a4f6867c006b17f036b2fa1a704632b4b","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- include: pull.yml"},{"line_number":8,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"- name: Running Ironic bootstrap container"},{"line_number":11,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_87ca8d6b","line":8,"in_reply_to":"5f7c97a3_543c2a2f","updated":"2018-07-04 09:14:04.000000000","message":"But i see in there docs that work for legacy upgrade, with rolling upgrade, we should pulling images in each services.","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"e6a6224d60d3afcdefc38fcecc1b591e980d4bd5","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- include: pull.yml"},{"line_number":8,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"- name: Running Ironic bootstrap container"},{"line_number":11,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_543c2a2f","line":8,"in_reply_to":"5f7c97a3_c7b5f3ee","updated":"2018-07-04 03:05:25.000000000","message":"Yes, I understood. Thanks a lot.","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"f70f82169f776a40872fcdfffc4e9e34ab1774e6","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- include: pull.yml"},{"line_number":8,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"- name: Running Ironic bootstrap container"},{"line_number":11,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_c7b5f3ee","line":8,"in_reply_to":"5f7c97a3_f5b78684","updated":"2018-07-03 17:45:16.000000000","message":"But what I\u0027m saying is that previously, the upgrade command assumed that images had already been pulled - it does not do a pull. See the kolla upgrade guide: https://docs.openstack.org/kolla-ansible/latest/user/operating-kolla.html#preparation.\n\nIn that case we should not need to pull here either - the new images should already be present.","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"3f10c246ca271d4634c016e195519356ff1bddcf","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- include: pull.yml"},{"line_number":8,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"- name: Running Ironic bootstrap container"},{"line_number":11,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_f5b78684","line":8,"in_reply_to":"5f7c97a3_f5f22605","updated":"2018-07-03 09:39:24.000000000","message":"Yes, but i want to pull ironic-api image at one node in load-balancer first to run script upgrade db schema","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"aa37cdd476e5f19fecfb3cac8d30c47470d56413","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    volumes: \"{{ ironic_api.volumes }}\""},{"line_number":26,"context_line":"  run_once: True"},{"line_number":27,"context_line":"  delegate_to: \"{{ groups[ironic_api.group][0] }}\""},{"line_number":28,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"- include: pull.yml"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_3505fec1","line":28,"updated":"2018-07-03 09:07:32.000000000","message":"Also need to do ironic inspector bootstrap. Why not include bootstrap.yml instead of this task?","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"3f10c246ca271d4634c016e195519356ff1bddcf","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    volumes: \"{{ ironic_api.volumes }}\""},{"line_number":26,"context_line":"  run_once: True"},{"line_number":27,"context_line":"  delegate_to: \"{{ groups[ironic_api.group][0] }}\""},{"line_number":28,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"- include: pull.yml"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_557d1ab0","line":28,"in_reply_to":"5f7c97a3_3505fec1","updated":"2018-07-03 09:39:24.000000000","message":"Thanks, I miss it","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"aa37cdd476e5f19fecfb3cac8d30c47470d56413","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    - config_json.changed | bool"},{"line_number":53,"context_line":"      or ironic_conf.changed | bool"},{"line_number":54,"context_line":"      or policy_json.changed | bool"},{"line_number":55,"context_line":"      or ironic_conductor_container.changed | bool"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"- name: Flush handlers"},{"line_number":58,"context_line":"  meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_f540e608","line":55,"updated":"2018-07-03 09:07:32.000000000","message":"If you change the order of the handlers such that ironic-conductor starts before ironic-api, this task will not be necessary.","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"e6a6224d60d3afcdefc38fcecc1b591e980d4bd5","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    - config_json.changed | bool"},{"line_number":53,"context_line":"      or ironic_conf.changed | bool"},{"line_number":54,"context_line":"      or policy_json.changed | bool"},{"line_number":55,"context_line":"      or ironic_conductor_container.changed | bool"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"- name: Flush handlers"},{"line_number":58,"context_line":"  meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_343f2e23","line":55,"in_reply_to":"5f7c97a3_4796c34b","updated":"2018-07-04 03:05:25.000000000","message":"Done","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"3f10c246ca271d4634c016e195519356ff1bddcf","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    - config_json.changed | bool"},{"line_number":53,"context_line":"      or ironic_conf.changed | bool"},{"line_number":54,"context_line":"      or policy_json.changed | bool"},{"line_number":55,"context_line":"      or ironic_conductor_container.changed | bool"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"- name: Flush handlers"},{"line_number":58,"context_line":"  meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_f808db27","line":55,"in_reply_to":"5f7c97a3_f540e608","updated":"2018-07-03 09:39:24.000000000","message":"Because i see in the docs of restart ironic services, we need to restart the ironic-api first, so i didn\u0027t change the order in handlers\n\nhttps://docs.openstack.org/fuel-docs/latest/userdocs/fuel-user-guide/troubleshooting/restart-service.html","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"f70f82169f776a40872fcdfffc4e9e34ab1774e6","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    - config_json.changed | bool"},{"line_number":53,"context_line":"      or ironic_conf.changed | bool"},{"line_number":54,"context_line":"      or policy_json.changed | bool"},{"line_number":55,"context_line":"      or ironic_conductor_container.changed | bool"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"- name: Flush handlers"},{"line_number":58,"context_line":"  meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"5f7c97a3_4796c34b","line":55,"in_reply_to":"5f7c97a3_f808db27","updated":"2018-07-03 17:45:16.000000000","message":"That is the fuel user guide, I\u0027d prefer to follow the ironic user guide in this case, which says to restart ironic conductor before ironic API.","commit_id":"66380de58482d7bcebee182500912e1fdd9f30d5"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"f1d09447bf767a512181e5891daa332a4e88c609","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    volumes: \"{{ ironic_api.volumes }}\""},{"line_number":26,"context_line":"  run_once: True"},{"line_number":27,"context_line":"  delegate_to: \"{{ groups[ironic_api.group][0] }}\""},{"line_number":28,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"- include: pull.yml"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":5,"id":"5f7c97a3_c2c5d391","line":28,"updated":"2018-07-04 09:45:34.000000000","message":"Still need to bootstrap ironic-inspector. Why not include bootstrap_service.yml?","commit_id":"f71eae58396450ab48ec23c2413df5e60c45b37c"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"3a85dc835fc100990c1d7f456d2a1c58abd0cab6","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    volumes: \"{{ ironic_api.volumes }}\""},{"line_number":26,"context_line":"  run_once: True"},{"line_number":27,"context_line":"  delegate_to: \"{{ groups[ironic_api.group][0] }}\""},{"line_number":28,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"- include: pull.yml"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":5,"id":"5f7c97a3_5d41a635","line":28,"in_reply_to":"5f7c97a3_427a23bb","updated":"2018-07-04 10:20:31.000000000","message":"Done","commit_id":"f71eae58396450ab48ec23c2413df5e60c45b37c"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"f1a2ce71c79358cd89d31a7f3fbfd99b64861dee","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    volumes: \"{{ ironic_api.volumes }}\""},{"line_number":26,"context_line":"  run_once: True"},{"line_number":27,"context_line":"  delegate_to: \"{{ groups[ironic_api.group][0] }}\""},{"line_number":28,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"- include: pull.yml"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":5,"id":"5f7c97a3_427a23bb","line":28,"in_reply_to":"5f7c97a3_62187fcc","updated":"2018-07-04 10:11:43.000000000","message":"I don\u0027t think inspector has a rolling upgrade procedure.\n\nWe need to include the inspector DB sync in this patch set, otherwise there will be a regression. You can just include bootstrap_service.yml, and the behaviour will be the same as before (for inspector).","commit_id":"f71eae58396450ab48ec23c2413df5e60c45b37c"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"b8f5e1d230bb9ee4a66d5a59907b9e48d8a7d335","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    volumes: \"{{ ironic_api.volumes }}\""},{"line_number":26,"context_line":"  run_once: True"},{"line_number":27,"context_line":"  delegate_to: \"{{ groups[ironic_api.group][0] }}\""},{"line_number":28,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0]"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"- include: pull.yml"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":5,"id":"5f7c97a3_62187fcc","line":28,"in_reply_to":"5f7c97a3_c2c5d391","updated":"2018-07-04 10:04:31.000000000","message":"Oh yes, i saw in your previous comment, because i\u0027m not familiar with ironic-inspector, so i need read it\u0027s docs and then add it to my next patch set.","commit_id":"f71eae58396450ab48ec23c2413df5e60c45b37c"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"9b527f44106a9879ea9a01a9d07ad062a9353d3d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# Pin release version"},{"line_number":3,"context_line":"- include: config.yml"},{"line_number":4,"context_line":"  vars:"},{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_f311c3b0","line":3,"range":{"start_line":3,"start_character":2,"end_line":3,"end_character":21},"updated":"2018-07-04 12:50:37.000000000","message":"the pip_release_version is not exists in config.yml, so why run this tasks with the vars?","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"ba38be72a7c18af8aad195317308f52789bc5989","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# Pin release version"},{"line_number":3,"context_line":"- include: config.yml"},{"line_number":4,"context_line":"  vars:"},{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_9625dc0c","line":3,"range":{"start_line":3,"start_character":2,"end_line":3,"end_character":21},"in_reply_to":"5f7c97a3_76f920c3","updated":"2018-07-04 14:28:18.000000000","message":"I see, but I prefer to mave vars defined into default/mains.yml,","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"5e308d26f9b6961f764843eb9708fc950f097a9c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# Pin release version"},{"line_number":3,"context_line":"- include: config.yml"},{"line_number":4,"context_line":"  vars:"},{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_96af1c2a","line":3,"range":{"start_line":3,"start_character":2,"end_line":3,"end_character":21},"in_reply_to":"5f7c97a3_9625dc0c","updated":"2018-07-04 14:33:07.000000000","message":"It\u0027s not something we would typically want users to configure though - it\u0027s only used during the upgrade process. What we might want to be configurable is what value this gets set to during the upgrade process. For example:\n\ndefaults/main.yml:\n\n# Applied only during an upgrade.\nironic_upgrade_pin_release_version: \"queens\"\n\ntasks/upgrade.yml:\n\n- include: config.yml\n  vars:\n    pin_release_version: \"{{ ironic_upgrade_pin_release_version }}\"\n\nWDYT?","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"7332c4a07b2e2e1af2f12e726c769c202a9cb768","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# Pin release version"},{"line_number":3,"context_line":"- include: config.yml"},{"line_number":4,"context_line":"  vars:"},{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_b9e1e9fe","line":3,"range":{"start_line":3,"start_character":2,"end_line":3,"end_character":21},"in_reply_to":"5f7c97a3_96af1c2a","updated":"2018-07-04 14:56:14.000000000","message":"I see, thanks for explain.","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"94c729b0d6728fb8efb71b0b2893cbb82b7ea4d5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# Pin release version"},{"line_number":3,"context_line":"- include: config.yml"},{"line_number":4,"context_line":"  vars:"},{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_76f920c3","line":3,"range":{"start_line":3,"start_character":2,"end_line":3,"end_character":21},"in_reply_to":"5f7c97a3_f311c3b0","updated":"2018-07-04 14:08:56.000000000","message":"It is in the ironic.conf template.","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"9b527f44106a9879ea9a01a9d07ad062a9353d3d","unresolved":false,"context_lines":[{"line_number":2,"context_line":"# Pin release version"},{"line_number":3,"context_line":"- include: config.yml"},{"line_number":4,"context_line":"  vars:"},{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- include: pull.yml"},{"line_number":8,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0] or"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_33edfbb7","line":5,"range":{"start_line":5,"start_character":24,"end_line":5,"end_character":33},"updated":"2018-07-04 12:50:37.000000000","message":"please use vars which defined in main.yml if necessary, hard code is not a good idea for me","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"94c729b0d6728fb8efb71b0b2893cbb82b7ea4d5","unresolved":false,"context_lines":[{"line_number":2,"context_line":"# Pin release version"},{"line_number":3,"context_line":"- include: config.yml"},{"line_number":4,"context_line":"  vars:"},{"line_number":5,"context_line":"    pin_release_version: \"queens\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- include: pull.yml"},{"line_number":8,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0] or"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_f6269067","line":5,"range":{"start_line":5,"start_character":24,"end_line":5,"end_character":33},"in_reply_to":"5f7c97a3_33edfbb7","updated":"2018-07-04 14:08:56.000000000","message":"+1 - if we make this a variable, we could support deployment and upgrade of other releases.","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"9b527f44106a9879ea9a01a9d07ad062a9353d3d","unresolved":false,"context_lines":[{"line_number":9,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"- include: bootstrap_service.yml"},{"line_number":12,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0] or"},{"line_number":13,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- include: pull.yml"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_33de5bdb","line":13,"range":{"start_line":12,"start_character":0,"end_line":13,"end_character":59},"updated":"2018-07-04 12:50:37.000000000","message":"when conditon is unnecessary, it restrict in bootstrap,yml yet","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"94c729b0d6728fb8efb71b0b2893cbb82b7ea4d5","unresolved":false,"context_lines":[{"line_number":9,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"- include: bootstrap_service.yml"},{"line_number":12,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0] or"},{"line_number":13,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- include: pull.yml"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_961f1c08","line":13,"range":{"start_line":12,"start_character":0,"end_line":13,"end_character":59},"in_reply_to":"5f7c97a3_33de5bdb","updated":"2018-07-04 14:08:56.000000000","message":"+1","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"e4061f9eca9e40f0468b32c442a08b04bdd8ce1e","unresolved":false,"context_lines":[{"line_number":9,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"- include: bootstrap_service.yml"},{"line_number":12,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0] or"},{"line_number":13,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- include: pull.yml"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_7f700c0a","line":13,"range":{"start_line":12,"start_character":0,"end_line":13,"end_character":59},"in_reply_to":"5f7c97a3_961f1c08","updated":"2018-07-05 06:31:22.000000000","message":"Done","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"fb84d854101137034c2f78b8a864a6bfa13b6f97","unresolved":false,"context_lines":[{"line_number":12,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0] or"},{"line_number":13,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- include: pull.yml"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"- name: Flush handlers"},{"line_number":18,"context_line":"  meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_5db68627","line":15,"updated":"2018-07-04 10:29:10.000000000","message":"Should this pull go before the first config.yml, so that the proper image ID is compared with the running containers?","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"e4061f9eca9e40f0468b32c442a08b04bdd8ce1e","unresolved":false,"context_lines":[{"line_number":12,"context_line":"  when: inventory_hostname \u003d\u003d groups[\"ironic-api\"][0] or"},{"line_number":13,"context_line":"        inventory_hostname \u003d\u003d groups[\"ironic-inspector\"][0]"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- include: pull.yml"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"- name: Flush handlers"},{"line_number":18,"context_line":"  meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_bf6a2418","line":15,"in_reply_to":"5f7c97a3_5db68627","updated":"2018-07-05 06:31:22.000000000","message":"Thanks, This\u0027s good for logic, i going to move it before the first config.yml","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"9b527f44106a9879ea9a01a9d07ad062a9353d3d","unresolved":false,"context_lines":[{"line_number":20,"context_line":"# Unpin version"},{"line_number":21,"context_line":"- include: config.yml"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"- name: Flush handlers"},{"line_number":24,"context_line":"  meta: flush_handlers"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Running Ironic online data migration"},{"line_number":27,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_9383afa9","line":24,"range":{"start_line":23,"start_character":0,"end_line":24,"end_character":22},"updated":"2018-07-04 12:50:37.000000000","message":"why flush_handlers twice?","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"ba38be72a7c18af8aad195317308f52789bc5989","unresolved":false,"context_lines":[{"line_number":20,"context_line":"# Unpin version"},{"line_number":21,"context_line":"- include: config.yml"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"- name: Flush handlers"},{"line_number":24,"context_line":"  meta: flush_handlers"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Running Ironic online data migration"},{"line_number":27,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_f681b0c3","line":24,"range":{"start_line":23,"start_character":0,"end_line":24,"end_character":22},"in_reply_to":"5f7c97a3_761280ff","updated":"2018-07-04 14:28:18.000000000","message":"roger","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"94c729b0d6728fb8efb71b0b2893cbb82b7ea4d5","unresolved":false,"context_lines":[{"line_number":20,"context_line":"# Unpin version"},{"line_number":21,"context_line":"- include: config.yml"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"- name: Flush handlers"},{"line_number":24,"context_line":"  meta: flush_handlers"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Running Ironic online data migration"},{"line_number":27,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_761280ff","line":24,"range":{"start_line":23,"start_character":0,"end_line":24,"end_character":22},"in_reply_to":"5f7c97a3_9383afa9","updated":"2018-07-04 14:08:56.000000000","message":"The rolling upgrade procedure requires the containers to be restarted twice.","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"9b527f44106a9879ea9a01a9d07ad062a9353d3d","unresolved":false,"context_lines":[{"line_number":26,"context_line":"- name: Running Ironic online data migration"},{"line_number":27,"context_line":"  vars:"},{"line_number":28,"context_line":"    ironic_api: \"{{ ironic_services[\u0027ironic-api\u0027] }}\""},{"line_number":29,"context_line":"  kolla_docker:"},{"line_number":30,"context_line":"    action: \"start_container\""},{"line_number":31,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":32,"context_line":"    detach: False"},{"line_number":33,"context_line":"    environment:"},{"line_number":34,"context_line":"      KOLLA_OSM:"},{"line_number":35,"context_line":"      KOLLA_CONFIG_STRATEGY: \"{{ config_strategy }}\""},{"line_number":36,"context_line":"    image: \"{{ ironic_api.image }}\""},{"line_number":37,"context_line":"    labels:"},{"line_number":38,"context_line":"      BOOTSTRAP:"},{"line_number":39,"context_line":"    name: \"bootstrap_ironic\""},{"line_number":40,"context_line":"    restart_policy: \"never\""},{"line_number":41,"context_line":"    volumes: \"{{ ironic_api.volumes }}\""},{"line_number":42,"context_line":"  run_once: True"},{"line_number":43,"context_line":"  delegate_to: \"{{ groups[ironic_api.group][0] }}\""},{"line_number":44,"context_line":"  when: inventory_hostname in groups[ironic_api.group]"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_f3bb0372","line":44,"range":{"start_line":29,"start_character":2,"end_line":44,"end_character":54},"updated":"2018-07-04 12:50:37.000000000","message":"we online_data_migration, and after that do we need to restart the container?","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":22165,"name":"caoyuan","email":"cao.yingjunz@gmail.com","username":"caoyuan"},"change_message_id":"ba38be72a7c18af8aad195317308f52789bc5989","unresolved":false,"context_lines":[{"line_number":26,"context_line":"- name: Running Ironic online data migration"},{"line_number":27,"context_line":"  vars:"},{"line_number":28,"context_line":"    ironic_api: \"{{ ironic_services[\u0027ironic-api\u0027] }}\""},{"line_number":29,"context_line":"  kolla_docker:"},{"line_number":30,"context_line":"    action: \"start_container\""},{"line_number":31,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":32,"context_line":"    detach: False"},{"line_number":33,"context_line":"    environment:"},{"line_number":34,"context_line":"      KOLLA_OSM:"},{"line_number":35,"context_line":"      KOLLA_CONFIG_STRATEGY: \"{{ config_strategy }}\""},{"line_number":36,"context_line":"    image: \"{{ ironic_api.image }}\""},{"line_number":37,"context_line":"    labels:"},{"line_number":38,"context_line":"      BOOTSTRAP:"},{"line_number":39,"context_line":"    name: \"bootstrap_ironic\""},{"line_number":40,"context_line":"    restart_policy: \"never\""},{"line_number":41,"context_line":"    volumes: \"{{ ironic_api.volumes }}\""},{"line_number":42,"context_line":"  run_once: True"},{"line_number":43,"context_line":"  delegate_to: \"{{ groups[ironic_api.group][0] }}\""},{"line_number":44,"context_line":"  when: inventory_hostname in groups[ironic_api.group]"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_367c08ea","line":44,"range":{"start_line":29,"start_character":2,"end_line":44,"end_character":54},"in_reply_to":"5f7c97a3_96e4fc0f","updated":"2018-07-04 14:28:18.000000000","message":"roger, thanks","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"94c729b0d6728fb8efb71b0b2893cbb82b7ea4d5","unresolved":false,"context_lines":[{"line_number":26,"context_line":"- name: Running Ironic online data migration"},{"line_number":27,"context_line":"  vars:"},{"line_number":28,"context_line":"    ironic_api: \"{{ ironic_services[\u0027ironic-api\u0027] }}\""},{"line_number":29,"context_line":"  kolla_docker:"},{"line_number":30,"context_line":"    action: \"start_container\""},{"line_number":31,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":32,"context_line":"    detach: False"},{"line_number":33,"context_line":"    environment:"},{"line_number":34,"context_line":"      KOLLA_OSM:"},{"line_number":35,"context_line":"      KOLLA_CONFIG_STRATEGY: \"{{ config_strategy }}\""},{"line_number":36,"context_line":"    image: \"{{ ironic_api.image }}\""},{"line_number":37,"context_line":"    labels:"},{"line_number":38,"context_line":"      BOOTSTRAP:"},{"line_number":39,"context_line":"    name: \"bootstrap_ironic\""},{"line_number":40,"context_line":"    restart_policy: \"never\""},{"line_number":41,"context_line":"    volumes: \"{{ ironic_api.volumes }}\""},{"line_number":42,"context_line":"  run_once: True"},{"line_number":43,"context_line":"  delegate_to: \"{{ groups[ironic_api.group][0] }}\""},{"line_number":44,"context_line":"  when: inventory_hostname in groups[ironic_api.group]"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_96e4fc0f","line":44,"range":{"start_line":29,"start_character":2,"end_line":44,"end_character":54},"in_reply_to":"5f7c97a3_f3bb0372","updated":"2018-07-04 14:08:56.000000000","message":"No, this is done in a separate container while the other services are running.","commit_id":"89f8855ff4dda18e2c87b9f5d20c94fb45918761"}],"etc/kolla/globals.yml":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"9b2d734b8900132b962b68084454d4d90e0a8a10","unresolved":false,"context_lines":[{"line_number":401,"context_line":"# Configure ironic upgrade option, due to currently kolla support"},{"line_number":402,"context_line":"# two upgrade ways for ironic: legacy_upgrade and rolling_upgrade"},{"line_number":403,"context_line":"# The variable \"ironic_enable_rolling_upgrade: no\" is meaning legacy_upgrade"},{"line_number":404,"context_line":"# were enabled and opposite"},{"line_number":405,"context_line":"#ironic_enable_rolling_upgrade: \"no\""},{"line_number":406,"context_line":""},{"line_number":407,"context_line":"######################################"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_850253b9","line":404,"updated":"2018-07-06 16:02:09.000000000","message":"How about:\n\nEnable rolling upgrade of Ironic services. Setting this to false causes the legacy upgrade procedure to be used.","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"07b8f9a50159337dffa8fae3c0bb65f843c9ca4c","unresolved":false,"context_lines":[{"line_number":401,"context_line":"# Configure ironic upgrade option, due to currently kolla support"},{"line_number":402,"context_line":"# two upgrade ways for ironic: legacy_upgrade and rolling_upgrade"},{"line_number":403,"context_line":"# The variable \"ironic_enable_rolling_upgrade: no\" is meaning legacy_upgrade"},{"line_number":404,"context_line":"# were enabled and opposite"},{"line_number":405,"context_line":"#ironic_enable_rolling_upgrade: \"no\""},{"line_number":406,"context_line":""},{"line_number":407,"context_line":"######################################"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5f7c97a3_fb939a4c","line":404,"in_reply_to":"5f7c97a3_850253b9","updated":"2018-07-09 03:57:17.000000000","message":"Done, i changed it to \"yes\"","commit_id":"77bde0519c68d06f1464ab1128a46e2e3b2ca2ed"}],"releasenotes/notes/implement-ironic-rolling-upgrade-c45536fe4814212e.yaml":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"9b2d734b8900132b962b68084454d4d90e0a8a10","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Implement Ironic rolling upgrade logic"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_e5f8e7c1","line":4,"updated":"2018-07-06 16:02:09.000000000","message":"We should probably include whether rolling upgrade is used by default here.","commit_id":"ae8e99982c26e90bedf585629e17df4741f65cb7"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"07b8f9a50159337dffa8fae3c0bb65f843c9ca4c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Implement Ironic rolling upgrade logic"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_1bb0d6db","line":4,"in_reply_to":"5f7c97a3_e5f8e7c1","updated":"2018-07-09 03:57:17.000000000","message":"Thanks, i will include the enable ironic rolling upgrade logic by default.","commit_id":"ae8e99982c26e90bedf585629e17df4741f65cb7"}]}
