Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ipcluster plugin is not working with Ipython 1.0dev #3936

Closed
mqlaql opened this issue Aug 7, 2013 · 8 comments
Closed

Ipcluster plugin is not working with Ipython 1.0dev #3936

mqlaql opened this issue Aug 7, 2013 · 8 comments
Milestone

Comments

@mqlaql
Copy link

mqlaql commented Aug 7, 2013

I have been running starcluster 0.94 with the ipcluster plugin without issues, however, when I try to use ipython 1.0 dev, I simply can't access the notebook. Starcluster provides the notebook url (https://ec2-xx-xx-xxx-xxx.compute-1.amazonaws.com:8888) but I get a 404.

Is this a known bug or do I need to configure something else to get it to work?

@minrk
Copy link
Member

minrk commented Aug 7, 2013

Running current starcluster (develop branch) and IPython (master), the ipcluster plugin seems to work just fine.

@minrk
Copy link
Member

minrk commented Aug 7, 2013

How are you trying to use IPython 1.0-dev?

@mqlaql
Copy link
Author

mqlaql commented Aug 7, 2013

I have pip installed Ipython 1.0-dev in an AMI using the following template:

[plugin ipcluster]
SETUP_CLASS = starcluster.plugins.ipcluster.IPCluster
ENABLE_NOTEBOOK = True
NOTEBOOK_PASSWD = password

[cluster iptemplate]
cluster_user = user
KEYNAME = mykey

CLUSTER_SIZE = 1
CLUSTER_SHELL = bash

NODE_IMAGE_ID = my-ami
AVAILABILITY_ZONE = us-east-1d
NODE_INSTANCE_TYPE = m1.large
plugins = ipcluster

(I omitted aws info and global settings)

And finally run:

starcluster start -b x.xx --force-spot-master iptemplate

@minrk
Copy link
Member

minrk commented Aug 7, 2013

can you ssh to the cluster and try to see what's going on?

@mqlaql
Copy link
Author

mqlaql commented Aug 7, 2013

I can ssh via starcluster sshmaster iptemplate. What should I try to find out?

@minrk
Copy link
Member

minrk commented Aug 7, 2013

see if the notebook is running, maybe try to start another notebook instance and connect to that.

@mqlaql
Copy link
Author

mqlaql commented Aug 7, 2013

Now it's working. When I started another notebook I got an error related to Jinja. The notebook did run but with a text-based interface.

Maybe Jinja wasn't a dependency before.

It would be nice to output those errors when an instance is created.

Thank you for your help.

@minrk
Copy link
Member

minrk commented Aug 7, 2013

The notebook did run but with a text-based interface.

This would be w3m. To prevent it from opening, start the notebook with --no-browser.

Maybe Jinja wasn't a dependency before.

Jinja was not a dependency before.

@minrk minrk closed this as completed Aug 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants