{"action":"created","issue":{"url":"https://api.github.com/repos/ATIX-AG/foreman_snapshot_management/issues/34","repository_url":"https://api.github.com/repos/ATIX-AG/foreman_snapshot_management","labels_url":"https://api.github.com/repos/ATIX-AG/foreman_snapshot_management/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/ATIX-AG/foreman_snapshot_management/issues/34/comments","events_url":"https://api.github.com/repos/ATIX-AG/foreman_snapshot_management/issues/34/events","html_url":"https://github.com/ATIX-AG/foreman_snapshot_management/issues/34","id":371454498,"node_id":"MDU6SXNzdWUzNzE0NTQ0OTg=","number":34,"title":"Rolling back a snapshot using api returns 404","user":{"login":"foosinn","id":8914163,"node_id":"MDQ6VXNlcjg5MTQxNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/8914163?v=4","gravatar_id":"","url":"https://api.github.com/users/foosinn","html_url":"https://github.com/foosinn","followers_url":"https://api.github.com/users/foosinn/followers","following_url":"https://api.github.com/users/foosinn/following{/other_user}","gists_url":"https://api.github.com/users/foosinn/gists{/gist_id}","starred_url":"https://api.github.com/users/foosinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foosinn/subscriptions","organizations_url":"https://api.github.com/users/foosinn/orgs","repos_url":"https://api.github.com/users/foosinn/repos","events_url":"https://api.github.com/users/foosinn/events{/privacy}","received_events_url":"https://api.github.com/users/foosinn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-18T10:04:47Z","updated_at":"2018-10-18T14:18:58Z","closed_at":null,"author_association":"NONE","body":"We are using foreman_snapshot_management v1.3.0 from the Theforeman plugins repo.\r\n\r\nQuerying for the snapshots works, but on revert i get a 404. Did i miss something?\r\n\r\n`curl -s -u \"$AUTH\" -H 'Accept: application/json' \"https://${FOREMAN}/api/v2/hosts/${HOST}/snapshots/snapshot-646\" | jq`\r\n```json\r\n{\r\n  \"description\": \"\",\r\n  \"id\": \"snapshot-646\",\r\n  \"name\": \"clean\",\r\n  \"created_at\": \"2018-10-08 08:07:30 UTC\",\r\n  \"parent_id\": null,\r\n  \"children_ids\": [\r\n    \"snapshot-658\"\r\n  ]\r\n}\r\n```\r\n\r\n`curl -s -X PUT -u \"$AUTH\" -H 'Accept: application/json' \"https://${FOREMAN}/api/v2/hosts/${HOST}/snapshots/snapshot-646/revert\" | jq`\r\n```json\r\n{\r\n  \"status\": 404,\r\n  \"error\": \"Not Found\"\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ATIX-AG/foreman_snapshot_management/issues/comments/431027145","html_url":"https://github.com/ATIX-AG/foreman_snapshot_management/issues/34#issuecomment-431027145","issue_url":"https://api.github.com/repos/ATIX-AG/foreman_snapshot_management/issues/34","id":431027145,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTAyNzE0NQ==","user":{"login":"foosinn","id":8914163,"node_id":"MDQ6VXNlcjg5MTQxNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/8914163?v=4","gravatar_id":"","url":"https://api.github.com/users/foosinn","html_url":"https://github.com/foosinn","followers_url":"https://api.github.com/users/foosinn/followers","following_url":"https://api.github.com/users/foosinn/following{/other_user}","gists_url":"https://api.github.com/users/foosinn/gists{/gist_id}","starred_url":"https://api.github.com/users/foosinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foosinn/subscriptions","organizations_url":"https://api.github.com/users/foosinn/orgs","repos_url":"https://api.github.com/users/foosinn/repos","events_url":"https://api.github.com/users/foosinn/events{/privacy}","received_events_url":"https://api.github.com/users/foosinn/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T14:18:58Z","updated_at":"2018-10-18T14:18:58Z","author_association":"NONE","body":"I did a quick update to 1.5.1. I still get the same error. Any ideas?\r\n\r\nForeman lists correctly 1.5.1."}}
{"actor":{"display_login":"foosinn"}}