{"action":"created","issue":{"url":"https://api.github.com/repos/CESNET/netopeer/issues/138","repository_url":"https://api.github.com/repos/CESNET/netopeer","labels_url":"https://api.github.com/repos/CESNET/netopeer/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/CESNET/netopeer/issues/138/comments","events_url":"https://api.github.com/repos/CESNET/netopeer/issues/138/events","html_url":"https://github.com/CESNET/netopeer/issues/138","id":183320002,"number":138,"title":"cannot execute lock/unlock from netopeer-cli","user":{"login":"hsy68920","id":22878325,"avatar_url":"https://avatars.githubusercontent.com/u/22878325?v=3","gravatar_id":"","url":"https://api.github.com/users/hsy68920","html_url":"https://github.com/hsy68920","followers_url":"https://api.github.com/users/hsy68920/followers","following_url":"https://api.github.com/users/hsy68920/following{/other_user}","gists_url":"https://api.github.com/users/hsy68920/gists{/gist_id}","starred_url":"https://api.github.com/users/hsy68920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsy68920/subscriptions","organizations_url":"https://api.github.com/users/hsy68920/orgs","repos_url":"https://api.github.com/users/hsy68920/repos","events_url":"https://api.github.com/users/hsy68920/events{/privacy}","received_events_url":"https://api.github.com/users/hsy68920/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-17T03:52:41Z","updated_at":"2016-10-17T10:06:04Z","closed_at":null,"body":"Before  executing \"lock running\", datastore.xml file was as below:\r\n```\r\n<?xml version=\"1.0\"?>\r\n<datastores xmlns=\"urn:cesnet:tmc:datastores:file\">\r\n  <running lock=\"\" locktime=\"\">\r\n```\r\n\r\nwhen executing \"lock running\", it reported error as below:\r\n```\r\nnetconf> lock running\r\nNETCONF error: lock-denied (protocol) - Access to the requested lock is denied because the lock is currently held by another entity. (session ID 3)\r\n```\r\nBut the datastore.xml file was as below:\r\n```\r\n<?xml version=\"1.0\"?>\r\n<datastores xmlns=\"urn:cesnet:tmc:datastores:file\">\r\n  <running lock=\"3\" locktime=\"2016-10-17T03:39:29Z\">\r\n```\r\n\r\nThen I tried to execute \"unlocking running\", it reported error as below:\r\n```\r\nnetconf> unlock running\r\nNETCONF error: operation-failed (application) - Target datastore is not locked.\r\n```\r\nAnd the datastore.xml file was as below:\r\n```\r\n<?xml version=\"1.0\"?>\r\n<datastores xmlns=\"urn:cesnet:tmc:datastores:file\">\r\n  <running lock=\"\" locktime=\"\">\r\n```"},"comment":{"url":"https://api.github.com/repos/CESNET/netopeer/issues/comments/254166353","html_url":"https://github.com/CESNET/netopeer/issues/138#issuecomment-254166353","issue_url":"https://api.github.com/repos/CESNET/netopeer/issues/138","id":254166353,"user":{"login":"michalvasko","id":12510224,"avatar_url":"https://avatars.githubusercontent.com/u/12510224?v=3","gravatar_id":"","url":"https://api.github.com/users/michalvasko","html_url":"https://github.com/michalvasko","followers_url":"https://api.github.com/users/michalvasko/followers","following_url":"https://api.github.com/users/michalvasko/following{/other_user}","gists_url":"https://api.github.com/users/michalvasko/gists{/gist_id}","starred_url":"https://api.github.com/users/michalvasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalvasko/subscriptions","organizations_url":"https://api.github.com/users/michalvasko/orgs","repos_url":"https://api.github.com/users/michalvasko/repos","events_url":"https://api.github.com/users/michalvasko/events{/privacy}","received_events_url":"https://api.github.com/users/michalvasko/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T10:06:04Z","updated_at":"2016-10-17T10:06:04Z","body":"Hi,\r\nI cannot really help you because you must have done something else that caused this error, because it works fine for me. What did you exactly do after server start? How many sessions did you establish, what commands did you execute on them, in what order?\r\n\r\nRegards,\r\nMichal"}}
{"actor":{"display_login":"michalvasko"}}