Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Karthik Prasad, Thanks for the response! When I run "nova-manage cell_v2 map_cell0", I got the following: error: (pymysql.err.IntegrityError) (1062, u"Duplicate entry '00000000-0000-0000-0000-000000000000' for key 'uniq_cell_mappings0uuid'") [SQL: u'INSERT INTO cell_mappings (created_at, updated_at, uuid, name, transport_url, database_connection) VALUES (%(created_at)s, %(updated_at)s, %(uuid)s, %(name)s, %(transport_url)s, %(database_connection)s)'] [parameters: {'uuid': '00000000-0000-0000-0000-000000000000', 'transport_url': u'none:///', 'created_at': datetime.datetime(2017, 2, 21, 16, 14, 35, 17029), 'updated_at': None, 'name': u'cell0', 'database_connection': u'mysql+pymysql://nova_api:password@192.168.36.201/nova_api_cell0?charset=utf8'}]

And my cell_mapping db table shows like this: MariaDB [nova_api]> select * from cell_mappings; +---------------------+------------+----+--------------------------------------+-------+---------------------------------------------------+---------------------------------------------------------------------------+ | created_at | updated_at | id | uuid | name | transport_url | database_connection | +---------------------+------------+----+--------------------------------------+-------+---------------------------------------------------+---------------------------------------------------------------------------+ | 2017-02-20 03:51:30 | NULL | 1 | 00000000-0000-0000-0000-000000000000 | cell0 | none:/// | mysql+pymysql://nova_api:123sqwert@192.168.36.201/nova_cell0?charset=utf8 | | 2017-02-20 03:51:37 | NULL | 2 | 56d04f0d-57fd-4c76-a87c-5da768380a60 | cell1 | rabbit://nova:123sqwert@192.168.36.192:5671//nova | mysql+pymysql://nova:123sqwert@192.168.36.201/nova?charset=utf8 | | 2017-02-21 01:35:45 | NULL | 5 | f59551e4-f4a3-4856-8115-949cf1f7802a | NULL | rabbit://nova:123sqwert@192.168.36.192:5671//nova | mysql+pymysql://nova:123sqwert@192.168.36.201/nova?charset=utf8 | +---------------------+------------+----+--------------------------------------+-------+---------------------------------------------------+----------------

Could you post how is your cell_mappings table looks like?

Thanks again!