)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"2f39e445bb4c060f92b7cf99835aa65e29c1b6ce","unresolved":true,"context_lines":[{"line_number":7,"context_line":"Update cell0 database connection"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When kolla VIP address is changed the cell0 database connection is"},{"line_number":10,"context_line":"now updated the the new address."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-bug: #1915302"},{"line_number":13,"context_line":"Change-Id: I35be54efb5aaa230702d0cebaae04f1e64c3bca3"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"abd73733_3e2b1c02","line":10,"range":{"start_line":10,"start_character":12,"end_line":10,"end_character":19},"updated":"2024-03-05 16:31:05.000000000","message":"to the","commit_id":"0340ff8a5365a8e1aed0601f62c145796c23a28b"},{"author":{"_account_id":36702,"name":"Roman Krcek","display_name":"Roman Krček","email":"roman.krcek@tietoevry.com","username":"r-krcek"},"change_message_id":"53da4c9175323016321a74b4ce96477876212a23","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Update cell0 database connection"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When kolla VIP address is changed the cell0 database connection is"},{"line_number":10,"context_line":"now updated the the new address."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-bug: #1915302"},{"line_number":13,"context_line":"Change-Id: I35be54efb5aaa230702d0cebaae04f1e64c3bca3"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"50845a85_53f36026","line":10,"range":{"start_line":10,"start_character":12,"end_line":10,"end_character":19},"in_reply_to":"abd73733_3e2b1c02","updated":"2024-03-11 08:10:10.000000000","message":"Done","commit_id":"0340ff8a5365a8e1aed0601f62c145796c23a28b"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":36702,"name":"Roman Krcek","display_name":"Roman Krček","email":"roman.krcek@tietoevry.com","username":"r-krcek"},"change_message_id":"ce376bbca232382f9553619a8f7f3212b03f3983","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"8bb79652_bc63b002","updated":"2024-03-04 13:49:09.000000000","message":"Zuul","commit_id":"3a4bc4c988519369fb7f393d28fff75d06a810bc"},{"author":{"_account_id":35264,"name":"Alex Welsh","email":"alex@stackhpc.com","username":"alex-welsh"},"change_message_id":"e2fc7a67e169fc20b126c0d203ca2147cfe9a4c6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"16ca51d2_b46a8eb6","updated":"2024-03-05 09:38:45.000000000","message":"Thanks for looking into this. I was hoping to be able to resolve this in Nova by adding a --update flag to the cell0 init command (which could then be used here), but Nova don\u0027t seem very interested in it: https://review.opendev.org/c/openstack/nova/+/903140\n\nIf you do get this working, you can probably also remove this section from the docs: https://opendev.org/openstack/kolla-ansible/src/commit/add83518345a8621031feb3e14a35902f96672ce/doc/source/admin/password-rotation.rst?display\u003dsource#L168","commit_id":"0340ff8a5365a8e1aed0601f62c145796c23a28b"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"7295e41f3cf0a25e5dc7a718dca58145d9797cb7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"8a7fc2a6_d785a76f","updated":"2024-04-02 16:43:43.000000000","message":"+1 unless someone comes up with a usecase and/or solution to the potential race condition when changing VIPs on the fly with a static inventory file.\nI currently can\u0027t think of anything that would fix that, short of only using dynamic inventory for this, and even that could theoretically race (classic toctou problem).","commit_id":"64ca686f3649571154926a52c74e2406f2ac4a11"}],"ansible/roles/nova/tasks/map_cell0.yml":[{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"22ce59f58dc432c3713400d2c5f3f32c26cd959a","unresolved":true,"context_lines":[{"line_number":35,"context_line":"- name: Update cell0 mappings"},{"line_number":36,"context_line":"  vars:"},{"line_number":37,"context_line":"    nova_cell0_uuid: \"00000000-0000-0000-0000-000000000000\""},{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"e23e1a39_5d52c1aa","line":38,"range":{"start_line":38,"start_character":35,"end_line":38,"end_character":38},"updated":"2024-03-18 10:10:01.000000000","message":"why is this set statically to \"none:/\"?\n\nis this guaranteed to be none for this special cell0 cell? I haven\u0027t found any docs on this just yet.","commit_id":"e4a09ad225216f01e35adfbd4dc12321f719641e"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"c5666ae947a44ca697dc61c9959d06d9174a5372","unresolved":false,"context_lines":[{"line_number":35,"context_line":"- name: Update cell0 mappings"},{"line_number":36,"context_line":"  vars:"},{"line_number":37,"context_line":"    nova_cell0_uuid: \"00000000-0000-0000-0000-000000000000\""},{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"02363ee9_07f47068","line":38,"range":{"start_line":38,"start_character":35,"end_line":38,"end_character":38},"in_reply_to":"7ddff821_b287e303","updated":"2024-03-20 13:38:44.000000000","message":"Done","commit_id":"e4a09ad225216f01e35adfbd4dc12321f719641e"},{"author":{"_account_id":36702,"name":"Roman Krcek","display_name":"Roman Krček","email":"roman.krcek@tietoevry.com","username":"r-krcek"},"change_message_id":"c10620d46674d06b1818af16f613f37fa0a7cd2b","unresolved":true,"context_lines":[{"line_number":35,"context_line":"- name: Update cell0 mappings"},{"line_number":36,"context_line":"  vars:"},{"line_number":37,"context_line":"    nova_cell0_uuid: \"00000000-0000-0000-0000-000000000000\""},{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"7ddff821_b287e303","line":38,"range":{"start_line":38,"start_character":35,"end_line":38,"end_character":38},"in_reply_to":"e23e1a39_5d52c1aa","updated":"2024-03-18 15:19:04.000000000","message":"When creating the cell0 connection, only the database connection url is specified and this  transport url is filled out \"automatically\". However, when you want to update the connection, you have to specify both transport url and database url, otherwise the nova-manage will fill this out based on the configuration file.","commit_id":"e4a09ad225216f01e35adfbd4dc12321f719641e"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"c5666ae947a44ca697dc61c9959d06d9174a5372","unresolved":true,"context_lines":[{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"},{"line_number":42,"context_line":"  kolla_container:"},{"line_number":43,"context_line":"    action: \"start_container\""},{"line_number":44,"context_line":"    command: \u003e"},{"line_number":45,"context_line":"      bash -c \u0027sudo -E kolla_set_configs \u0026\u0026"},{"line_number":46,"context_line":"      nova-manage cell_v2 update_cell"},{"line_number":47,"context_line":"      --cell_uuid {{ nova_cell0_uuid }}"},{"line_number":48,"context_line":"      --database_connection {{ nova_cell0_connection }}"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"22665cd3_f81e3617","line":45,"range":{"start_line":41,"start_character":2,"end_line":45,"end_character":22},"updated":"2024-03-20 13:38:44.000000000","message":"is sudo necessary here if we already use `become`?","commit_id":"e4a09ad225216f01e35adfbd4dc12321f719641e"},{"author":{"_account_id":36702,"name":"Roman Krcek","display_name":"Roman Krček","email":"roman.krcek@tietoevry.com","username":"r-krcek"},"change_message_id":"61f99e9813601ad008c99036931880dfd603d05c","unresolved":true,"context_lines":[{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"},{"line_number":42,"context_line":"  kolla_container:"},{"line_number":43,"context_line":"    action: \"start_container\""},{"line_number":44,"context_line":"    command: \u003e"},{"line_number":45,"context_line":"      bash -c \u0027sudo -E kolla_set_configs \u0026\u0026"},{"line_number":46,"context_line":"      nova-manage cell_v2 update_cell"},{"line_number":47,"context_line":"      --cell_uuid {{ nova_cell0_uuid }}"},{"line_number":48,"context_line":"      --database_connection {{ nova_cell0_connection }}"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"de7bc62c_3e673b4c","line":45,"range":{"start_line":41,"start_character":2,"end_line":45,"end_character":22},"in_reply_to":"22665cd3_f81e3617","updated":"2024-03-22 10:57:25.000000000","message":"This was taken from other places in the codebase. Everytime kolla_set_configs is executed it is done with become and sudo. I did not investigate if it is really necessary.","commit_id":"e4a09ad225216f01e35adfbd4dc12321f719641e"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"01df9ce6dd01d8c01a108107d164a7b3521e1ab9","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"},{"line_number":42,"context_line":"  kolla_container:"},{"line_number":43,"context_line":"    action: \"start_container\""},{"line_number":44,"context_line":"    command: \u003e"},{"line_number":45,"context_line":"      bash -c \u0027sudo -E kolla_set_configs \u0026\u0026"},{"line_number":46,"context_line":"      nova-manage cell_v2 update_cell"},{"line_number":47,"context_line":"      --cell_uuid {{ nova_cell0_uuid }}"},{"line_number":48,"context_line":"      --database_connection {{ nova_cell0_connection }}"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"9c0af175_6e1f7f5a","line":45,"range":{"start_line":41,"start_character":2,"end_line":45,"end_character":22},"in_reply_to":"de7bc62c_3e673b4c","updated":"2024-03-25 09:41:24.000000000","message":"Acknowledged","commit_id":"e4a09ad225216f01e35adfbd4dc12321f719641e"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"2abbb54b2bd6200cd9e47a0b126b390ccea3623e","unresolved":true,"context_lines":[{"line_number":22,"context_line":"  run_once: True"},{"line_number":23,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- import_role:"},{"line_number":26,"context_line":"    role: nova-cell"},{"line_number":27,"context_line":"    tasks_from: get_cell_settings.yml"},{"line_number":28,"context_line":"  vars:"},{"line_number":29,"context_line":"    nova_cell_name: \"cell0\""},{"line_number":30,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":31,"context_line":"    nova_cell_get_settings_volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":32,"context_line":"  run_once: True"},{"line_number":33,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- name: Update cell0 mappings"},{"line_number":36,"context_line":"  vars:"},{"line_number":37,"context_line":"    nova_cell0_uuid: \"00000000-0000-0000-0000-000000000000\""},{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"},{"line_number":42,"context_line":"  kolla_container:"},{"line_number":43,"context_line":"    action: \"start_container\""},{"line_number":44,"context_line":"    command: \u003e"},{"line_number":45,"context_line":"      bash -c \u0027sudo -E kolla_set_configs \u0026\u0026"},{"line_number":46,"context_line":"      nova-manage cell_v2 update_cell"},{"line_number":47,"context_line":"      --cell_uuid {{ nova_cell0_uuid }}"},{"line_number":48,"context_line":"      --database_connection {{ nova_cell0_connection }}"},{"line_number":49,"context_line":"      --transport-url {{ nova_cell0_transport_url }}\u0027"},{"line_number":50,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":51,"context_line":"    detach: False"},{"line_number":52,"context_line":"    image: \"{{ nova_api.image }}\""},{"line_number":53,"context_line":"    labels:"},{"line_number":54,"context_line":"      BOOTSTRAP:"},{"line_number":55,"context_line":"    name: \"nova_api_map_cell0\""},{"line_number":56,"context_line":"    restart_policy: oneshot"},{"line_number":57,"context_line":"    volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":58,"context_line":"  register: nova_cell0_updated"},{"line_number":59,"context_line":"  changed_when:"},{"line_number":60,"context_line":"    - nova_cell0_updated is success"},{"line_number":61,"context_line":"  failed_when:"},{"line_number":62,"context_line":"    - nova_cell0_updated.rc !\u003d 0"},{"line_number":63,"context_line":"  when:"},{"line_number":64,"context_line":"    - nova_cell_settings | length \u003e 0"},{"line_number":65,"context_line":"    - nova_cell_settings.cell_database !\u003d nova_cell0_connection"},{"line_number":66,"context_line":"  run_once: True"},{"line_number":67,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"- include_tasks: bootstrap_service.yml"},{"line_number":70,"context_line":"  when: map_cell0.changed"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"f5d76fdb_29afba2b","line":67,"range":{"start_line":25,"start_character":0,"end_line":67,"end_character":48},"updated":"2024-03-27 17:59:50.000000000","message":"1. this can be changed to one block with one \u0027run_once\u0027 and one \u0027delegate_to\u0027\n\n2. about the main reason \u0027the VIP changed\u0027 and \u0027delegate_to: groups[nova_api.group][0]\u0027 which can be unreachable for Ansible\u0027s SSH (for example) when VIP moved from 1st controller to the other controller in group - this will fail and not solves the issue.","commit_id":"57c464d59cd2cb3e9c22a3979bf96c90ec9a2fcc"},{"author":{"_account_id":36702,"name":"Roman Krcek","display_name":"Roman Krček","email":"roman.krcek@tietoevry.com","username":"r-krcek"},"change_message_id":"9228c2eb785e1d29ebe0cb4e28de58ae5b78f80e","unresolved":true,"context_lines":[{"line_number":22,"context_line":"  run_once: True"},{"line_number":23,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- import_role:"},{"line_number":26,"context_line":"    role: nova-cell"},{"line_number":27,"context_line":"    tasks_from: get_cell_settings.yml"},{"line_number":28,"context_line":"  vars:"},{"line_number":29,"context_line":"    nova_cell_name: \"cell0\""},{"line_number":30,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":31,"context_line":"    nova_cell_get_settings_volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":32,"context_line":"  run_once: True"},{"line_number":33,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- name: Update cell0 mappings"},{"line_number":36,"context_line":"  vars:"},{"line_number":37,"context_line":"    nova_cell0_uuid: \"00000000-0000-0000-0000-000000000000\""},{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"},{"line_number":42,"context_line":"  kolla_container:"},{"line_number":43,"context_line":"    action: \"start_container\""},{"line_number":44,"context_line":"    command: \u003e"},{"line_number":45,"context_line":"      bash -c \u0027sudo -E kolla_set_configs \u0026\u0026"},{"line_number":46,"context_line":"      nova-manage cell_v2 update_cell"},{"line_number":47,"context_line":"      --cell_uuid {{ nova_cell0_uuid }}"},{"line_number":48,"context_line":"      --database_connection {{ nova_cell0_connection }}"},{"line_number":49,"context_line":"      --transport-url {{ nova_cell0_transport_url }}\u0027"},{"line_number":50,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":51,"context_line":"    detach: False"},{"line_number":52,"context_line":"    image: \"{{ nova_api.image }}\""},{"line_number":53,"context_line":"    labels:"},{"line_number":54,"context_line":"      BOOTSTRAP:"},{"line_number":55,"context_line":"    name: \"nova_api_map_cell0\""},{"line_number":56,"context_line":"    restart_policy: oneshot"},{"line_number":57,"context_line":"    volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":58,"context_line":"  register: nova_cell0_updated"},{"line_number":59,"context_line":"  changed_when:"},{"line_number":60,"context_line":"    - nova_cell0_updated is success"},{"line_number":61,"context_line":"  failed_when:"},{"line_number":62,"context_line":"    - nova_cell0_updated.rc !\u003d 0"},{"line_number":63,"context_line":"  when:"},{"line_number":64,"context_line":"    - nova_cell_settings | length \u003e 0"},{"line_number":65,"context_line":"    - nova_cell_settings.cell_database !\u003d nova_cell0_connection"},{"line_number":66,"context_line":"  run_once: True"},{"line_number":67,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"- include_tasks: bootstrap_service.yml"},{"line_number":70,"context_line":"  when: map_cell0.changed"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"473d50de_227e3274","line":67,"range":{"start_line":25,"start_character":0,"end_line":67,"end_character":48},"in_reply_to":"307c6977_aece65e1","updated":"2024-03-29 09:30:58.000000000","message":"1. Done\n2. From my understanding of the documentation, the VIP should not be of the controllers but an unused IP.\nI\u0027ve tested the scenario where the VIP was changed in globals.yml and then I ran deploy and the result was successful re-deployment and services where up and running.\nI\u0027ve not, however tested it with altering the inventory file while changing the VIP at the same time.","commit_id":"57c464d59cd2cb3e9c22a3979bf96c90ec9a2fcc"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"7295e41f3cf0a25e5dc7a718dca58145d9797cb7","unresolved":true,"context_lines":[{"line_number":22,"context_line":"  run_once: True"},{"line_number":23,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- import_role:"},{"line_number":26,"context_line":"    role: nova-cell"},{"line_number":27,"context_line":"    tasks_from: get_cell_settings.yml"},{"line_number":28,"context_line":"  vars:"},{"line_number":29,"context_line":"    nova_cell_name: \"cell0\""},{"line_number":30,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":31,"context_line":"    nova_cell_get_settings_volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":32,"context_line":"  run_once: True"},{"line_number":33,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- name: Update cell0 mappings"},{"line_number":36,"context_line":"  vars:"},{"line_number":37,"context_line":"    nova_cell0_uuid: \"00000000-0000-0000-0000-000000000000\""},{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"},{"line_number":42,"context_line":"  kolla_container:"},{"line_number":43,"context_line":"    action: \"start_container\""},{"line_number":44,"context_line":"    command: \u003e"},{"line_number":45,"context_line":"      bash -c \u0027sudo -E kolla_set_configs \u0026\u0026"},{"line_number":46,"context_line":"      nova-manage cell_v2 update_cell"},{"line_number":47,"context_line":"      --cell_uuid {{ nova_cell0_uuid }}"},{"line_number":48,"context_line":"      --database_connection {{ nova_cell0_connection }}"},{"line_number":49,"context_line":"      --transport-url {{ nova_cell0_transport_url }}\u0027"},{"line_number":50,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":51,"context_line":"    detach: False"},{"line_number":52,"context_line":"    image: \"{{ nova_api.image }}\""},{"line_number":53,"context_line":"    labels:"},{"line_number":54,"context_line":"      BOOTSTRAP:"},{"line_number":55,"context_line":"    name: \"nova_api_map_cell0\""},{"line_number":56,"context_line":"    restart_policy: oneshot"},{"line_number":57,"context_line":"    volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":58,"context_line":"  register: nova_cell0_updated"},{"line_number":59,"context_line":"  changed_when:"},{"line_number":60,"context_line":"    - nova_cell0_updated is success"},{"line_number":61,"context_line":"  failed_when:"},{"line_number":62,"context_line":"    - nova_cell0_updated.rc !\u003d 0"},{"line_number":63,"context_line":"  when:"},{"line_number":64,"context_line":"    - nova_cell_settings | length \u003e 0"},{"line_number":65,"context_line":"    - nova_cell_settings.cell_database !\u003d nova_cell0_connection"},{"line_number":66,"context_line":"  run_once: True"},{"line_number":67,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"- include_tasks: bootstrap_service.yml"},{"line_number":70,"context_line":"  when: map_cell0.changed"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"c77673f5_1617f671","line":67,"range":{"start_line":25,"start_character":0,"end_line":67,"end_character":48},"in_reply_to":"473d50de_227e3274","updated":"2024-04-02 16:43:43.000000000","message":"My personal opinion is, that this patch should not make this process race condition proof. At least I have no immediate idea on how to always track the correct VIP\u003c-\u003eHost combination both in the static inventory file and in the deployment. afaik this could only be done by some sort of dynamic/automated inventory management.","commit_id":"57c464d59cd2cb3e9c22a3979bf96c90ec9a2fcc"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"5915e2e8ced260754ab6cac35cbd334749fd87a2","unresolved":false,"context_lines":[{"line_number":22,"context_line":"  run_once: True"},{"line_number":23,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- import_role:"},{"line_number":26,"context_line":"    role: nova-cell"},{"line_number":27,"context_line":"    tasks_from: get_cell_settings.yml"},{"line_number":28,"context_line":"  vars:"},{"line_number":29,"context_line":"    nova_cell_name: \"cell0\""},{"line_number":30,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":31,"context_line":"    nova_cell_get_settings_volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":32,"context_line":"  run_once: True"},{"line_number":33,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- name: Update cell0 mappings"},{"line_number":36,"context_line":"  vars:"},{"line_number":37,"context_line":"    nova_cell0_uuid: \"00000000-0000-0000-0000-000000000000\""},{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"},{"line_number":42,"context_line":"  kolla_container:"},{"line_number":43,"context_line":"    action: \"start_container\""},{"line_number":44,"context_line":"    command: \u003e"},{"line_number":45,"context_line":"      bash -c \u0027sudo -E kolla_set_configs \u0026\u0026"},{"line_number":46,"context_line":"      nova-manage cell_v2 update_cell"},{"line_number":47,"context_line":"      --cell_uuid {{ nova_cell0_uuid }}"},{"line_number":48,"context_line":"      --database_connection {{ nova_cell0_connection }}"},{"line_number":49,"context_line":"      --transport-url {{ nova_cell0_transport_url }}\u0027"},{"line_number":50,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":51,"context_line":"    detach: False"},{"line_number":52,"context_line":"    image: \"{{ nova_api.image }}\""},{"line_number":53,"context_line":"    labels:"},{"line_number":54,"context_line":"      BOOTSTRAP:"},{"line_number":55,"context_line":"    name: \"nova_api_map_cell0\""},{"line_number":56,"context_line":"    restart_policy: oneshot"},{"line_number":57,"context_line":"    volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":58,"context_line":"  register: nova_cell0_updated"},{"line_number":59,"context_line":"  changed_when:"},{"line_number":60,"context_line":"    - nova_cell0_updated is success"},{"line_number":61,"context_line":"  failed_when:"},{"line_number":62,"context_line":"    - nova_cell0_updated.rc !\u003d 0"},{"line_number":63,"context_line":"  when:"},{"line_number":64,"context_line":"    - nova_cell_settings | length \u003e 0"},{"line_number":65,"context_line":"    - nova_cell_settings.cell_database !\u003d nova_cell0_connection"},{"line_number":66,"context_line":"  run_once: True"},{"line_number":67,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"- include_tasks: bootstrap_service.yml"},{"line_number":70,"context_line":"  when: map_cell0.changed"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"39441761_acea9206","line":67,"range":{"start_line":25,"start_character":0,"end_line":67,"end_character":48},"in_reply_to":"a5eb37f2_760d7db5","updated":"2024-04-19 10:32:38.000000000","message":"Done","commit_id":"57c464d59cd2cb3e9c22a3979bf96c90ec9a2fcc"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"d57e8e185777009f62da920bf62679a163c7de8c","unresolved":true,"context_lines":[{"line_number":22,"context_line":"  run_once: True"},{"line_number":23,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- import_role:"},{"line_number":26,"context_line":"    role: nova-cell"},{"line_number":27,"context_line":"    tasks_from: get_cell_settings.yml"},{"line_number":28,"context_line":"  vars:"},{"line_number":29,"context_line":"    nova_cell_name: \"cell0\""},{"line_number":30,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":31,"context_line":"    nova_cell_get_settings_volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":32,"context_line":"  run_once: True"},{"line_number":33,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- name: Update cell0 mappings"},{"line_number":36,"context_line":"  vars:"},{"line_number":37,"context_line":"    nova_cell0_uuid: \"00000000-0000-0000-0000-000000000000\""},{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"},{"line_number":42,"context_line":"  kolla_container:"},{"line_number":43,"context_line":"    action: \"start_container\""},{"line_number":44,"context_line":"    command: \u003e"},{"line_number":45,"context_line":"      bash -c \u0027sudo -E kolla_set_configs \u0026\u0026"},{"line_number":46,"context_line":"      nova-manage cell_v2 update_cell"},{"line_number":47,"context_line":"      --cell_uuid {{ nova_cell0_uuid }}"},{"line_number":48,"context_line":"      --database_connection {{ nova_cell0_connection }}"},{"line_number":49,"context_line":"      --transport-url {{ nova_cell0_transport_url }}\u0027"},{"line_number":50,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":51,"context_line":"    detach: False"},{"line_number":52,"context_line":"    image: \"{{ nova_api.image }}\""},{"line_number":53,"context_line":"    labels:"},{"line_number":54,"context_line":"      BOOTSTRAP:"},{"line_number":55,"context_line":"    name: \"nova_api_map_cell0\""},{"line_number":56,"context_line":"    restart_policy: oneshot"},{"line_number":57,"context_line":"    volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":58,"context_line":"  register: nova_cell0_updated"},{"line_number":59,"context_line":"  changed_when:"},{"line_number":60,"context_line":"    - nova_cell0_updated is success"},{"line_number":61,"context_line":"  failed_when:"},{"line_number":62,"context_line":"    - nova_cell0_updated.rc !\u003d 0"},{"line_number":63,"context_line":"  when:"},{"line_number":64,"context_line":"    - nova_cell_settings | length \u003e 0"},{"line_number":65,"context_line":"    - nova_cell_settings.cell_database !\u003d nova_cell0_connection"},{"line_number":66,"context_line":"  run_once: True"},{"line_number":67,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"- include_tasks: bootstrap_service.yml"},{"line_number":70,"context_line":"  when: map_cell0.changed"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"a5eb37f2_760d7db5","line":67,"range":{"start_line":25,"start_character":0,"end_line":67,"end_character":48},"in_reply_to":"c77673f5_1617f671","updated":"2024-04-02 17:34:02.000000000","message":"ok, lgtm, but lets wait for core reviews, cos if I give +1 together with Sven it acts as +2 in most cases)","commit_id":"57c464d59cd2cb3e9c22a3979bf96c90ec9a2fcc"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"2f2f376898ba81f555fe0ffedecae715ee599437","unresolved":true,"context_lines":[{"line_number":22,"context_line":"  run_once: True"},{"line_number":23,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- import_role:"},{"line_number":26,"context_line":"    role: nova-cell"},{"line_number":27,"context_line":"    tasks_from: get_cell_settings.yml"},{"line_number":28,"context_line":"  vars:"},{"line_number":29,"context_line":"    nova_cell_name: \"cell0\""},{"line_number":30,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":31,"context_line":"    nova_cell_get_settings_volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":32,"context_line":"  run_once: True"},{"line_number":33,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- name: Update cell0 mappings"},{"line_number":36,"context_line":"  vars:"},{"line_number":37,"context_line":"    nova_cell0_uuid: \"00000000-0000-0000-0000-000000000000\""},{"line_number":38,"context_line":"    nova_cell0_transport_url: \"none:/\""},{"line_number":39,"context_line":"    nova_cell0_connection: \"mysql+pymysql://{{ nova_cell0_database_user }}:{{ nova_cell0_database_password }}@{{ nova_cell0_database_address }}/{{ nova_cell0_database_name }}\"  # noqa 204"},{"line_number":40,"context_line":"    nova_api: \"{{ nova_services[\u0027nova-api\u0027] }}\""},{"line_number":41,"context_line":"  become: true"},{"line_number":42,"context_line":"  kolla_container:"},{"line_number":43,"context_line":"    action: \"start_container\""},{"line_number":44,"context_line":"    command: \u003e"},{"line_number":45,"context_line":"      bash -c \u0027sudo -E kolla_set_configs \u0026\u0026"},{"line_number":46,"context_line":"      nova-manage cell_v2 update_cell"},{"line_number":47,"context_line":"      --cell_uuid {{ nova_cell0_uuid }}"},{"line_number":48,"context_line":"      --database_connection {{ nova_cell0_connection }}"},{"line_number":49,"context_line":"      --transport-url {{ nova_cell0_transport_url }}\u0027"},{"line_number":50,"context_line":"    common_options: \"{{ docker_common_options }}\""},{"line_number":51,"context_line":"    detach: False"},{"line_number":52,"context_line":"    image: \"{{ nova_api.image }}\""},{"line_number":53,"context_line":"    labels:"},{"line_number":54,"context_line":"      BOOTSTRAP:"},{"line_number":55,"context_line":"    name: \"nova_api_map_cell0\""},{"line_number":56,"context_line":"    restart_policy: oneshot"},{"line_number":57,"context_line":"    volumes: \"{{ nova_api_bootstrap_default_volumes + nova_api_bootstrap_extra_volumes }}\""},{"line_number":58,"context_line":"  register: nova_cell0_updated"},{"line_number":59,"context_line":"  changed_when:"},{"line_number":60,"context_line":"    - nova_cell0_updated is success"},{"line_number":61,"context_line":"  failed_when:"},{"line_number":62,"context_line":"    - nova_cell0_updated.rc !\u003d 0"},{"line_number":63,"context_line":"  when:"},{"line_number":64,"context_line":"    - nova_cell_settings | length \u003e 0"},{"line_number":65,"context_line":"    - nova_cell_settings.cell_database !\u003d nova_cell0_connection"},{"line_number":66,"context_line":"  run_once: True"},{"line_number":67,"context_line":"  delegate_to: \"{{ groups[nova_api.group][0] }}\""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"- include_tasks: bootstrap_service.yml"},{"line_number":70,"context_line":"  when: map_cell0.changed"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"307c6977_aece65e1","line":67,"range":{"start_line":25,"start_character":0,"end_line":67,"end_character":48},"in_reply_to":"f5d76fdb_29afba2b","updated":"2024-03-28 12:32:01.000000000","message":"I tend to agree with this.","commit_id":"57c464d59cd2cb3e9c22a3979bf96c90ec9a2fcc"}]}
