Bug #4344

snf-deploy procedure throws exception at configuration step

Added by Vangelis Koukis over 10 years ago.

Status:Assigned Start date:09/22/2013
Priority:High Due date:
Assignee:Giorgos Korfiatis % Done:

0%

Category:deployment Spent time: -
Target version:0.14.0

Description

Aborting.

Fatal error: local() encountered an error (return code 1) while executing '
    snf-manage user-add user@synnefo.org John Doe
    '

Aborting.

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/fabric/main.py", line 435, in main
    commands[name](*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/fabric/decorators.py", line 56, in inner_decorator
    return func(*args, **kwargs)
  File "/usr/lib/snf-deploy/fabfile.py", line 573, in add_user
    uid, user_auth_token, user_uuid = get_auth_token_from_db(email)
  File "/usr/lib/python2.6/contextlib.py", line 34, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/lib/python2.6/contextlib.py", line 113, in nested
    yield vars
  File "/usr/lib/snf-deploy/fabfile.py", line 573, in add_user
    uid, user_auth_token, user_uuid = get_auth_token_from_db(email)
  File "/usr/lib/pymodules/python2.6/fabric/decorators.py", line 56, in inner_decorator
    return func(*args, **kwargs)
  File "/usr/lib/snf-deploy/fabfile.py", line 662, in get_auth_token_from_db
    uid, user_auth_token, user_uuid = match.groups()
AttributeError: 'NoneType' object has no attribute 'groups'

Also available in: Atom PDF