Re: [galaxy-dev] CloudMan/Galaxy wiki suggestion

2012-04-15 Thread Enis Afgan
Hi Gordon,

On Sat, Apr 14, 2012 at 8:06 AM, Assaf Gordon gor...@cshl.edu wrote:

 Hello,

 Great work with the Galaxy on the Cloud - it's the first time I've used it
 and it looks very impressive (and I'm not a big cloud fan :) ).


Thank you very much for the comment!



 Once I got it working it was very nice, but before it worked I encountered
 two issues (not sure if those were voodoo or not) that could be perhaps
 documented in the Wiki (under troubleshooting?):

 1. the User Data is sensitive to trailing white-space, or senstive to
 copypaste in the edit box.

 I accidentally had:
  access_key: XXspacespace
 and it seems it completely prevent the Cloudman from starting.
 when the stared, I couldn't connect to it with a web-browser.
 I logged on using SSH, and saw that there was nothing running/listening on
 port 80 (no nginx, no python).
 Not sure exactly why it happened, but it did.
 removing white-space (and also saving the user-data to a file instead of
 pasting it directly in the editbox) solved the problem.


Noted and will be fixed before the next update.
You may also consider using biocloudcentral.org as a quick way to starting
up CloudMan clusters without having to worry about the formatting of the
user data.


 2. If the user-data password is all numeric, there's no way to login to
 the cloudman.
 I suspect the reason is that an all numeric password is treated as a
 number, not a string.
 Then, the log shows:

 $ cat /opt/galaxy/pkg/ec2autorun.py.log
 [...]
 [DEBUG] ec2autorun:337 2012-04-13 20:22:50,983: Composed user data:
 {'access_key': 'XX', 'cloudman_home': '/mnt/cm',
 'cluster_name': 'galaxy-TGAC-workshop', 'bucket_default': 'cloudman',
 'role': 'master', 'bucket_cluster': 'cm-169ca4be88c386ce8ec3078d69a6dc3a',
 'boot_script_path': '/tmp/cm', 'boot_script_name': 'cm_boot.py',
 'secret_key': 'X', 'password': 12345678}
 [...]

 you'll notice that the password key is a numeric value, not a string - and
 login wasn't possible (perhaps it was voodoo and I'm wrong in my guess, but
 once I changed it to alphanumeric password, with the same user data
 settings, it workd).


Will be fixed as well.

Thanks again for reporting these issues,
Enis





 -gordon


 ___
 Please keep all replies on the list by using reply all
 in your mail client.  To manage your subscriptions to this
 and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

[galaxy-dev] CloudMan/Galaxy wiki suggestion

2012-04-13 Thread Assaf Gordon
Hello,

Great work with the Galaxy on the Cloud - it's the first time I've used it and 
it looks very impressive (and I'm not a big cloud fan :) ).

Once I got it working it was very nice, but before it worked I encountered two 
issues (not sure if those were voodoo or not) that could be perhaps documented 
in the Wiki (under troubleshooting?):

1. the User Data is sensitive to trailing white-space, or senstive to 
copypaste in the edit box.

I accidentally had:
  access_key: XXspacespace
and it seems it completely prevent the Cloudman from starting.
when the stared, I couldn't connect to it with a web-browser.
I logged on using SSH, and saw that there was nothing running/listening on port 
80 (no nginx, no python).
Not sure exactly why it happened, but it did.
removing white-space (and also saving the user-data to a file instead of 
pasting it directly in the editbox) solved the problem.


2. If the user-data password is all numeric, there's no way to login to the 
cloudman.
I suspect the reason is that an all numeric password is treated as a number, 
not a string.
Then, the log shows:

$ cat /opt/galaxy/pkg/ec2autorun.py.log
[...]
[DEBUG] ec2autorun:337 2012-04-13 20:22:50,983: Composed user data: 
{'access_key': 'XX', 'cloudman_home': '/mnt/cm', 
'cluster_name': 'galaxy-TGAC-workshop', 'bucket_default': 'cloudman', 'role': 
'master', 'bucket_cluster': 'cm-169ca4be88c386ce8ec3078d69a6dc3a', 
'boot_script_path': '/tmp/cm', 'boot_script_name': 'cm_boot.py', 'secret_key': 
'X', 'password': 12345678}
[...]

you'll notice that the password key is a numeric value, not a string - and 
login wasn't possible (perhaps it was voodoo and I'm wrong in my guess, but 
once I changed it to alphanumeric password, with the same user data settings, 
it workd).



-gordon


___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/