move out ironic exception from common import

It will raise import error if ironic service is disabled
when run scenario test. This patch move ironic exception
module imporing into the function which uses it.

Relate change: I1260cceb2821400eb42959cb701e40ae449dd452

Change-Id: Ic41b9bd87af15ef6a9bded56ed1066c428847309
Merge "move out ironic exception from common import"