Pastebin

Paste #2603: metaconfig gid2group error

< previous paste - next paste>

Pasted by tdn

Download View as text

[root@vatest]~ #metaconfig -aa
[*] Creating unix group [jbssrv]: [gid = '507']
[*] Creating unix group [lasradm]: [gid = '506']
[*] Updating unix group [sas] setting gid[1000 -> 502]
[*] Creating unix group [sasdemo]: [gid = '503']
[*] Creating unix group [sassrv]: [gid = '504']
[*] Creating unix user [jbssrv]: [gid = '502'], [shell = '/bin/bash'], [password = '*'], [gecos = 'created by metaconfig'], [uid = '507']
[*] Creating unix user [lasradm]: [gid = '502'], [shell = '/bin/bash'], [password = '*'], [gecos = 'created by metaconfig'], [uid = '506']
[E] Got exception of type KeyError: ['Resolver [gid2group] cannot resolve value [1000]'] while running command metaconfig
    Function              Line  File
    request_execute         61  /usr/lib/python2.7/dist-packages/spye/frontend/console.py
    present                454  /usr/lib/python2.7/dist-packages/spye/plugins/metaconfig/__init__.py
    execute                 80  /usr/lib/python2.7/dist-packages/spye/plugins/metaconfig/handler/unixuser.py
    generate_description    67  /usr/lib/python2.7/dist-packages/spye/plugins/metaconfig/handler/unixuser.py
    resolver_run           255  /usr/lib/python2.7/dist-packages/spye/plugins/metaconfig/engine.py
    Function              Line  Function             Code
    console.py              61  request_execute      spye.opt_result = spye.drv_presentation.present(func(*varg, **kwarg))
    __init__.py            454  present              op.execute()
    unixuser.py             80  execute              self.print_note("Updating unix user [%s] setting %s", self.name, self.generate_description())
    unixuser.py             67  generate_description old_name = self.engine.resolver_run("gid2group", self.original[c])
    engine.py              255  resolver_run         raise KeyError("Resolver [%s] cannot resolve value [%s]" % (name, value))
[E] Exception information:
    >> 'Resolver [gid2group] cannot resolve value [1000]'

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.