)]}'
{"doc/source/man/nova-manage.rst":[{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"bc38911a66dac9582f26a0e0a5dbca68f5bed873","unresolved":false,"context_lines":[{"line_number":111,"context_line":"    cell, host, and instance mapping records required. Returns 0 when the"},{"line_number":112,"context_line":"    instance is successfully mapped to a cell, 1 if the instance is not"},{"line_number":113,"context_line":"    mapped to a cell (upgrade is incomplete), and 2 if the instance is not"},{"line_number":114,"context_line":"    yet mapped to a cell."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Nova Logs"},{"line_number":117,"context_line":"~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a461143_359f79b5","line":114,"updated":"2017-01-27 18:59:14.000000000","message":"Maybe we should suggest what needs to be done (which commands to call) to fix the situation this command says happens.","commit_id":"e2b4b860cd0c0f87179d0ad095a05b942f3dad82"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"0617586e894cec13052c6828c5a1b736fc21e741","unresolved":false,"context_lines":[{"line_number":111,"context_line":"    cell, host, and instance mapping records required. Returns 0 when the"},{"line_number":112,"context_line":"    instance is successfully mapped to a cell, 1 if the instance is not"},{"line_number":113,"context_line":"    mapped to a cell (upgrade is incomplete), and 2 if the instance is not"},{"line_number":114,"context_line":"    yet mapped to a cell."},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Nova Logs"},{"line_number":117,"context_line":"~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a461143_30914048","line":114,"in_reply_to":"3a461143_359f79b5","updated":"2017-01-27 23:41:30.000000000","message":"Yeah that would be helpful. For example, grenade runs simple_cell_setup when upgrading to create cell0 and the the first cell, and the host mappings, and then it calls map_instances. Then later it calls verify_instance to make sure that all worked:\n\nhttps://github.com/openstack-dev/grenade/blob/master/projects/60_nova/resources.sh#L126\n\nSo I think the things to call out here for fixing things would be either simple_cell_setup (when upgrading from an existing non-cells v1 deployment), or the map_cell_and_hosts/map_instances combo.","commit_id":"e2b4b860cd0c0f87179d0ad095a05b942f3dad82"},{"author":{"_account_id":16907,"name":"Diana Clarke","email":"diana.joan.clarke@gmail.com","username":"diana-clarke"},"change_message_id":"156cf4d13d475f64fafc87699c4129f35c941dc1","unresolved":false,"context_lines":[{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    Verify instance mapping to a cell. This command is useful to determine if"},{"line_number":110,"context_line":"    the cells v2 environment is properly setup, specifically in terms of the"},{"line_number":111,"context_line":"    cell, host, and instance mapping records required. Returns 0 when the"},{"line_number":112,"context_line":"    instance is successfully mapped to a cell, 1 if the instance is not"},{"line_number":113,"context_line":"    mapped to a cell (see the ``map_instances`` command), and 2 if the cell"},{"line_number":114,"context_line":"    mapping is missing (see the ``map_cell_and_hosts`` command if you are"},{"line_number":115,"context_line":"    upgrading from a cells v1 environment, and the ``simple_cell_setup`` if"},{"line_number":116,"context_line":"    you are upgrading from a non-cells v1 environment)."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"Nova Logs"},{"line_number":119,"context_line":"~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a461143_e36c5137","line":116,"range":{"start_line":111,"start_character":55,"end_line":116,"end_character":55},"updated":"2017-01-28 03:38:20.000000000","message":"Dan tried to explain these return codes to me here [1]. I hope I got it right this time... I\u0027m still not 100% certain.\n\n[1] http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2017-01-27.log.html#t2017-01-27T21:59:45","commit_id":"3f64213d3bbc1939a8286dfced2995e90c1cfef2"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"420f3dfb709f51dab44cf1cee9bbf5af56674b03","unresolved":false,"context_lines":[{"line_number":117,"context_line":"    instance is successfully mapped to a cell, 1 if the instance is not"},{"line_number":118,"context_line":"    mapped to a cell (see the ``map_instances`` command), and 2 if the cell"},{"line_number":119,"context_line":"    mapping is missing (see the ``map_cell_and_hosts`` command if you are"},{"line_number":120,"context_line":"    upgrading from a cells v1 environment, and the ``simple_cell_setup`` if"},{"line_number":121,"context_line":"    you are upgrading from a non-cells v1 environment)."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"Nova Logs"},{"line_number":124,"context_line":"~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":9,"id":"3a461143_c8b9fe16","line":121,"range":{"start_line":120,"start_character":21,"end_line":121,"end_character":53},"updated":"2017-01-30 22:29:07.000000000","message":"As noted in the change before this in the series, simple_cell_setup does the same thing as map_cell_and_hosts, but it also does map_cell0 and map_instances - and map_cell_and_hosts is OK for a non-cells v1 starting environment too. But I think this is probably OK for starters. From discussions we\u0027ve had before, I think we actually want to get rid of simple_cell_setup long-term because it\u0027s turning out to be not so simple and different deployment tools have tried using it with different use cases that just don\u0027t work with how that command is written, so we\u0027ll probably eventually remove it and make tooling use the more specific commands for specific scenarios.","commit_id":"696121d80aaab84c3f646608352d0ab173107be0"}]}
