Public bug reported: After merging https://review.openstack.org/#/c/322311/ and https://review.openstack.org/#/c/354734/ ironic-grenade job is failing call "nova-manage cell_v2 simple_cell_setup" with:
2016-08-16 07:00:15.389 | error: (pymysql.err.IntegrityError) (1062, u"Duplicate entry 'ubuntu-trusty-rax-ord-3505064' for key 'uniq_host_mappings0host'") [SQL: u'INSERT INTO host_mappings (created_at, updated_at, cell_id, host) VALUES (%(created_at)s, %(updated_at)s, %(cell_id)s, %(host)s)'] [parameters: {'created_at': datetime.datetime(2016, 8, 16, 7, 0, 15, 386432), 'cell_id': 2, 'host': u'ubuntu-trusty-rax-ord-3505064', 'updated_at': None}] full log may be found here: http://logs.openstack.org/99/350399/5/check /gate-grenade-dsvm- ironic/4ec5728/logs/grenade.sh.txt.gz#_2016-08-16_07_00_15_389 The patch to devstack where cellsv2 were enabled https://review.openstack.org/#/c/322311/ failed to pass Ironic jobs: 2016-08-13 02:25:16.316 | 2016-08-13 02:25:16.316 20278 DEBUG oslo_policy._cache_handler [req-d499d0c6-b799-4886-b3b8-2c576ecb3137 - -] Reloading cached file /etc/nova/policy.json read_cached_file /usr/local/lib/python2.7/dist-packages/oslo_policy/_cache_handler.py:38 2016-08-13 02:25:16.318 | 2016-08-13 02:25:16.317 20278 DEBUG oslo_policy.policy [req-d499d0c6-b799-4886-b3b8-2c576ecb3137 - -] Reloaded policy file: /etc/nova/policy.json _load_policy_file /usr/local/lib/python2.7/dist-packages/oslo_policy/policy.py:584 2016-08-13 02:25:16.559 | No hosts found to map to cell, exiting. Full log may be found here: http://logs.openstack.org/11/322311/4/check/gate-tempest-dsvm-ironic-ipa-wholedisk-agent_ssh-tinyipa-nv/1347f2a/logs/devstacklog.txt.gz#_2016-08-13_02_25_16_316 Nova experts please take a look on this issues, it is a critical for ironic team. ** Affects: ironic Importance: Undecided Status: New ** Affects: nova Importance: Undecided Status: New ** Also affects: ironic Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1613622 Title: nova cellsv2 breaks ironic Status in Ironic: New Status in OpenStack Compute (nova): New Bug description: After merging https://review.openstack.org/#/c/322311/ and https://review.openstack.org/#/c/354734/ ironic-grenade job is failing call "nova-manage cell_v2 simple_cell_setup" with: 2016-08-16 07:00:15.389 | error: (pymysql.err.IntegrityError) (1062, u"Duplicate entry 'ubuntu-trusty-rax-ord-3505064' for key 'uniq_host_mappings0host'") [SQL: u'INSERT INTO host_mappings (created_at, updated_at, cell_id, host) VALUES (%(created_at)s, %(updated_at)s, %(cell_id)s, %(host)s)'] [parameters: {'created_at': datetime.datetime(2016, 8, 16, 7, 0, 15, 386432), 'cell_id': 2, 'host': u'ubuntu-trusty-rax-ord-3505064', 'updated_at': None}] full log may be found here: http://logs.openstack.org/99/350399/5/check/gate-grenade-dsvm- ironic/4ec5728/logs/grenade.sh.txt.gz#_2016-08-16_07_00_15_389 The patch to devstack where cellsv2 were enabled https://review.openstack.org/#/c/322311/ failed to pass Ironic jobs: 2016-08-13 02:25:16.316 | 2016-08-13 02:25:16.316 20278 DEBUG oslo_policy._cache_handler [req-d499d0c6-b799-4886-b3b8-2c576ecb3137 - -] Reloading cached file /etc/nova/policy.json read_cached_file /usr/local/lib/python2.7/dist-packages/oslo_policy/_cache_handler.py:38 2016-08-13 02:25:16.318 | 2016-08-13 02:25:16.317 20278 DEBUG oslo_policy.policy [req-d499d0c6-b799-4886-b3b8-2c576ecb3137 - -] Reloaded policy file: /etc/nova/policy.json _load_policy_file /usr/local/lib/python2.7/dist-packages/oslo_policy/policy.py:584 2016-08-13 02:25:16.559 | No hosts found to map to cell, exiting. Full log may be found here: http://logs.openstack.org/11/322311/4/check/gate-tempest-dsvm-ironic-ipa-wholedisk-agent_ssh-tinyipa-nv/1347f2a/logs/devstacklog.txt.gz#_2016-08-13_02_25_16_316 Nova experts please take a look on this issues, it is a critical for ironic team. To manage notifications about this bug go to: https://bugs.launchpad.net/ironic/+bug/1613622/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp