Package: python3-octavia
Version: 3.0.0-2
Severity: normal
File:
/usr/lib/python3/dist-packages/octavia/controller/worker/tasks/compute_tasks.py
Tags: upstream
Enabling the config option user_data_config_drive leads to an exception during
amphora instance creation:
ERROR octavia.controller.worker.tasks.compute_tasks [-] Compute create for
amphora id: xxx failed: TypeError: can't concat str to bytes
ERROR octavia.controller.worker.tasks.compute_tasks Traceback (most recent
call last):
ERROR octavia.controller.worker.tasks.compute_tasks File
"/usr/lib/python3/dist-packages/octavia/controller/worker/tasks/compute_tasks.py",
line 82, in execute
ERROR octavia.controller.worker.tasks.compute_tasks config_drive_files)
ERROR octavia.controller.worker.tasks.compute_tasks File
"/usr/lib/python3/dist-packages/octavia/common/jinja/user_data_jinja_cfg.py",
line 38, in build_user_data_config
ERROR octavia.controller.worker.tasks.compute_tasks return
self.agent_template.render(user_data=user_data)
ERROR octavia.controller.worker.tasks.compute_tasks File
"/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render
ERROR octavia.controller.worker.tasks.compute_tasks return
original_render(self, *args, **kwargs)
ERROR octavia.controller.worker.tasks.compute_tasks File
"/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
ERROR octavia.controller.worker.tasks.compute_tasks return
self.environment.handle_exception(exc_info, True)
ERROR octavia.controller.worker.tasks.compute_tasks File
"/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in
handle_exception
ERROR octavia.controller.worker.tasks.compute_tasks reraise(exc_type,
exc_value, tb)
ERROR octavia.controller.worker.tasks.compute_tasks File
"/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
ERROR octavia.controller.worker.tasks.compute_tasks raise
value.with_traceback(tb)
ERROR octavia.controller.worker.tasks.compute_tasks File
"/usr/lib/python3/dist-packages/octavia/common/jinja/templates/user_data_config_drive.template",
line 29, in top-level template code
ERROR octavia.controller.worker.tasks.compute_tasks {{ value|indent(8) }}
ERROR octavia.controller.worker.tasks.compute_tasks File
"/usr/lib/python3/dist-packages/jinja2/filters.py", line 557, in do_indent
ERROR octavia.controller.worker.tasks.compute_tasks s += u'\n' # this
quirk is necessary for splitlines method
ERROR octavia.controller.worker.tasks.compute_tasks TypeError: can't concat
str to bytes
To me, this looks like somewhere in the stack there is a type confusion between
byte / str.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-octavia depends on:
ii alembic 1.0.0-3
ii python3 3.7.2-1
ii python3-alembic 1.0.0-3
ii python3-babel 2.6.0+dfsg.1-1
ii python3-barbicanclient 4.7.2-1
ii python3-castellan 0.19.0-1
ii python3-cotyledon 1.6.8-3
ii python3-cryptography 2.3-1
ii python3-diskimage-builder 2.16.0-1
ii python3-distro 1.3.0-1
ii python3-flask 1.0.2-3
ii python3-futurist 1.6.0-2
ii python3-glanceclient 1:2.13.1-1
ii python3-gunicorn 19.9.0-1
ii python3-jinja2 2.10-1
ii python3-keystoneauth1 3.10.0-2
ii python3-keystonemiddleware 5.2.0-2
ii python3-netifaces 0.10.4-1+b1
ii python3-neutronclient 1:6.9.1-1
ii python3-novaclient 2:11.0.0-2
ii python3-openssl 19.0.0-1
ii python3-oslo.config 1:6.4.1-1
ii python3-oslo.context 2.21.0-2
ii python3-oslo.db 4.40.0-2
ii python3-oslo.i18n 3.21.0-2
ii python3-oslo.log 3.39.0-2
ii python3-oslo.messaging 8.1.2-1
ii python3-oslo.middleware 3.36.0-2
ii python3-oslo.policy 1.38.1-2
ii python3-oslo.reports 1.28.0-2
ii python3-oslo.serialization 2.27.0-2
ii python3-oslo.utils 3.36.4-2
ii python3-pbr 4.2.0-5
ii python3-pecan 1.3.2-2
ii python3-pyasn1 0.4.2-3
ii python3-pyasn1-modules 0.2.1-0.2
ii python3-pymysql 0.9.3-1
ii python3-pyroute2 0.5.2-1
ii python3-requests 2.21.0-1
ii python3-rfc3986 0.3.1-2
ii python3-six 1.12.0-1
ii python3-sqlalchemy 1.2.15+ds1-1
ii python3-stevedore 1.29.0-2
ii python3-taskflow 3.2.0-3
ii python3-tenacity 4.12.0-2
ii python3-webob 1:1.8.5-1
ii python3-wsme 0.9.3-2
ii python3.7 3.7.2-2
python3-octavia recommends no packages.
python3-octavia suggests no packages.
-- no debconf information
Marco Schuster
Web Developer
Interone GmbH
Theresienhoehe 12 | 80339 Muenchen | Germany
http://interone.de | http://facebook.com/interone.de
+49-89-55186-3166 | +49-173-9032923
[email protected]
https://goo.gl/maps/As0Nz | https://goo.gl/maps/Xq4XNVGqkmu
An Agency of BBDO Worldwide
AG München HRA 79582
Geschäftsführer: Matthias Schäfer, Stephan Tewes, Frank Wolfram
Information contained in this message is confidential and may be legally
privileged. If you are not the addressee indicated in this message (or
responsible for the delivery of the message to such person), you may not copy,
disclose or deliver this message or any part of it to anyone, in any form. In
such case, you should delete this message and kindly notify the sender by reply
Email. Opinions, conclusions and other information in this message that does
not relate to the official business of Interone GmbH shall be understood as
neither given nor endorsed by it.