#6636 UnboundLocalError during ipa-client-install
Closed: Fixed None Opened 7 years ago by ftweedal.

During ipa-client-install, an UnboundLocalError can occur if for some reason the server does not set a session cookie:

  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 736, in parse_response
    self.store_session_cookie(header)
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 720, in store_session_cookie
    if session_cookie is None:

2017-01-30T04:35:20Z DEBUG The ipa-client-install command failed, exception: UnboundLocalError: local variable 'session_cookie' 
2017-01-30T04:35:20Z ERROR local variable 'session_cookie' referenced before assignment

master:

  • 924794f Fix reference before assignment

Metadata Update from @ftweedal:
- Issue assigned to ftweedal
- Issue set to the milestone: FreeIPA 4.5

7 years ago

Login to comment on this ticket.

Metadata