I am using following json file to create qcow from external_source_image.
{
“builders”: [
{
“type”: “openstack”,
“identity_endpoint”: “http://10.10.10.1:5000/v3”,
“tenant_id”: <tenant_id>,
“username”: “parallel”,
“password”: “wireless”,
“region”: “RegionOne”,
“ssh_username”: “root”,
“image_name”: “Rishikesh-test-packer-1”,
“external_source_image_url”: “/root/rshinde/input_image/abcd.qcow”,
“external_source_image_format”: “qcow2”,
“networks”: ,
“flavor”: “flavourOne”
}
]
}
I am getting following error on this
==> openstack: Error importing source image: Bad request with: [POST http://10.10.10.1:9292/v2/images/255094d5-4d41-4c30-b7a4-79848df4050c/import], error message: {“message”: “URI for web-download does not pass filtering: /root/rshinde/input_image/abcd.qcow2
\n\n\n”, “code”: “400 Bad Request”, “title”: “Bad Request”}
is there some specific format that needs to be followed for external_source_image_url ?? pls suggest