{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/2402","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/2402/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/2402/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/2402/events","html_url":"https://github.com/lxc/lxd/issues/2402","id":177871025,"number":2402,"title":"Implement push support wherever pull is supported now","user":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lxc/lxd/labels/API","name":"API","color":"0052cc"},{"url":"https://api.github.com/repos/lxc/lxd/labels/Documentation","name":"Documentation","color":"fbca04"},{"url":"https://api.github.com/repos/lxc/lxd/labels/Feature","name":"Feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/lxc/lxd/milestones/47","html_url":"https://github.com/lxc/lxd/milestones/soon","labels_url":"https://api.github.com/repos/lxc/lxd/milestones/47/labels","id":1730642,"number":47,"title":"soon","description":"","creator":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":1,"state":"open","created_at":"2016-04-25T21:28:45Z","updated_at":"2016-09-19T20:37:46Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-19T19:13:33Z","updated_at":"2016-09-20T13:57:02Z","closed_at":null,"body":"This is a fork of #553 for the daemon side of it.\r\n\r\nThis is to track support for websocket \"push\" mode wherever we support \"pull\" right now:\r\n - POST /1.0/containers\r\n - POST /1.0/images\r\n\r\nWhen the client POST to either of those with \"push\" set, it will be returned a reference to a websocket operation as part of the POST operation metadata.\r\nThe client will then have to connect to that websocket (or websockets for migration) and push data.\r\n\r\nThis is different from the current \"pull\" mode, where a remote operation URL and secret token is provided to the target daemon, having the daemon itself connect to the source.\r\n\r\n\r\nThe expected use for this work is to have the client tool act as a relay when two LXD servers cannot talk to each other (this part of the work is tracked in #553)."},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/248308640","html_url":"https://github.com/lxc/lxd/issues/2402#issuecomment-248308640","issue_url":"https://api.github.com/repos/lxc/lxd/issues/2402","id":248308640,"user":{"login":"brauner","id":7353573,"avatar_url":"https://avatars.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T13:57:02Z","updated_at":"2016-09-20T13:57:02Z","body":"So, when would `push` be set? There seem to be two cases mentioned in #553:\r\n1) On transfer failure: What cases does this cover?\r\n - Remote is not public (as per #1510)?\r\n\r\n2) A flag is set in the server config? `websocket_on_push`"}}
{"actor":{"display_login":"brauner"}}