I've looked through libcloud docs about OpenStack (https://libcloud.readthedocs.org/en/latest/compute/drivers/openstack.html), but couldn't find any method to upload a new image. Is it possible to just upload a new image, or I can only create an image from a node?
What I'm trying to do is run this command using libcloud
glance image-create --name "cirros" --file cirros-0.3.4-x86_64-disk.img
--disk-format qcow2 --container-format bare --visibility public --progress
Cirros is a generic image for OpenStack, but it could be Ubuntu, Fedora ...
Anyone knows how to achieve this using libcloud?