{"action":"created","issue":{"url":"https://api.github.com/repos/NethServer/dev/issues/5653","repository_url":"https://api.github.com/repos/NethServer/dev","labels_url":"https://api.github.com/repos/NethServer/dev/issues/5653/labels{/name}","comments_url":"https://api.github.com/repos/NethServer/dev/issues/5653/comments","events_url":"https://api.github.com/repos/NethServer/dev/issues/5653/events","html_url":"https://github.com/NethServer/dev/issues/5653","id":383156344,"node_id":"MDU6SXNzdWUzODMxNTYzNDQ=","number":5653,"title":"User management errors after disaster recovery","user":{"login":"DavidePrincipi","id":2920838,"node_id":"MDQ6VXNlcjI5MjA4Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/2920838?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidePrincipi","html_url":"https://github.com/DavidePrincipi","followers_url":"https://api.github.com/users/DavidePrincipi/followers","following_url":"https://api.github.com/users/DavidePrincipi/following{/other_user}","gists_url":"https://api.github.com/users/DavidePrincipi/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidePrincipi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidePrincipi/subscriptions","organizations_url":"https://api.github.com/users/DavidePrincipi/orgs","repos_url":"https://api.github.com/users/DavidePrincipi/repos","events_url":"https://api.github.com/users/DavidePrincipi/events{/privacy}","received_events_url":"https://api.github.com/users/DavidePrincipi/received_events","type":"User","site_admin":false},"labels":[{"id":299407445,"node_id":"MDU6TGFiZWwyOTk0MDc0NDU=","url":"https://api.github.com/repos/NethServer/dev/labels/bug","name":"bug","color":"ee0701","default":true},{"id":406319832,"node_id":"MDU6TGFiZWw0MDYzMTk4MzI=","url":"https://api.github.com/repos/NethServer/dev/labels/testing","name":"testing","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"stephdl","id":3164851,"node_id":"MDQ6VXNlcjMxNjQ4NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3164851?v=4","gravatar_id":"","url":"https://api.github.com/users/stephdl","html_url":"https://github.com/stephdl","followers_url":"https://api.github.com/users/stephdl/followers","following_url":"https://api.github.com/users/stephdl/following{/other_user}","gists_url":"https://api.github.com/users/stephdl/gists{/gist_id}","starred_url":"https://api.github.com/users/stephdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephdl/subscriptions","organizations_url":"https://api.github.com/users/stephdl/orgs","repos_url":"https://api.github.com/users/stephdl/repos","events_url":"https://api.github.com/users/stephdl/events{/privacy}","received_events_url":"https://api.github.com/users/stephdl/received_events","type":"User","site_admin":false},"assignees":[{"login":"stephdl","id":3164851,"node_id":"MDQ6VXNlcjMxNjQ4NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3164851?v=4","gravatar_id":"","url":"https://api.github.com/users/stephdl","html_url":"https://github.com/stephdl","followers_url":"https://api.github.com/users/stephdl/followers","following_url":"https://api.github.com/users/stephdl/following{/other_user}","gists_url":"https://api.github.com/users/stephdl/gists{/gist_id}","starred_url":"https://api.github.com/users/stephdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephdl/subscriptions","organizations_url":"https://api.github.com/users/stephdl/orgs","repos_url":"https://api.github.com/users/stephdl/repos","events_url":"https://api.github.com/users/stephdl/events{/privacy}","received_events_url":"https://api.github.com/users/stephdl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-11-21T14:57:44Z","updated_at":"2018-11-25T18:06:54Z","closed_at":null,"author_association":"MEMBER","body":"After restoring a system with local AD accounts provider _on different hardware_, the user & groups page has errors if I try to create a new user.\r\n\r\n**Steps to reproduce**\r\n\r\n- Configure local AD provider\r\n- Save a backup-config snapshot\r\n\r\nOn a different hardware\r\n- Restore the config backup\r\n- Create a new user\r\n\r\n**Expected behavior**\r\n\r\nThe user was created\r\n\r\n**Actual behavior**\r\n\r\nThe user creation fails. In /var/log/messages\r\n\r\n```text\r\nNov 13 10:26:23 foscolo esmith::event[2516]: Event: user-create nethesis Nethesis Test /usr/libexec/openssh/sftp-server\r\nNov 13 10:26:24 foscolo esmith::event[2516]: Traceback (most recent call last):\r\nNov 13 10:26:24 foscolo esmith::event[2516]:  File \"/bin/nsdc-run\", line 38, in <module>\r\nNov 13 10:26:24 foscolo esmith::event[2516]:    so.connect('/var/lib/machines/nsdc/var/lib/misc/nsdc-run.sock')\r\nNov 13 10:26:24 foscolo esmith::event[2516]:  File \"/usr/lib64/python2.7/socket.py\", line 224, in meth\r\nNov 13 10:26:24 foscolo esmith::event[2516]:    return getattr(self._sock,name)(*args)\r\nNov 13 10:26:24 foscolo esmith::event[2516]: socket.error: [Errno 2] No such file or directory\r\nNov 13 10:26:24 foscolo esmith::event[2516]: [ERROR] User nethesis creation failed\r\n```\r\n\r\nAnd\r\n\r\n```text\r\n[root@vm5 ~]# systemctl status -M nsdc nsdc-run.socket\r\n● nsdc-run.socket - NSDC container remote command server\r\n   Loaded: loaded (/etc/systemd/system/nsdc-run.socket; disabled; vendor preset: disabled)\r\n   Active: inactive (dead)\r\n     Docs: https://github.com/NethServer/nethserver-dc/blob/master/README.rst\r\n   Listen: /var/lib/misc/nsdc-run.sock (Stream)\r\n Accepted: 0; Connected: 0\r\n```\r\n\r\n**Components**\r\n\r\nnethserver-dc-1.5.7-1.ns7.x86_64\r\n\r\n----\r\n\r\nThanks to @lucagasparini @nrauso\r\n"},"comment":{"url":"https://api.github.com/repos/NethServer/dev/issues/comments/441459924","html_url":"https://github.com/NethServer/dev/issues/5653#issuecomment-441459924","issue_url":"https://api.github.com/repos/NethServer/dev/issues/5653","id":441459924,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTQ1OTkyNA==","user":{"login":"stephdl","id":3164851,"node_id":"MDQ6VXNlcjMxNjQ4NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3164851?v=4","gravatar_id":"","url":"https://api.github.com/users/stephdl","html_url":"https://github.com/stephdl","followers_url":"https://api.github.com/users/stephdl/followers","following_url":"https://api.github.com/users/stephdl/following{/other_user}","gists_url":"https://api.github.com/users/stephdl/gists{/gist_id}","starred_url":"https://api.github.com/users/stephdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephdl/subscriptions","organizations_url":"https://api.github.com/users/stephdl/orgs","repos_url":"https://api.github.com/users/stephdl/repos","events_url":"https://api.github.com/users/stephdl/events{/privacy}","received_events_url":"https://api.github.com/users/stephdl/received_events","type":"User","site_admin":false},"created_at":"2018-11-25T18:06:54Z","updated_at":"2018-11-25T18:06:54Z","author_association":"NONE","body":"VERIFICATION : FAILED\r\n\r\nstep to reproduce\r\n\r\ndownload a backup configuration file from my (real) server\r\nstart a fresh VM and full update to centos 7.5\r\nupload the configuration backup and restore from it\r\nwait a long time (nethserver-dc needs to be installed)\r\ngo to the user page, I have a message :     `Account provider generic error: SSSD exit code 1`"}}
{"actor":{"display_login":"stephdl"}}