)]}'
{"lib/nova":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"f74d45f39276164f2cde964405110f4dc8f5174a","unresolved":false,"context_lines":[{"line_number":708,"context_line":""},{"line_number":709,"context_line":"        # create the cell1 cell for the main nova db where the hosts live"},{"line_number":710,"context_line":"        for i in $(seq 1 $NOVA_NUM_CELLS); do"},{"line_number":711,"context_line":"            nova-manage --config-file $NOVA_CONF --config-file $(conductor_conf $i) cell_v2 create_cell --name \"cell$i\""},{"line_number":712,"context_line":"        done"},{"line_number":713,"context_line":"    fi"},{"line_number":714,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"ff346bd7_d9f02094","line":711,"range":{"start_line":711,"start_character":49,"end_line":711,"end_character":83},"updated":"2017-07-27 13:10:08.000000000","message":"I think this is the problem for the singleconductor case, it used to be like we have for cells v1 on L646 above:\n\nnova-manage --config-file $NOVA_CELLS_CONF cell_v2 create_cell \\\n            --transport-url $(get_transport_url child_cell) --name \u0027cell1\u0027\n\nSo the issue we\u0027re hitting is super conductor, scheduler and nova-compute are all using a separate MQ but the cell1 mapping is using this other nova_cell1 MQ, so when super-conductor does the MQ context switch to cell1 to cast to nova-compute in cell1, it\u0027s on the wrong MQ:\n\nhttps://github.com/openstack/nova/blob/master/nova/conductor/manager.py#L1042","commit_id":"9596fdddccd04c26aa5adb923b9bd8e64c6593ec"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"1b5c84d9dac771488d7827e2445ef54afd87932a","unresolved":false,"context_lines":[{"line_number":950,"context_line":"    start_nova_rest"},{"line_number":951,"context_line":"    start_nova_conductor"},{"line_number":952,"context_line":"    start_nova_compute"},{"line_number":953,"context_line":"    # dump the cell mapping to ensure life is good"},{"line_number":954,"context_line":"    echo \"Dumping cells_v2 mapping\""},{"line_number":955,"context_line":"    nova-manage cell_v2 list_cells --verbose"},{"line_number":956,"context_line":"}"},{"line_number":957,"context_line":""},{"line_number":958,"context_line":"function stop_nova_compute {"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"ff346bd7_ea5d4047","line":955,"range":{"start_line":953,"start_character":4,"end_line":955,"end_character":44},"updated":"2017-07-27 14:46:46.000000000","message":"You can\u0027t do this from a subnode:\n\nhttp://logs.openstack.org/58/487458/3/check/gate-tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode-ubuntu-xenial/6cf92e0/logs/subnode-2/devstacklog.txt.gz#_2017-07-27_14_10_41_647\n\nSo this can only run if n-api is enabled.","commit_id":"b1a62b3a98927566c0644051cbddcefa1a211d87"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"2ba7b7ec425de605feec4bc744396ab6ad973f2e","unresolved":false,"context_lines":[{"line_number":950,"context_line":"    start_nova_rest"},{"line_number":951,"context_line":"    start_nova_conductor"},{"line_number":952,"context_line":"    start_nova_compute"},{"line_number":953,"context_line":"    # dump the cell mapping to ensure life is good"},{"line_number":954,"context_line":"    echo \"Dumping cells_v2 mapping\""},{"line_number":955,"context_line":"    nova-manage cell_v2 list_cells --verbose"},{"line_number":956,"context_line":"}"},{"line_number":957,"context_line":""},{"line_number":958,"context_line":"function stop_nova_compute {"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"ff346bd7_ac7bd578","line":955,"range":{"start_line":953,"start_character":4,"end_line":955,"end_character":44},"in_reply_to":"ff346bd7_6c6badb6","updated":"2017-07-27 14:50:34.000000000","message":"Nevermind, this should be OK on primary as that\u0027s where the cell mappings are created. I was confusing this with the host mappings which come after the subnodes are stacked.","commit_id":"b1a62b3a98927566c0644051cbddcefa1a211d87"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"358fdd9fda6fbfd651afd74bb982c7ffe2a3acfc","unresolved":false,"context_lines":[{"line_number":950,"context_line":"    start_nova_rest"},{"line_number":951,"context_line":"    start_nova_conductor"},{"line_number":952,"context_line":"    start_nova_compute"},{"line_number":953,"context_line":"    # dump the cell mapping to ensure life is good"},{"line_number":954,"context_line":"    echo \"Dumping cells_v2 mapping\""},{"line_number":955,"context_line":"    nova-manage cell_v2 list_cells --verbose"},{"line_number":956,"context_line":"}"},{"line_number":957,"context_line":""},{"line_number":958,"context_line":"function stop_nova_compute {"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"ff346bd7_6c6badb6","line":955,"range":{"start_line":953,"start_character":4,"end_line":955,"end_character":44},"in_reply_to":"ff346bd7_ea5d4047","updated":"2017-07-27 14:49:37.000000000","message":"This also isn\u0027t really the place to do this. If we only run list_cells from the primary node, and that stacks before the subnodes, the output isn\u0027t very helpful in a multi-node scenario. So what we should probably do is provide a tools/list_cells script (like the tools/discover_hosts script) and run that from devstack-gate on the primary after the subnodes are done.\n\nWe could also just lump it into discover_hosts....","commit_id":"b1a62b3a98927566c0644051cbddcefa1a211d87"}]}
