'User' object has no attribute 'primary_group'
Habe feudal auf mailping.data.kit.edu installiert.
Das questionnaire fragt nach der primären Gruppe
Ich definiere eine statische primäre Gruppe, damit das nicht dringend ist hier.
Dennoch bekomme ich diesen Fehler:
Jul 31 15:34:34 mailping feudalClient[567]: Traceback (most recent call last):
Jul 31 15:34:34 mailping feudalClient[567]: File "/usr/local/bin/ldf_adapter", line 10, in <module>
Jul 31 15:34:34 mailping feudalClient[567]: sys.exit(main())
Jul 31 15:34:34 mailping feudalClient[567]: File "/usr/local/lib/python3.7/dist-packages/ldf_adapter/interface.py", line 27, in main
Jul 31 15:34:34 mailping feudalClient[567]: result = User(data).reach_state(data['state_target'])
Jul 31 15:34:34 mailping feudalClient[567]: File "/usr/local/lib/python3.7/dist-packages/ldf_adapter/__init__.py", line 162, in reach_state
Jul 31 15:34:34 mailping feudalClient[567]: return self.deploy()
Jul 31 15:34:34 mailping feudalClient[567]: File "/usr/local/lib/python3.7/dist-packages/ldf_adapter/__init__.py", line 176, in deploy
Jul 31 15:34:34 mailping feudalClient[567]: self.ensure_groups_exist()
Jul 31 15:34:34 mailping feudalClient[567]: File "/usr/local/lib/python3.7/dist-packages/ldf_adapter/__init__.py", line 264, in ensure_groups_exist
Jul 31 15:34:34 mailping feudalClient[567]: for group in filter(lambda grp: not grp.exists(), [self.service_user.primary_group] + self.service_groups):
Jul 31 15:34:34 mailping feudalClient[567]: AttributeError: 'User' object has no attribute 'primary_group'
Jul 31 15:34:34 mailping feudalClient[567]: 2020/07/31 15:34:34 Dep[Sirtfi Mailping]#250 End of Logs
Jul 31 15:34:34 mailping feudalClient[567]: 2020/07/31 15:34:34 Dep[Sirtfi Mailping]#250 Error handling dep: exit status 1
INput ist:
Jul 31 15:34:34 mailping feudalClient[567]: 2020/07/31 15:34:34 Dep[Sirtfi Mailping]#250 Input: {
Jul 31 15:34:34 mailping feudalClient[567]: "state_target": "deployed",
Jul 31 15:34:34 mailping feudalClient[567]: "user": {
Jul 31 15:34:34 mailping feudalClient[567]: "userinfo": {
Jul 31 15:34:34 mailping feudalClient[567]: "eduperson_assurance": [
Jul 31 15:34:34 mailping feudalClient[567]: "https://refeds.org/assurance/IAP/medium",
Jul 31 15:34:34 mailping feudalClient[567]: "https://refeds.org/assurance/IAP/local-enterprise",
Jul 31 15:34:34 mailping feudalClient[567]: "https://refeds.org/assurance/ID/eppn-unique-no-reassign",
Jul 31 15:34:34 mailping feudalClient[567]: "https://refeds.org/assurance/ATP/ePA-1m",
Jul 31 15:34:34 mailping feudalClient[567]: "https://refeds.org/assurance/ATP/ePA-1d",
Jul 31 15:34:34 mailping feudalClient[567]: "https://refeds.org/assurance/ID/unique",
Jul 31 15:34:34 mailping feudalClient[567]: "https://refeds.org/assurance/profile/cappuccino",
Jul 31 15:34:34 mailping feudalClient[567]: "https://refeds.org/assurance/IAP/low"
Jul 31 15:34:34 mailping feudalClient[567]: ],
Jul 31 15:34:34 mailping feudalClient[567]: "eduperson_entitlement": [
Jul 31 15:34:34 mailping feudalClient[567]: "urn:mace:dir:entitlement:common-lib-terms",
Jul 31 15:34:34 mailping feudalClient[567]: "http://bwidm.de/entitlement/bwLSDF-SyncShare",
Jul 31 15:34:34 mailping feudalClient[567]: "urn:geant:h-df.de:group:IMK-TRO-EWCC#login.helmholtz.de",
Jul 31 15:34:34 mailping feudalClient[567]: "urn:geant:h-df.de:group:MyExampleColab#login.helmholtz.de",
Jul 31 15:34:34 mailping feudalClient[567]: "urn:geant:h-df.de:group:wlcg-test#login.helmholtz.de",
Jul 31 15:34:34 mailping feudalClient[567]: "urn:geant:h-df.de:group:HDF#login.helmholtz.de",
Jul 31 15:34:34 mailping feudalClient[567]: "urn:geant:h-df.de:group:m-team#login.helmholtz.de",
Jul 31 15:34:34 mailping feudalClient[567]: "urn:geant:h-df.de:group:lsdf_admin#login.helmholtz.de",
Jul 31 15:34:34 mailping feudalClient[567]: "urn:geant:h-df.de:group:m-team:feudal-developers#login.helmholtz.de",
Jul 31 15:34:34 mailping feudalClient[567]: "urn:geant:h-df.de:group:KIT#login.helmholtz.de",
Jul 31 15:34:34 mailping feudalClient[567]: "urn:geant:h-df.de:group:Helmholtz-member#login.helmholtz.de"
Jul 31 15:34:34 mailping feudalClient[567]: ],
Jul 31 15:34:34 mailping feudalClient[567]: "eduperson_principal_name": "lo0018@kit.edu",
Jul 31 15:34:34 mailping feudalClient[567]: "eduperson_scoped_affiliation": [
Jul 31 15:34:34 mailping feudalClient[567]: "member@kit.edu",
Jul 31 15:34:34 mailping feudalClient[567]: "employee@kit.edu"
Jul 31 15:34:34 mailping feudalClient[567]: ],
Jul 31 15:34:34 mailping feudalClient[567]: "email": "marcus.hardt@kit.edu",
Jul 31 15:34:34 mailping feudalClient[567]: "email_verified": true,
Jul 31 15:34:34 mailping feudalClient[567]: "family_name": "Hardt",
Jul 31 15:34:34 mailping feudalClient[567]: "given_name": "Marcus",
Jul 31 15:34:34 mailping feudalClient[567]: "groups": [
Jul 31 15:34:34 mailping feudalClient[567]: "/wlcg-test",
Jul 31 15:34:34 mailping feudalClient[567]: "/lsdf_admin",
Jul 31 15:34:34 mailping feudalClient[567]: "/KIT",
Jul 31 15:34:34 mailping feudalClient[567]: "/m-team/NNE09",
Jul 31 15:34:34 mailping feudalClient[567]: "/IMK-TRO-EWCC",
Jul 31 15:34:34 mailping feudalClient[567]: "/Helmholtz-member",
Jul 31 15:34:34 mailping feudalClient[567]: "/MyExampleColab",
Jul 31 15:34:34 mailping feudalClient[567]: "/m-team",
Jul 31 15:34:34 mailping feudalClient[567]: "/HDF",
Jul 31 15:34:34 mailping feudalClient[567]: "/"
Jul 31 15:34:34 mailping feudalClient[567]: ],
Jul 31 15:34:34 mailping feudalClient[567]: "iss": "https://login.helmholtz.de/oauth2",
Jul 31 15:34:34 mailping feudalClient[567]: "name": "Marcus Hardt",
Jul 31 15:34:34 mailping feudalClient[567]: "preferred_username": "marcus",
Jul 31 15:34:34 mailping feudalClient[567]: "ssh_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAqA5FW6m3FbFhCOsRQBxKMRki5qJxoNhZdaeLXg6ym/ marcus@nemo2019\n",
Jul 31 15:34:34 mailping feudalClient[567]: "sub": "6c611e2a-2c1c-487f-9948-c058a36c8f0e"
Jul 31 15:34:34 mailping feudalClient[567]: },
Jul 31 15:34:34 mailping feudalClient[567]: "credentials": {
Jul 31 15:34:34 mailping feudalClient[567]: "ssh_key": [
Jul 31 15:34:34 mailping feudalClient[567]: {
Jul 31 15:34:34 mailping feudalClient[567]: "id": 53,
Jul 31 15:34:34 mailping feudalClient[567]: "name": "unity_key",
Jul 31 15:34:34 mailping feudalClient[567]: "value": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAqA5FW6m3FbFhCOsRQBxKMRki5qJxoNhZdaeLXg6ym/ marcus@nemo2019\n"
Jul 31 15:34:34 mailping feudalClient[567]: }
Jul 31 15:34:34 mailping feudalClient[567]: ]
Jul 31 15:34:34 mailping feudalClient[567]: }
Jul 31 15:34:34 mailping feudalClient[567]: },
Jul 31 15:34:34 mailping feudalClient[567]: "answers": {
Jul 31 15:34:34 mailping feudalClient[567]: "primary_group": "h-df-de_m-team"
Jul 31 15:34:34 mailping feudalClient[567]: }
Jul 31 15:34:34 mailping feudalClient[567]: }