saltstack-formulas / mongodb-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
31 stars 121 forks source link

Many Salt warnings on MacOS #64

Closed noelmcloughlin closed 4 years ago

noelmcloughlin commented 5 years ago

Some of these need to be checked

[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/loader.py:772: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
  ret = funcs[key]()

[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  if not isinstance(exes, collections.Iterable):

[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/payload.py:149: DeprecationWarning: encoding is deprecated, Use raw=False instead.
  ret = msgpack.loads(msg, use_list=True, ext_hook=ext_type_decoder, encoding=encoding)

[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] Unable to parse "/Library/LaunchAgents/org.mongo.mongodb.mongod.plist" as it is invalid XML: InvalidFileException.
[WARNING ] Unable to parse "/Library/LaunchAgents/org.mongo.mongodb.mongos.plist" as it is invalid XML: InvalidFileException.
[WARNING ] Unable to parse "/Library/LaunchDaemons/net.pulsesecure.UninstallPulse.plist" as it is invalid XML: xml.parsers.expat.ExpatError.
[WARNING ] Unable to parse "/Users/username/Library/LaunchAgents/net.pulsesecure.SetupClient.plist" as it is invalid XML: xml.parsers.expat.ExpatError.
[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/utils/oset.py:47: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  class OrderedSet(collections.MutableSet):

[ERROR   ] Command '['dscl', 'localhost', '-delete', '/Local/Default/Groups/com.apple.sharepoint.group.2', 'GroupMembership', 'mongodb']' failed with return code: 54
[ERROR   ] stderr: <main> attribute status: eDSAttributeNotFound
<dscl_cmd> DS Error: -14134 (eDSAttributeNotFound)
[ERROR   ] retcode: 54
[ERROR   ] Command '['dscl', 'localhost', '-delete', '/Local/Default/Groups/_lpoperator', 'GroupMembership', 'mongodb']' failed with return code: 54
[ERROR   ] stderr: <main> attribute status: eDSAttributeNotFound
<dscl_cmd> DS Error: -14134 (eDSAttributeNotFound)
[ERROR   ] retcode: 54
[ERROR   ] Command '['dscl', 'localhost', '-delete', '/Local/Default/Groups/everyone', 'GroupMembership', 'mongodb']' failed with return code: 54
[ERROR   ] stderr: <main> attribute status: eDSAttributeNotFound
<dscl_cmd> DS Error: -14134 (eDSAttributeNotFound)
[ERROR   ] retcode: 54
[ERROR   ] Command '['dscl', 'localhost', '-delete', '/Local/Default/Groups/localaccounts', 'GroupMembership', 'mongodb']' failed with return code: 54
[ERROR   ] stderr: <main> attribute status: eDSAttributeNotFound
<dscl_cmd> DS Error: -14134 (eDSAttributeNotFound)
[ERROR   ] retcode: 54
[ERROR   ] Command '['dscl', 'localhost', '-delete', '/Local/Default/Groups/com.apple.sharepoint.group.1', 'GroupMembership', 'mongodb']' failed with return code: 54
[ERROR   ] stderr: <main> attribute status: eDSAttributeNotFound
<dscl_cmd> DS Error: -14134 (eDSAttributeNotFound)
[ERROR   ] retcode: 54
[ERROR   ] These values could not be changed: {'groups': ['mongodb']}
[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] Unable to parse "/Library/LaunchAgents/org.mongo.mongodb.mongod.plist" as it is invalid XML: InvalidFileException.
[WARNING ] Unable to parse "/Library/LaunchAgents/org.mongo.mongodb.mongos.plist" as it is invalid XML: InvalidFileException.
[WARNING ] Unable to parse "/Library/LaunchDaemons/net.pulsesecure.UninstallPulse.plist" as it is invalid XML: xml.parsers.expat.ExpatError.
[WARNING ] Unable to parse "/Users/username/Library/LaunchAgents/net.pulsesecure.SetupClient.plist" as it is invalid XML: xml.parsers.expat.ExpatError.
[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

Versions

/usr/local/Cellar/salt/2019.2.0/libexec/lib/python3.7/site-packages/salt/version.py:632: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
  lin_ver = linux_distribution()
Salt Version:
           Salt: 2019.2.0

Dependency Versions:
           cffi: 1.11.5
       cherrypy: Not Installed
       dateutil: Not Installed
      docker-py: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.10
        libgit2: 0.27.8
        libnacl: Not Installed
       M2Crypto: 0.31.0
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.6.1
   mysql-python: Not Installed
      pycparser: 2.19
       pycrypto: 2.6.1
   pycryptodome: Not Installed
         pygit2: 0.27.3
         Python: 3.7.2 (default, Feb 12 2019, 08:16:38)
   python-gnupg: Not Installed
         PyYAML: 3.13
          PyZMQ: 18.0.1
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.5.3
            ZMQ: 4.3.1

System Versions:
           dist:   
         locale: UTF-8
        machine: x86_64
        release: 17.7.0
         system: Darwin
        version: 10.13.6 x86_64
noelmcloughlin commented 4 years ago

The launchAgent warnings and errors have nothing to do with his formula. The 'mongodb' user problem is probably related to saltstack/salt#46361