systemd .service files fail to start openstack services running on python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.service |
Fix Released
|
Undecided
|
Alberto Murillo |
Bug Description
This is due to oslo_service/
python3 is more explicit on types.
# cat /etc/systemd/
[Unit]
Description=
After=syslog.target network.target
[Service]
Type=notify
User=neutron
ExecStart=
PrivateTmp=false
NotifyAccess=all
KillMode=process
[Install]
WantedBy=
# systemctl start neutron-
Job for neutron-
CRITICAL neutron [req-908250bc-
ERROR neutron Traceback (most recent call last):
ERROR neutron File "/usr/bin/
ERROR neutron sys.exit(main())
ERROR neutron File "/usr/lib/
ERROR neutron metadata_
ERROR neutron File "/usr/lib/
ERROR neutron proxy.run()
ERROR neutron File "/usr/lib/
ERROR neutron server.wait()
ERROR neutron File "/usr/lib/
ERROR neutron self._server.wait()
ERROR neutron File "/usr/lib/
ERROR neutron systemd.
ERROR neutron File "/usr/lib/
ERROR neutron _sd_notify(True, 'READY=1')
ERROR neutron File "/usr/lib/
ERROR neutron sock.sendall(msg)
ERROR neutron File "/usr/lib/
ERROR neutron tail = self.send(data, flags)
ERROR neutron File "/usr/lib/
ERROR neutron return self._send_
ERROR neutron File "/usr/lib/
ERROR neutron return send_method(data, *args)
ERROR neutron TypeError: a bytes-like object is required, not 'str'
versions:
neutron-
oslo.service-
Changed in oslo.service: | |
assignee: | nobody → Alberto Murillo (powerbsd-o) |
Changed in oslo.service: | |
status: | New → Fix Committed |
Changed in oslo.service: | |
status: | Fix Committed → Fix Released |
patch review: https:/ /review. openstack. org/#/c/ 299674/