nova/releasenotes/notes/ocata-requires-cellv2-96bd243be874d77f.yaml
Dan Smith 5b44737e0c Fix the generated cell0 default database name
This makes the default database name for cell0 be based on the
main database name, not the api one. Before this, we would get
a database name of nova_api_cell0 by default, intead of nova_cell0.
This was confusing because cell0 has "main" schema inside, not "api"
schema.

Closes-Bug: #1656673
Change-Id: I86797785f76c2c927a4db8fef72b8f8d986af6b9
2017-01-16 17:02:59 -05:00

13 lines
674 B
YAML

---
upgrade:
- Ocata requires that your deployment have created the
cell and host mappings in Newton. If you have not done
this, Ocata's `db sync` command will fail. Small deployments
will want to run `nova-manage cell_v2 simple_cell_setup`
on Newton before upgrading. Operators must create a new database for cell0
before running `cell_v2 simple_cell_setup`. The simple cell setup command
expects the name of the cell0 database to be `<main database name>_cell0`
as it will create a cell mapping for cell0 based on the main database
connection, sync the cell0 database, and associate existing hosts and
instances with the single cell.