Hello,
I am getting this error all the time that I try to run a post-processor for Openstack:
Failed to initialize build 'openstack': post-processor type not found: shell-local
My template is:
{
"builders": [
{
"type": "openstack",
"region": "cern",
"ssh_username": "root",
"ssh_keypair_name": "packerkey",
"ssh_private_key_file": "/root/.ssh/pakerkey",
"image_name": "imagecompressed01",
"source_image": "02d1622c-eff6-427d-83aa-7e34bb1c860e",
"flavor": "3",
"ssh_timeout": "40m"
}
],
"provisioners": [
{
"type": "file",
"source": "/etc/yum.conf",
"destination": "/etc/yum.conf",
"source": "/etc/yum-puppet.repos.d",
"destination": "/etc/yum-puppet.repos.d"
},
{
"type": "shell",
"inline": [
"yum -y update",
"yum clean all"
]}],
"post-processors": [
{
"type": "shell-local",
"inline": [
"/usr/bin/qemu-img convert -c -f qcow2 -O qcow2 imagecompressed01 imagecompressedpacker01.qcow2",
"/usr/bin/glance image-create --name BatchCondorCC7_compressed --container-format bare --disk-format qcow2 --file imagecompressedpacker01.qcow2 --is-public True --progress"
]
}]
}
Am I doing something wrong or it is that is not possible to do have post-processors for OS?
Cheers
Lore