Giter Club home page Giter Club logo

lc-tools's People

Contributors

k-popov avatar novel avatar vistrcm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lc-tools's Issues

linode lc-node-list init takes exactly 2 arguments (3 given)

$ /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.

lc-image-list fails sometimes

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:
$

Implement change of description only for GoGrid nodes

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.