upload_image.sh to support streamOptimized disks
upload_image.sh to support streamOptimized disks

The current version of the script will use "preallocated" as the
disk type of a stream optimized disk. This needs to be fixed by
introspecting the createType of the vmdk file.

Closes-Bug: #1275993

Change-Id: I98594acecf26dd1164870f43890254a19ef23fe9

varunarya10/devstack,atulpatil301/devstack,pacinete/devstack,thomasem/devstack,nuxeh/devstack,mssumanth/devstack,nawawi/openstack,vsham20/devstack,thomasem/devstack,parul24/devstack,HPCHub/devstack,sequenceiq/devstack,LoHChina/devstack,j4/devstack,flavio-fernandes/devstack,pczerkas/devstack,neerja28/Devstack_GlusterFS,jamielennox/devstack,samgoon/devstack,srics/devstack,pombredanne/devstack,costingalan/devstack,costingalan/devstack,parul24/devstack,olivierlemasle/devstack,mc2014/devstack,upadhyay-prashant/devstack,wenhuizhang/devstack,nawawi/openstack,richliu/devstack,TwinkleChawla/devstack,pombredanne/devstack,andrewrothstein/devstack,NaokiMiyata/devstack,upadhyay-prashant/devstack,bigswitch/devstack,promptworks/devstack,promptworks/devstack,neerja28/Devstack_GlusterFS,nuxeh/devstack,bq-xiao/devstack,liuquansheng47/devstack,sequenceiq/devstack,dtroyer/devstack,rushiagr/devstack,bljgaurav/openstack-test,Juniper/devstack,NaokiMiyata/devstack,ozamiatin/devstack,noironetworks/devstack,dtroyer/devstack,vishnugonela/devstack,herrsechs/devstack,mmasaki/devstack,affo/devstack,TwinkleChawla/devstack,bigswitch/devstack,CloudServer/devstack,avvocatodemarchis/devstack,JioCloud/devstack,noironetworks/devstack,samgoon/devstack,bswartz/devstack,rushiagr/devstack,prithivm/branch01,openstack-dev/devstack,dirkmueller/devstack,ozamiatin/devstack,LoHChina/devstack,openstack-dev/devstack,herrsechs/devstack,tianweizhang/devstack,Mahito/devstack,sc68cal/devstack,tianweizhang/devstack,group-policy/devstack,eharney/devstack,virtualopensystems/devstack,innodee/openstackk,olivierlemasle/devstack,bljgaurav/openstack-test,bq-xiao/devstack,kplus/devstack-moonshot,mc2014/devstack,CloudServer/devstack,vishnugonela/devstack,liuquansheng47/devstack,vsham20/devstack,bswartz/devstack,flavio-fernandes/devstack,BSJAIN92/OpenStack,j4/devstack,andrewrothstein/devstack,mssumanth/devstack,kplus/devstack-moonshot,eshnil2000/devstack,HPCHub/devstack,williamthegrey/devstack,group-policy/devstack,pczerkas/devstack,avvocatodemarchis/devstack,varunarya10/devstack,sc68cal/devstack,affo/devstack,mmasaki/devstack,eharney/devstack,dirkmueller/devstack,prithivm/branch01,atulpatil301/devstack,BSJAIN92/OpenStack,wenhuizhang/devstack,pacinete/devstack,Mahito/devstack,richliu/devstack