Because we need it everythere we can raise custom exception, so really
everythere. Unfortunately, I didn't figure out how to move all this inside
NailgunException class yet :(
09.07.2013 11:09 ÐÏÌØÚÏ×ÁÔÅÌØ "Evgeniy L" <notifications@github.com>
ÎÁÐÉÓÁÌ:

> In nailgun/nailgun/api/handlers/ostf.py:
>
> > +            cluster_attrs = self.get_cluster_attrs(cluster)
> > +            network_manager = NetworkManager()
> > +            horizon_url = network_manager.get_horizon_url(cluster_id)
> > +            keystone_url = network_manager.get_keystone_url(cluster_id)
> > +
> > +            return {
> > +                'horizon_url': horizon_url,
> > +                'keystone_url': keystone_url,
> > +                'admin_username': cluster_attrs['user'],
> > +                'admin_password': cluster_attrs['password'],
> > +                'admin_tenant_name': cluster_attrs['tenant'],
> > +                'controller_nodes_ips': self.get_controller_nodes_ips(cluster),
> > +                'controller_nodes_names': self.get_controller_nodes_fqdns(
> > +                    cluster),
> > +            }
> > +        except Exception as exc:
>
> Check for exc.log_traceback needed.
> What for?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/Mirantis/fuelweb/pull/1229/files#r5083466>
> .
>