Open mattp- opened 6 years ago
Can you provide the output of --versions-report
like the issues template requests, so that we can attempt to replicate this issue?
Daniel
updated with version-report
Also, make sure you put newlines before and after the triple backtics, otherwise they do not do what you are expecting them to do.
I am able to replicate this issue.
[CRITICAL] root
[CRITICAL] <class 'salt.serializers.yamlex.SLSString'>
[ERROR ] Group "root" is not available
It looks like the grp.getgrnam does not like the yamlex SLSString format for some reason.
Thanks for reporting, Daniel
Looks like this is the way it has been for a while, also broken in 2017.7.
Thanks, Daniel
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
AFAIK this is still happening.
On Tue, Jul 30, 2019 at 4:30 PM stale[bot] notifications@github.com wrote:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/saltstack/salt/issues/47085?email_source=notifications&email_token=AABOV6LFGE4BG7ERE6IJ6HTQCBGBRA5CNFSM4E2WOBBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3EFERA#issuecomment-516444740, or mute the thread https://github.com/notifications/unsubscribe-auth/AABOV6NOTVT7C5VXQS3FA2TQCBGBRANCNFSM4E2WOBBA .
Thank you for updating this issue. It is no longer marked as stale.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
Thank you for updating this issue. It is no longer marked as stale.
I am also experiencing this issue. The workaround mentioned in #60359 didn't seem to work when the top.sls is {{ saltenv }}:
I used _serializers
and then on the master salt-run saltutil.sync_all saltenv=prod
and it appears in cache/master/extmods
.
Description of Issue/Question
when using yamlex,
the following fails
if you remove the try guard,
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.