{"action":"created","issue":{"url":"https://api.github.com/repos/contiv/volplugin/issues/469","repository_url":"https://api.github.com/repos/contiv/volplugin","labels_url":"https://api.github.com/repos/contiv/volplugin/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/contiv/volplugin/issues/469/comments","events_url":"https://api.github.com/repos/contiv/volplugin/issues/469/events","html_url":"https://github.com/contiv/volplugin/issues/469","id":185465118,"number":469,"title":"Multiple policies with the same name","user":{"login":"yuva29","id":11082310,"avatar_url":"https://avatars.githubusercontent.com/u/11082310?v=3","gravatar_id":"","url":"https://api.github.com/users/yuva29","html_url":"https://github.com/yuva29","followers_url":"https://api.github.com/users/yuva29/followers","following_url":"https://api.github.com/users/yuva29/following{/other_user}","gists_url":"https://api.github.com/users/yuva29/gists{/gist_id}","starred_url":"https://api.github.com/users/yuva29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuva29/subscriptions","organizations_url":"https://api.github.com/users/yuva29/orgs","repos_url":"https://api.github.com/users/yuva29/repos","events_url":"https://api.github.com/users/yuva29/events{/privacy}","received_events_url":"https://api.github.com/users/yuva29/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-26T17:55:45Z","updated_at":"2016-10-26T19:29:55Z","closed_at":null,"body":"When a policy with same name is uploaded twice, the user should be informed about the existing policy otherwise it leaves an impression that the new policy is in use which is not the case!\r\n\r\n```\r\n[vagrant@mon0 ~]$ volcli policy upload p1 < /opt/golang/src/github.com/contiv/volplugin/systemtests/testdata/ceph/policy1.json \r\n[vagrant@mon0 ~]$ volcli policy upload p1 < /opt/golang/src/github.com/contiv/volplugin/systemtests/testdata/ceph/policy2.json \r\n```"},"comment":{"url":"https://api.github.com/repos/contiv/volplugin/issues/comments/256452602","html_url":"https://github.com/contiv/volplugin/issues/469#issuecomment-256452602","issue_url":"https://api.github.com/repos/contiv/volplugin/issues/469","id":256452602,"user":{"login":"erikh","id":18923,"avatar_url":"https://avatars.githubusercontent.com/u/18923?v=3","gravatar_id":"","url":"https://api.github.com/users/erikh","html_url":"https://github.com/erikh","followers_url":"https://api.github.com/users/erikh/followers","following_url":"https://api.github.com/users/erikh/following{/other_user}","gists_url":"https://api.github.com/users/erikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikh/subscriptions","organizations_url":"https://api.github.com/users/erikh/orgs","repos_url":"https://api.github.com/users/erikh/repos","events_url":"https://api.github.com/users/erikh/events{/privacy}","received_events_url":"https://api.github.com/users/erikh/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T19:29:55Z","updated_at":"2016-10-26T19:29:55Z","body":"Seems good, maybe output the previous and existing policy and confirm? Offer a –y option to skip.\r\n\r\n-Erik\r\n\r\nFrom: Yuva Shankar <notifications@github.com<mailto:notifications@github.com>>\r\nReply-To: contiv/volplugin <reply@reply.github.com<mailto:reply@reply.github.com>>\r\nDate: Wednesday, October 26, 2016 at 10:55 AM\r\nTo: contiv/volplugin <volplugin@noreply.github.com<mailto:volplugin@noreply.github.com>>\r\nSubject: [contiv/volplugin] Multiple policies with the same name (#469)\r\n\r\n\r\nWhen a policy with same name is uploaded twice, the user should be informed about the existing policy otherwise it leaves an impression that the new policy is in use which is not the case!\r\n\r\n[vagrant@mon0 ~]$ volcli policy upload p1 < /opt/golang/src/github.com/contiv/volplugin/systemtests/testdata/ceph/policy1.json\r\n[vagrant@mon0 ~]$ volcli policy upload p1 < /opt/golang/src/github.com/contiv/volplugin/systemtests/testdata/ceph/policy2.json\r\n\r\n\r\n—\r\nYou are receiving this because you are subscribed to this thread.\r\nReply to this email directly, view it on GitHub<https://github.com/contiv/volplugin/issues/469>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AABJ61Qdsik6qJ4yVRKc0MgbakIdz8R_ks5q35QigaJpZM4KheZX>.\r\n"}}
{"actor":{"display_login":"erikh"}}