Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nov 30 16:48:32 magnum-container app.wsgi[18930]: 2020-11-30 16:48:32.436 18930 ERROR wsme.api [req-e0c5f9a5-3b2a-4b7f-8d1b-c09e7627c46c - - - - -] Server-side error: "not all arguments converted during string formatting
Traceback (most recent call last):
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/drivers/heat/driver.py", line 336, in get_heat_params
ostree_tag: cluster_template.labels[ostree_tag]
KeyError: 'ostree_remote'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_log/formatters.py", line 513, in format
return logging.Formatter.format(self, record)
File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
record.message = record.getMessage()
File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
res = self.dispatcher.dispatch(message)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py", line 274, in dispatch
return self._do_dispatch(endpoint, method, ctxt, args)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
result = func(ctxt, **new_args)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper
result = f(*args, **kwargs)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/conductor/handlers/cluster_conductor.py", line 338, in cluster_upgrade
max_batch_size, nodegroup, rollback)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/drivers/heat/driver.py", line 398, in upgrade_cluster
heat_params.update(self.get_heat_params(cluster_template))
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/drivers/heat/driver.py", line 341, in get_heat_params
(cluster_template.name, ostree_tag))
File "/usr/lib/python3.6/logging/__init__.py", line 1630, in debug
self.log(DEBUG, msg, *args, **kwargs)
File "/usr/lib/python3.6/logging/__init__.py", line 1674, in log
self.logger.log(level, msg, *args, **kwargs)
File "/usr/lib/python3.6/logging/__init__.py", line 1374, in log
self._log(level, msg, args, **kwargs)
File "/usr/lib/python3.6/logging/__init__.py", line 1444, in _log
self.handle(record)
File "/usr/lib/python3.6/logging/__init__.py", line 1454, in handle
self.callHandlers(record)
File "/usr/lib/python3.6/logging/__init__.py", line 1516, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.6/logging/__init__.py", line 865, in handle
self.emit(record)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_log/handlers.py", line 127, in emit
message = self.format(record)
File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
return fmt.format(record)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_log/formatters.py", line 519, in format
return logging.Formatter.format(self, record)
File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
record.message = record.getMessage()
File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
". Detail:
Traceback (most recent call last):
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/wsmeext/pecan.py", line 85, in callfunction
result = f(self, *args, **kwargs)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/api/controllers/v1/cluster_actions.py", line 170, in upgrade
nodegroup)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper
result = f(*args, **kwargs)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/conductor/api.py", line 91, in cluster_upgrade
nodegroup=nodegroup)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/common/rpc_service.py", line 98, in _call
return self._client.call(self._context, method, *args, **kwargs)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 511, in call
return self.prepare().call(ctxt, method, **kwargs)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 181, in call
transport_options=self.transport_options)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/transport.py", line 129, in _send
transport_options=transport_options)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 646, in send
transport_options=transport_options)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 636, in _send
raise result
TypeError: not all arguments converted during string formatting
Traceback (most recent call last):
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/drivers/heat/driver.py", line 336, in get_heat_params
ostree_tag: cluster_template.labels[ostree_tag]
KeyError: 'ostree_remote'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_log/formatters.py", line 513, in format
return logging.Formatter.format(self, record)
File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
record.message = record.getMessage()
File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
res = self.dispatcher.dispatch(message)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py", line 274, in dispatch
return self._do_dispatch(endpoint, method, ctxt, args)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
result = func(ctxt, **new_args)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper
result = f(*args, **kwargs)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/conductor/handlers/cluster_conductor.py", line 338, in cluster_upgrade
max_batch_size, nodegroup, rollback)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/drivers/heat/driver.py", line 398, in upgrade_cluster
heat_params.update(self.get_heat_params(cluster_template))
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/magnum/drivers/heat/driver.py", line 341, in get_heat_params
(cluster_template.name, ostree_tag))
File "/usr/lib/python3.6/logging/__init__.py", line 1630, in debug
self.log(DEBUG, msg, *args, **kwargs)
File "/usr/lib/python3.6/logging/__init__.py", line 1674, in log
self.logger.log(level, msg, *args, **kwargs)
File "/usr/lib/python3.6/logging/__init__.py", line 1374, in log
self._log(level, msg, args, **kwargs)
File "/usr/lib/python3.6/logging/__init__.py", line 1444, in _log
self.handle(record)
File "/usr/lib/python3.6/logging/__init__.py", line 1454, in handle
self.callHandlers(record)
File "/usr/lib/python3.6/logging/__init__.py", line 1516, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.6/logging/__init__.py", line 865, in handle
self.emit(record)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_log/handlers.py", line 127, in emit
message = self.format(record)
File "/usr/lib/python3.6/logging/__init__.py", line 840, in format
return fmt.format(record)
File "/openstack/venvs/magnum-20.1.6/lib/python3.6/site-packages/oslo_log/formatters.py", line 519, in format
return logging.Formatter.format(self, record)
File "/usr/lib/python3.6/logging/__init__.py", line 577, in format
record.message = record.getMessage()
File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment