Skip to content

fix strange users

Marcus Hardt requested to merge fix-null-user into master

Some strange users are sent from the backend.

This fix checks if data['user']['userinfo'] is None

Sep 07 16:04:35 feudal-client feudalClient[13282]: 2020/09/07 16:04:35 Dep[KIT Test SSH]#234 Executing: 'ldf_adapter --conf /etc/feudal/ldf_adapter_devel_lsdf.conf'
Sep 07 16:04:35 feudal-client feudalClient[13282]: 2020/09/07 16:04:35 Dep[KIT Test SSH]#234 Input: {
Sep 07 16:04:35 feudal-client feudalClient[13282]: "state_target": "not_deployed",
Sep 07 16:04:35 feudal-client feudalClient[13282]: "user": {
Sep 07 16:04:35 feudal-client feudalClient[13282]: "userinfo": null,
Sep 07 16:04:35 feudal-client feudalClient[13282]: "credentials": null
Sep 07 16:04:35 feudal-client feudalClient[13282]: },
Sep 07 16:04:35 feudal-client feudalClient[13282]: "answers": {
Sep 07 16:04:35 feudal-client feudalClient[13282]: "primary_group": "h-df-de_hdf"
Sep 07 16:04:35 feudal-client feudalClient[13282]: }
Sep 07 16:04:35 feudal-client feudalClient[13282]: }
Sep 07 16:04:35 feudal-client feudalClient[13282]: 2020/09/07 16:04:35 Dep[KIT Test SSH]#235 Scheduling execution for KIT Test SSH
Sep 07 16:04:35 feudal-client feudalClient[13282]: 2020/09/07 16:04:35 [Sink] Handling: Dep[KIT Test SSH]#235
Sep 07 16:04:35 feudal-client feudalClient[13282]: 2020/09/07 16:04:35 Dep[KIT Test SSH]#235 Executing: 'ldf_adapter --conf /etc/feudal/ldf_adapter_devel_lsdf.conf'
Sep 07 16:04:35 feudal-client feudalClient[13282]: 2020/09/07 16:04:35 Dep[KIT Test SSH]#235 Input: {
Sep 07 16:04:35 feudal-client feudalClient[13282]: "state_target": "not_deployed",
Sep 07 16:04:35 feudal-client feudalClient[13282]: "user": {
Sep 07 16:04:35 feudal-client feudalClient[13282]: "userinfo": null,
Sep 07 16:04:35 feudal-client feudalClient[13282]: "credentials": null
Sep 07 16:04:35 feudal-client feudalClient[13282]: }
Sep 07 16:04:35 feudal-client feudalClient[13282]: }

Merge request reports

Loading