Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 25569200C0F for ; Wed, 18 Jan 2017 13:56:32 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 23DB9160B3A; Wed, 18 Jan 2017 12:56:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6D68E160B53 for ; Wed, 18 Jan 2017 13:56:31 +0100 (CET) Received: (qmail 90964 invoked by uid 500); 18 Jan 2017 12:56:30 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 90934 invoked by uid 99); 18 Jan 2017 12:56:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2017 12:56:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 02B12C00B6 for ; Wed, 18 Jan 2017 12:56:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id dorHyJmkEPDX for ; Wed, 18 Jan 2017 12:56:29 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6FB245FBBD for ; Wed, 18 Jan 2017 12:56:28 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B51FEE7379 for ; Wed, 18 Jan 2017 12:56:27 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6FD5925287 for ; Wed, 18 Jan 2017 12:56:26 +0000 (UTC) Date: Wed, 18 Jan 2017 12:56:26 +0000 (UTC) From: "Stephan Erb (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AURORA-1811) sla_list_safe_domain no longer reports SLA usage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 Jan 2017 12:56:32 -0000 [ https://issues.apache.org/jira/browse/AURORA-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827991#comment-15827991 ] Stephan Erb commented on AURORA-1811: ------------------------------------- [~a-nldisr] to clarify: Do you have a workaround in place, or do you need a fix for this in the next version. If not, we could resolve this when dropping the deprecated `production` code in 0.18. > sla_list_safe_domain no longer reports SLA usage > ------------------------------------------------ > > Key: AURORA-1811 > URL: https://issues.apache.org/jira/browse/AURORA-1811 > Project: Aurora > Issue Type: Bug > Components: Client, Maintenance, SLA > Affects Versions: 0.16.0 > Environment: Vagrant image - Ubuntu, Centos 7.2 > Reporter: Rogier Dikkes > Priority: Minor > Labels: client, features, sla > Fix For: 0.17.0 > > > We recently had to patch hosts, in our situation we have a couple of services that run less than 2-5 instances with production = true and tier = preferred as provided in the default example documentation. > As we understood host_drain is not configurable to set the minimum job instance count, the default is 10. We tried to compile a list of hosts with aurora_admin sla_list_safe_domain that are running these services to feed host_drain with an unsafe_hosts_file. > When we ran the aurora_admin sla_list_safe_domain --min_job_instance_count=2 devcluster 95 1m the scheduler returns: > INFO] Response from scheduler: OK (message: ) > As if there are no hosts. We tried to change the percentage and duration to see if anything was returned but we never receive an different response. > To ensure that the client is not the cause we used the 0.16.0 client against an 0.14.0 cluster, this cluster reports hosts that are safe to kill without violating job sla's. > To ensure its not a faulty cluster setup on our part we started the vagrant sandbox, started an task with 3 instances with tier = preferred and production = True. > commands used: > aurora_admin sla_list_safe_domain --min_job_instance_count=2 devcluster 20 50m > aurora_admin sla_list_safe_domain --min_job_instance_count=2 devcluster 90 5m > With -l or with time and percentage variations never changes the outcome. > Changing the instance_count to a higher number does not change output either. -- This message was sent by Atlassian JIRA (v6.3.4#6332)