'Completely removes a service.'

@args('binary', type=str, help='Service    to    delete    from    the    host.')
@args('host_name', type=str, help='Host    from    which    to    remove    the    service.')
def remove(self, binary, host_name):

    ctxt = context.get_admin_context()
    try:
        svc = objects.Service.get_by_args(ctxt, host_name, binary)
        svc.destroy()
    except exception.ServiceNotFound as e:
        print((_('Host    not    found.    Failed    to    remove    %(service)s    on    %(host)s.') % {'service': binary, 'host': host_name}))
        print((u'%s' % e.args))
        return 2
    print((_('Service    %(service)s    on    host    %(host)s    removed.') % {'service': binary, 'host': host_name}))
