{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/rkt/issues/1628","labels_url":"https://api.github.com/repos/coreos/rkt/issues/1628/labels{/name}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/1628/comments","events_url":"https://api.github.com/repos/coreos/rkt/issues/1628/events","html_url":"https://github.com/coreos/rkt/issues/1628","id":112114759,"number":1628,"title":"rkt: rkt list fails to list pods whose image is removed","user":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/rkt/labels/component/stage0","name":"component/stage0","color":"0052cc"},{"url":"https://api.github.com/repos/coreos/rkt/labels/component/store","name":"component/store","color":"0052cc"},{"url":"https://api.github.com/repos/coreos/rkt/labels/kind/bug","name":"kind/bug","color":"FF0000"},{"url":"https://api.github.com/repos/coreos/rkt/labels/kind/regression","name":"kind/regression","color":"e11d21"},{"url":"https://api.github.com/repos/coreos/rkt/labels/priority/P0","name":"priority/P0","color":"DF0101"}],"state":"open","locked":false,"assignee":{"login":"blixtra","id":115075,"avatar_url":"https://avatars.githubusercontent.com/u/115075?v=3","gravatar_id":"","url":"https://api.github.com/users/blixtra","html_url":"https://github.com/blixtra","followers_url":"https://api.github.com/users/blixtra/followers","following_url":"https://api.github.com/users/blixtra/following{/other_user}","gists_url":"https://api.github.com/users/blixtra/gists{/gist_id}","starred_url":"https://api.github.com/users/blixtra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blixtra/subscriptions","organizations_url":"https://api.github.com/users/blixtra/orgs","repos_url":"https://api.github.com/users/blixtra/repos","events_url":"https://api.github.com/users/blixtra/events{/privacy}","received_events_url":"https://api.github.com/users/blixtra/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/coreos/rkt/milestones/21","html_url":"https://github.com/coreos/rkt/milestones/v0.10.0","labels_url":"https://api.github.com/repos/coreos/rkt/milestones/21/labels","id":1335294,"number":21,"title":"v0.10.0","description":"","creator":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":59,"state":"open","created_at":"2015-10-02T17:41:16Z","updated_at":"2015-10-21T23:40:20Z","due_on":"2015-10-23T07:00:00Z","closed_at":null},"comments":6,"created_at":"2015-10-19T10:11:38Z","updated_at":"2015-10-22T09:18:24Z","closed_at":null,"body":"```\r\n> sudo rkt run coreos.com/etcd:v2.0.10\r\n[...]\r\n> sudo rkt list\r\nUUID\t\tAPP\tIMAGE NAME\t\tSTATE\tNETWORKS\r\n9426ac57\tetcd\tcoreos.com/etcd:v2.0.10\texited\r\n> sudo rkt image list\r\nID\t\t\tNAME\t\t\t\t\t\tIMPORT TIME\tLATEST\r\nsha512-7bd89c8d118e\tcoreos.com/rkt/stage1-coreos:0.9.0+git5ab0aab\t1 minute ago\tfalse\r\nsha512-c03b055d02e5\tcoreos.com/etcd:v2.0.10\t\t\t\t1 minute ago\tfalse\r\n> sudo rkt image rm sha512-c03b055d02e5\r\nrkt: successfully removed aci for image ID: \"sha512-c03b055d02e5\"\r\nrkt: 1 image(s) successfully removed\r\n> sudo rkt list\r\n1 error(s) encountered when listing pods:\r\n----------------------------------------\r\nUnable to get image sha512-c03b055d02e51e36f44a2be436eb77d5b0fbbbe37c00851188d8798912e8508a manifest from store:\r\n  error resolving image ID: no image IDs found\r\nObjects related to this error:\r\n  App: \"etcd\" from failing image \"coreos.com/etcd\" (sha512-c03b055d02e51e36f44a2be436eb77d5b0fbbbe37c00851188d8798912e8508a)\r\n  Pod 9426ac57-ef2d-4486-8525-1f583fc33aff (spec version 0.9.0+git5ab0aab) with following apps:\r\n    App: \"etcd\" from image \"coreos.com/etcd\" (sha512-c03b055d02e51e36f44a2be436eb77d5b0fbbbe37c00851188d8798912e8508a)\r\n----------------------------------------\r\nMisc:\r\n  rkt's appc version: 0.7.1\r\n----------------------------------------\r\n\r\nUUID\tAPP\tIMAGE NAME\tSTATE\tNETWORKS\r\n```"},"comment":{"url":"https://api.github.com/repos/coreos/rkt/issues/comments/150158383","html_url":"https://github.com/coreos/rkt/issues/1628#issuecomment-150158383","issue_url":"https://api.github.com/repos/coreos/rkt/issues/1628","id":150158383,"user":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T09:18:24Z","updated_at":"2015-10-22T09:18:24Z","body":"> Or maybe get the image's name from the treestore? I haven't look at that part of code yet in #1240\r\n\r\nThe treestore saves the image manifest and it's tied to the pod life so it should work."}}