{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-cli/issues/2584","repository_url":"https://api.github.com/repos/aws/aws-cli","labels_url":"https://api.github.com/repos/aws/aws-cli/issues/2584/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-cli/issues/2584/comments","events_url":"https://api.github.com/repos/aws/aws-cli/issues/2584/events","html_url":"https://github.com/aws/aws-cli/issues/2584","id":226615146,"number":2584,"title":"describe-images is not able to filter on tags","user":{"login":"thomaslarsen","id":3289640,"avatar_url":"https://avatars3.githubusercontent.com/u/3289640?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaslarsen","html_url":"https://github.com/thomaslarsen","followers_url":"https://api.github.com/users/thomaslarsen/followers","following_url":"https://api.github.com/users/thomaslarsen/following{/other_user}","gists_url":"https://api.github.com/users/thomaslarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaslarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaslarsen/subscriptions","organizations_url":"https://api.github.com/users/thomaslarsen/orgs","repos_url":"https://api.github.com/users/thomaslarsen/repos","events_url":"https://api.github.com/users/thomaslarsen/events{/privacy}","received_events_url":"https://api.github.com/users/thomaslarsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-05T15:50:18Z","updated_at":"2017-05-05T16:59:31Z","closed_at":null,"body":"I am trying to filter images based on a tag (Name), and I consistently get no images returned. \r\n\r\nI am running the following command:\r\n`aws ec2 describe-images --filters \"Name=tag:Name,Values=aws-eu-west-1-CENTOS-6.8-64\"`\r\n\r\nThrough the console I can confirm that a number of images with this tag exists.\r\n\r\nI have tried various combinations of using `\"` and globs when specifying the filters and they all fail.\r\n\r\nI have further noticed, that the `describe-images` command don't return any tag information either, so maybe there is a general issue with it accessing the image tag information."},"comment":{"url":"https://api.github.com/repos/aws/aws-cli/issues/comments/299519295","html_url":"https://github.com/aws/aws-cli/issues/2584#issuecomment-299519295","issue_url":"https://api.github.com/repos/aws/aws-cli/issues/2584","id":299519295,"user":{"login":"kyleknap","id":4605355,"avatar_url":"https://avatars3.githubusercontent.com/u/4605355?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleknap","html_url":"https://github.com/kyleknap","followers_url":"https://api.github.com/users/kyleknap/followers","following_url":"https://api.github.com/users/kyleknap/following{/other_user}","gists_url":"https://api.github.com/users/kyleknap/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleknap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleknap/subscriptions","organizations_url":"https://api.github.com/users/kyleknap/orgs","repos_url":"https://api.github.com/users/kyleknap/repos","events_url":"https://api.github.com/users/kyleknap/events{/privacy}","received_events_url":"https://api.github.com/users/kyleknap/received_events","type":"User","site_admin":false},"created_at":"2017-05-05T16:59:31Z","updated_at":"2017-05-05T16:59:31Z","body":"Running the same command, these are the debug logs I am getting:\r\n```\r\n2017-05-05 09:55:55,970 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=DescribeImages) (verify_ssl=True) with params: {'body': {'Action': u'DescribeImages', u'Filter.1.Value.1': u'aws-eu-west-1-CENTOS-6.8-64', 'Version': u'2016-11-15', u'Filter.1.Name': u'tag:Name'}, 'url': u'https://ec2.eu-west-1.amazonaws.com/', 'headers': {'User-Agent': 'aws-cli/1.11.82 Python/2.7.10 Darwin/15.6.0 botocore/1.5.41'}, 'context': {'auth_type': None, 'client_region': u'eu-west-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x1124a2710>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}\r\n```\r\nSo it looks like the request is getting formatted correctly. So I don't think it is an issue with how you are specifying the command.\r\n\r\nAre you able to see the AMI in general when you run the ``describe-images`` command without any filters? Could you potentially include debug logs from the command you ran by appending ``--debug`` to the command you ran? That will help with debugging this."}}
{"actor":{"display_login":"kyleknap"}}