shifter icon indicating copy to clipboard operation
shifter copied to clipboard

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

Open t0rrant opened this issue 6 years ago • 3 comments

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

t0rrant avatar Nov 22 '18 20:11 t0rrant

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

scanon avatar Nov 26 '18 17:11 scanon

@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!

t0rrant avatar Nov 26 '18 18:11 t0rrant

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

scanon avatar Nov 26 '18 18:11 scanon