← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1868006] [NEW] unable to list zones with duplicate key values

 

Public bug reported:

When creating or modifying multiple zones with automation it's possible
to have the same `updated_at` key value on multiple zones.

When this happens Horizon fails to load the Zone overview page and
generates the following client side error:

```
Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: item in items track by item[config.trackId], 
Duplicate key: 2020-03-11T06:05:52.0000001584558656847,
Duplicate value: {
 "type":"PRIMARY",
 "id":     "882807c4-f268-4abc-8c13-7826900ed15a",
 "project_id":"tools",
 "action":"NONE",
 "description":null,
 "email":"root@xxxxxxx",
 "links":{"self":"https://xxx:9001/v2/zones/882807c4-f268-4abc-8c13-7826900ed15a"},
 "updated_at":"2020-03-11T06:05:52. 000000",
 "pool_id":"794ccc2c-d751-44fe-b57f-8894c9f5c842",
 "serial":1583906747,
 "created_at":"2019-10-11T21:51:13.000000",
 "status":"ACTIVE",
 "masters":[],
 "version":406,
 "ttl":3600,
 "attributes":{},
 "name":"xxx.xxx.",
 "transferred_at":null,
 "_timestampId":"2020-03-11T06:05:  52.0000001584558656847"
}
```

This Horizon version is between Stein and Train, at commit
6f4742457fae755e465315f17f39c3977c833d0e

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1868006

Title:
  unable to list zones with duplicate key values

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When creating or modifying multiple zones with automation it's
  possible to have the same `updated_at` key value on multiple zones.

  When this happens Horizon fails to load the Zone overview page and
  generates the following client side error:

  ```
  Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: item in items track by item[config.trackId], 
  Duplicate key: 2020-03-11T06:05:52.0000001584558656847,
  Duplicate value: {
   "type":"PRIMARY",
   "id":     "882807c4-f268-4abc-8c13-7826900ed15a",
   "project_id":"tools",
   "action":"NONE",
   "description":null,
   "email":"root@xxxxxxx",
   "links":{"self":"https://xxx:9001/v2/zones/882807c4-f268-4abc-8c13-7826900ed15a"},
   "updated_at":"2020-03-11T06:05:52. 000000",
   "pool_id":"794ccc2c-d751-44fe-b57f-8894c9f5c842",
   "serial":1583906747,
   "created_at":"2019-10-11T21:51:13.000000",
   "status":"ACTIVE",
   "masters":[],
   "version":406,
   "ttl":3600,
   "attributes":{},
   "name":"xxx.xxx.",
   "transferred_at":null,
   "_timestampId":"2020-03-11T06:05:  52.0000001584558656847"
  }
  ```

  This Horizon version is between Stein and Train, at commit
  6f4742457fae755e465315f17f39c3977c833d0e

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1868006/+subscriptions


Follow ups