{"action":"created","issue":{"url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/669","labels_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/669/comments","events_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/669/events","html_url":"https://github.com/rcbops/rpc-openstack/pull/669","id":121819862,"number":669,"title":"Fix expires_at vs expires mismatch in v2 auth token","user":{"login":"stevelle","id":539741,"avatar_url":"https://avatars.githubusercontent.com/u/539741?v=3","gravatar_id":"","url":"https://api.github.com/users/stevelle","html_url":"https://github.com/stevelle","followers_url":"https://api.github.com/users/stevelle/followers","following_url":"https://api.github.com/users/stevelle/following{/other_user}","gists_url":"https://api.github.com/users/stevelle/gists{/gist_id}","starred_url":"https://api.github.com/users/stevelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevelle/subscriptions","organizations_url":"https://api.github.com/users/stevelle/orgs","repos_url":"https://api.github.com/users/stevelle/repos","events_url":"https://api.github.com/users/stevelle/events{/privacy}","received_events_url":"https://api.github.com/users/stevelle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-12T00:35:49Z","updated_at":"2015-12-14T18:24:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/669","html_url":"https://github.com/rcbops/rpc-openstack/pull/669","diff_url":"https://github.com/rcbops/rpc-openstack/pull/669.diff","patch_url":"https://github.com/rcbops/rpc-openstack/pull/669.patch"},"body":"Just checking for either label on the key works as a solution\r\nfor both versions. Just tested by pulling down a patched\r\nmaas_commons.py and in the interpreter running get_auth_ref()\r\nagainst devstack (Auth v2) and an OSA master instance (Auth v3).\r\n\r\nAddresses: #668"},"comment":{"url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/comments/164517252","html_url":"https://github.com/rcbops/rpc-openstack/pull/669#issuecomment-164517252","issue_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/669","id":164517252,"user":{"login":"stevelle","id":539741,"avatar_url":"https://avatars.githubusercontent.com/u/539741?v=3","gravatar_id":"","url":"https://api.github.com/users/stevelle","html_url":"https://github.com/stevelle","followers_url":"https://api.github.com/users/stevelle/followers","following_url":"https://api.github.com/users/stevelle/following{/other_user}","gists_url":"https://api.github.com/users/stevelle/gists{/gist_id}","starred_url":"https://api.github.com/users/stevelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevelle/subscriptions","organizations_url":"https://api.github.com/users/stevelle/orgs","repos_url":"https://api.github.com/users/stevelle/repos","events_url":"https://api.github.com/users/stevelle/events{/privacy}","received_events_url":"https://api.github.com/users/stevelle/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T18:24:16Z","updated_at":"2015-12-14T18:24:16Z","body":"fix is insufficient. \r\n:-1: \r\n```status error 361, in get_auth_ref\r\n    if is_token_expired(auth_ref): File \"/usr/lib/rackspace-monitoring-agent/plugins/maas_common.py\", line 346, in is_token_expired\r\n    expires = datetime.datetime.strptime(expire_expr, fmt)\r\nTypeError: must be string, not None```"}}