Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Boto service region issue (SonOfMMM)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nikola  
View profile  
 More options May 8 2012, 4:17 pm
From: nikola <nik...@imadethis.no>
Date: Tue, 8 May 2012 13:17:32 -0700 (PDT)
Local: Tues, May 8 2012 4:17 pm
Subject: Boto service region issue (SonOfMMM)

Hello,

I am trying to setup an AMI to run boto's "sonofmmm" service. I have
managed to do the following so far:
* Created input and output queues, buckets and sdb domain,
* Launched a new small instance of
https://console.aws.amazon.com/ec2/home?region=eu-west-1#launchAmi=am...
AMI,
* Installed ffmpeg,
* Git cloned latest (2.3.0) boto source and installed it,
* Put the following into rc.local:

>     sudo -b -i -u <username> /usr/bin/python
> /home/<username>/boto/boto/pyami/bootstrap.py
>     sudo -b -i -u <username> /usr/bin/python
> /home/<username>/boto/boto/pyami/startup.py

* Bundled, uploaded and registered new AMI

I have the attached my "sonofmmm.cfg" to this post.

The problem I am experiencing is when I use the boto service "bs.py" script.
When I start a new instance like this:

>     $ cd /home/<username>/boto/boto/services
>     $ ./bs.py -k <my_pk> sonofmmm.cfg start

once the new instance is launched I get the following error in syslog:

> Traceback (most recent call last):
>   File "/home/<username>/boto/boto/pyami/startup.py", line 60, in <module>
>     su.main()
>   File "/home/<username>/boto/boto/pyami/startup.py", line 52, in main
>     self.run_scripts()
>   File "/home/<username>/boto/boto/pyami/startup.py", line 49, in
> run_scripts
>     raise e
> AttributeError: 'NoneType' object has no attribute 'read'

I have also logged in via ssh to this instance and looked at boto's log
files, look at the boto source code and it seems that this issue has to do
with the default region that is set for the input queue (sqs). It is set to
"us-east-1" and I can't seem to find a proper way to set region for aws
services to "eu-west-1".
Setting "ec2_region_name" and "ec2_region_endpoint" in the service config
file doesn't seem to help.

I have also tried the following:

>     $ cd /home/<username>/boto/boto/services
>     $ ./bs.py -p ~/<dir_containing_movie_files> sonofmmm.cfg submit

It informs me that all the files were submitted and prints the "Batch
Identifier". I can confirm that these files are stored in the input bucket
but no new messages are created in the input queue.

Any help would be appreciated.

Kind Regards,
Nikola

  sonofmmm.cfg
1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gregory Taylor  
View profile  
 More options May 8 2012, 4:43 pm
From: Gregory Taylor <gtay...@gc-taylor.com>
Date: Tue, 8 May 2012 16:43:16 -0400
Local: Tues, May 8 2012 4:43 pm
Subject: Re: [boto-users] Boto service region issue (SonOfMMM)

This may or may not be the "right" answer (in reality, it's a shameless
plug), but I could suggest checking out media-nommer if you can't figure
sonofmm out:

http://media-nommer.readthedocs.org/

Just another option, don't mind my plugging.

Greg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nikola  
View profile  
 More options May 8 2012, 5:07 pm
From: nikola <nik...@imadethis.no>
Date: Tue, 8 May 2012 14:07:12 -0700 (PDT)
Local: Tues, May 8 2012 5:07 pm
Subject: Re: [boto-users] Boto service region issue (SonOfMMM)

Hello Greg,

thanks for your quick reply.

I am looking for a way to create a distributed application in the AWS cloud
that could launch worker instances that will take input A and process it
and produce output B, in other words "get the job(s) done". My architecture
should be similar to the on this image<http://awsmedia.s3.amazonaws.com/catalog/images/411-diagram.jpg>.
I chose boto and "sonofmmm" service as a starting point because I found
that it provides exactly what I am looking for. My idea was to get this
running and then write my own "sonofmmm"-like service to perform custom
jobs. It actually doesn't have to do anything with converting video files.

Nevertheless, I am going to look at the media-nommer as it seems very
interesting.

Thanks,
Nikola


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mitchell Garnaat  
View profile  
 More options May 8 2012, 5:21 pm
From: Mitchell Garnaat <mi...@garnaat.com>
Date: Tue, 8 May 2012 14:21:24 -0700
Local: Tues, May 8 2012 5:21 pm
Subject: Re: [boto-users] Boto service region issue (SonOfMMM)

I think the basic pattern embodied in SonOfMMM is still extremely useful
but the code is old.  I think we should either agree there are better, more
modern alternatives like media-nommer and try to point people who read the
SonOfMMM article at those alternatives or spend the time to update the
SonOfMMM ami and code.  If the best answer is media-nommer (entirely
possible) then perhaps we could even get a new article published that
focuses on solving the same basic problem as the SonOfMMM article using
media-nommer.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nikola  
View profile  
 More options May 8 2012, 5:54 pm
From: nikola <nik...@imadethis.no>
Date: Tue, 8 May 2012 14:54:34 -0700 (PDT)
Local: Tues, May 8 2012 5:54 pm
Subject: Re: [boto-users] Boto service region issue (SonOfMMM)

Hello,

I did some quick googling and found this<http://www.ubuntu-user.com/Online/Blogs/Amber-Graner-You-in-Ubuntu/Gr...>article where I read that I could accomplish my goal by writing a custom
"Nommer". I guess your reply just verified this. It would be of great help
to have some sort of tutorial-like article.

I spent a lot of time on getting to know and setting up SonOfMMM. I am
wondering if it would be more feasible to switch to media-nommer or
to pursue with the former one?

Thanks,
Nikola


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gregory Taylor  
View profile  
 More options May 8 2012, 6:01 pm
From: Gregory Taylor <gtay...@gc-taylor.com>
Date: Tue, 8 May 2012 18:01:08 -0400
Local: Tues, May 8 2012 6:01 pm
Subject: Re: [boto-users] Boto service region issue (SonOfMMM)

On Tue, May 8, 2012 at 5:54 PM, nikola <nik...@imadethis.no> wrote:
> I did some quick googling and found this<http://www.ubuntu-user.com/Online/Blogs/Amber-Graner-You-in-Ubuntu/Gr...>article where I read that I could accomplish my goal by writing a custom
> "Nommer". I guess your reply just verified this. It would be of great help
> to have some sort of tutorial-like article.

I do need to write something like that. I'll try to get something figured
out in the near future.

> I spent a lot of time on getting to know and setting up SonOfMMM. I am
> wondering if it would be more feasible to switch to media-nommer or
> to pursue with the former one?

I'm not sure there. As Mitch has mentioned, it is pretty old, and doesn't
see a lot of attention. However, if you're already familiar with it, and
can get it working, it may not be worth getting to learn yet another
project. I don't want to direct you the wrong way, there. You definitely
would need to write a Nommer for whatever you're doing. While it's not very
difficult, it is another step.

If you do end up having more questions about media-nommer, shoot me an
email at gtay...@gc-taylor.com so I won't annoy boto-users. Otherwise, keep
on keeping on with SonOfMMM!

Greg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nikola  
View profile  
 More options May 9 2012, 2:55 am
From: nikola <nik...@imadethis.no>
Date: Tue, 8 May 2012 23:55:15 -0700 (PDT)
Local: Wed, May 9 2012 2:55 am
Subject: Re: [boto-users] Boto service region issue (SonOfMMM)

Thank you very much. I will take a deeper look at media-nommer and send you
an email once I have questions.

Kind Regards,
Nikola


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »