Fix openstack glance upload to compatible with grizzly

The existing codes no longer work with Openstack grizzly and above. As they are using a separate client components such as keystone-client and glance-client for making client requests.