[ https://issues.apache.org/jira/browse/AURORA-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxim Khutornenko updated AURORA-1604: -------------------------------------- Priority: Major (was: Blocker) > 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 > 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)