yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86285
[Bug 1931513] [NEW] neutron bootstrap container failed during deploy openstack victoria
Public bug reported:
i'm using https://docs.openstack.org/project-deploy-guide/kolla-ansible/victoria/quickstart.html this link tried to deploy openstack victoria version. But after executed deploy command below error appeared.
I did all actions correctly and using five nodes.
TASK [neutron : Running Neutron bootstrap container]
**************************************************************************************************************************************************fatal:
[neb-1 -> neb-1]: FAILED! => {"changed": true, "msg": "Container exited
with non-zero return code 1", "rc": 1, "stderr": "+ sudo -E
kolla_set_configs\nINFO:__main__:Loading config file at
/var/lib/kolla/config_files/config.json\nINFO:__main__:Validating config
file\nINFO:__main__:Kolla config strategy set to:
COPY_ALWAYS\nINFO:__main__:Copying service configuration
files\nINFO:__main__:Copying /var/lib/kolla/config_files/neutron.conf to
/etc/neutron/neutron.conf\nINFO:__main__:Setting permission for
/etc/neutron/neutron.conf\nINFO:__main__:Copying
/var/lib/kolla/config_files/neutron_vpnaas.conf to
/etc/neutron/neutron_vpnaas.conf\nINFO:__main__:Setting permission for
/etc/neutron/neutron_vpnaas.conf\nINFO:__main__:Copying
/var/lib/kolla/config_files/ml2_conf.ini to
/etc/neutron/plugins/ml2/ml2_conf.ini\nINFO:__main__:Setting permission
for /etc/neutron/plugins/ml2/ml2_conf.ini\nINFO:__main__:Writing out
command to execute\n++ cat /run_command\n+ CMD='neutron-server --config-
file /etc/neutron/neutron.conf --config-file
/etc/neutron/plugins/ml2/ml2_conf.ini --config-file
/etc/neutron/neutron_vpnaas.conf '\n+ ARGS=\n+ sudo
kolla_copy_cacerts\n+ [[ ! -n '' ]]\n+ . kolla_extend_start\n++ [[ ! -d
/var/log/kolla/neutron ]]\n++ mkdir -p /var/log/kolla/neutron\n+++ stat
-c %a /var/log/kolla/neutron\n++ [[ 2755 != \\7\\5\\5 ]]\n++ chmod 755
/var/log/kolla/neutron\n++ [[ ubuntu == \\c\\e\\n\\t\\o\\s ]]\n++ export
UPDATE_ALTERNATIVES=/usr/bin/update-alternatives\n++
UPDATE_ALTERNATIVES=/usr/bin/update-alternatives\n++ /usr/bin/update-
alternatives --query iptables\n++ KOLLA_LEGACY_IPTABLES=false\n++ [[
false == \\t\\r\\u\\e ]]\n++ sudo /usr/bin/update-alternatives --auto
iptables\n++ sudo /usr/bin/update-alternatives --auto ip6tables\n++ .
/usr/local/bin/kolla_neutron_extend_start\n+++ [[ -n 0 ]]\n+++ neutron-
db-manage --subproject neutron upgrade head\nINFO
[alembic.runtime.migration] Context impl MySQLImpl.\nINFO
[alembic.runtime.migration] Will assume non-transactional DDL.\nINFO
[alembic.runtime.migration] Context impl MySQLImpl.\nINFO
[alembic.runtime.migration] Will assume non-transactional DDL.\nINFO
[alembic.runtime.migration] Running upgrade -> kilo\nTraceback (most
recent call last):\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1276, in _execute_context\n
self.dialect.do_execute(\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/sqlalchemy/engine/default.py\", line 593, in do_execute\n
cursor.execute(statement, parameters)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/cursors.py\",
line 163, in execute\n result = self._query(query)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/cursors.py\",
line 321, in _query\n conn.query(q)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 505, in query\n
self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 724, in _read_query_result\n
result.read()\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 1069, in read\n first_packet
= self.connection._read_packet()\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 676, in _read_packet\n
packet.raise_for_error()\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/pymysql/protocol.py\", line 223, in raise_for_error\n
err.raise_mysql_exception(self._data)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/err.py\", line
107, in raise_mysql_exception\n raise errorclass(errno,
errval)\npymysql.err.OperationalError: (1213, 'WSREP replication failed.
Check your wsrep connection state and retry the query.')\n\nThe above
exception was the direct cause of the following exception:\n\nTraceback
(most recent call last):\n File \"/var/lib/kolla/venv/bin/neutron-db-
manage\", line 8, in <module>\n sys.exit(main())\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 658, in main\n
return_val |= bool(CONF.command.func(config, CONF.command.name))\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 181, in do_upgrade\n
do_alembic_command(config, cmd, revision=revision,\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 83, in do_alembic_command\n
getattr(alembic_command, cmd)(config, *args, **kwargs)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/alembic/command.py\",
line 298, in upgrade\n script.run_env()\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/script/base.py\", line 489, in run_env\n
util.load_python_file(self.dir, \"env.py\")\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/util/pyfiles.py\", line 98, in load_python_file\n
module = load_module_py(module_id, path)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/util/compat.py\", line 184, in load_module_py\n
spec.loader.exec_module(module)\n File \"<frozen
importlib._bootstrap_external>\", line 783, in exec_module\n File
\"<frozen importlib._bootstrap>\", line 219, in
_call_with_frames_removed\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/neutron/db/migration/alembic_migrations/env.py\", line
120, in <module>\n run_migrations_online()\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/env.py\", line 114, in
run_migrations_online\n context.run_migrations()\n File
\"<string>\", line 8, in run_migrations\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/runtime/environment.py\", line 846, in run_migrations\n
self.get_context().run_migrations(**kw)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/runtime/migration.py\", line 520, in run_migrations\n
step.migration_fn(**kw)\n File \"/var/lib/kolla/venv/lib/python3.8
/site-
packages/neutron/db/migration/alembic_migrations/versions/kilo_initial.py\",
line 68, in upgrade\n cisco_init_ops.upgrade()\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/cisco_init_ops.py\",
line 311, in upgrade\n op.create_table(\n File \"<string>\", line 8,
in create_table\n File \"<string>\", line 3, in create_table\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/ops.py\", line 1252, in create_table\n
return operations.invoke(op)\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/alembic/operations/base.py\", line 374, in invoke\n
return fn(self, operation)\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/alembic/operations/toimpl.py\", line 101, in
create_table\n operations.impl.create_table(table)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/alembic/ddl/impl.py\",
line 258, in create_table\n self._exec(schema.CreateTable(table))\n
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/ddl/impl.py\", line 140, in _exec\n return
conn.execute(construct, *multiparams, **params)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1011, in execute\n return
meth(self, multiparams, params)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/sql/ddl.py\", line 72, in _execute_on_connection\n
return connection._execute_ddl(self, multiparams, params)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1068, in _execute_ddl\n
ret = self._execute_context(\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/sqlalchemy/engine/base.py\", line 1316, in
_execute_context\n self._handle_dbapi_exception(\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1508, in
_handle_dbapi_exception\n util.raise_(newraise,
with_traceback=exc_info[2], from_=e)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/util/compat.py\", line 182, in raise_\n raise
exception\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1276, in _execute_context\n
self.dialect.do_execute(\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/sqlalchemy/engine/default.py\", line 593, in do_execute\n
cursor.execute(statement, parameters)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/cursors.py\",
line 163, in execute\n result = self._query(query)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/cursors.py\",
line 321, in _query\n conn.query(q)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 505, in query\n
self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 724, in _read_query_result\n
result.read()\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 1069, in read\n first_packet
= self.connection._read_packet()\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 676, in _read_packet\n
packet.raise_for_error()\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/pymysql/protocol.py\", line 223, in raise_for_error\n
err.raise_mysql_exception(self._data)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/err.py\", line
107, in raise_mysql_exception\n raise errorclass(errno,
errval)\nsqlalchemy.exc.OperationalError: (pymysql.err.OperationalError)
(1213, 'WSREP replication failed. Check your wsrep connection state and
retry the query.')\n[SQL: \nCREATE TABLE cisco_ml2_n1kv_profile_bindings
(\n\tprofile_type ENUM('network','policy'), \n\ttenant_id VARCHAR(36)
NOT NULL DEFAULT 'tenant_id_not_set', \n\tprofile_id VARCHAR(36) NOT
NULL, \n\tPRIMARY KEY (tenant_id,
profile_id)\n)ENGINE=InnoDB\n\n]\n(Background on this error at:
http://sqlalche.me/e/13/e3q8)\n", "stderr_lines": ["+ sudo -E
kolla_set_configs", "INFO:__main__:Loading config file at
/var/lib/kolla/config_files/config.json", "INFO:__main__:Validating
config file", "INFO:__main__:Kolla config strategy set to: COPY_ALWAYS",
"INFO:__main__:Copying service configuration files",
"INFO:__main__:Copying /var/lib/kolla/config_files/neutron.conf to
/etc/neutron/neutron.conf", "INFO:__main__:Setting permission for
/etc/neutron/neutron.conf", "INFO:__main__:Copying
/var/lib/kolla/config_files/neutron_vpnaas.conf to
/etc/neutron/neutron_vpnaas.conf", "INFO:__main__:Setting permission for
/etc/neutron/neutron_vpnaas.conf", "INFO:__main__:Copying
/var/lib/kolla/config_files/ml2_conf.ini to
/etc/neutron/plugins/ml2/ml2_conf.ini", "INFO:__main__:Setting
permission for /etc/neutron/plugins/ml2/ml2_conf.ini",
"INFO:__main__:Writing out command to execute", "++ cat /run_command",
"+ CMD='neutron-server --config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file
/etc/neutron/neutron_vpnaas.conf '", "+ ARGS=", "+ sudo
kolla_copy_cacerts", "+ [[ ! -n '' ]]", "+ . kolla_extend_start", "++ [[
! -d /var/log/kolla/neutron ]]", "++ mkdir -p /var/log/kolla/neutron",
"+++ stat -c %a /var/log/kolla/neutron", "++ [[ 2755 != \\7\\5\\5 ]]",
"++ chmod 755 /var/log/kolla/neutron", "++ [[ ubuntu ==
\\c\\e\\n\\t\\o\\s ]]", "++ export UPDATE_ALTERNATIVES=/usr/bin/update-
alternatives", "++ UPDATE_ALTERNATIVES=/usr/bin/update-alternatives",
"++ /usr/bin/update-alternatives --query iptables", "++
KOLLA_LEGACY_IPTABLES=false", "++ [[ false == \\t\\r\\u\\e ]]", "++ sudo
/usr/bin/update-alternatives --auto iptables", "++ sudo /usr/bin/update-
alternatives --auto ip6tables", "++ .
/usr/local/bin/kolla_neutron_extend_start", "+++ [[ -n 0 ]]", "+++
neutron-db-manage --subproject neutron upgrade head", "INFO
[alembic.runtime.migration] Context impl MySQLImpl.", "INFO
[alembic.runtime.migration] Will assume non-transactional DDL.", "INFO
[alembic.runtime.migration] Context impl MySQLImpl.", "INFO
[alembic.runtime.migration] Will assume non-transactional DDL.", "INFO
[alembic.runtime.migration] Running upgrade -> kilo", "Traceback (most
recent call last):", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1276, in _execute_context", "
self.dialect.do_execute(", " File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/sqlalchemy/engine/default.py\", line 593, in do_execute",
" cursor.execute(statement, parameters)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/cursors.py\",
line 163, in execute", " result = self._query(query)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/cursors.py\",
line 321, in _query", " conn.query(q)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 505, in query", "
self._affected_rows = self._read_query_result(unbuffered=unbuffered)", "
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 724, in _read_query_result", "
result.read()", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 1069, in read", "
first_packet = self.connection._read_packet()", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 676, in _read_packet", "
packet.raise_for_error()", " File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/pymysql/protocol.py\", line 223, in raise_for_error", "
err.raise_mysql_exception(self._data)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/err.py\", line
107, in raise_mysql_exception", " raise errorclass(errno, errval)",
"pymysql.err.OperationalError: (1213, 'WSREP replication failed. Check
your wsrep connection state and retry the query.')", "", "The above
exception was the direct cause of the following exception:", "",
"Traceback (most recent call last):", " File \"/var/lib/kolla/venv/bin
/neutron-db-manage\", line 8, in <module>", " sys.exit(main())", "
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 658, in main", "
return_val |= bool(CONF.command.func(config, CONF.command.name))", "
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 181, in do_upgrade", "
do_alembic_command(config, cmd, revision=revision,", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 83, in do_alembic_command",
" getattr(alembic_command, cmd)(config, *args, **kwargs)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/alembic/command.py\",
line 298, in upgrade", " script.run_env()", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/script/base.py\", line 489, in run_env", "
util.load_python_file(self.dir, \"env.py\")", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/util/pyfiles.py\", line 98, in load_python_file", "
module = load_module_py(module_id, path)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/util/compat.py\", line 184, in load_module_py", "
spec.loader.exec_module(module)", " File \"<frozen
importlib._bootstrap_external>\", line 783, in exec_module", " File
\"<frozen importlib._bootstrap>\", line 219, in
_call_with_frames_removed", " File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/neutron/db/migration/alembic_migrations/env.py\", line
120, in <module>", " run_migrations_online()", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/env.py\", line 114, in
run_migrations_online", " context.run_migrations()", " File
\"<string>\", line 8, in run_migrations", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/runtime/environment.py\", line 846, in run_migrations",
" self.get_context().run_migrations(**kw)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/runtime/migration.py\", line 520, in run_migrations", "
step.migration_fn(**kw)", " File \"/var/lib/kolla/venv/lib/python3.8
/site-
packages/neutron/db/migration/alembic_migrations/versions/kilo_initial.py\",
line 68, in upgrade", " cisco_init_ops.upgrade()", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/cisco_init_ops.py\",
line 311, in upgrade", " op.create_table(", " File \"<string>\",
line 8, in create_table", " File \"<string>\", line 3, in
create_table", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/ops.py\", line 1252, in create_table", "
return operations.invoke(op)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/base.py\", line 374, in invoke", " return
fn(self, operation)", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/toimpl.py\", line 101, in create_table", "
operations.impl.create_table(table)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/alembic/ddl/impl.py\",
line 258, in create_table", " self._exec(schema.CreateTable(table))",
" File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/ddl/impl.py\", line 140, in _exec", " return
conn.execute(construct, *multiparams, **params)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1011, in execute", "
return meth(self, multiparams, params)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/sql/ddl.py\", line 72, in _execute_on_connection", "
return connection._execute_ddl(self, multiparams, params)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1068, in _execute_ddl", "
ret = self._execute_context(", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1316, in _execute_context", "
self._handle_dbapi_exception(", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1508, in
_handle_dbapi_exception", " util.raise_(newraise,
with_traceback=exc_info[2], from_=e)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/util/compat.py\", line 182, in raise_", " raise
exception", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1276, in _execute_context", "
self.dialect.do_execute(", " File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/sqlalchemy/engine/default.py\", line 593, in do_execute",
" cursor.execute(statement, parameters)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/cursors.py\",
line 163, in execute", " result = self._query(query)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/cursors.py\",
line 321, in _query", " conn.query(q)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 505, in query", "
self._affected_rows = self._read_query_result(unbuffered=unbuffered)", "
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 724, in _read_query_result", "
result.read()", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 1069, in read", "
first_packet = self.connection._read_packet()", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 676, in _read_packet", "
packet.raise_for_error()", " File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/pymysql/protocol.py\", line 223, in raise_for_error", "
err.raise_mysql_exception(self._data)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/err.py\", line
107, in raise_mysql_exception", " raise errorclass(errno, errval)",
"sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1213,
'WSREP replication failed. Check your wsrep connection state and retry
the query.')", "[SQL: ", "CREATE TABLE cisco_ml2_n1kv_profile_bindings
(", "\tprofile_type ENUM('network','policy'), ", "\ttenant_id
VARCHAR(36) NOT NULL DEFAULT 'tenant_id_not_set', ", "\tprofile_id
VARCHAR(36) NOT NULL, ", "\tPRIMARY KEY (tenant_id, profile_id)",
")ENGINE=InnoDB", "", "]", "(Background on this error at:
http://sqlalche.me/e/13/e3q8)"], "stdout": "Name: iptables\nLink:
/usr/sbin/iptables\nSlaves:\n iptables-restore /usr/sbin/iptables-
restore\n iptables-save /usr/sbin/iptables-save\nStatus: auto\nBest:
/usr/sbin/iptables-legacy\nValue: /usr/sbin/iptables-
legacy\n\nAlternative: /usr/sbin/iptables-legacy\nPriority:
20\nSlaves:\n iptables-restore /usr/sbin/iptables-legacy-restore\n
iptables-save /usr/sbin/iptables-legacy-save\n\nAlternative: /usr/sbin
/iptables-nft\nPriority: 10\nSlaves:\n iptables-restore /usr/sbin
/iptables-nft-restore\n iptables-save /usr/sbin/iptables-nft-
save\nRunning upgrade for neutron ...\n", "stdout_lines": ["Name:
iptables", "Link: /usr/sbin/iptables", "Slaves:", " iptables-restore
/usr/sbin/iptables-restore", " iptables-save /usr/sbin/iptables-save",
"Status: auto", "Best: /usr/sbin/iptables-legacy", "Value: /usr/sbin
/iptables-legacy", "", "Alternative: /usr/sbin/iptables-legacy",
"Priority: 20", "Slaves:", " iptables-restore /usr/sbin/iptables-legacy-
restore", " iptables-save /usr/sbin/iptables-legacy-save", "",
"Alternative: /usr/sbin/iptables-nft", "Priority: 10", "Slaves:", "
iptables-restore /usr/sbin/iptables-nft-restore", " iptables-save
/usr/sbin/iptables-nft-save", "Running upgrade for neutron ..."]}
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1931513
Title:
neutron bootstrap container failed during deploy openstack victoria
Status in neutron:
New
Bug description:
i'm using https://docs.openstack.org/project-deploy-guide/kolla-ansible/victoria/quickstart.html this link tried to deploy openstack victoria version. But after executed deploy command below error appeared.
I did all actions correctly and using five nodes.
TASK [neutron : Running Neutron bootstrap container]
**************************************************************************************************************************************************fatal:
[neb-1 -> neb-1]: FAILED! => {"changed": true, "msg": "Container
exited with non-zero return code 1", "rc": 1, "stderr": "+ sudo -E
kolla_set_configs\nINFO:__main__:Loading config file at
/var/lib/kolla/config_files/config.json\nINFO:__main__:Validating
config file\nINFO:__main__:Kolla config strategy set to:
COPY_ALWAYS\nINFO:__main__:Copying service configuration
files\nINFO:__main__:Copying /var/lib/kolla/config_files/neutron.conf
to /etc/neutron/neutron.conf\nINFO:__main__:Setting permission for
/etc/neutron/neutron.conf\nINFO:__main__:Copying
/var/lib/kolla/config_files/neutron_vpnaas.conf to
/etc/neutron/neutron_vpnaas.conf\nINFO:__main__:Setting permission for
/etc/neutron/neutron_vpnaas.conf\nINFO:__main__:Copying
/var/lib/kolla/config_files/ml2_conf.ini to
/etc/neutron/plugins/ml2/ml2_conf.ini\nINFO:__main__:Setting
permission for
/etc/neutron/plugins/ml2/ml2_conf.ini\nINFO:__main__:Writing out
command to execute\n++ cat /run_command\n+ CMD='neutron-server
--config-file /etc/neutron/neutron.conf --config-file
/etc/neutron/plugins/ml2/ml2_conf.ini --config-file
/etc/neutron/neutron_vpnaas.conf '\n+ ARGS=\n+ sudo
kolla_copy_cacerts\n+ [[ ! -n '' ]]\n+ . kolla_extend_start\n++ [[ !
-d /var/log/kolla/neutron ]]\n++ mkdir -p /var/log/kolla/neutron\n+++
stat -c %a /var/log/kolla/neutron\n++ [[ 2755 != \\7\\5\\5 ]]\n++
chmod 755 /var/log/kolla/neutron\n++ [[ ubuntu == \\c\\e\\n\\t\\o\\s
]]\n++ export UPDATE_ALTERNATIVES=/usr/bin/update-alternatives\n++
UPDATE_ALTERNATIVES=/usr/bin/update-alternatives\n++ /usr/bin/update-
alternatives --query iptables\n++ KOLLA_LEGACY_IPTABLES=false\n++ [[
false == \\t\\r\\u\\e ]]\n++ sudo /usr/bin/update-alternatives --auto
iptables\n++ sudo /usr/bin/update-alternatives --auto ip6tables\n++ .
/usr/local/bin/kolla_neutron_extend_start\n+++ [[ -n 0 ]]\n+++
neutron-db-manage --subproject neutron upgrade head\nINFO
[alembic.runtime.migration] Context impl MySQLImpl.\nINFO
[alembic.runtime.migration] Will assume non-transactional DDL.\nINFO
[alembic.runtime.migration] Context impl MySQLImpl.\nINFO
[alembic.runtime.migration] Will assume non-transactional DDL.\nINFO
[alembic.runtime.migration] Running upgrade -> kilo\nTraceback (most
recent call last):\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1276, in _execute_context\n
self.dialect.do_execute(\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/sqlalchemy/engine/default.py\", line 593, in
do_execute\n cursor.execute(statement, parameters)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/cursors.py\", line 163, in execute\n result =
self._query(query)\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/cursors.py\", line 321, in _query\n
conn.query(q)\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 505, in query\n
self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 724, in _read_query_result\n
result.read()\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 1069, in read\n
first_packet = self.connection._read_packet()\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 676, in _read_packet\n
packet.raise_for_error()\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/pymysql/protocol.py\", line 223, in raise_for_error\n
err.raise_mysql_exception(self._data)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/err.py\",
line 107, in raise_mysql_exception\n raise errorclass(errno,
errval)\npymysql.err.OperationalError: (1213, 'WSREP replication
failed. Check your wsrep connection state and retry the
query.')\n\nThe above exception was the direct cause of the following
exception:\n\nTraceback (most recent call last):\n File
\"/var/lib/kolla/venv/bin/neutron-db-manage\", line 8, in <module>\n
sys.exit(main())\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 658, in main\n
return_val |= bool(CONF.command.func(config, CONF.command.name))\n
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 181, in do_upgrade\n
do_alembic_command(config, cmd, revision=revision,\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 83, in
do_alembic_command\n getattr(alembic_command, cmd)(config, *args,
**kwargs)\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/command.py\", line 298, in upgrade\n
script.run_env()\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/script/base.py\", line 489, in run_env\n
util.load_python_file(self.dir, \"env.py\")\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/util/pyfiles.py\", line 98, in load_python_file\n
module = load_module_py(module_id, path)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/util/compat.py\", line 184, in load_module_py\n
spec.loader.exec_module(module)\n File \"<frozen
importlib._bootstrap_external>\", line 783, in exec_module\n File
\"<frozen importlib._bootstrap>\", line 219, in
_call_with_frames_removed\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/neutron/db/migration/alembic_migrations/env.py\", line
120, in <module>\n run_migrations_online()\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/env.py\", line 114,
in run_migrations_online\n context.run_migrations()\n File
\"<string>\", line 8, in run_migrations\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/runtime/environment.py\", line 846, in
run_migrations\n self.get_context().run_migrations(**kw)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/runtime/migration.py\", line 520, in run_migrations\n
step.migration_fn(**kw)\n File \"/var/lib/kolla/venv/lib/python3.8
/site-
packages/neutron/db/migration/alembic_migrations/versions/kilo_initial.py\",
line 68, in upgrade\n cisco_init_ops.upgrade()\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/cisco_init_ops.py\",
line 311, in upgrade\n op.create_table(\n File \"<string>\", line
8, in create_table\n File \"<string>\", line 3, in create_table\n
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/ops.py\", line 1252, in create_table\n
return operations.invoke(op)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/base.py\", line 374, in invoke\n return
fn(self, operation)\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/toimpl.py\", line 101, in create_table\n
operations.impl.create_table(table)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/ddl/impl.py\", line 258, in create_table\n
self._exec(schema.CreateTable(table))\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/ddl/impl.py\", line 140, in _exec\n return
conn.execute(construct, *multiparams, **params)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1011, in execute\n
return meth(self, multiparams, params)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/sql/ddl.py\", line 72, in _execute_on_connection\n
return connection._execute_ddl(self, multiparams, params)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1068, in _execute_ddl\n
ret = self._execute_context(\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1316, in _execute_context\n
self._handle_dbapi_exception(\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1508, in
_handle_dbapi_exception\n util.raise_(newraise,
with_traceback=exc_info[2], from_=e)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/util/compat.py\", line 182, in raise_\n raise
exception\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1276, in _execute_context\n
self.dialect.do_execute(\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/sqlalchemy/engine/default.py\", line 593, in
do_execute\n cursor.execute(statement, parameters)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/cursors.py\", line 163, in execute\n result =
self._query(query)\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/cursors.py\", line 321, in _query\n
conn.query(q)\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 505, in query\n
self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 724, in _read_query_result\n
result.read()\n File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 1069, in read\n
first_packet = self.connection._read_packet()\n File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 676, in _read_packet\n
packet.raise_for_error()\n File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/pymysql/protocol.py\", line 223, in raise_for_error\n
err.raise_mysql_exception(self._data)\n File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/err.py\",
line 107, in raise_mysql_exception\n raise errorclass(errno,
errval)\nsqlalchemy.exc.OperationalError:
(pymysql.err.OperationalError) (1213, 'WSREP replication failed. Check
your wsrep connection state and retry the query.')\n[SQL: \nCREATE
TABLE cisco_ml2_n1kv_profile_bindings (\n\tprofile_type
ENUM('network','policy'), \n\ttenant_id VARCHAR(36) NOT NULL DEFAULT
'tenant_id_not_set', \n\tprofile_id VARCHAR(36) NOT NULL, \n\tPRIMARY
KEY (tenant_id, profile_id)\n)ENGINE=InnoDB\n\n]\n(Background on this
error at: http://sqlalche.me/e/13/e3q8)\n", "stderr_lines": ["+ sudo
-E kolla_set_configs", "INFO:__main__:Loading config file at
/var/lib/kolla/config_files/config.json", "INFO:__main__:Validating
config file", "INFO:__main__:Kolla config strategy set to:
COPY_ALWAYS", "INFO:__main__:Copying service configuration files",
"INFO:__main__:Copying /var/lib/kolla/config_files/neutron.conf to
/etc/neutron/neutron.conf", "INFO:__main__:Setting permission for
/etc/neutron/neutron.conf", "INFO:__main__:Copying
/var/lib/kolla/config_files/neutron_vpnaas.conf to
/etc/neutron/neutron_vpnaas.conf", "INFO:__main__:Setting permission
for /etc/neutron/neutron_vpnaas.conf", "INFO:__main__:Copying
/var/lib/kolla/config_files/ml2_conf.ini to
/etc/neutron/plugins/ml2/ml2_conf.ini", "INFO:__main__:Setting
permission for /etc/neutron/plugins/ml2/ml2_conf.ini",
"INFO:__main__:Writing out command to execute", "++ cat /run_command",
"+ CMD='neutron-server --config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file
/etc/neutron/neutron_vpnaas.conf '", "+ ARGS=", "+ sudo
kolla_copy_cacerts", "+ [[ ! -n '' ]]", "+ . kolla_extend_start", "++
[[ ! -d /var/log/kolla/neutron ]]", "++ mkdir -p
/var/log/kolla/neutron", "+++ stat -c %a /var/log/kolla/neutron", "++
[[ 2755 != \\7\\5\\5 ]]", "++ chmod 755 /var/log/kolla/neutron", "++
[[ ubuntu == \\c\\e\\n\\t\\o\\s ]]", "++ export
UPDATE_ALTERNATIVES=/usr/bin/update-alternatives", "++
UPDATE_ALTERNATIVES=/usr/bin/update-alternatives", "++ /usr/bin
/update-alternatives --query iptables", "++
KOLLA_LEGACY_IPTABLES=false", "++ [[ false == \\t\\r\\u\\e ]]", "++
sudo /usr/bin/update-alternatives --auto iptables", "++ sudo /usr/bin
/update-alternatives --auto ip6tables", "++ .
/usr/local/bin/kolla_neutron_extend_start", "+++ [[ -n 0 ]]", "+++
neutron-db-manage --subproject neutron upgrade head", "INFO
[alembic.runtime.migration] Context impl MySQLImpl.", "INFO
[alembic.runtime.migration] Will assume non-transactional DDL.", "INFO
[alembic.runtime.migration] Context impl MySQLImpl.", "INFO
[alembic.runtime.migration] Will assume non-transactional DDL.", "INFO
[alembic.runtime.migration] Running upgrade -> kilo", "Traceback
(most recent call last):", " File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/sqlalchemy/engine/base.py\", line 1276, in
_execute_context", " self.dialect.do_execute(", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/default.py\", line 593, in do_execute", "
cursor.execute(statement, parameters)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/cursors.py\", line 163, in execute", " result =
self._query(query)", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/cursors.py\", line 321, in _query", "
conn.query(q)", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 505, in query", "
self._affected_rows = self._read_query_result(unbuffered=unbuffered)",
" File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 724, in _read_query_result", "
result.read()", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 1069, in read", "
first_packet = self.connection._read_packet()", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 676, in _read_packet", "
packet.raise_for_error()", " File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/pymysql/protocol.py\", line 223, in raise_for_error", "
err.raise_mysql_exception(self._data)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/err.py\",
line 107, in raise_mysql_exception", " raise errorclass(errno,
errval)", "pymysql.err.OperationalError: (1213, 'WSREP replication
failed. Check your wsrep connection state and retry the query.')", "",
"The above exception was the direct cause of the following
exception:", "", "Traceback (most recent call last):", " File
\"/var/lib/kolla/venv/bin/neutron-db-manage\", line 8, in <module>", "
sys.exit(main())", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 658, in main", "
return_val |= bool(CONF.command.func(config, CONF.command.name))", "
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 181, in do_upgrade", "
do_alembic_command(config, cmd, revision=revision,", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/cli.py\", line 83, in
do_alembic_command", " getattr(alembic_command, cmd)(config, *args,
**kwargs)", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/command.py\", line 298, in upgrade", "
script.run_env()", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/script/base.py\", line 489, in run_env", "
util.load_python_file(self.dir, \"env.py\")", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/util/pyfiles.py\", line 98, in load_python_file", "
module = load_module_py(module_id, path)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/util/compat.py\", line 184, in load_module_py", "
spec.loader.exec_module(module)", " File \"<frozen
importlib._bootstrap_external>\", line 783, in exec_module", " File
\"<frozen importlib._bootstrap>\", line 219, in
_call_with_frames_removed", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/env.py\", line 120,
in <module>", " run_migrations_online()", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/env.py\", line 114,
in run_migrations_online", " context.run_migrations()", " File
\"<string>\", line 8, in run_migrations", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/runtime/environment.py\", line 846, in
run_migrations", " self.get_context().run_migrations(**kw)", "
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/runtime/migration.py\", line 520, in run_migrations",
" step.migration_fn(**kw)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/versions/kilo_initial.py\",
line 68, in upgrade", " cisco_init_ops.upgrade()", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/neutron/db/migration/alembic_migrations/cisco_init_ops.py\",
line 311, in upgrade", " op.create_table(", " File \"<string>\",
line 8, in create_table", " File \"<string>\", line 3, in
create_table", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/ops.py\", line 1252, in create_table", "
return operations.invoke(op)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/base.py\", line 374, in invoke", "
return fn(self, operation)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/operations/toimpl.py\", line 101, in create_table", "
operations.impl.create_table(table)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/ddl/impl.py\", line 258, in create_table", "
self._exec(schema.CreateTable(table))", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/alembic/ddl/impl.py\", line 140, in _exec", " return
conn.execute(construct, *multiparams, **params)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1011, in execute", "
return meth(self, multiparams, params)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/sql/ddl.py\", line 72, in _execute_on_connection",
" return connection._execute_ddl(self, multiparams, params)", "
File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1068, in _execute_ddl", "
ret = self._execute_context(", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1316, in _execute_context",
" self._handle_dbapi_exception(", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1508, in
_handle_dbapi_exception", " util.raise_(newraise,
with_traceback=exc_info[2], from_=e)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/util/compat.py\", line 182, in raise_", " raise
exception", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/base.py\", line 1276, in _execute_context",
" self.dialect.do_execute(", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/sqlalchemy/engine/default.py\", line 593, in do_execute", "
cursor.execute(statement, parameters)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/cursors.py\", line 163, in execute", " result =
self._query(query)", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/cursors.py\", line 321, in _query", "
conn.query(q)", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 505, in query", "
self._affected_rows = self._read_query_result(unbuffered=unbuffered)",
" File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 724, in _read_query_result", "
result.read()", " File \"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 1069, in read", "
first_packet = self.connection._read_packet()", " File
\"/var/lib/kolla/venv/lib/python3.8/site-
packages/pymysql/connections.py\", line 676, in _read_packet", "
packet.raise_for_error()", " File \"/var/lib/kolla/venv/lib/python3.8
/site-packages/pymysql/protocol.py\", line 223, in raise_for_error", "
err.raise_mysql_exception(self._data)", " File
\"/var/lib/kolla/venv/lib/python3.8/site-packages/pymysql/err.py\",
line 107, in raise_mysql_exception", " raise errorclass(errno,
errval)", "sqlalchemy.exc.OperationalError:
(pymysql.err.OperationalError) (1213, 'WSREP replication failed. Check
your wsrep connection state and retry the query.')", "[SQL: ", "CREATE
TABLE cisco_ml2_n1kv_profile_bindings (", "\tprofile_type
ENUM('network','policy'), ", "\ttenant_id VARCHAR(36) NOT NULL DEFAULT
'tenant_id_not_set', ", "\tprofile_id VARCHAR(36) NOT NULL, ",
"\tPRIMARY KEY (tenant_id, profile_id)", ")ENGINE=InnoDB", "", "]",
"(Background on this error at: http://sqlalche.me/e/13/e3q8)"],
"stdout": "Name: iptables\nLink: /usr/sbin/iptables\nSlaves:\n
iptables-restore /usr/sbin/iptables-restore\n iptables-save /usr/sbin
/iptables-save\nStatus: auto\nBest: /usr/sbin/iptables-legacy\nValue:
/usr/sbin/iptables-legacy\n\nAlternative: /usr/sbin/iptables-
legacy\nPriority: 20\nSlaves:\n iptables-restore /usr/sbin/iptables-
legacy-restore\n iptables-save /usr/sbin/iptables-legacy-
save\n\nAlternative: /usr/sbin/iptables-nft\nPriority: 10\nSlaves:\n
iptables-restore /usr/sbin/iptables-nft-restore\n iptables-save
/usr/sbin/iptables-nft-save\nRunning upgrade for neutron ...\n",
"stdout_lines": ["Name: iptables", "Link: /usr/sbin/iptables",
"Slaves:", " iptables-restore /usr/sbin/iptables-restore", " iptables-
save /usr/sbin/iptables-save", "Status: auto", "Best: /usr/sbin
/iptables-legacy", "Value: /usr/sbin/iptables-legacy", "",
"Alternative: /usr/sbin/iptables-legacy", "Priority: 20", "Slaves:", "
iptables-restore /usr/sbin/iptables-legacy-restore", " iptables-save
/usr/sbin/iptables-legacy-save", "", "Alternative: /usr/sbin/iptables-
nft", "Priority: 10", "Slaves:", " iptables-restore /usr/sbin
/iptables-nft-restore", " iptables-save /usr/sbin/iptables-nft-save",
"Running upgrade for neutron ..."]}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1931513/+subscriptions
Follow ups