<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hu,</div>
<div><br>
</div>
<div>Reconfigure was not designed to handle changes to globals.yml.  I think its a good goal that it should be able to do so, but it does not today.</div>
<div><br>
</div>
<div>Reconfigure was designed to handle changes to /etc/kolla/config/* (where custom config for services live).  Reconfigure in its current incarnation in all our branches and master is really a misnomer – it should be service-reconfgiure – but that is wordy
 and we plan to make globals.yml reconfigurable if feasible – but probably not anytime soon.</div>
<div><br>
</div>
<div>Regards</div>
<div>-steve</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>"<a href="mailto:hu.zhijiang@zte.com.cn">hu.zhijiang@zte.com.cn</a>" <<a href="mailto:hu.zhijiang@zte.com.cn">hu.zhijiang@zte.com.cn</a>><br>
<span style="font-weight:bold">Reply-To: </span>"<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, June 1, 2016 at 6:24 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[openstack-dev] [Kolla] About kolla-ansible reconfigure<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div><font size="2" face="sans-serif">Hi </font><br>
<br>
<font size="2" face="sans-serif">After modifying the kolla_internal_vip_address in /etc/kolla/global.yml , I use kolla-ansible reconfigure to reconfigure OpenStack. But I got the following error.</font><br>
<font size="2" face="sans-serif"><br>
TASK: [mariadb | Restart containers] ******************************************</font><br>
<font size="2" face="sans-serif">skipping: [localhost] => (item=[{'group': 'mariadb', 'name': 'mariadb'}, {'KOLLA_BASE_DISTRO': 'centos', 'PS1': '$(tput bold)($(printenv KOLLA_SERVICE_NAME))$(tput sgr0)[$(id -un)@$(hostname -s) $(pwd)]$ ', 'KOLLA_INSTALL_TYPE':
 'binary', 'changed': False, 'item': {'group': 'mariadb', 'name': 'mariadb'}, 'KOLLA_CONFIG_STRATEGY': 'COPY_ALWAYS', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'invocation': {'module_name': u'kolla_docker', 'module_complex_args':
 {'action': 'get_container_env', 'name': u'mariadb'}, 'module_args': ''}, 'KOLLA_SERVICE_NAME': 'mariadb', 'KOLLA_INSTALL_METATYPE': 'rdo'}, {'cmd': ['docker', 'exec', 'mariadb', '/usr/local/bin/kolla_set_configs', '--check'], 'end': '2016-06-02 11:32:18.866276',
 'stderr': 'INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json\nINFO:__main__:Validating config file\nINFO:__main__:The config files are in the expected state', 'stdout': u'', 'item': {'group': 'mariadb', 'name': 'mariadb'}, 'changed':
 False, 'rc': 0, 'failed': False, 'warnings': [], 'delta': '0:00:00.075316', 'invocation': {'module_name': u'command', 'module_complex_args': {}, 'module_args': u'docker exec mariadb /usr/local/bin/kolla_set_configs --check'}, 'stdout_lines': [], 'failed_when_result':
 False, 'start': '2016-06-02 11:32:18.790960'}])</font> <br>
<br>
<font size="2" face="sans-serif">TASK: [mariadb | Waiting for MariaDB service to be ready through VIP] *********</font><br>
<font size="2" face="sans-serif">failed: [localhost] => {"attempts": 6, "changed": false, "cmd": ["docker", "exec", "mariadb", "mysql", "-h", "10.43.114.148/24", "-u", "haproxy", "-e", "show databases;"], "delta": "0:00:03.924516", "end": "2016-06-02 11:33:57.928139",
 "failed": true, "rc": 1, "start": "2016-06-02 11:33:54.003623", "stdout_lines": [], "warnings": []}</font><br>
<font size="2" face="sans-serif">stderr: ERROR 2005 (HY000): Unknown MySQL server host '10.43.114.148/24' (-2)</font><br>
<font size="2" face="sans-serif">msg: Task failed as maximum retries was encountered</font><br>
<br>
<font size="2" face="sans-serif">FATAL: all hosts have already failed -- aborting</font><br>
<br>
<br>
<font size="2" face="sans-serif">It seems that mariadb was not restart as expected.</font><br>
<br>
<pre><font color="blue">
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

</font></pre>
<br>
</div>
</div>
</blockquote>
</span>
</body>
</html>