Jump to: navigation, search

Difference between revisions of "Nova-Cells-v2"

(Code Review)
(TODOs)
Line 22: Line 22:
 
** (diana will take this) On a side note, we should also have man pages for the cell_v2 commands because there is confusion around the inputs and outputs and how return codes should be treated, i.e. is 1 an error or not? Put the CLI docs here: http://docs.openstack.org/developer/nova/man/nova-manage.html
 
** (diana will take this) On a side note, we should also have man pages for the cell_v2 commands because there is confusion around the inputs and outputs and how return codes should be treated, i.e. is 1 an error or not? Put the CLI docs here: http://docs.openstack.org/developer/nova/man/nova-manage.html
 
*** Reviews for those docs: https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:master+topic:man
 
*** Reviews for those docs: https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:master+topic:man
*** Let me (diana_clarke) know if you want them changed in any way. I did not document every option, as that doesn't appear to be the precedent in these docs. I suspect it's supposed to just be high-level, and that you're suppose to refer to the actual CLI help for more information.
+
*** Let me (diana_clarke) know if you want them changed in any way.
 
** alaski's older docs patch (which is probably out of date now but might be useful) is here: https://review.openstack.org/#/c/267153/
 
** alaski's older docs patch (which is probably out of date now but might be useful) is here: https://review.openstack.org/#/c/267153/
 
** Summary of current commands:
 
** Summary of current commands:

Revision as of 14:08, 18 January 2017

Nova Cells v2

Bugs

TODOs

Open Questions

  • Should the computes self-register with a cell when the compute_nodes record is created from the ResourceTracker? https://review.openstack.org/#/c/369634/
    • How would the computes know which cell to map to? We could add something to the model to flag a 'default' or 'staging' cell mapping, or put something into nova.conf on the compute node.
    • If we auto-register into a default/staging cell, how do we move hosts to other cells? nova-manage CLI?
  • Why can't we create an empty cell, i.e. a cell mapping with no computes? This is a fresh-install scenario.
    • Note that the nova-status upgrade check command does not consider it a failure if there are cell mappings but no compute nodes yet but simple_cell_setup does consider that a failure, see bug 1656276.
    • There has been a review up for this for awhile: https://review.openstack.org/#/c/332713/
      • This way, a fresh install would do something like: 'nova-manage cell_v2 map_cell0' 'nova-manage cell_v2 create_cell' and then once compute hosts are available, operator runs 'nova-manage cell_v2 discover_hosts'

Manifesto

http://docs.openstack.org/developer/nova/cells.html#manifesto

Testing

https://etherpad.openstack.org/p/nova-cells-testing

DB Table Analysis

https://etherpad.openstack.org/p/nova-cells-table-analysis

Scheduling requirements

https://etherpad.openstack.org/p/nova-cells-scheduling-requirements

Code Review

References