{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-performance/quads/issues/148","repository_url":"https://api.github.com/repos/redhat-performance/quads","labels_url":"https://api.github.com/repos/redhat-performance/quads/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/redhat-performance/quads/issues/148/comments","events_url":"https://api.github.com/repos/redhat-performance/quads/issues/148/events","html_url":"https://github.com/redhat-performance/quads/issues/148","id":262784930,"node_id":"MDU6SXNzdWUyNjI3ODQ5MzA=","number":148,"title":"RFE:  Ticket based QUADS query","user":{"login":"abondvt89","id":10522135,"node_id":"MDQ6VXNlcjEwNTIyMTM1","avatar_url":"https://avatars2.githubusercontent.com/u/10522135?v=4","gravatar_id":"","url":"https://api.github.com/users/abondvt89","html_url":"https://github.com/abondvt89","followers_url":"https://api.github.com/users/abondvt89/followers","following_url":"https://api.github.com/users/abondvt89/following{/other_user}","gists_url":"https://api.github.com/users/abondvt89/gists{/gist_id}","starred_url":"https://api.github.com/users/abondvt89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abondvt89/subscriptions","organizations_url":"https://api.github.com/users/abondvt89/orgs","repos_url":"https://api.github.com/users/abondvt89/repos","events_url":"https://api.github.com/users/abondvt89/events{/privacy}","received_events_url":"https://api.github.com/users/abondvt89/received_events","type":"User","site_admin":false},"labels":[{"id":482845698,"node_id":"MDU6TGFiZWw0ODI4NDU2OTg=","url":"https://api.github.com/repos/redhat-performance/quads/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":739876415,"node_id":"MDU6TGFiZWw3Mzk4NzY0MTU=","url":"https://api.github.com/repos/redhat-performance/quads/labels/quads-cli","name":"quads-cli","color":"1d76db","default":false},{"id":739876702,"node_id":"MDU6TGFiZWw3Mzk4NzY3MDI=","url":"https://api.github.com/repos/redhat-performance/quads/labels/quads-daemon","name":"quads-daemon","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/redhat-performance/quads/milestones/3","html_url":"https://github.com/redhat-performance/quads/milestone/3","labels_url":"https://api.github.com/repos/redhat-performance/quads/milestones/3/labels","id":2524895,"node_id":"MDk6TWlsZXN0b25lMjUyNDg5NQ==","number":3,"title":"1.1","description":"This is a maintenance and bugfix release for QUADS.  We will also move to using Flask for the Python WSGI framework and sqlite to move away from flat file management.","creator":{"login":"sadsfae","id":3940978,"node_id":"MDQ6VXNlcjM5NDA5Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3940978?v=4","gravatar_id":"","url":"https://api.github.com/users/sadsfae","html_url":"https://github.com/sadsfae","followers_url":"https://api.github.com/users/sadsfae/followers","following_url":"https://api.github.com/users/sadsfae/following{/other_user}","gists_url":"https://api.github.com/users/sadsfae/gists{/gist_id}","starred_url":"https://api.github.com/users/sadsfae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadsfae/subscriptions","organizations_url":"https://api.github.com/users/sadsfae/orgs","repos_url":"https://api.github.com/users/sadsfae/repos","events_url":"https://api.github.com/users/sadsfae/events{/privacy}","received_events_url":"https://api.github.com/users/sadsfae/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":9,"state":"open","created_at":"2017-05-16T17:51:58Z","updated_at":"2018-06-13T14:35:20Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-10-04T13:21:42Z","updated_at":"2018-07-26T20:42:10Z","closed_at":null,"author_association":"NONE","body":"Add the ability to query QUADS based on the ticket number for the following information for past, current, and future allocations.\r\n\r\n* Start date\r\n* End date\r\n* Number of machines in the allocation by machine type"},"comment":{"url":"https://api.github.com/repos/redhat-performance/quads/issues/comments/408228682","html_url":"https://github.com/redhat-performance/quads/issues/148#issuecomment-408228682","issue_url":"https://api.github.com/repos/redhat-performance/quads/issues/148","id":408228682,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODIyODY4Mg==","user":{"login":"sadsfae","id":3940978,"node_id":"MDQ6VXNlcjM5NDA5Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3940978?v=4","gravatar_id":"","url":"https://api.github.com/users/sadsfae","html_url":"https://github.com/sadsfae","followers_url":"https://api.github.com/users/sadsfae/followers","following_url":"https://api.github.com/users/sadsfae/following{/other_user}","gists_url":"https://api.github.com/users/sadsfae/gists{/gist_id}","starred_url":"https://api.github.com/users/sadsfae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadsfae/subscriptions","organizations_url":"https://api.github.com/users/sadsfae/orgs","repos_url":"https://api.github.com/users/sadsfae/repos","events_url":"https://api.github.com/users/sadsfae/events{/privacy}","received_events_url":"https://api.github.com/users/sadsfae/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T20:42:10Z","updated_at":"2018-07-26T20:42:10Z","author_association":"MEMBER","body":"We can query what cloud description / cloud existed based on the date using the `-d YYYY-MM-DD HH:MM` format with the `-d` or `--datetime` argument but it does not correlate the current `--cloud-ticket` of that cloud at the time.\r\n\r\n(current display)\r\n```\r\n# /opt/bin/quads-cli --full-summary \r\ncloud01 : 3 (Available servers)\r\ncloud02 : 0 (Storage DFG RHCS 1 of 2)\r\ncloud03 : 49 (OpenShift Scale CI)\r\n```\r\n\r\n(Query against a date - 2018-04-04 22:00)\r\n```\r\n# /opt/quads/bin/quads --full-summary --date \"2018-04-04 22:00\"\r\ncloud01 : 12 (Available servers)\r\ncloud02 : 0 (RHCS Spectre/Meltdown)\r\ncloud03 : 47 (OpenShift Scale CI)\r\n```\r\nHowever, `--ls-ticket` does not get queried when passing the `-d` or `--datetime` argument - this needs to be changed:\r\n\r\n(date in future, still shows current `--cloud-ticket` mappings)\r\n```\r\n# quads --ls-ticket --datetime \"2018-04-04 22:00\" | head -n 3\r\ncloud02: 470086\r\ncloud03: 470816\r\n```\r\n\r\n(current display)\r\n[root@walkabout ~]# quads --ls-ticket | head -n 3\r\ncloud02: 470086\r\ncloud03: 470816\r\n```\r\n"}}
{"actor":{"display_login":"sadsfae"}}