here is the log from contrail-configuration logs of var/log/juju/unit-contrail-configuration-0
http://paste.ubuntu.com/12210665/
2015-08-27 23:40:12 INFO juju.worker.leadership tracker.go:182 contrail-configuration/0 will renew contrail-configuration leadership at 2015-08-27 23:40:42.256887241 +0000 UTC
2015-08-27 23:40:29 INFO identity-admin-relation-changed Traceback (most recent call last):
2015-08-27 23:40:29 INFO identity-admin-relation-changed File "/var/lib/juju/agents/unit-contrail-configuration-0/charm/hooks/identity-admin-relation-changed", line 370, in <module>
2015-08-27 23:40:29 INFO identity-admin-relation-changed main()
2015-08-27 23:40:29 INFO identity-admin-relation-changed File "/var/lib/juju/agents/unit-contrail-configuration-0/charm/hooks/identity-admin-relation-changed", line 302, in main
2015-08-27 23:40:29 INFO identity-admin-relation-changed hooks.execute(sys.argv)
2015-08-27 23:40:29 INFO identity-admin-relation-changed File "/var/lib/juju/agents/unit-contrail-configuration-0/charm/hooks/charmhelpers/core/hookenv.py", line 603, in execute
2015-08-27 23:40:29 INFO identity-admin-relation-changed self._hooks[hook_name]()
2015-08-27 23:40:29 INFO identity-admin-relation-changed File "/var/lib/juju/agents/unit-contrail-configuration-0/charm/hooks/identity-admin-relation-changed", line 262, in identity_admin_changed
2015-08-27 23:40:29 INFO identity-admin-relation-changed add_contrail_api()
2015-08-27 23:40:29 INFO identity-admin-relation-changed File "/var/lib/juju/agents/unit-contrail-configuration-0/charm/hooks/identity-admin-relation-changed", line 73, in add_contrail_api
2015-08-27 23:40:29 INFO identity-admin-relation-changed check_url("http://localhost:" + str(api_p))
2015-08-27 23:40:29 INFO identity-admin-relation-changed File "/var/lib/juju/agents/unit-contrail-configuration-0/charm/hooks/contrail_configuration_utils.py", line 61, in func
2015-08-27 23:40:29 INFO identity-admin-relation-changed raise error
2015-08-27 23:40:29 INFO identity-admin-relation-changed urllib2.URLError: <urlopen error [Errno 111] Connection refused>
2015-08-27 23:40:30 INFO juju.worker.uniter.context context.go:543 handling reboot
2015-08-27 23:40:30 ERROR juju.worker.uniter.operation runhook.go:103 hook "identity-admin-relation-changed" failed: exit status 1
2015-08-27 23:40:30 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] failed: run relation-changed (35; keystone/0) hook
2015-08-27 23:40:30 INFO juju.worker.uniter modes.go:543 ModeAbide exiting
2015-08-27 23:40:30 INFO juju.worker.uniter modes.go:541 ModeHookError starting
2015-08-27 23:40:30 DEBUG juju.worker.uniter.filter filter.go:597 want resolved event
2015-08-27 23:40:30 DEBUG juju.worker.uniter.filter filter.go:591 want forced upgrade true
2015-08-27 23:40:30 DEBUG juju.worker.uniter.filter filter.go:727 no new charm event
2015-08-27 23:40:30 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] error: hook failed: "identity-admin-relation-changed"
2015-08-27 23:40:30 DEBUG juju.worker.leadership tracker.go:154 contrail-configuration/0 got wait request for contrail-configuration leadership loss
2015-08-27 23:40:30 DEBUG juju.worker.leadership tracker.go:248 contrail-configuration/0 still has contrail-configuration leadership