Giter Club home page Giter Club logo

Comments (5)

jamesyonan avatar jamesyonan commented on July 18, 2024

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.

dalekurt avatar dalekurt commented on July 18, 2024

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.

dalekurt avatar dalekurt commented on July 18, 2024

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.

dalekurt avatar dalekurt commented on July 18, 2024

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.

dalekurt avatar dalekurt commented on July 18, 2024

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)

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.