)]}'
{"doc/source/cells.rst":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"8d1ca44e79974e31469928b3f229fa3efe7f00f4","unresolved":false,"context_lines":[{"line_number":270,"context_line":"    --transport_url rabbit://stackrabbit:secretrabbit@mqserver:5672/"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":".. note:: At this point, the API database can now find the cell"},{"line_number":273,"context_line":"\t  database, and further commands will attempt to look"},{"line_number":274,"context_line":"\t  inside. If this is a completely fresh database (such as if"},{"line_number":275,"context_line":"\t  you\u0027re adding a cell, or if this is a new deployment), then"},{"line_number":276,"context_line":"\t  you will need to run `nova-manage db sync` on it to"},{"line_number":277,"context_line":"\t  initialize the schema."},{"line_number":278,"context_line":"  "},{"line_number":279,"context_line":"Now we have a cell, but no hosts are in it which means the scheduler"},{"line_number":280,"context_line":"will never actually place instances there. The next step is to scan"},{"line_number":281,"context_line":"the database for compute node records and add them into the cell we"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a3c09a3_fdf6fed5","line":278,"range":{"start_line":273,"start_character":0,"end_line":278,"end_character":2},"updated":"2017-01-13 22:29:14.000000000","message":"omfg whitespace","commit_id":"4e315ecaf11dd931498befe0d597781afac8a67f"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"24a7ece5a4862e8d06024b606f140dc1429f94c1","unresolved":false,"context_lines":[{"line_number":216,"context_line":"--------"},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"As more of the CellsV2 implementation is finished, all operators are"},{"line_number":219,"context_line":"required to make changes to their deployment. For single-cell"},{"line_number":220,"context_line":"deployments, these changes are configuration-related, both in the main"},{"line_number":221,"context_line":"nova configuration file as well as some extra records in the"},{"line_number":222,"context_line":"databases."},{"line_number":223,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_91b401f3","line":220,"range":{"start_line":219,"start_character":46,"end_line":220,"end_character":11},"updated":"2017-01-14 02:09:58.000000000","message":"nit: might want to say something like:\n\n\"For single-cell deployments (which all new installs are by default), these...\"\n\nJust to re-emphasize that every deployment is a single cells v2 cell of at least one.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"48f9c3cf81751c43e49e4aa4acec3b527918ecbe","unresolved":false,"context_lines":[{"line_number":216,"context_line":"--------"},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"As more of the CellsV2 implementation is finished, all operators are"},{"line_number":219,"context_line":"required to make changes to their deployment. For single-cell"},{"line_number":220,"context_line":"deployments, these changes are configuration-related, both in the main"},{"line_number":221,"context_line":"nova configuration file as well as some extra records in the"},{"line_number":222,"context_line":"databases."},{"line_number":223,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_5b42af3f","line":220,"range":{"start_line":219,"start_character":46,"end_line":220,"end_character":11},"in_reply_to":"7a3c09a3_91b401f3","updated":"2017-01-14 19:02:57.000000000","message":"Well, I think we shouldn\u0027t make it sound like only new deploys are single-cell. But yeah, I\u0027ll say something about single-cell being all deploys.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"24a7ece5a4862e8d06024b606f140dc1429f94c1","unresolved":false,"context_lines":[{"line_number":236,"context_line":"instances are stored in \"cell1\"."},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"First Time Setup"},{"line_number":239,"context_line":"----------------"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"Since there is only one API database, the connection information for"},{"line_number":242,"context_line":"it is stored in the nova.conf file."}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_11c9f178","line":239,"range":{"start_line":239,"start_character":0,"end_line":239,"end_character":16},"updated":"2017-01-14 02:09:58.000000000","message":"This doesn\u0027t render properly:\n\nhttp://docs-draft.openstack.org/98/420198/3/check/gate-nova-docs-ubuntu-xenial/28a5656//doc/build/html/cells.html#setup-of-cells-v2\n\nIt needs to be ~~~~~~~~~~~~~~ to match the other sub-headers at the 3rd level like above. Then any levels below this use ---------.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"24a7ece5a4862e8d06024b606f140dc1429f94c1","unresolved":false,"context_lines":[{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Since there may be multiple \"cell\" databases (and in fact everyone"},{"line_number":249,"context_line":"will have cell0 and cell1 at a minimum), connection info for these is"},{"line_number":250,"context_line":"stored in the API database. Thus, you must have connection information"},{"line_number":251,"context_line":"in your config file for the API database, so that nova can find your"},{"line_number":252,"context_line":"other databases."},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"The following examples show the full expanded command line usage of"},{"line_number":255,"context_line":"the setup commands. This is to make it easier to visualize which of"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_71a6b5c2","line":252,"range":{"start_line":250,"start_character":28,"end_line":252,"end_character":16},"updated":"2017-01-14 02:09:58.000000000","message":"nit: do we need the api_database connection information in nova.conf on the computes/cell nodes? Or just the controllers? Maybe it doesn\u0027t matter right now, but for anyone that cares, I don\u0027t think we actually need this on the nova-compute hosts since nova-compute doesn\u0027t upcall to the API database. Maybe that\u0027s a level of detail we don\u0027t care to talk about here, but I could see someone asking about it at some point.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"16e33fa19868ea0c59dcbf681cc1669c57cfc3d6","unresolved":false,"context_lines":[{"line_number":247,"context_line":""},{"line_number":248,"context_line":"Since there may be multiple \"cell\" databases (and in fact everyone"},{"line_number":249,"context_line":"will have cell0 and cell1 at a minimum), connection info for these is"},{"line_number":250,"context_line":"stored in the API database. Thus, you must have connection information"},{"line_number":251,"context_line":"in your config file for the API database, so that nova can find your"},{"line_number":252,"context_line":"other databases."},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"The following examples show the full expanded command line usage of"},{"line_number":255,"context_line":"the setup commands. This is to make it easier to visualize which of"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_dbd05f56","line":252,"range":{"start_line":250,"start_character":28,"end_line":252,"end_character":16},"in_reply_to":"7a3c09a3_71a6b5c2","updated":"2017-01-14 19:08:07.000000000","message":"No, we don\u0027t need it and shouldn\u0027t have it there. Are you asking because you think it\u0027s relevant to what I said above, or because you\u0027re wondering if things will break if you don\u0027t set those configs on a compute node?\n\nThe sentence you have highlighted really means \"...for you to be able to do the other steps below.\" I\u0027ll add that, but I think anything about compute/controller is probably more than we need here.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"ddd139dd44b855243a3d359f8ac18efa378c2e4b","unresolved":false,"context_lines":[{"line_number":265,"context_line":"  nova-manage cell_v2 map_cell0 --database_connection \\"},{"line_number":266,"context_line":"    mysql+pymysql://root:secretmysql@dbserver/nova_cell0?charset\u003dutf8"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":".. note:: If you don\u0027t specify `--database-connection` then"},{"line_number":269,"context_line":"          `nova-manage` will use the `[database]/connection` value"},{"line_number":270,"context_line":"          from your config file, and mangle the database name to have"},{"line_number":271,"context_line":"          an `_nova` suffix."}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_1b63d2dd","line":268,"range":{"start_line":268,"start_character":32,"end_line":268,"end_character":53},"updated":"2017-01-13 23:39:00.000000000","message":"This should be --database_connection with an underscore","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"24a7ece5a4862e8d06024b606f140dc1429f94c1","unresolved":false,"context_lines":[{"line_number":266,"context_line":"    mysql+pymysql://root:secretmysql@dbserver/nova_cell0?charset\u003dutf8"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":".. note:: If you don\u0027t specify `--database-connection` then"},{"line_number":269,"context_line":"          `nova-manage` will use the `[database]/connection` value"},{"line_number":270,"context_line":"          from your config file, and mangle the database name to have"},{"line_number":271,"context_line":"          an `_nova` suffix."},{"line_number":272,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_d17cc922","line":269,"range":{"start_line":269,"start_character":39,"end_line":269,"end_character":47},"updated":"2017-01-14 02:09:58.000000000","message":"It\u0027s actually the api_database:\n\nhttp://git.openstack.org/cgit/openstack/nova/tree/nova/cmd/manage.py#n1141\n\nSo for a devstack run, you\u0027d get nova_api_cell0.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"48f9c3cf81751c43e49e4aa4acec3b527918ecbe","unresolved":false,"context_lines":[{"line_number":266,"context_line":"    mysql+pymysql://root:secretmysql@dbserver/nova_cell0?charset\u003dutf8"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":".. note:: If you don\u0027t specify `--database-connection` then"},{"line_number":269,"context_line":"          `nova-manage` will use the `[database]/connection` value"},{"line_number":270,"context_line":"          from your config file, and mangle the database name to have"},{"line_number":271,"context_line":"          an `_nova` suffix."},{"line_number":272,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_bb47134a","line":269,"range":{"start_line":269,"start_character":39,"end_line":269,"end_character":47},"in_reply_to":"7a3c09a3_d17cc922","updated":"2017-01-14 19:02:57.000000000","message":"Really? That\u0027s dumb. I think we should change that. The cell0 database is the same schema as the main one, not the api one.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"24a7ece5a4862e8d06024b606f140dc1429f94c1","unresolved":false,"context_lines":[{"line_number":279,"context_line":"cell, which has actual compute hosts in it, and to which instances can"},{"line_number":280,"context_line":"actually be scheduled. First, we create the cell record like this::"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"  nova-manage cell_v2 create_cell --name cell1 \\"},{"line_number":283,"context_line":"    --database_connection  mysql+pymysql://root:secretmysql@127.0.0.1/nova?charset\u003dutf8"},{"line_number":284,"context_line":"    --transport_url rabbit://stackrabbit:secretrabbit@mqserver:5672/"},{"line_number":285,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_31d98d22","line":282,"updated":"2017-01-14 02:09:58.000000000","message":"I would recommend that we pass in the --verbose option and capture the output in a variable, e.g.:\n\ncell_uuid\u003d$(nova-manage cell_v2 create_cell ...)\n\nBecause create_cell always generates a new uuid and a new cell mapping right now and only emits the uuid if you pass the optional --verbose option, and we don\u0027t have any kind of list_cells command so you run this once w/o --verbose and oops, you don\u0027t know the cell mapping uuid and then you run it again with --verbose and now you\u0027ve got two but only wanted one. You\u0027d have to dig into the database to find the one you want.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"a2d3fef9fca845972590b901b6bb3f0355c6ed7b","unresolved":false,"context_lines":[{"line_number":279,"context_line":"cell, which has actual compute hosts in it, and to which instances can"},{"line_number":280,"context_line":"actually be scheduled. First, we create the cell record like this::"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"  nova-manage cell_v2 create_cell --name cell1 \\"},{"line_number":283,"context_line":"    --database_connection  mysql+pymysql://root:secretmysql@127.0.0.1/nova?charset\u003dutf8"},{"line_number":284,"context_line":"    --transport_url rabbit://stackrabbit:secretrabbit@mqserver:5672/"},{"line_number":285,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_d28f59ca","line":282,"in_reply_to":"7a3c09a3_1b6f47c6","updated":"2017-01-15 17:14:24.000000000","message":"If you\u0027re not going to use it here, that\u0027s fine, but I\u0027d make a point to remind people to use it if they want to re-use that created cell\u0027s uuid in later commands since we don\u0027t have a list_cells CLI.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"48f9c3cf81751c43e49e4aa4acec3b527918ecbe","unresolved":false,"context_lines":[{"line_number":279,"context_line":"cell, which has actual compute hosts in it, and to which instances can"},{"line_number":280,"context_line":"actually be scheduled. First, we create the cell record like this::"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"  nova-manage cell_v2 create_cell --name cell1 \\"},{"line_number":283,"context_line":"    --database_connection  mysql+pymysql://root:secretmysql@127.0.0.1/nova?charset\u003dutf8"},{"line_number":284,"context_line":"    --transport_url rabbit://stackrabbit:secretrabbit@mqserver:5672/"},{"line_number":285,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_1b6f47c6","line":282,"in_reply_to":"7a3c09a3_31d98d22","updated":"2017-01-14 19:02:57.000000000","message":"But you don\u0027t need it for anything below, so why?","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"ddd139dd44b855243a3d359f8ac18efa378c2e4b","unresolved":false,"context_lines":[{"line_number":280,"context_line":"actually be scheduled. First, we create the cell record like this::"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"  nova-manage cell_v2 create_cell --name cell1 \\"},{"line_number":283,"context_line":"    --database_connection  mysql+pymysql://root:secretmysql@127.0.0.1/nova?charset\u003dutf8"},{"line_number":284,"context_line":"    --transport_url rabbit://stackrabbit:secretrabbit@mqserver:5672/"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":".. note:: If you don\u0027t specify the database and transport urls then"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_9ba50206","line":283,"range":{"start_line":283,"start_character":4,"end_line":283,"end_character":25},"updated":"2017-01-13 23:39:00.000000000","message":"This is --database-connection with a hyphen in the current create_cell patch","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"24a7ece5a4862e8d06024b606f140dc1429f94c1","unresolved":false,"context_lines":[{"line_number":280,"context_line":"actually be scheduled. First, we create the cell record like this::"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"  nova-manage cell_v2 create_cell --name cell1 \\"},{"line_number":283,"context_line":"    --database_connection  mysql+pymysql://root:secretmysql@127.0.0.1/nova?charset\u003dutf8"},{"line_number":284,"context_line":"    --transport_url rabbit://stackrabbit:secretrabbit@mqserver:5672/"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":".. note:: If you don\u0027t specify the database and transport urls then"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_7194f536","line":283,"range":{"start_line":283,"start_character":4,"end_line":283,"end_character":25},"in_reply_to":"7a3c09a3_9ba50206","updated":"2017-01-14 02:09:58.000000000","message":"Good catch. We should be consistent between create_cell and map_cell0 above otherwise I can already see the bugs coming. I\u0027ve noted that in the create_cell patch with a -1.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"ddd139dd44b855243a3d359f8ac18efa378c2e4b","unresolved":false,"context_lines":[{"line_number":281,"context_line":""},{"line_number":282,"context_line":"  nova-manage cell_v2 create_cell --name cell1 \\"},{"line_number":283,"context_line":"    --database_connection  mysql+pymysql://root:secretmysql@127.0.0.1/nova?charset\u003dutf8"},{"line_number":284,"context_line":"    --transport_url rabbit://stackrabbit:secretrabbit@mqserver:5672/"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":".. note:: If you don\u0027t specify the database and transport urls then"},{"line_number":287,"context_line":"          `nova-manage` will use the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_fbac46ef","line":284,"range":{"start_line":284,"start_character":4,"end_line":284,"end_character":19},"updated":"2017-01-13 23:39:00.000000000","message":"This is --transport-url with a hyphen in the current create_cell patch","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"24a7ece5a4862e8d06024b606f140dc1429f94c1","unresolved":false,"context_lines":[{"line_number":285,"context_line":""},{"line_number":286,"context_line":".. note:: If you don\u0027t specify the database and transport urls then"},{"line_number":287,"context_line":"          `nova-manage` will use the"},{"line_number":288,"context_line":"          `[database]/connection` and `[DEFAULT]/transport_url` values"},{"line_number":289,"context_line":"          from the config file."},{"line_number":290,"context_line":""},{"line_number":291,"context_line":".. note:: At this point, the API database can now find the cell"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a3c09a3_9135e147","line":288,"range":{"start_line":288,"start_character":11,"end_line":288,"end_character":32},"updated":"2017-01-14 02:09:58.000000000","message":"(mostly talking to myself) - if I run create_cell from my controller nova.conf for what I want to be one cell, it\u0027s going to use that database connection. Then say I want to run it to create another cell with a different database connection, it\u0027s going to use the same one from the config, so I need to know that wrinkle, or pass the option in.\n\nNot the end of the world, but complicated if you don\u0027t want to pass the command line argument as some people were saying they didn\u0027t in IRC today.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"24a7ece5a4862e8d06024b606f140dc1429f94c1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7a3c09a3_b111fdae","line":314,"updated":"2017-01-14 02:09:58.000000000","message":"This is a solid start. I suspect at some point we\u0027ll have a section detailing the additional commands not mentioned here, like map_cell_and_hosts, map_instance, verify_instance, and simple_cell_setup. Those could come in a later change.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"48f9c3cf81751c43e49e4aa4acec3b527918ecbe","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7a3c09a3_5b970f90","line":314,"in_reply_to":"7a3c09a3_314c2dc7","updated":"2017-01-14 19:02:57.000000000","message":"Yeah, I think map_cell_and_hosts can probably go away as well. If we remove the simple command after ocata, then it just leaves the ones we have here, which I think is fine, usability-wise.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"9daf0e8d95deb6176b8f8f356338623ea9f10220","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7a3c09a3_314c2dc7","line":314,"in_reply_to":"7a3c09a3_b111fdae","updated":"2017-01-14 02:16:23.000000000","message":"+1. I added a small summary of all the commands other than verify_instance to the wiki in the TODOs section.\n\nI was thinking we might deprecate map_cell_and_hosts since it\u0027s a combo command of create_cell + discover_hosts. It might save confusion to not have it.","commit_id":"2c7d6aaa4abe7299fd9babc9d075c488ae0e3327"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"60b659a223dc7f134cddaa4143470fa2e7d172e1","unresolved":false,"context_lines":[{"line_number":281,"context_line":""},{"line_number":282,"context_line":"  nova-manage cell_v2 create_cell --verbose --name cell1 \\"},{"line_number":283,"context_line":"    --database_connection  mysql+pymysql://root:secretmysql@127.0.0.1/nova?charset\u003dutf8"},{"line_number":284,"context_line":"    --transport_url rabbit://stackrabbit:secretrabbit@mqserver:5672/"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":".. note:: If you don\u0027t specify the database and transport urls then"},{"line_number":287,"context_line":"          `nova-manage` will use the"}],"source_content_type":"text/x-rst","patch_set":10,"id":"7a3c09a3_ddd129cf","line":284,"range":{"start_line":284,"start_character":6,"end_line":284,"end_character":19},"updated":"2017-01-16 01:09:31.000000000","message":"This is going to remain --transport-url with a dash rather than an underscore since that would make the new create_cell command consistent with --transport-url in simple_cell_setup and map_cell_and_hosts.","commit_id":"47fd67b64560a6648b692e85ffbd6093fc2ddaad"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"60b659a223dc7f134cddaa4143470fa2e7d172e1","unresolved":false,"context_lines":[{"line_number":295,"context_line":"          you will need to run `nova-manage db sync` on it to"},{"line_number":296,"context_line":"          initialize the schema."},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"The `nova-manage cell_v2 create_cell` will print the UUID of the"},{"line_number":299,"context_line":"newly-created cell if `--verbose` is passed, which is useful if you"},{"line_number":300,"context_line":"need to run commands like `discover_hosts` targeted at a specific"},{"line_number":301,"context_line":"cell."}],"source_content_type":"text/x-rst","patch_set":10,"id":"7a3c09a3_1d55714f","line":298,"range":{"start_line":298,"start_character":38,"end_line":298,"end_character":42},"updated":"2017-01-16 01:09:31.000000000","message":"nit: s/will/command will/","commit_id":"47fd67b64560a6648b692e85ffbd6093fc2ddaad"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"33ebfb9820def7f4c9fca4871bb6e385cb76c1e5","unresolved":false,"context_lines":[{"line_number":226,"context_line":""},{"line_number":227,"context_line":" 1. The \"API\" database"},{"line_number":228,"context_line":" 2. One special \"cell\" database called \"cell0\""},{"line_number":229,"context_line":" 3. One (or eventually more) \"cell\" databases"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"Thus, a small nova deployment will have an API database, a cell0, and"},{"line_number":232,"context_line":"what we will call here a \"cell1\" database. High-level tracking"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7a3c09a3_ea69abbf","line":229,"range":{"start_line":229,"start_character":12,"end_line":229,"end_character":22},"updated":"2017-01-16 09:39:28.000000000","message":"just for my knowledge, I thought \"eventually\" means \"finally\" ?\n\nWould you mean \"one (or possibly more)\" ?\n\nIt\u0027s a pure nit from a French-standpoint perspective :-)","commit_id":"109b6d012ee69b0391feb242c1c96b10ad595ceb"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"4835287326b4f05d8d9d13aa59ddd359a11db90c","unresolved":false,"context_lines":[{"line_number":226,"context_line":""},{"line_number":227,"context_line":" 1. The \"API\" database"},{"line_number":228,"context_line":" 2. One special \"cell\" database called \"cell0\""},{"line_number":229,"context_line":" 3. One (or eventually more) \"cell\" databases"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"Thus, a small nova deployment will have an API database, a cell0, and"},{"line_number":232,"context_line":"what we will call here a \"cell1\" database. High-level tracking"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7a3c09a3_d603ad40","line":229,"range":{"start_line":229,"start_character":12,"end_line":229,"end_character":22},"in_reply_to":"7a3c09a3_ea69abbf","updated":"2017-01-16 14:26:05.000000000","message":"The phrase is \"One or more\". But since you can\u0027t really have more right now, this means \"One or (in the future, potentially) more\".","commit_id":"109b6d012ee69b0391feb242c1c96b10ad595ceb"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"33ebfb9820def7f4c9fca4871bb6e385cb76c1e5","unresolved":false,"context_lines":[{"line_number":300,"context_line":"need to run commands like `discover_hosts` targeted at a specific"},{"line_number":301,"context_line":"cell."},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"Now we have a cell, but no hosts are in it which means the scheduler"},{"line_number":304,"context_line":"will never actually place instances there. The next step is to scan"},{"line_number":305,"context_line":"the database for compute node records and add them into the cell we"},{"line_number":306,"context_line":"just created. For this step, you must have had a compute node started"},{"line_number":307,"context_line":"such that it registers itself as a running service. Once that has"},{"line_number":308,"context_line":"happened, you can scan and add it to the cell::"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"  nova-manage cell_v2 discover_hosts"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"This command will connect to any databases for which you have created"},{"line_number":313,"context_line":"cells (as above), look for hosts that have registered themselves"},{"line_number":314,"context_line":"there, and map those hosts in the API database so that"},{"line_number":315,"context_line":"they are visible to the scheduler as available targets for"},{"line_number":316,"context_line":"instances. Any time you add more compute hosts to a cell, you need to"},{"line_number":317,"context_line":"re-run this command to map them from the top-level so they can be"},{"line_number":318,"context_line":"utilized."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7a3c09a3_4a9c7f69","line":318,"range":{"start_line":303,"start_character":0,"end_line":318,"end_character":9},"updated":"2017-01-16 09:39:28.000000000","message":"All of that implies that we only have one single cell (besides cell0) and no more that one.\n\nI\u0027m totally fine with that, I just feel it probably needs to be explicit in the doc above.","commit_id":"109b6d012ee69b0391feb242c1c96b10ad595ceb"}]}
