NameError: name 'raise_question' is not defined
Mar 04 14:18:53 feudal-client feudalClient[20723]: 2020/03/04 14:18:53 Dep[KIT Test SSH]#51 Scheduling execution for KIT Test SSH
Mar 04 14:18:53 feudal-client feudalClient[20723]: 2020/03/04 14:18:53 Dep[KIT Test SSH]#52 Scheduling execution for KIT Test SSH
Mar 04 14:18:53 feudal-client feudalClient[20723]: 2020/03/04 14:18:53 [Sink] Handling: Dep[KIT Test SSH]#52
Mar 04 14:18:53 feudal-client feudalClient[20723]: 2020/03/04 14:18:53 Dep[KIT Test SSH]#52 Executing: 'ldf_adapter --conf /etc/feudal/ldf_adapter_devel_lsdf.conf'
Mar 04 14:18:53 feudal-client feudalClient[20723]: 2020/03/04 14:18:53 Dep[KIT Test SSH]#52 Input: {
Mar 04 14:18:53 feudal-client feudalClient[20723]: "state_target": "deployed",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "user": {
Mar 04 14:18:53 feudal-client feudalClient[20723]: "userinfo": {
Mar 04 14:18:53 feudal-client feudalClient[20723]: "eduperson_assurance": [
Mar 04 14:18:53 feudal-client feudalClient[20723]: "https://refeds.org/assurance/IAP/medium",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "https://refeds.org/assurance/IAP/local-enterprise",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "https://refeds.org/assurance/ID/eppn-unique-no-reassign",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "https://refeds.org/assurance/ATP/ePA-1m",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "https://refeds.org/assurance/ATP/ePA-1d",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "https://refeds.org/assurance/ID/unique",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "https://refeds.org/assurance/profile/cappuccino",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "https://refeds.org/assurance/IAP/low"
Mar 04 14:18:53 feudal-client feudalClient[20723]: ],
Mar 04 14:18:53 feudal-client feudalClient[20723]: "eduperson_entitlement": [
Mar 04 14:18:53 feudal-client feudalClient[20723]: "urn:mace:dir:entitlement:common-lib-terms",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "http://bwidm.de/entitlement/bwLSDF-SyncShare",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "urn:geant:h-df.de:group:MyExampleColab#login.helmholtz-data-federation.de",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "urn:geant:h-df.de:group:HDF#login.helmholtz-data-federation.de",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "urn:geant:h-df.de:group:m-team#login.helmholtz-data-federation.de"
Mar 04 14:18:53 feudal-client feudalClient[20723]: ],
Mar 04 14:18:53 feudal-client feudalClient[20723]: "eduperson_principal_name": "rg7642@kit.edu",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "eduperson_scoped_affiliation": "member@kit.edu",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "email": "diana.gudu@kit.edu",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "email_verified": "true",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "family_name": "Gudu",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "given_name": "Diana",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "groups": [
Mar 04 14:18:53 feudal-client feudalClient[20723]: "/MyExampleColab",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "/m-team",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "/HDF",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "/"
Mar 04 14:18:53 feudal-client feudalClient[20723]: ],
Mar 04 14:18:53 feudal-client feudalClient[20723]: "iss": "https://login.helmholtz-data-federation.de/oauth2",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "name": "Diana Gudu",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "sub": "1594a948-e5aa-44e8-9629-ffa606c9681e"
Mar 04 14:18:53 feudal-client feudalClient[20723]: },
Mar 04 14:18:53 feudal-client feudalClient[20723]: "credentials": {
Mar 04 14:18:53 feudal-client feudalClient[20723]: "ssh_key": [
Mar 04 14:18:53 feudal-client feudalClient[20723]: {
Mar 04 14:18:53 feudal-client feudalClient[20723]: "id": 16,
Mar 04 14:18:53 feudal-client feudalClient[20723]: "name": "id_rsa.pub",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkfiyPOw/jHSbHjeI3TRNMCG+U5WZ/Oxy73ZhbpxiENMAdrzMTmuxJUPxAerbWV4G3+/+m1N7Vdwxc6hGdl7lOILSnI4XPFiH1G9TJF/Vu3eUC0NUCs8xMCSAANMSWrUtLh2qCAPJsONAha+QAbDAXmPbURFuvqV8S/zuBpPBTjzUx9lUKp6ak821bLyID17hnwuz/XBwfwwsheFObyM98+Hmr/p+9Qncp1itJcQBLQXBOwCh04PbAVEjxOzwYCXOqEVBnT+Vcm1w/KLLBiLSYZ3XEQbo30eL43Wv6lkkjTKdarF6I1fGon7r47RTEkJmqF4dsnNhdVJ6dQrjqlwcv diana@wonderland"
Mar 04 14:18:53 feudal-client feudalClient[20723]: }
Mar 04 14:18:53 feudal-client feudalClient[20723]: ]
Mar 04 14:18:53 feudal-client feudalClient[20723]: }
Mar 04 14:18:53 feudal-client feudalClient[20723]: }
Mar 04 14:18:53 feudal-client feudalClient[20723]: }
Mar 04 14:18:53 feudal-client feudalClient[20723]: 2020/03/04 14:18:53 [Sink] Handling: Dep[KIT Test SSH]#51
Mar 04 14:18:53 feudal-client feudalClient[20723]: 2020/03/04 14:18:53 Dep[KIT Test SSH]#51 Executing: 'ldf_adapter --conf /etc/feudal/ldf_adapter_devel_lsdf.conf'
Mar 04 14:18:53 feudal-client feudalClient[20723]: 2020/03/04 14:18:53 Dep[KIT Test SSH]#51 Input: {
Mar 04 14:18:53 feudal-client feudalClient[20723]: "state_target": "not_deployed",
Mar 04 14:18:53 feudal-client feudalClient[20723]: "user": {
Mar 04 14:18:53 feudal-client feudalClient[20723]: "userinfo": null,
Mar 04 14:18:53 feudal-client feudalClient[20723]: "credentials": null
Mar 04 14:18:53 feudal-client feudalClient[20723]: }
Mar 04 14:18:53 feudal-client feudalClient[20723]: }
Mar 04 14:18:54 feudal-client feudalClient[20723]: 2020/03/04 14:18:54 Dep[KIT Test SSH]#51 Logs:
Mar 04 14:18:54 feudal-client feudalClient[20723]: DEBUG:ldf_adapter.config:Using these config files: [PosixPath('/etc/feudal/ldf_adapter_devel_lsdf.conf'), PosixPath('ldf_adapter.conf'), PosixPath('/root/.config/ldf_adapter.conf')] to find a suitable one
Mar 04 14:18:54 feudal-client feudalClient[20723]: DEBUG:ldf_adapter.config:Read config from ['/etc/feudal/ldf_adapter_devel_lsdf.conf']
Mar 04 14:18:54 feudal-client feudalClient[20723]: DEBUG:ldf_adapter.interface:Attempting to reach state 'not_deployed'
Mar 04 14:18:54 feudal-client feudalClient[20723]: Traceback (most recent call last):
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/bin/ldf_adapter", line 11, in <module>
Mar 04 14:18:54 feudal-client feudalClient[20723]: load_entry_point('ldf-adapter==0.1.1', 'console_scripts', 'ldf_adapter')()
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/interface.py", line 27, in main
Mar 04 14:18:54 feudal-client feudalClient[20723]: result = User(data).reach_state(data['state_target'])
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/__init__.py", line 40, in __init__
Mar 04 14:18:54 feudal-client feudalClient[20723]: self.service_groups = [backend.Group(grp) for grp in self.data.groups]
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/__init__.py", line 404, in groups
Mar 04 14:18:54 feudal-client feudalClient[20723]: in chain(self.userinfo.get('groups', []),
Mar 04 14:18:54 feudal-client feudalClient[20723]: AttributeError: 'NoneType' object has no attribute 'get'
Mar 04 14:18:54 feudal-client feudalClient[20723]: 2020/03/04 14:18:54 Dep[KIT Test SSH]#51 End of Logs
Mar 04 14:18:54 feudal-client feudalClient[20723]: 2020/03/04 14:18:54 Dep[KIT Test SSH]#51 Error handling dep: exit status 1
Mar 04 14:18:54 feudal-client feudalClient[20723]: 2020/03/04 14:18:54 Dep[KIT Test SSH]#52 Logs:
Mar 04 14:18:54 feudal-client feudalClient[20723]: DEBUG:ldf_adapter.config:Using these config files: [PosixPath('/etc/feudal/ldf_adapter_devel_lsdf.conf'), PosixPath('ldf_adapter.conf'), PosixPath('/root/.config/ldf_adapter.conf')] to find a suitable one
Mar 04 14:18:54 feudal-client feudalClient[20723]: DEBUG:ldf_adapter.config:Read config from ['/etc/feudal/ldf_adapter_devel_lsdf.conf']
Mar 04 14:18:54 feudal-client feudalClient[20723]: DEBUG:ldf_adapter.interface:Attempting to reach state 'deployed'
Mar 04 14:18:54 feudal-client feudalClient[20723]: WARNING:ldf_adapter:Group name '/MyExampleColab' changed to 'my_example_colab' for BWIDM compatibilty
Mar 04 14:18:54 feudal-client feudalClient[20723]: WARNING:ldf_adapter:Group name '/m-team' changed to 'm-team' for BWIDM compatibilty
Mar 04 14:18:54 feudal-client feudalClient[20723]: WARNING:ldf_adapter:Group name '/HDF' changed to 'hdf' for BWIDM compatibilty
Mar 04 14:18:54 feudal-client feudalClient[20723]: WARNING:ldf_adapter:Group name '/' changed to '' for BWIDM compatibilty
Mar 04 14:18:54 feudal-client feudalClient[20723]: WARNING:ldf_adapter:Group name 'MyExampleColab' changed to 'my_example_colab' for BWIDM compatibilty
Mar 04 14:18:54 feudal-client feudalClient[20723]: WARNING:ldf_adapter:Group name 'HDF' changed to 'hdf' for BWIDM compatibilty
Mar 04 14:18:54 feudal-client feudalClient[20723]: WARNING:ldf_adapter:Issuer 'login.helmholtz-data-federation.de/oauth2' changed to 'login.helmholtz-data-federation.de-oauth2' for BWIDM compatibilty
Mar 04 14:18:54 feudal-client feudalClient[20723]: Traceback (most recent call last):
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/bin/ldf_adapter", line 11, in <module>
Mar 04 14:18:54 feudal-client feudalClient[20723]: load_entry_point('ldf-adapter==0.1.1', 'console_scripts', 'ldf_adapter')()
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/interface.py", line 27, in main
Mar 04 14:18:54 feudal-client feudalClient[20723]: result = User(data).reach_state(data['state_target'])
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/__init__.py", line 92, in reach_state
Mar 04 14:18:54 feudal-client feudalClient[20723]: return self.deploy()
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/__init__.py", line 106, in deploy
Mar 04 14:18:54 feudal-client feudalClient[20723]: was_created = self.ensure_exists()
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/__init__.py", line 152, in ensure_exists
Mar 04 14:18:54 feudal-client feudalClient[20723]: logger.debug('Ensuring user {unique_id} exits'.format(**self.data))
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/__init__.py", line 460, in __getitem__
Mar 04 14:18:54 feudal-client feudalClient[20723]: return getattr(self, key, lambda: (_ for _ in ()).throw(KeyError(key)))
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/__init__.py", line 342, in username
Mar 04 14:18:54 feudal-client feudalClient[20723]: allow_question
Mar 04 14:18:54 feudal-client feudalClient[20723]: File "/usr/local/lib/python3.6/site-packages/ldf_adapter/__init__.py", line 448, in value_or_ask
Mar 04 14:18:54 feudal-client feudalClient[20723]: or (allow_question and raise_question(
Mar 04 14:18:54 feudal-client feudalClient[20723]: NameError: name 'raise_question' is not defined
Mar 04 14:18:54 feudal-client feudalClient[20723]: 2020/03/04 14:18:54 Dep[KIT Test SSH]#52 End of Logs
Mar 04 14:18:54 feudal-client feudalClient[20723]: 2020/03/04 14:18:54 Dep[KIT Test SSH]#52 Error handling dep: exit status 1
Edited by Marcus Hardt