{"action":"created","issue":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/1344","repository_url":"https://api.github.com/repos/openwhisk/openwhisk","labels_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/1344/labels{/name}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/1344/comments","events_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/1344/events","html_url":"https://github.com/openwhisk/openwhisk/issues/1344","id":180035428,"number":1344,"title":"Namespace in \"activation list\" command is actually name of the action","user":{"login":"archerzz","id":4516,"avatar_url":"https://avatars.githubusercontent.com/u/4516?v=3","gravatar_id":"","url":"https://api.github.com/users/archerzz","html_url":"https://github.com/archerzz","followers_url":"https://api.github.com/users/archerzz/followers","following_url":"https://api.github.com/users/archerzz/following{/other_user}","gists_url":"https://api.github.com/users/archerzz/gists{/gist_id}","starred_url":"https://api.github.com/users/archerzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archerzz/subscriptions","organizations_url":"https://api.github.com/users/archerzz/orgs","repos_url":"https://api.github.com/users/archerzz/repos","events_url":"https://api.github.com/users/archerzz/events{/privacy}","received_events_url":"https://api.github.com/users/archerzz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openwhisk/openwhisk/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/openwhisk/openwhisk/labels/cli","name":"cli","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"dubeejw","id":11520887,"avatar_url":"https://avatars.githubusercontent.com/u/11520887?v=3","gravatar_id":"","url":"https://api.github.com/users/dubeejw","html_url":"https://github.com/dubeejw","followers_url":"https://api.github.com/users/dubeejw/followers","following_url":"https://api.github.com/users/dubeejw/following{/other_user}","gists_url":"https://api.github.com/users/dubeejw/gists{/gist_id}","starred_url":"https://api.github.com/users/dubeejw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubeejw/subscriptions","organizations_url":"https://api.github.com/users/dubeejw/orgs","repos_url":"https://api.github.com/users/dubeejw/repos","events_url":"https://api.github.com/users/dubeejw/events{/privacy}","received_events_url":"https://api.github.com/users/dubeejw/received_events","type":"User","site_admin":false},"assignees":[{"login":"dubeejw","id":11520887,"avatar_url":"https://avatars.githubusercontent.com/u/11520887?v=3","gravatar_id":"","url":"https://api.github.com/users/dubeejw","html_url":"https://github.com/dubeejw","followers_url":"https://api.github.com/users/dubeejw/followers","following_url":"https://api.github.com/users/dubeejw/following{/other_user}","gists_url":"https://api.github.com/users/dubeejw/gists{/gist_id}","starred_url":"https://api.github.com/users/dubeejw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubeejw/subscriptions","organizations_url":"https://api.github.com/users/dubeejw/orgs","repos_url":"https://api.github.com/users/dubeejw/repos","events_url":"https://api.github.com/users/dubeejw/events{/privacy}","received_events_url":"https://api.github.com/users/dubeejw/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-29T12:28:26Z","updated_at":"2016-09-29T18:28:51Z","closed_at":null,"body":"<!--\r\nDo NOT share passwords, credentials or other confidential information.\r\n\r\nBefore creating a new issue, please check if there is one already open that\r\nfits the defect you are reporting.\r\nIf you open an issue and realize later it is a duplicate of a pre-existing\r\nopen issue, please close yours and add a comment to the other.\r\n\r\nIf you are reporting a defect, please edit the issue description to include the\r\ninformation shown below.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/openwhisk/openwhisk/blob/master/CONTRIBUTING.md#raising-issues\r\n\r\nUse the commands below to provide key information from your environment:\r\nYou do not have to include this information if this is a feature request.\r\n-->\r\n\r\n## Environment details:\r\nALL\r\n\r\n## Steps to reproduce the issue:\r\n\r\n1.   Execute \"wsk activation list NAMESPACE -v\"\r\n2.   You will find that the request URL path is like \"/api/v1/namespaces/_/activations?limit=30&name=NAMESPACE&skip=0\"\r\n3. And the returned activation list is those which belong to action of which the name is \"NAMESPACE\", not those under specific NAMESPACE.\r\n\r\n\r\n## Provide the expected results and outputs:\r\n\r\n```\r\n I think the correct one should be \"/api/v1/namespaces/NAMESPACE/activations?limit=30&skip=0\"\r\n```\r\n\r\n\r\n## Provide the actual results and outputs:\r\n\r\n```\r\nthe request URL path is like \"/api/v1/namespaces/_/activations?limit=30&name=NAMESPACE&skip=0\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/comments/250551430","html_url":"https://github.com/openwhisk/openwhisk/issues/1344#issuecomment-250551430","issue_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/1344","id":250551430,"user":{"login":"rabbah","id":4959922,"avatar_url":"https://avatars.githubusercontent.com/u/4959922?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbah","html_url":"https://github.com/rabbah","followers_url":"https://api.github.com/users/rabbah/followers","following_url":"https://api.github.com/users/rabbah/following{/other_user}","gists_url":"https://api.github.com/users/rabbah/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbah/subscriptions","organizations_url":"https://api.github.com/users/rabbah/orgs","repos_url":"https://api.github.com/users/rabbah/repos","events_url":"https://api.github.com/users/rabbah/events{/privacy}","received_events_url":"https://api.github.com/users/rabbah/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T18:28:50Z","updated_at":"2016-09-29T18:28:50Z","body":"This is a know bug/feature and is working as intended. The underlying reason is that in openwhisk there isn't yet a mechanism to create more than one namespace per subject but in other deployments that provide IAM, it is possible to to have more than one subject per namespace. In this case, activations require a way to disambiguate the namespace to hold the activation which is not possible with one subject key mapping to more than one namespace.\r\n\r\nAs a result, all activations are stored in one namespace. The CLI ignores the namespace so that one can see all their activations. Before we fix the CLI, we need to resolve other blocking issues under #1107."}}
{"actor":{"display_login":"rabbah"}}