openstack - Juno Glance does not like iso image -


i reading here: http://docs.openstack.org/juno/config-reference/content/iso-support.html glance of juno supports iso image files, when ...

[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 ]     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 

... error message:

<html>  <head>   <title>400 bad request</title>  </head>  <body>   <h1>400 bad request</h1>   invalid disk format 'iso' image.<br /><br />   </body> </html> (http 400)