I was reading here: http://docs.openstack.org/juno/config-reference/content/iso-support.html that glance as of Juno supports ISO image files, but when I do this ...
[root@mgmt-el7-001 ~]# source openrc
[root@mgmt-el7-001 ~]# file win-2k8r2-prod-20150416.iso
win-2k8r2-prod-20150416.iso: # ISO 9660 CD-ROM filesystem data 'CDROM
[root@mgmt-el7-001 ~]# cat glance_iso.sh
#!/bin/sh
iso=$1
if [ -z $iso ]
then
echo "usage: $0 <iso file>"
exit 1
fi
glance image-create --name $iso \
--is-public True --container-format bare \
--disk-format iso < $iso
'
[root@mgmt-el7-001 ~]# ./glance_iso.sh win-2k8r2-prod-20150416.iso
... I get this error message:
<html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
Invalid disk format 'iso' for image.<br /><br />
</body>
</html> (HTTP 400)