Question: Accessing Galaxy On The Cloud From Http
0
Colleen Doherty • 50 wrote:
Thanks for the suggestions!
The ami I've been mainly using is ami-da58aab3 (although I've tried a
few others).
The user data may be where I am messing up: I have a few questions
I'm not clear on, I think I've tried may options here.. 1. Is
cluster
name just something I make up? 2. Are the <> characters part of the
yaml structure? (I've tried both). 3. Do I need to specify the
default information?
I've tried:
cluster_name: galaxy_cloud_cluster
password: apassword
access_key: mypublickeyblahblahblahblab
secret_key: myprivatekeyblahblabhalbahblahblah
I've also tried with the <>
cluster_name: <galaxy_cloud_cluster>
password: <apassword>
I've also tried adding the other information...
boot_script_name: [cm_boot.py]
boot_script_path: [/tmp/cm]
bucket_cluster: cm-<hash>
bucket_default: [cloudman]
cloudman_home: /mnt/cm
[master_ip: <*exists only if worker*; master internal IP address>]
role:<master or="" worker="">
[testflag: False]
On apache: I totally understand it's not part of any of this, I was
just trying that to see if I could access through http (I was just
trying things to narrow down where the problem is).
Here's an attempt at an output from py.log, I hope I have it all.
Thanks for working through this with me!
ubuntu@ip-10-204-103-174:/opt/galaxy/pkg$ cat ec2autorun.py.log
[INFO] ec2autorun:38 2011-09-27 07:09:50,922: Getting user data from
'http://169
.254.169.254/latest/user-data', attempt 0
[DEBUG] ec2autorun:42 2011-09-27 07:09:50,938: Saving user data in its
original
format to file '/tmp/cm/original_userData.yaml'
[DEBUG] ec2autorun:46 2011-09-27 07:09:50,938: Got user data
[INFO] ec2autorun:284 2011-09-27 07:09:50,938: Handling user data in
yaml format
[DEBUG] ec2autorun:317 2011-09-27 07:09:50,940: The provided user data
does not
contain bucket_default field; setting it to 'cloudman'.
[DEBUG] ec2autorun:337 2011-09-27 07:09:50,940: Composed user data:
{'access_key
': '<accesskeyblah>', 'cloudman_home': '/mnt/cm', 'cluster_name':
'<galax y_cloud_cluster="">', 'bucket_default': 'cloudman', 'role': 'master',
'bucket_clust
er': 'cm-6df419acea85fd768bdf345a980ab112', 'boot_script_path':
'/tmp/cm', 'boot
_script_name': 'cm_boot.py', 'secret_key': '<blahblahblahblah>',
'password': '<somepassword>'}
[DEBUG] ec2autorun:75 2011-09-27 07:09:51,120: Establishing boto S3
connection
[DEBUG] ec2autorun:78 2011-09-27 07:09:51,121: Got boto S3 connection.
[DEBUG] ec2autorun:98 2011-09-27 07:09:52,528: Cluster bucket 'cm-
6df419acea85fd
768bdf345a980ab112' not found.
[DEBUG] ec2autorun:195 2011-09-27 07:09:52,528: Using default bucket
'cloudman'
[DEBUG] ec2autorun:214 2011-09-27 07:09:52,528: Could not get boot
script 'cm_bo
ot.py' from cluster bucket 'cm-6df419acea85fd768bdf345a980ab112';
retrieving pub
lic one from bucket url 'http://s3.amazonaws.com/cloudman/cm_boot.py'
[INFO] ec2autorun:169 2011-09-27 07:09:52,529: Getting boot script
from 'http://
s3.amazonaws.com/cloudman/cm_boot.py' and saving it locally to
'/tmp/cm/cm_boot.
py'
[DEBUG] ec2autorun:176 2011-09-27 07:09:52,565: Got boot script from
'http://s3.
amazonaws.com/cloudman/cm_boot.py'
[DEBUG] ec2autorun:217 2011-09-27 07:09:52,565: Saved boot script to
'/tmp/cm/cm
_boot.py'
[DEBUG] ec2autorun:75 2011-09-27 07:09:52,565: Establishing boto S3
connection
[DEBUG] ec2autorun:78 2011-09-27 07:09:52,565: Got boto S3 connection.
[DEBUG] ec2autorun:98 2011-09-27 07:09:52,589: Cluster bucket 'cm-
6df419acea85fd
768bdf345a980ab112' not found.
[INFO] ec2autorun:229 2011-09-27 07:09:52,590: Running boot script
'/tmp/cm/cm_b
oot.py'
[DEBUG] ec2autorun:233 2011-09-27 07:10:04,836: Successfully ran boot
script '/t
mp/cm/cm_boot.py'
[INFO] ec2autorun:373 2011-09-27 07:10:04,836: --->
/opt/galaxy/pkg/ec2autorun.p
y done <---
ADD COMMENT
• link
•
modified 7.2 years ago
by
Brad Chapman • 240
•
written
7.2 years ago by
Colleen Doherty • 50