Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Brian Call commented on PUP-9819 Re: Puppet Failure on MacOS 10.15 'Catalina' Beta3 I've determined the root cause of this issue in our environment. The directoryservice provider makes an assumption: The plist embedded in the ShadowHashData key is a binary plist In our environment, ShadowHashData contains an xml plist, so the conversion from a binary plist fails on L148, which causes embedded_binary_plist to unexpectedly get get assigned nil. I need to do a bit more research on our end; I think this user password may be getting set by a security agent, not by a normal user on the system. If xml plists are supported, which I will try to verify, perhaps the provider can be updated to handle either. Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.316143.1562866804000.58627.1603186020079%40Atlassian.JIRA.
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Brian Call commented on PUP-9819 Re: Puppet Failure on MacOS 10.15 'Catalina' Beta3 Hey Josh Cooper, thanks for the ping. ! I was a little confused about what I was seeing so wanted to gather some more information. So in the end, it looks like I am seeing this same issue after all. The issue does not occur on a vanilla macOS install, but it does occur on our company-provisioned Macs. It looks like CFPropertyList is choking on a malformed plist somewhere. I'm hoping that if that's the case, it might be possible to fail more gracefully like in PUP-8545. When trying to manage any user resource: $ sudo puppet apply -e "user {'foo':ensure=>'present'}" Notice: Compiled catalog for foobar in environment production in 0.02 seconds Error: Could not prefetch user provider 'directoryservice': undefined method `[]' for nil:NilClass Error: Failed to apply catalog: undefined method `[]' for nil:NilClass Debug is output is similar to the earlier report: Info: Applying configuration version '1602832575' Debug: Prefetching directoryservice resources for user Debug: Executing: '/usr/bin/dscl -plist . readall /Users' Debug: Executing: '/usr/bin/dscl -plist . readall /Groups' Debug: Converting binary plist to hash
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Josh Cooper commented on PUP-9819 Re: Puppet Failure on MacOS 10.15 'Catalina' Beta3 Brian Call it looks like your comment was deleted/lost? Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.316143.1562866804000.45000.1601338260034%40Atlassian.JIRA.
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Brian Call updated an issue Puppet / PUP-9819 Puppet Failure on MacOS 10.15 'Catalina' Beta3 Change By: Brian Call Comment: Hey [~josh], I'm still seeing this same issue when trying to manage users on Catalina. This bug appears to fully break user management on macOS.{code:bash}bcall@bcall-ltm Desktop % sudo /opt/puppetlabs/puppet/bin/puppet --version6.18.0bcall@bcall-ltm Desktop % sw_versProductName: Mac OS XProductVersion: 10.15.6BuildVersion: 19G2531bcall@bcall-ltm Desktop % sudo /opt/puppetlabs/puppet/bin/puppet apply -e "user {'bcall': ensure => present}"Notice: Compiled catalog for bcall-ltm.internal.salesforce.com in environment production in 0.02 secondsError: Could not prefetch user provider 'directoryservice': undefined method `[]' for nil:NilClassError: Failed to apply catalog: undefined method `[]' for nil:NilClass{code}I also tried explicitly setting LANG as mentioned in PUP-10241, to no avail:{code:bash}bcall@bcall-ltm Desktop % sudo LANG=en_US.UTF-8 /opt/puppetlabs/puppet/bin/puppet apply -e "user {'bcall': ensure => present}"Notice: Compiled catalog for bcall-ltm.internal.salesforce.com in environment production in 0.02 secondsError: Could not prefetch user provider 'directoryservice': undefined method `[]' for nil:NilClassError: Failed to apply catalog: undefined method `[]' for nil:NilClass{code} Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Brian Call commented on PUP-9819 Re: Puppet Failure on MacOS 10.15 'Catalina' Beta3 Hey Josh Cooper, I'm still seeing this same issue when trying to manage users on Catalina. bcall@bcall-ltm Desktop % sudo /opt/puppetlabs/puppet/bin/puppet --version 6.18.0 bcall@bcall-ltm Desktop % sw_vers ProductName: Mac OS X ProductVersion: 10.15.6 BuildVersion: 19G2531 bcall@bcall-ltm Desktop % sudo /opt/puppetlabs/puppet/bin/puppet apply -e "user {'bcall': ensure => present}" Notice: Compiled catalog for bcall-ltm.internal.salesforce.com in environment production in 0.02 seconds Error: Could not prefetch user provider 'directoryservice': undefined method `[]' for nil:NilClass Error: Failed to apply catalog: undefined method `[]' for nil:NilClass I also tried explicitly setting LANG as mentioned in PUP-10241, to no avail:
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Josh Cooper assigned an issue to Marshall Taylor Puppet / PUP-9819 Puppet Failure on MacOS 10.15 'Catalina' Beta3 Change By: Josh Cooper Assignee: Marshall Taylor Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.316143.1562866804000.96488.1593190200184%40Atlassian.JIRA.
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Josh Cooper commented on PUP-9819 Re: Puppet Failure on MacOS 10.15 'Catalina' Beta3 Marshall Taylor could you try a more recent version of puppet-agent and see if the issue is resolved? Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.316143.1562866804000.96487.1593190200139%40Atlassian.JIRA.
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Gabriel Nagy commented on PUP-9819 Re: Puppet Failure on MacOS 10.15 'Catalina' Beta3 This might be fixed by PUP-10241, but I"m not 100% sure since the error looks a bit different. I'm still poking around to see what else broke with the addition of Catalina. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.316143.1562866804000.30120.1579617060351%40Atlassian.JIRA.
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9819 Puppet Failure on MacOS 10.15 'Catalina' Beta3 Change By: Josh Cooper Fix Version/s: PUP 6.4.0 Fix Version/s: PUP 6.y Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.316143.1562866804000.17013.1563233820135%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Josh Cooper commented on PUP-9819 Re: Puppet Failure on MacOS 10.15 'Catalina' Beta3 Thanks for the report. FWIW, I don't think Catalina is a supported OSX platform yet, but is planned to be. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.316143.1562866804000.12532.1562866980321%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9819 Puppet Failure on MacOS 10.15 'Catalina' Beta3 Change By: Josh Cooper Team: Puppet Romania Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.316143.1562866804000.12536.1562866980336%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9819) Puppet Failure on MacOS 10.15 'Catalina' Beta3
Title: Message Title Marshall Taylor updated an issue Puppet / PUP-9819 Puppet Failure on MacOS 10.15 'Catalina' Beta3 Change By: Marshall Taylor Summary: {brief summary of issue} Puppet Failure on MacOS 10.15 'Catalina' Beta3 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.316143.1562866804000.12525.1562866920187%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.