How to Solve NameError: name 'config' is not defined -- nova

Solution: Import the 'config' module

# Add the following line to the top of your code
from nova import config

 

For more information:
nova config