You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2016/02/02 00:25:40 UTC

[jira] [Assigned] (AURORA-1604) Identity.role is still used in the UI leading to duplicate instances on job page

     [ https://issues.apache.org/jira/browse/AURORA-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Khutornenko reassigned AURORA-1604:
-----------------------------------------

    Assignee: Maxim Khutornenko

> 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)