{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/2925","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/2925/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/2925/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/2925/events","html_url":"https://github.com/mitchellh/packer/issues/2925","id":115939751,"number":2925,"title":"docker-tag post-processor attempting to run on openstack builder artifacts","user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-09T18:48:54Z","updated_at":"2015-11-09T20:33:45Z","closed_at":"2015-11-09T19:07:15Z","body":"It's my understanding that the docker specific post-processors are supposed to ignore artifacts from other builder.  Is that a correct assumption?\r\n\r\nIf so, with packer 0.8.6, `docker-tag` is attempting to operate on openstack bulider artifacts, which fails, and causes the openstack image to be deleted.\r\n```\r\n==> openstack-centos-6: Creating the image: centos-6-stack-w_2015_45-1447089586\r\n    openstack-centos-6: Image: f150f6e8-f540-437c-8cf4-85adebb79129\r\n==> openstack-centos-6: Waiting for image to become ready...\r\n==> openstack-centos-6: Deleted temporary floating IP 141.142.209.29\r\n==> openstack-centos-6: Terminating the source server...\r\n==> openstack-centos-6: Deleting temporary keypair...\r\n==> openstack-centos-6: Running post-processor: docker-tag\r\nBuild 'openstack-centos-6' errored: 1 error(s) occurred:\r\n\r\n* Post-processor failed: Unknown artifact type: mitchellh.openstack\r\nCan only tag from Docker builder artifacts.\r\n```"},"comment":{"url":"https://api.github.com/repos/mitchellh/packer/issues/comments/155184966","html_url":"https://github.com/mitchellh/packer/issues/2925#issuecomment-155184966","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/2925","id":155184966,"user":{"login":"cbednarski","id":649798,"avatar_url":"https://avatars.githubusercontent.com/u/649798?v=3","gravatar_id":"","url":"https://api.github.com/users/cbednarski","html_url":"https://github.com/cbednarski","followers_url":"https://api.github.com/users/cbednarski/followers","following_url":"https://api.github.com/users/cbednarski/following{/other_user}","gists_url":"https://api.github.com/users/cbednarski/gists{/gist_id}","starred_url":"https://api.github.com/users/cbednarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbednarski/subscriptions","organizations_url":"https://api.github.com/users/cbednarski/orgs","repos_url":"https://api.github.com/users/cbednarski/repos","events_url":"https://api.github.com/users/cbednarski/events{/privacy}","received_events_url":"https://api.github.com/users/cbednarski/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T20:33:45Z","updated_at":"2015-11-09T20:33:45Z","body":"> Apologies for the noise, for some reason I thought there were magic restrictions on artifact type.\r\n\r\nThere are restrictions for the docker post-processors. For example, docker tag only works on docker artifacts. That's how you ran into this issue. The post-processors check the type and error if the wrong type is passed in -- they don't silently ignore."}}