NERSC / shifter

Shifter - Linux Containers for HPC
Other
348 stars 65 forks source link

AttributeError: 'float' object has no attribute 'iteritems' #240

Open t0rrant opened 5 years ago

t0rrant commented 5 years ago

This is more of a notice than an issue by itself.

After performing manual installation of Shifter with GPU support, the celery worker gives an error:

AttributeError: 'float' object has no attribute 'iteritems'

Following the suggestion from https://github.com/celery/celery/issues/5175 you should force a rollback of the redis version to version 2.10.6 until there is a celery release which pins to this version (from the looks of it, it will not take long).

You can do this by activating the virtual environment and forcing the install (on already deployed systems):

# cd $IMAGEGW_PATH
# . python-virtualenv/bin/activate
# pip install redis==2.10.6
scanon commented 5 years ago

The newer version of Shifter moves away from Celery so this shouldn't be an issue.

t0rrant commented 5 years ago

@scanon any guidelines for that?

In the documentation named manual install with gpu support you don not explicitly talk about celery. However a new install requires a clone of part of rukkal's virtual-cluster repo, which in turn uses a third repository that efectively uses celery.

Cheers!

scanon commented 5 years ago

Okay. I think the action then is to update the GPU docs.