)]}'
{"tasks/main.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"3c9a4cc552e18639be29cd85232993faf97c42f9","unresolved":false,"context_lines":[{"line_number":179,"context_line":"# install to verify everything is setup correctly. This must run after cell"},{"line_number":180,"context_line":"# mapping setup and online data migrations have run."},{"line_number":181,"context_line":"# https://docs.openstack.org/nova/latest/cli/nova-status.html"},{"line_number":182,"context_line":"- name: Run nova-status"},{"line_number":183,"context_line":"  command: \"{{ nova_bin }}/nova-status upgrade check\""},{"line_number":184,"context_line":"  become: yes"},{"line_number":185,"context_line":"  become_user: \"{{ nova_system_user_name }}\""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_a86c1a33","line":182,"range":{"start_line":182,"start_character":8,"end_line":182,"end_character":23},"updated":"2018-07-05 17:38:38.000000000","message":"nit: The task name serves as output to the user in most cases, so I\u0027d suggest just a little more here, something like:\n\nRun nova-status upgrade check to validate a healthy configuration","commit_id":"71f98148a3eaca9df73aedb0e0df0d56a4279709"}],"tasks/nova_db_setup.yml":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"98cd5d32abddf02fc34c195b976c7cf8116e0bc8","unresolved":false,"context_lines":[{"line_number":153,"context_line":"# mapping setup and online data migrations have run."},{"line_number":154,"context_line":"# https://docs.openstack.org/nova/latest/cli/nova-status.html"},{"line_number":155,"context_line":"- name: Run nova-status"},{"line_number":156,"context_line":"  command: \"{{ nova_bin }}/nova-status upgrade check\""},{"line_number":157,"context_line":"  become: yes"},{"line_number":158,"context_line":"  become_user: \"{{ nova_system_user_name }}\""},{"line_number":159,"context_line":"  register: nova_status_upgrade_check"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"5f7c97a3_aa4b53af","line":156,"updated":"2018-06-14 21:44:10.000000000","message":"Two issues from this it looks like:\n\n1. for base install, this is running before nova_cell0 is up?\n\nhttp://logs.openstack.org/25/575125/5/check/openstack-ansible-functional-ubuntu-xenial/a1c43d1/job-output.txt.gz#_2018-06-14_20_39_45_893475\n\nu\\\"Unknown database \u0027nova_cell0\u0027\\\")\n\n2. for upgrade, placement is backlevel when this runs, and placement must be upgraded before nova and restarted:\n\nhttp://logs.openstack.org/25/575125/5/check/openstack-ansible-upgrade-ubuntu-xenial/222b6ac/job-output.txt.gz#_2018-06-14_21_00_53_183511\n\nDetails: Placement API version 1.24 needed, you have 1.17. \n\n--\n\nFor #1, I\u0027d expect nova_cell0 to be ready to go by the time we get here given the \"Create the cell0 mapping entry in the nova API DB\" task that runs before this.\n\nFor #2, I wonder if the start order on placement has something to do with that? But I\u0027d expect all services to be restarted before we call nova-status upgrade check during the upgrade:\n\nhttps://github.com/openstack/openstack-ansible-os_nova/blob/eda296a37ea3f2fd8ffbafa2da573573c5c98068/defaults/main.yml#L506","commit_id":"4428c2d75f87e3ec5af43b216af0548b26b3da45"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c076f6684e32d274aa8b2a840b9c81e229f9ee02","unresolved":false,"context_lines":[{"line_number":153,"context_line":"# mapping setup and online data migrations have run."},{"line_number":154,"context_line":"# https://docs.openstack.org/nova/latest/cli/nova-status.html"},{"line_number":155,"context_line":"- name: Run nova-status"},{"line_number":156,"context_line":"  command: \"{{ nova_bin }}/nova-status upgrade check\""},{"line_number":157,"context_line":"  become: yes"},{"line_number":158,"context_line":"  become_user: \"{{ nova_system_user_name }}\""},{"line_number":159,"context_line":"  register: nova_status_upgrade_check"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"5f7c97a3_c19a356e","line":156,"in_reply_to":"5f7c97a3_2163e9df","updated":"2018-06-14 23:44:32.000000000","message":"\u003e Maybe this task needs to be run after \"Perform a cell_v2 discover\" to be sure the services have all been restarted?\n\nNo that\u0027s not right because that\u0027s run in the cell conductor which doesn\u0027t have access to the API DB, and nova-status needs to be able to hit the API DB to iterate the cells.","commit_id":"4428c2d75f87e3ec5af43b216af0548b26b3da45"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"07e8825745ae3d4a67b2b8370b555b795ca94fe4","unresolved":false,"context_lines":[{"line_number":153,"context_line":"# mapping setup and online data migrations have run."},{"line_number":154,"context_line":"# https://docs.openstack.org/nova/latest/cli/nova-status.html"},{"line_number":155,"context_line":"- name: Run nova-status"},{"line_number":156,"context_line":"  command: \"{{ nova_bin }}/nova-status upgrade check\""},{"line_number":157,"context_line":"  become: yes"},{"line_number":158,"context_line":"  become_user: \"{{ nova_system_user_name }}\""},{"line_number":159,"context_line":"  register: nova_status_upgrade_check"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"5f7c97a3_fe1d9010","line":156,"in_reply_to":"5f7c97a3_aa4b53af","updated":"2018-06-14 22:17:46.000000000","message":"Posted https://review.openstack.org/#/c/575558/ for the placement start order issue, but I\u0027m not sure that\u0027s going to help here during upgrades.","commit_id":"4428c2d75f87e3ec5af43b216af0548b26b3da45"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"4f3ebdbe31c8f6d81e0828aeb085cf52dc5aff8e","unresolved":false,"context_lines":[{"line_number":153,"context_line":"# mapping setup and online data migrations have run."},{"line_number":154,"context_line":"# https://docs.openstack.org/nova/latest/cli/nova-status.html"},{"line_number":155,"context_line":"- name: Run nova-status"},{"line_number":156,"context_line":"  command: \"{{ nova_bin }}/nova-status upgrade check\""},{"line_number":157,"context_line":"  become: yes"},{"line_number":158,"context_line":"  become_user: \"{{ nova_system_user_name }}\""},{"line_number":159,"context_line":"  register: nova_status_upgrade_check"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"5f7c97a3_2163e9df","line":156,"in_reply_to":"5f7c97a3_fe1d9010","updated":"2018-06-14 23:15:54.000000000","message":"Maybe this task needs to be run after \"Perform a cell_v2 discover\" to be sure the services have all been restarted?\n\nLooking at http://logs.openstack.org/25/575125/5/check/openstack-ansible-upgrade-ubuntu-xenial/222b6ac/logs/ara-report/reports/aa2eb1c2-7950-45b5-bef9-132a58bd4c91.html it doesn\u0027t look like the services are restarted after pip installing the new packages before we get here?","commit_id":"4428c2d75f87e3ec5af43b216af0548b26b3da45"}]}
