I'm not exactly sure how to do this with lc-tools, but here is an example which shows how to boot an OpenStack node using traystack.org - http://libcloud.apache.org/docs/compute-examples.html
Similar code should work with a local OpenStack installation. Also, are you using the latest version of Libcloud (0.9.1)? On Fri, Apr 27, 2012 at 3:56 PM, Derrick Karimi <[email protected]>wrote: > Hi, I am new to the list, and to libCloud. I attempted to install from > source and interface it through lc-tools. > > I am running an OpenStack right now, with keystone authentication. > > In my environment I have: > OS_AUTH_URL=http://$Keystone_server_IP_address:5000/v2.0/ > > But when I run lc-image-list: > > # lc-image-list > /usr/lib/python2.6/site-packages/libcloud/httplib_ssl.py:57: UserWarning: > SSL certificate verification is disabled, this can pose a security risk. > For more information how to enable the SSL certificate verification, please > visit the libcloud documentation. > warnings.warn(libcloud.security.VERIFY_SSL_DISABLED_MSG) > Error: <LibcloudError in None 'OpenStack instance must have auth_url set'> > > I have tried entering auth_url several different ways into my ~/.lcrc, how > does one set this so libCloud knows it? > > Where can I find the documentation for which variables need to be set for > the OpenStack driver? Or do you just look at the code? > > > -- > --Derrick >
