ema / nubo Goto Github PK
View Code? Open in Web Editor NEWDeploy Linux VMs on different cloud providers from the command line
Home Page: http://pythonhosted.org/nubo
License: Other
Deploy Linux VMs on different cloud providers from the command line
Home Page: http://pythonhosted.org/nubo
License: Other
I'm connected and can list my current servers (droplets) but I cannot start new ones.
~/Sites/bfnetwork on master $ nubo start --privkey ~/.ssh/id_rsa --name test 10274087
Traceback (most recent call last):
File "/usr/local/bin/nubo", line 4, in <module>
__import__('pkg_resources').run_script('nubo==0.7', 'nubo')
File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources/__init__.py", line 652, in run_script
File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources/__init__.py", line 1580, in run_script
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nubo-0.7-py2.7.egg/EGG-INFO/scripts/nubo", line 201, in <module>
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nubo-0.7-py2.7.egg/EGG-INFO/scripts/nubo", line 198, in main
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nubo-0.7-py2.7.egg/EGG-INFO/scripts/nubo", line 125, in start
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nubo-0.7-py2.7.egg/nubo/clouds/digitalocean.py", line 41, in deploy
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/apache_libcloud-0.17.0-py2.7.egg/libcloud/compute/drivers/digitalocean.py", line 167, in ex_create_ssh_key
assert 'ssh_key' in data
AssertionError
My default ssh key is a DSA key in ~/.ssh/id_dsa and ~/.ssh/id_dsa.pub. I don't see a way to specify the SSH keys to use.
There is Linode API support in libcloud:
https://blog.linode.com/2009/09/14/full-libcloud-support/
https://ci.apache.org/projects/libcloud/docs/compute/supported_providers.html
First time trying nubo. This is on Debian 7.1AMD64 release.
Please choose the cloud provider you want to setup [1-11] 1
Please provide your API key: xxx
Please provide your API secret: xxx
Traceback (most recent call last):
File "/usr/local/bin/nubo", line 206, in <module>
main()
File "/usr/local/bin/nubo", line 203, in main
opts.func(opts)
File "/usr/local/bin/nubo", line 62, in config
if Cloud.test_conn(**values):
File "/usr/local/lib/python2.7/dist-packages/nubo/clouds/base.py", line 120, in test_conn
return type(driver.list_nodes()) == list
File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/digitalocean.py", line 82, in list_nodes
data = self.connection.request('/droplets').object['droplets']
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py", line 609, in request
connection=self)
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py", line 93, in __init__
raise Exception(self.parse_error())
Exception: None
Hi
Running
nubo config
typing '12'
and providing API details throw an exception, last line pasted below, looks like it is straight through from libcloud:-
Exception: Provider constant RACKSPACE_UK has been removed. New constant is now called RACKSPACE_FIRST_GEN.
Going to try some workarounds but thought I should report the bug here.
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.