CentOS HA 3 controller cluster re-deployment failed after adding two new controllers with heat-keystone-setup-domain &>/dev/null returned 1 instead of one of [0]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
High
|
Andrey Sledzinskiy | ||
7.0.x |
Confirmed
|
Critical
|
Unassigned |
Bug Description
{"build_id": "2015-04-
"ostf_sha": "4bab9b975ace8d
"build_number": "321",
"release_versions": {
"2014.2-6.1": {
"VERSION": {
"build_id": "2015-04-
"ostf_sha": "4bab9b975ace8d
"build_number": "321",
"api": "1.0",
"nailgun_sha": "939e5780cd0f7b
"openstack_
"production": "docker",
"python-
"astute_sha": "bf1751a4fe0d91
"feature_groups":
["mirantis"],
"release": "6.1",
"fuelmain_sha": "5981d230e9484c
"fuellib_sha": "65617981bef34e
"auth_required": true,
"api": "1.0",
"nailgun_sha": "939e5780cd0f7b
"openstack_
"production": "docker",
"python-
"astute_sha": "bf1751a4fe0d91
"feature_groups":
["mirantis"],
"release": "6.1",
"fuelmain_sha": "5981d230e9484c
"fuellib_sha": "65617981bef34e
Steps:
1. Create next cluster - HA, CentOS, flat nova-network, 1 controller
2. Deploy it
3. Add 2 new controllers
4. Deploy cluster
5. Add 2 new controllers
6. Start deployment
Actual result - re-deployment failed with errors in puppet (node-1):
(/Stage[
Logs are attached
Changed in mos: | |
assignee: | Fuel Library Team (fuel-library) → Igor Yozhikov (iyozhikov) |
status: | New → Confirmed |
Changed in mos: | |
status: | Confirmed → Incomplete |
assignee: | Igor Yozhikov (iyozhikov) → Andrey Sledzinskiy (asledzinskiy) |
Unfortunately, I can't reproduce this bug due errors related to unavailability of dnsmasq running in namespace.
For now found next from log files:
puppet: setup-domain &>/dev/null' setup-domain &>/dev/null returned 1 instead of one of [0] 20T07:57: 04.869237+ 00:00 debug: Conflict user: (IntegrityError) (1062, "Duplicate entry '773c50c765654c 34a327ebf5f648d 451-heat_ admin' for key 'ixu_user_ name_domain_ id'") 'INSERT INTO user (id, name, domain_id, password, enabled, 78eb1dc91478b74 621f', 'heat_admin', '773c50c765654c 34a327ebf5f648d 451', '$6$rounds= 40000$3cC3EP7SB FwIKN9h$ 8K/HlFccJBOCbIO bN46T1IQQ71aMOs O.FzsRCX7HhS5Rz bMVMT3u6 g//m90maB9x8WEq PW/', 1, '{"description": "Heat domain admin"}', None) 20T07:57: 04.870658+ 00:00 warning: Conflict occurred attempting to store user - Duplicate Entry
Mon Apr 20 07:57:03 +0000 2015 Puppet (debug): Executing 'heat-keystone-
Mon Apr 20 07:57:05 +0000 2015 Puppet (err): heat-keystone-
keystone:
2015-04-
extra, default_project_id) VALUES (%s, %s, %s, %s, %s, %s, %s)' ('e2b5cdc441f84
0usrWF7LoDXn9Vt
2015-04-
puppet: setup-domain &>/dev/null' setup-domain &>/dev/null returned 1 instead of one of [0] 20T07:51: 23.723210+ 00:00 debug: Conflict domain: (IntegrityError) (1062, "Duplicate entry 'heat' for key 'ixu_domain_name'") 'INSERT INTO domain (id, name, enabled, extra) VALUES (%s, %s, %s, %s)' ('1a41fc6a56084 8a6b258d5e5c204 e5c3', 'heat', 1, '{"description": "Contains users and projects created by heat"}') 20T07:51: 23.725353+ 00:00 warning: Conflict occurred attempting to store domain - Duplicate Entry 20T07:51: 55.877181+ 00:00 debug: Conflict user: (IntegrityError) (1062, "Duplicate entry '773c50c765654c 34a327ebf5f648d 451-heat_ admin' for key 'ixu_user_ name_domain_ id'") 'INSERT INTO user (id, name, domain_id, password, enabled, extra, default_project_id) VALUES (%s, %s, %s, %s, %s, %s, %s)' ('c540b767e7e04 d639ae7fa039908 f29d', 'heat_admin', '773c50c765654c 34a327ebf5f648d 451', '$6$rounds= 40000$ySdzXk5bz bMovEbb$ 2iBcMbe2xWNtTGt qQnfLFqZdb/ gGD3RMRB. 9A2wvfRz1vGqm. Cn.Ril3/ eloWQww9lt4QWFm 2wgjo4F3LQJGA/ ', 1, '{"description": "Heat domain admin"}', None) 20T07:51: 55.906372+ 00:00 warning: Conflict occurred attempting to store user - Duplicate Entry
Mon Apr 20 07:51:52 +0000 2015 Puppet (debug): Executing 'heat-keystone-
Mon Apr 20 07:51:56 +0000 2015 Puppet (err): heat-keystone-
keystone:
2015-04-
2015-04-
2015-04-
2015-04-
puppet: setup-domain &>/dev/null' setup-domain &>/dev/null returned 1 instead of one of [0] 20T07:51: 23.723210+ 00:00 debug: Conflict domain: (IntegrityError) (1062, "Duplicate entry 'heat' for key 'ixu_domain_name'") 'INSERT INTO domain (id, name, enabled, extra) VALUES (%s, %s, %s, %s)' ('1a41fc6a56084 8a6b258d5e5c204 e5c3', 'heat', 1, '{"description": "Contains users and projects created by heat"}') 20T07:51: 23.725353+ 00:00 warning: Conflict occurred attempting to store domain - Duplicate Entry
Mon Apr 20 07:51:20 +0000 2015 Puppet (debug): Executing 'heat-keystone-
Mon Apr 20 07:51:23 +0000 2015 Puppet (err): heat-keystone-
keystone:
015-04-
2015-04-