Salt 'debconf' states fail since move to Python 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Salt |
Fix Released
|
Unknown
|
|||
salt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since the move to salt running under Python 3, salt 'debconf' states fail with:
```
[ERROR ] An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/
**cdata[
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
if __salt_
File "/usr/lib/
os.write(fd_, line)
TypeError: a bytes-like object is required, not 'str'
```
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: salt-minion 2017.7.3+dfsg1-1
ProcVersionSign
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Thu Mar 1 16:42:41 2018
JournalErrors:
-- Logs begin at Mon 2018-01-29 14:53:26 GMT, end at Thu 2018-03-01 16:42:31 GMT. --
Mar 01 16:38:24 hostname kernel: piix4_smbus 0000:00:07.3: SMBus Host Controller not enabled!
Mar 01 16:38:24 hostname kernel: sd 2:0:0:0: [sda] Assuming drive cache: write through
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:
TERM=xterm-
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: salt
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in salt: | |
status: | Unknown → New |
Changed in salt (Ubuntu): | |
status: | New → In Progress |
Changed in salt: | |
status: | New → Fix Released |
Fixed in 2017.7.4+dfsg1-1