You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
serializers.yamlex is doing something weird with its string representation #47085
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVERenderersbugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work aroundstale
mmp-sl-test-1:
----------
ID: "/srv"
Function: file.directory
Result: False
Comment: Group "root" is not available
Started: 15:26:39.835190
Duration: 9.279 ms
Changes:
if you remove the try guard,
KeyError: 'getgrnam(): name not found: "root"'
it seems to be making the root string not actually root. when evaluating group == 'root' before the getgrnam() it evaluated as true, so it's likely something with utf8 encoding that yamlex is doing.
Salt Version:
Salt: 2018.3.0-2279-g68546d2
Dependency Versions:
cffi: 1.11.5
cherrypy: unknown
dateutil: 2.6.1
docker-py: 3.1.4
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.10
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: 0.29.0
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.18
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.14 (default, Mar 14 2018, 09:26:40)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 17.0.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.1.6
System Versions:
dist: redhat 7.3 Maipo
locale: UTF-8
machine: x86_64
release: 3.10.0-514.6.1.el7.x86_64
system: Linux
version: Red Hat Enterprise Linux Server 7.3 Maipo```
Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.
Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.
If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVERenderersbugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work aroundstale
Activity
mattp- commentedon Apr 15, 2018
#26396
gtmanfred commentedon Apr 16, 2018
Can you provide the output of
--versions-reportlike the issues template requests, so that we can attempt to replicate this issue?Daniel
mattp- commentedon Apr 16, 2018
updated with version-report
gtmanfred commentedon Apr 16, 2018
Also, make sure you put newlines before and after the triple backtics, otherwise they do not do what you are expecting them to do.
gtmanfred commentedon Apr 16, 2018
I am able to replicate this issue.
It looks like the grp.getgrnam does not like the yamlex SLSString format for some reason.
Thanks for reporting,
Daniel
gtmanfred commentedon Apr 16, 2018
Looks like this is the way it has been for a while, also broken in 2017.7.
Thanks,
Daniel
12 remaining items
dwoz commentedon Oct 15, 2026
Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below
severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.
If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.