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

Solution: Import the 'exception' module

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

 

For more information:
nova exception