[Starlingx-discuss] Bootstrap edge from Virtualize Central cloud cause DBConnectionError

Rai, Ankush Ankush.Rai at commscope.com
Thu Apr 1 18:03:28 UTC 2021


Hi,

I am to hosting the central cloud in virtualized environment and trying to bootstrap the edge from central. But as soon as I add the edge in to central, Central active VM went down with below error.
I am not getting,  what is going wrong here.   Any pointer to solve this issue?
[Diagram  Description automatically generated]



-04-01 16:06:56.392 9101 INFO dcmanager.audit.subcloud_audit_manager [-] All subcloud audits have completed.
2021-04-01 16:07:02.331 9556 INFO eventlet.wsgi.server [req-f8cce17b-7024-4e37-bdd7-3e2f432e1aa7 73ef5a9550864797ac024acc561ab889 - - default default] 10.10.11.4 "POST /v1.0/subclouds/ HTTP/1.1" status: 200  len: 783 time: 1.0554130
2021-04-01 16:07:02.336 8665 INFO dcmanager.manager.service [req-f8cce17b-7024-4e37-bdd7-3e2f432e1aa7 73ef5a9550864797ac024acc561ab889 - - default default] Handling add_subcloud request for: commscope1
2021-04-01 16:07:02.340 8665 INFO dcmanager.manager.subcloud_manager [req-f8cce17b-7024-4e37-bdd7-3e2f432e1aa7 73ef5a9550864797ac024acc561ab889 - - default default] Adding subcloud commscope1.
2021-04-01 16:07:03.573 8665 INFO dccommon.drivers.openstack.sysinv_v1 [req-f8cce17b-7024-4e37-bdd7-3e2f432e1aa7 73ef5a9550864797ac024acc561ab889 - - default default] Creating route: interface: b0540884-f940-4af9-91a1-f87157c04988 dest: 10.214.6.0/24 gateway: 10.10.11.1 metric 1
2021-04-01 16:07:08.339 8665 INFO dccommon.drivers.openstack.sysinv_v1 [req-f8cce17b-7024-4e37-bdd7-3e2f432e1aa7 73ef5a9550864797ac024acc561ab889 - - default default] Creating route: interface: 99cc1e4e-5c34-4779-b124-db9692e41c18 dest: 10.214.6.0/24 gateway: 10.10.11.1 metric 1
2021-04-01 16:07:16.394 9101 INFO dcmanager.audit.subcloud_audit_manager [-] Triggered subcloud audit.
2021-04-01 16:07:16.418 9101 INFO dcmanager.audit.subcloud_audit_manager [-] Waiting for subcloud audits to complete.
2021-04-01 16:07:16.418 9101 INFO dcmanager.audit.subcloud_audit_manager [-] All subcloud audits have completed.
2021-04-01 16:07:18.588 8665 ERROR dcmanager.manager.subcloud_manager [-] Failed to run the subcloud bootstrap playbook for subcloud commscope1, check individual log at /var/log/dcmanager/commscope1_bootstrap_2021-04-01-16-07-15.log for detailed output.: CalledProcessError: Command 'ansible-playbook' returned non-zero exit status 4
2021-04-01 16:07:36.422 9101 INFO dcmanager.audit.subcloud_audit_manager [-] Triggered subcloud audit.
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines [-] Database connection was found disconnected; reconnecting: DBConnectionError: (psycopg2.OperationalError) server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
[SQL: 'SELECT 1']
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines Traceback (most recent call last):
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 73, in _connect_ping_listener
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     connection.scalar(select([1]))
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 877, in scalar
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     return self.execute(object, *multiparams, **params).scalar()
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 945, in execute
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     return meth(self, multiparams, params)
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 263, in _execute_on_connection
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     return connection._execute_clauseelement(self, multiparams, params)
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1053, in _execute_clauseelement
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     compiled_sql, distilled_params
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1189, in _execute_context
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     context)
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1398, in _handle_dbapi_exception
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     util.raise_from_cause(newraise, exc_info)
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     reraise(type(exception), exception, tb=exc_tb, cause=cause)
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     context)
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines     cursor.execute(statement, parameters)
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines DBConnectionError: (psycopg2.OperationalError) server closed the connection unexpectedly
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   This probably means the server terminated abnormally
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines   before or while processing the request.
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines  [SQL: 'SELECT 1']
2021-04-01 16:07:36.439 9101 ERROR oslo_db.sqlalchemy.engines
2021-04-01 16:07:41.619 9054 INFO oslo_service.service [-] Caught SIGTERM, stopping children
2021-04-01 16:07:41.630 9054 INFO oslo.service.wsgi [-] Stopping WSGI server.
2021-04-01 16:07:41.631 9054 INFO oslo_service.service [-] Waiting on 2 children to exit
2021-04-01 16:07:41.637 9555 INFO oslo.service.wsgi [-] Stopping WSGI server.
2021-04-01 16:07:41.640 9555 INFO eventlet.wsgi.server [-] (9555) wsgi exited, is_accepting=True
2021-04-01 16:07:41.640 9556 INFO oslo.service.wsgi [-] Stopping WSGI server.
2021-04-01 16:07:41.648 9556 INFO eventlet.wsgi.server [-] (9556) wsgi exited, is_accepting=True
2021-04-01 16:07:41.653 9054 INFO oslo_service.service [-] Child 9555 exited with status 0
2021-04-01 16:07:41.658 9054 INFO oslo_service.service [-] Child 9556 exited with status 0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20210401/08c3578a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 42756 bytes
Desc: image001.jpg
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20210401/08c3578a/attachment-0001.jpg>


More information about the Starlingx-discuss mailing list