Return-Path: X-Original-To: apmail-aurora-issues-archive@minotaur.apache.org Delivered-To: apmail-aurora-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A43A31806A for ; Tue, 2 Feb 2016 18:54:43 +0000 (UTC) Received: (qmail 96126 invoked by uid 500); 2 Feb 2016 18:54:40 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 96018 invoked by uid 500); 2 Feb 2016 18:54:40 -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 95984 invoked by uid 99); 2 Feb 2016 18:54:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2016 18:54:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 17ED72C1F6D for ; Tue, 2 Feb 2016 18:54:40 +0000 (UTC) Date: Tue, 2 Feb 2016 18:54:40 +0000 (UTC) From: "Maxim Khutornenko (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (AURORA-1604) Identity.role is still used in the UI leading to duplicate instances on job page MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AURORA-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Khutornenko reopened AURORA-1604: --------------------------------------- Reverting this patch as per AURORA-1603 to avoid merge conflicts. > Identity.role is still used in the UI leading to duplicate instances on job page > -------------------------------------------------------------------------------- > > Key: AURORA-1604 > URL: https://issues.apache.org/jira/browse/AURORA-1604 > Project: Aurora > Issue Type: Bug > Components: Scheduler > Reporter: Maxim Khutornenko > Assignee: Maxim Khutornenko > Priority: Blocker > Attachments: vagrant_instance_dupes.png > > > While trying to investigate AURORA-1603, found a bug in the UI that results in duplicate instances under the job page. The below code is [now gone|https://reviews.apache.org/r/42811/] but the UI is still [relying on it|https://github.com/apache/aurora/blob/89fad5a8895482b6c3fa45356137aa250d766dfe/src/main/resources/scheduler/assets/js/services.js#L32-L35]: > h6.Query.java > {noformat} > if (query.isSetOwner()) { > query.setRole(query.getOwner().getRole()); > query.unsetOwner(); > } > {noformat} > I was able to repo this in vagrant by creating 2 prod/hello jobs with different roles: 'vagrant' and 'www-data' (see picture attached). -- This message was sent by Atlassian JIRA (v6.3.4#6332)