novel / lc-tools Goto Github PK
View Code? Open in Web Editor NEWCommand line tools to manage clouds
Home Page: http://novel.github.com/lc-tools/
License: Apache License 2.0
Command line tools to manage clouds
Home Page: http://novel.github.com/lc-tools/
License: Apache License 2.0
lc-gg-node-edit requires -s <size_id> parameter mandatory and -d optional.
There are usecases where description change only is required, without node resizing (that involves node reboot). It is worth to have -s <size_id> parameter being optional: if -d supplied only, then the tool changes description only.
$ /usr/local/bin/lc-node-list -p linode
Error: init() takes exactly 2 arguments (3 given)
In my ~/.lcrc file I have:
[linode]
driver = linode
access_id =
secret_key = secret_key
I have tried to remove access_id and then you get:
$ /usr/local/bin/lc-node-list -p linode
Error: No option 'access_id' in section: 'linode'
My rackspace and amazon accounts are working just fine.
vpv@neva:~$ lc-image-list
Traceback (most recent call last):
File "/home/vpv/shr/lc-tools/lc-image-list", line 6, in
lister_main('images')
File "/opt/home/vpv/lc-tools/shortcuts.py", line 29, in lister_main
for node in getattr(conn, list_method)():
File "/opt/home/vpv/lc-tools/libcloud/drivers/gogrid.py", line 178, in list_images
self.connection.request('/api/grid/image/list').object)
File "/opt/home/vpv/lc-tools/libcloud/base.py", line 432, in request
response = self.responseCls(self.connection.getresponse())
File "/opt/home/vpv/lc-tools/libcloud/base.py", line 164, in init
if not self.success():
File "/opt/home/vpv/lc-tools/libcloud/drivers/gogrid.py", line 81, in success
return json.loads(self.body)['status'] == 'success'
File "/var/lib/python-support/python2.5/simplejson/init.py", line 313, in loads
return _default_decoder.decode(s)
File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 321, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 340, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
A bit later:
vpv@neva:$ lc-image-list |grep c4d-mcom-a$
image c4d-mcom-a (id = 3961)
vpv@neva:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.