Comments (5)
I think the problem is that the AMI you are using has Python 2.6 installed, but 2.7 is required by Brenda because the check_output method of subprocess was only added in Python 2.7. I would advise to use the standard Brenda AMI, as it is known to have the correct versions of dependencies.
James
from brenda.
Okay, I have an EC2 instance which is the render farm manager. It currently has python 2.6.9 installed on the instance. The instance was launched using the Amazon Linux AMI (t1.micro). I will update python to version 2.7.
What is the AMI ID for the standard brenda AMI?
My plan is to build a web interface for brenda, so this instance will be the render farm manager and host for the web app.
from brenda.
Thanks James, I'm now using the AMI brenda-0.5.3 (ami-0529086c) for launching the render farm manager.
I'm getting the following error when executing brenda-run status
$ brenda-run status
Active Instances
ami-0529086c 0:25:20 ec2-54-86-89-XXX.compute-1.amazonaws.com
ami-0529086c 0:00:40 ec2-54-86-47-XXX.compute-1.amazonaws.com
ami-0529086c 0:00:40 ec2-54-86-5-XXX.compute-1.amazonaws.com
Spot Requests
Traceback (most recent call last):
File "/usr/local/bin/brenda-run", line 169, in
main()
File "/usr/local/bin/brenda-run", line 158, in main
run.status(opts, conf)
File "/usr/local/lib/python2.7/dist-packages/brenda/run.py", line 146, in status
print " %s %s %s %s $%s %s %s" % (r.id, r.region, r.type, r.create_time, r.price, r.state, r.status)
AttributeError: 'SpotInstanceRequest' object has no attribute 'status'
from brenda.
The EC2 instance (manager) that I launched based on the AMI ami-0529086c get terminated along with the other spot instance when I execute brenda-run -T stop
How may I prevent this other than building my own AMI from scratch?
from brenda.
I've launched a new AMI (ami-018c9568) and provisioned it for brenda. This EC2 instance has python 2.7 as required by brenda.
Install Dependencies
$ sudo apt-get update
$ sudo apt-get install git s3cmd python-boto python-dev libcurl4-gnutls-dev
Install Brenda
$ git clone http://github.com/jamesyonan/brenda.git
$ cd brenda
$ sudo python setup.py install
Thanks!
- Dale-Kurt
from brenda.
Related Issues (20)
- No output from brenda-tool perf HOT 1
- Better error message instead of "paracurl.Exception: (-5, 'PC_ERR_HTTP : bad HTTP status code')"
- Getting idle spot instances HOT 2
- Tracking : Need to track status of Spot instancess
- tail: cannot open 'log' for reading: No such file or directory HOT 1
- MaxSpotInstanceCountExceeded when max spots should not have been exceeded HOT 2
- "brenda-run stop" stops instances that were not started by brenda
- Is there a way to specify an availability zone? HOT 3
- Trying to create a custom Brenda AMI with Blender 2.78c HOT 1
- Environment Variable not seen by brenda, but there when I ssh into the instance HOT 4
- Can't stop instances without terminating them
- blender jobs with linked cached cloth-sim objects HOT 4
- Replacing PNG in script template with EXR?
- Receiving Bus error in the middle of render process
- Invalid device name /dev/sdf1 on EC2 spot request using an EBS snapshot HOT 4
- Alternative to Brenda? HOT 1
- Vast.ai
- Blender 2.8 HOT 2
- brenda-run failing when trying to run spot instance request HOT 2
- The AMI on this project no longer exists.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brenda.