Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Andrew Berger @rueberger Jul 26 16:06
- I've been hit with the following error trying to run DockerSpawner:
- ' traitlets.traitlets.TraitError: The 'port' trait of a Server instance must be an int, but a value of '32769' <class 'str'> was specified'
- Does anyone know what config this is referring to? I could not find a relevant field in the jupyter config of the used image jupyterhub/singleuser
- Carol Willing @willingc Jul 26 16:15
- @rueberger What version of jupyterhub and the DockerSpawner are you using? Feel free to open an issue too if you want to share more details logs.
- Andrew Berger @rueberger Jul 26 16:17
- 0.7.0 for both. will open issue if necessary
- Carol Willing @willingc Jul 26 16:18
- I would go with 0.7.2 with jupyterhub and the latest stable on the spawner
- Thanks!
- @rueberger Scratch that use latest (master) on DockerSpawner as a fix was merged in early June jupyterhub/dockerspawner#164
- i Panda @yuvipanda Jul 26 22:37
- hahaha, I just hadn't updated the image I was running
- the PR works, but might be missing stuff
- I'll play with nginx settings - it helps us do rate limiting, but without complicating the code too much for now!
- and since the most busy tics seem to be just when we get a ton fo HTTP requests, it might be enough for us to cross 5k :)
- Yuvi Panda @yuvipanda Jul 26 22:42
- http://nginx.org/en/docs/http/ngx_http_limit_req_module.html for nginx docs
- Andrew Berger @rueberger Jul 26 23:23
- got a little farther... this time i'm met with the following error:
- docker.errors.DeprecatedMethod: Providing configuration in the start() method is no longer supported. Use the host_config param in create_container instead.
- ring any bells?
- I feel my situation here may be a very weird one so if not I will file an issue tomorrow
- Min RK @minrk 00:41
- @rueberger there have been some fixes in DockerSpawner master that we should release soon.
- Andrew Berger @rueberger 07:46
- @minrk do you mean release to pip? or to master? I installed from master yesterday. Any idea what the timeline is? I basically need to get my deployment working today
- Min RK @minrk 07:49
- I mean releasing master to PyPI
- Installing DockerSpawner from master for now should be safe. You can pin a specific commit if you want to be extra safe while waiting for a release
- We might be able to get it onto PyPI tomorrow, but do report any issues you have with master.
- Did you figure out your host_config issue?
- Andrew Berger @rueberger 09:17
- @minrk I just tried rebuilding my image to make sure it was up to do date with master and was met with the same error
- here's the output of pip list:
- 'alembic (0.9.3)
- asn1crypto (0.22.0)
- backports.weakref (1.0rc1)
- bkcharts (0.2)
- bleach (1.5.0)
- bokeh (0.12.6)
- certifi (2017.4.17)
- cffi (1.10.0)
- chardet (3.0.2)
- conda (4.3.22)
- cryptography (1.9)
- cycler (0.10.0)
- decorator (4.1.1)
- docker (2.4.2)
- docker-pycreds (0.2.1)
- dockerspawner (0.7.0)
- escapism (0.0.1)
- html5lib (0.9999999)
- idna (2.5)
- ipython-genutils (0.2.0)
- Jinja2 (2.9.5)
- jupyterhub (0.8.0.dev0)
- jupyterhub-ldapauthenticator (1.1)
- Keras (2.0.6)
- ldap3 (2.2.4)
- Mako (1.0.7)
- Markdown (2.6.8)
- MarkupSafe (1.0)
- matplotlib (2.0.2)
- numpy (1.13.1)
- pamela (0.3.0)
- pip (9.0.1)
- protobuf (3.3.0)
- pyasn1 (0.3.1)
- pycosat (0.6.1)
- pycparser (2.18)
- pycrypto (2.6.1)
- pycurl (7.43.0)
- pyOpenSSL (16.2.0)
- pyparsing (2.2.0)
- PySocks (1.6.7)
- python-dateutil (2.6.1)
- python-editor (1.0.3)
- python-oauth2 (1.0.1)
- pytz (2017.2)
- PyYAML (3.12)
- requests (2.18.1)
- ruamel-yaml (-VERSION)
- scipy (0.19.1)
- setuptools (27.2.0)
- six (1.10.0)
- SQLAlchemy (1.1.11)
- tensorflow (1.2.1)
- Theano (0.9.0)
- tornado (4.5.1)
- traitlets (4.3.2)
- urllib3 (1.21.1)
- websocket-client (0.44.0)
- Werkzeug (0.12.2)
- wheel (0.29.0)'
- Carol Willing @willingc 09:33
- @rueberger Just an FYI on jupyterhub 0.8.0dev, you need to make sure your container image for the single user servers also installs jupyterhub. I will be afk for a bit, but others may be able to help.
- Yuvi Panda @yuvipanda 09:46
- @rueberger jfyi, it'd be nice to use something like gist.github.com for pasting large blobs of text like that. easier to refer to and link to from issues later :grinning:
- (can't help with dockerspawner tho, sorry!)
- Andrew Berger @rueberger 09:47
- @yuvipanda good suggestion, sorry :stuck_out_tongue_winking_eye:
- Yuvi Panda @yuvipanda 09:49
- @rueberger also there's https://z2jh.jupyter.org for setting up JupyterHub :smiley: Unrelated to docker spawner tho.
- Andrew Berger @rueberger 10:20
- @willingc i'm using jupyterhub/singleuser for the container image which I double checked has jupyterhub installed. I also just tried using jupyterhub/jupyterhub:0.7.2 as my base image and was met with the same error.
- Carol Willing @willingc 10:46
- @rueberger can you open an issue on the Jupyter hub repo with debug log and error message? I think it will be easier to troubleshoot there.
- Andrew Berger @rueberger 10:46
- will do
- Carol Willing @willingc 10:46
- Thanks!
- Andrew Berger @rueberger 10:46
- thanks for your help!
- Carol Willing @willingc 10:47
- I will be back in the office later today.
Advertisement
Add Comment
Please, Sign In to add comment