Ask Your Question
0

AttributeError: 'module' object has no attribute 'DEFINE_bool'

asked 2011-01-12 09:13:15 -0500

jean-pierre-dion gravatar image

Running nova-* (nova-compute, nova-scheduler...) I get this error : AttributeError: 'module' object has no attribute 'DEFINE_bool'

Version used : 2011.1~bzr397-0ubuntu0ppa1~maverick1

What is missing ?

Thank you.

jp.dion

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2011-01-12 16:37:48 -0500

jaypipes gravatar image

In the python interpreter, if you do:

import gflags

What happens?

edit flag offensive delete link more
0

answered 2011-01-12 09:20:43 -0500

armando-migliaccio gravatar image

DEFINE_bool is available from gflags.

Could you describe how you installed Nova and post logs?

Thanks, Armando

edit flag offensive delete link more
0

answered 2011-01-12 09:39:28 -0500

jean-pierre-dion gravatar image

I have python-gflags 1.4-1

I installed nova with : bzr branch lp:nova

Thanks, Jean-Pierre

edit flag offensive delete link more
0

answered 2011-01-13 08:55:47 -0500

jean-pierre-dion gravatar image

I was using python 2.7, now with python 2.6 it works. Thanks, jean-pierre

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-01-12 09:13:15 -0500

Seen: 497 times

Last updated: Jan 13 '11