{"action":"created","issue":{"url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2010","repository_url":"https://api.github.com/repos/varnishcache/varnish-cache","labels_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2010/labels{/name}","comments_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2010/comments","events_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2010/events","html_url":"https://github.com/varnishcache/varnish-cache/issues/2010","id":164356359,"number":2010,"title":"varnishadm CLI behaving weirdly","user":{"login":"thlc","id":2329864,"avatar_url":"https://avatars.githubusercontent.com/u/2329864?v=3","gravatar_id":"","url":"https://api.github.com/users/thlc","html_url":"https://github.com/thlc","followers_url":"https://api.github.com/users/thlc/followers","following_url":"https://api.github.com/users/thlc/following{/other_user}","gists_url":"https://api.github.com/users/thlc/gists{/gist_id}","starred_url":"https://api.github.com/users/thlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thlc/subscriptions","organizations_url":"https://api.github.com/users/thlc/orgs","repos_url":"https://api.github.com/users/thlc/repos","events_url":"https://api.github.com/users/thlc/events{/privacy}","received_events_url":"https://api.github.com/users/thlc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"hermunn","id":17638537,"avatar_url":"https://avatars.githubusercontent.com/u/17638537?v=3","gravatar_id":"","url":"https://api.github.com/users/hermunn","html_url":"https://github.com/hermunn","followers_url":"https://api.github.com/users/hermunn/followers","following_url":"https://api.github.com/users/hermunn/following{/other_user}","gists_url":"https://api.github.com/users/hermunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hermunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermunn/subscriptions","organizations_url":"https://api.github.com/users/hermunn/orgs","repos_url":"https://api.github.com/users/hermunn/repos","events_url":"https://api.github.com/users/hermunn/events{/privacy}","received_events_url":"https://api.github.com/users/hermunn/received_events","type":"User","site_admin":false},"assignees":[{"login":"hermunn","id":17638537,"avatar_url":"https://avatars.githubusercontent.com/u/17638537?v=3","gravatar_id":"","url":"https://api.github.com/users/hermunn","html_url":"https://github.com/hermunn","followers_url":"https://api.github.com/users/hermunn/followers","following_url":"https://api.github.com/users/hermunn/following{/other_user}","gists_url":"https://api.github.com/users/hermunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hermunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermunn/subscriptions","organizations_url":"https://api.github.com/users/hermunn/orgs","repos_url":"https://api.github.com/users/hermunn/repos","events_url":"https://api.github.com/users/hermunn/events{/privacy}","received_events_url":"https://api.github.com/users/hermunn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":22,"created_at":"2016-07-07T16:48:25Z","updated_at":"2016-11-24T10:10:13Z","closed_at":"2016-10-12T08:36:18Z","body":"Entering commands on the varnishadm CLI tool result in a weird unpredictable behavior as shown by the following extract:\n\n<pre>\n# varnishadm\n200        \n-----------------------------\nVarnish Cache CLI 1.0\n-----------------------------\nLinux,3.2.0-4-amd64,x86_64,-junix,-sfile,-smalloc,-hcritbit\nvarnish-4.1.3-beta1 revision ce824e2\n \nType 'help' for command list.\nType 'quit' to close CLI session.\n \nvarnish> backend.list\n200        \nvcl.show [-v] <configname>\nbackend.list [-p] [<backend_expression>]\nbackend.set_health <backend_expression> <state>\nban <field> <operator> <arg> [&& <field> <oper> <arg> ...]\nban.list\n \nvarnish> backend.list\n200        \nPONG 1467895240 1.0\nvarnish>\nvarnish> backend.list\n200        \nPONG 1467895243 1.0\nvarnish> backend.list\n200        \nBackend name                   Admin      Probe\nboot.nur01                     probe      Healthy 5/5\nboot.arz01                     probe      Healthy 5/5\nboot.agk01                     probe      Healthy 5/5\nboot.agk02                     probe      Healthy 5/5\nboot.agk01_html                probe      Healthy 5/5\nboot.agk02_html                probe      Healthy 5/5\nvarnish> backend.list\n200        \nPONG 1467895246 1.0\nvarnish> backend.list\n200        \nBackend name                   Admin      Probe\nboot.nur01                     probe      Healthy 5/5\nboot.arz01                     probe      Healthy 5/5\nboot.agk01                     probe      Healthy 5/5\nboot.agk02                     probe      Healthy 5/5\nboot.agk01_html                probe      Healthy 5/5\nboot.agk02_html                probe      Healthy 5/5\nvarnish> backend.list\n200        \nBackend name                   Admin      Probe\nboot.nur01                     probe      Healthy 5/5\nboot.arz01                     probe      Healthy 5/5\nboot.agk01                     probe      Healthy 5/5\nboot.agk02                     probe      Healthy 5/5\nboot.agk01_html                probe      Healthy 5/5\nboot.agk02_html                probe      Healthy 5/5\nvarnish> backend.list\n200        \nPONG 1467895285 1.0\nvarnish> backend.list\n200        \nBackend name                   Admin      Probe\nboot.nur01                     probe      Healthy 5/5\nboot.arz01                     probe      Healthy 5/5\nboot.agk01                     probe      Healthy 5/5\nboot.agk02                     probe      Healthy 5/5\nboot.agk01_html                probe      Healthy 5/5\nboot.agk02_html                probe      Healthy 5/5\n</pre>\n\n\nRestarting the varnishd instance \"fixed\" the problem. This is the first time it's happening to me, so I can't describe how to reproduce it.\n\nAs told by scn on the IRC channel, i'm opening an issue so it can be investigated.\n\n> @Mithrandir | looks like the CLI is out of sync  \n>  @scn | please file a bug. i've seen this before and I think it is just editline/readline acting up, but would be good to squash it for good.\n\nThe problem was encountered using varnish-4.1.3-beta1 running on Debian 7 (wheezy). The sources have been compiled from the debian source package provided on Jenkins.\n"},"comment":{"url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/comments/262738514","html_url":"https://github.com/varnishcache/varnish-cache/issues/2010#issuecomment-262738514","issue_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2010","id":262738514,"user":{"login":"zstyblik","id":6183869,"avatar_url":"https://avatars.githubusercontent.com/u/6183869?v=3","gravatar_id":"","url":"https://api.github.com/users/zstyblik","html_url":"https://github.com/zstyblik","followers_url":"https://api.github.com/users/zstyblik/followers","following_url":"https://api.github.com/users/zstyblik/following{/other_user}","gists_url":"https://api.github.com/users/zstyblik/gists{/gist_id}","starred_url":"https://api.github.com/users/zstyblik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zstyblik/subscriptions","organizations_url":"https://api.github.com/users/zstyblik/orgs","repos_url":"https://api.github.com/users/zstyblik/repos","events_url":"https://api.github.com/users/zstyblik/events{/privacy}","received_events_url":"https://api.github.com/users/zstyblik/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T10:10:13Z","updated_at":"2016-11-24T10:10:13Z","body":"Hello,\r\n\r\nthe same thing is happening in Varnish 5.0.0, resp. varnish_5.0.0-1_amd64.deb, although I don't know what triggers this condition.\r\nNote: I know the fix didn't make it into referenced build, but it would be nice to get a new one with the fix :)\r\n\r\nThanks."}}
{"actor":{"display_login":"zstyblik"}}