)]}'
{"lib/nova":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"f26eeb328f987db7641220abbc051dade9369912","unresolved":false,"context_lines":[{"line_number":54,"context_line":"NOVA_CONF\u003d$NOVA_CONF_DIR/nova.conf"},{"line_number":55,"context_line":"NOVA_CELLS_CONF\u003d$NOVA_CONF_DIR/nova-cells.conf"},{"line_number":56,"context_line":"NOVA_FAKE_CONF\u003d$NOVA_CONF_DIR/nova-fake.conf"},{"line_number":57,"context_line":"NOVA_CELLS_DB\u003d${NOVA_CELLS_DB:-nova_cell0}"},{"line_number":58,"context_line":"NOVA_API_DB\u003d${NOVA_API_DB:-nova_api}"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"NOVA_API_PASTE_INI\u003d${NOVA_API_PASTE_INI:-$NOVA_CONF_DIR/api-paste.ini}"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"df140735_de445e76","line":57,"updated":"2017-06-05 17:41:38.000000000","message":"I\u0027m not sure how this is really a fix. Also, won\u0027t it result in a cellsv1 deployment using the cell0 database by default for its actual storage? That\u0027s definitely not right.","commit_id":"ef9e6201b58346c010c56ce38e439f1fbf062db8"},{"author":{"_account_id":22752,"name":"Hanxi Liu","email":"apolloliuhx@gmail.com","username":"Hanxi_Liu"},"change_message_id":"3fd3501acb3681df85754f78f1dd59bb392d8fd5","unresolved":false,"context_lines":[{"line_number":54,"context_line":"NOVA_CONF\u003d$NOVA_CONF_DIR/nova.conf"},{"line_number":55,"context_line":"NOVA_CELLS_CONF\u003d$NOVA_CONF_DIR/nova-cells.conf"},{"line_number":56,"context_line":"NOVA_FAKE_CONF\u003d$NOVA_CONF_DIR/nova-fake.conf"},{"line_number":57,"context_line":"NOVA_CELLS_DB\u003d${NOVA_CELLS_DB:-nova_cell0}"},{"line_number":58,"context_line":"NOVA_API_DB\u003d${NOVA_API_DB:-nova_api}"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"NOVA_API_PASTE_INI\u003d${NOVA_API_PASTE_INI:-$NOVA_CONF_DIR/api-paste.ini}"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"df140735_c78d7c2b","line":57,"in_reply_to":"df140735_de445e76","updated":"2017-06-07 03:13:08.000000000","message":"I\u0027m sure this isn\u0027t a fix. I know cell0 database is for the relegated instances which are never schduled. another cell1 is also needed for successful/running instances. If n_cell enabled explicitly using devstack to deploy compute node, the error appears:\n\nDBNonExistentDatabase: (pymysql.err.InternalError) (1049, u\"Unknown database \u0027nova_cell\u0027\")\n\nWhy it occur? refer to: #653","commit_id":"ef9e6201b58346c010c56ce38e439f1fbf062db8"},{"author":{"_account_id":22752,"name":"Hanxi Liu","email":"apolloliuhx@gmail.com","username":"Hanxi_Liu"},"change_message_id":"3fd3501acb3681df85754f78f1dd59bb392d8fd5","unresolved":false,"context_lines":[{"line_number":648,"context_line":"            iniset $NOVA_CELLS_CONF DEFAULT enabled_apis metadata"},{"line_number":649,"context_line":"        fi"},{"line_number":650,"context_line":""},{"line_number":651,"context_line":"        $NOVA_BIN_DIR/nova-manage --config-file $NOVA_CELLS_CONF db sync"},{"line_number":652,"context_line":"        $NOVA_BIN_DIR/nova-manage --config-file $NOVA_CELLS_CONF cell create --name\u003dregion --cell_type\u003dparent --username\u003d$RABBIT_USERID --hostname\u003d$RABBIT_HOST --port\u003d5672 --password\u003d$RABBIT_PASSWORD --virtual_host\u003d/ --woffset\u003d0 --wscale\u003d1"},{"line_number":653,"context_line":"        $NOVA_BIN_DIR/nova-manage cell create --name\u003dchild --cell_type\u003dchild --username\u003d$RABBIT_USERID --hostname\u003d$RABBIT_HOST --port\u003d5672 --password\u003d$RABBIT_PASSWORD --virtual_host\u003dchild_cell --woffset\u003d0 --wscale\u003d1"},{"line_number":654,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"df140735_87330463","line":651,"updated":"2017-06-07 03:13:08.000000000","message":"when initialization, the error mentioned above occurred following:\nERROR: could not access cell mapping database - has api db been created?\nI think the point is that db sync should be done after the database has been created. How do you think?","commit_id":"ef9e6201b58346c010c56ce38e439f1fbf062db8"}]}
