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

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

Open
t0rrant opened this issue Nov 22, 2018 · 3 comments
Open

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

t0rrant opened this issue Nov 22, 2018 · 3 comments

Comments

@t0rrant
Copy link

t0rrant commented Nov 22, 2018

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 celery/celery#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
Copy link
Member

scanon commented Nov 26, 2018

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

@t0rrant
Copy link
Author

t0rrant commented Nov 26, 2018

@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
Copy link
Member

scanon commented Nov 26, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants