Skip to content

Commit 27b605f

Browse files
committed
even more debug
1 parent 1e3f208 commit 27b605f

File tree

1 file changed

+6
-0
lines changed
  • python/neutron-understack/neutron_understack

1 file changed

+6
-0
lines changed

python/neutron-understack/neutron_understack/ironic.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import logging
2+
13
from keystoneauth1 import loading as ks_loading
24
from openstack import connection
35
from openstack.baremetal.baremetal_service import BaremetalService
@@ -6,10 +8,14 @@
68

79
IRONIC_SESSION = None
810

11+
LOG = logging.getLogger(__name__)
12+
913

1014
class IronicClient:
1115
def __init__(self):
16+
LOG.debug("creating ironic client")
1217
self.irclient = self._get_ironic_client()
18+
LOG.debug("created ironic client")
1319

1420
def _get_session(self, group: str) -> ks_loading.session.Session:
1521
auth = ks_loading.load_auth_from_conf_options(cfg.CONF, group)

0 commit comments

Comments
 (0)