{"action":"created","issue":{"url":"https://api.github.com/repos/irods/irods/issues/3258","repository_url":"https://api.github.com/repos/irods/irods","labels_url":"https://api.github.com/repos/irods/irods/issues/3258/labels{/name}","comments_url":"https://api.github.com/repos/irods/irods/issues/3258/comments","events_url":"https://api.github.com/repos/irods/irods/issues/3258/events","html_url":"https://github.com/irods/irods/issues/3258","id":171404537,"number":3258,"title":"iadmin rmchildfromresc fails","user":{"login":"nono-gdv","id":3807669,"avatar_url":"https://avatars.githubusercontent.com/u/3807669?v=3","gravatar_id":"","url":"https://api.github.com/users/nono-gdv","html_url":"https://github.com/nono-gdv","followers_url":"https://api.github.com/users/nono-gdv/followers","following_url":"https://api.github.com/users/nono-gdv/following{/other_user}","gists_url":"https://api.github.com/users/nono-gdv/gists{/gist_id}","starred_url":"https://api.github.com/users/nono-gdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nono-gdv/subscriptions","organizations_url":"https://api.github.com/users/nono-gdv/orgs","repos_url":"https://api.github.com/users/nono-gdv/repos","events_url":"https://api.github.com/users/nono-gdv/events{/privacy}","received_events_url":"https://api.github.com/users/nono-gdv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-16T13:11:45Z","updated_at":"2016-08-26T12:32:15Z","closed_at":"2016-08-26T12:32:15Z","body":"```\r\nirods@icat-0115:~$ ilsresc \r\nPAPY:passthru\r\n└── PAPY_primary:load_balanced\r\n    ├── node-0003\r\n    └── node-0005\r\nPAPY_secondary:load_balanced\r\n├── node-0006\r\n└── node-0007\r\nirods@icat-0115:~$ iadmin rmchildfromresc PAPY_secondary node-0006\r\nirods@icat-0115:~$ echo $?\r\n4\r\nirods@icat-0115:~$ ilsresc \r\nPAPY:passthru\r\n└── PAPY_primary:load_balanced\r\n    ├── node-0003\r\n    └── node-0005\r\nPAPY_secondary:load_balanced\r\n├── node-0006\r\n└── node-0007\r\n```\r\n\r\nHere are the relevant lines from the log file:\r\n```\r\nAug 16 12:38:38 pid:336 NOTICE: rsGeneralAdmin remove child \"node-0006\" from resource \"PAPY_secondary\"\r\nAug 16 12:38:38 pid:336 NOTICE: chlDelChildResc aborted. Resource update error, status = -819000\r\nAug 16 12:38:38 pid:336 NOTICE: chlDelChildResc cmlExecuteNoAnswerSql(rollback) succeeded\r\nAug 16 12:38:38 pid:336 NOTICE: rsGeneralAdmin: rcGeneralAdmin error -819000\r\nAug 16 12:38:38 pid:336 NOTICE: readAndProcClientMsg: received disconnect msg from client\r\nAug 16 12:38:38 pid:336 NOTICE: Agent exiting with status = 0\r\n```\r\n\r\nResource node-0006 is supposed to be empty, but ilsresc disagrees:\r\n```\r\nirods@icat-0115:~$ iquest \"select DATA_ID where RESC_NAME = 'node-0006'\"\r\nCAT_NO_ROWS_FOUND: Nothing was found matching your query\r\nirods@icat-0115:~$ ilsresc -l node-0006 | grep count\r\nobject count: 24\r\n```\r\n\r\nThis makes me suspect an inconsistency in the database. However I unsure where it comes from and how to fix it."},"comment":{"url":"https://api.github.com/repos/irods/irods/issues/comments/242722894","html_url":"https://github.com/irods/irods/issues/3258#issuecomment-242722894","issue_url":"https://api.github.com/repos/irods/irods/issues/3258","id":242722894,"user":{"login":"nono-gdv","id":3807669,"avatar_url":"https://avatars.githubusercontent.com/u/3807669?v=3","gravatar_id":"","url":"https://api.github.com/users/nono-gdv","html_url":"https://github.com/nono-gdv","followers_url":"https://api.github.com/users/nono-gdv/followers","following_url":"https://api.github.com/users/nono-gdv/following{/other_user}","gists_url":"https://api.github.com/users/nono-gdv/gists{/gist_id}","starred_url":"https://api.github.com/users/nono-gdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nono-gdv/subscriptions","organizations_url":"https://api.github.com/users/nono-gdv/orgs","repos_url":"https://api.github.com/users/nono-gdv/repos","events_url":"https://api.github.com/users/nono-gdv/events{/privacy}","received_events_url":"https://api.github.com/users/nono-gdv/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T12:32:15Z","updated_at":"2016-08-26T12:32:15Z","body":"I have reset the counter to 0 in the database after triple-checking the resource server was actually empty. So far so good.\r\n\r\nThanks for your time!"}}
{"actor":{"display_login":"nono-gdv"}}