Public bug reported: There is a problem with list remove in for loop.( https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/rest/keystone.py#L540 )
sample catalog : [ { 'endpoints': [ {'url': 'http://cool_url/image', 'interface': 'admin', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'}, {'url': 'http://cool_url/image', 'interface': 'internal', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'}, {'url': 'http://cool_url/image', 'interface': 'public', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'} ], 'type': 'image', 'id': 'id', 'name': 'glance' } ] Expected : [ { 'endpoints': [ {'url': 'http://cool_url/image', 'interface': 'public', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'} ], 'type': 'image', 'id': 'id', 'name': 'glance' } ] Actual : [ { 'endpoints': [ {'url': 'http://cool_url/image', 'interface': 'internal', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'}, {'url': 'http://cool_url/image', 'interface': 'public', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'} ], 'type': 'image', 'id': 'id', 'name': 'glance' } ] ** Affects: horizon Importance: Undecided Assignee: LeeChunghwan (chung00lee) Status: New ** Changed in: horizon Assignee: (unassigned) => LeeChunghwan (chung00lee) -- 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/2081243 Title: The get function in the keystone/svc-catalog API operates differently than intended. Status in OpenStack Dashboard (Horizon): New Bug description: There is a problem with list remove in for loop.( https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/rest/keystone.py#L540 ) sample catalog : [ { 'endpoints': [ {'url': 'http://cool_url/image', 'interface': 'admin', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'}, {'url': 'http://cool_url/image', 'interface': 'internal', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'}, {'url': 'http://cool_url/image', 'interface': 'public', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'} ], 'type': 'image', 'id': 'id', 'name': 'glance' } ] Expected : [ { 'endpoints': [ {'url': 'http://cool_url/image', 'interface': 'public', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'} ], 'type': 'image', 'id': 'id', 'name': 'glance' } ] Actual : [ { 'endpoints': [ {'url': 'http://cool_url/image', 'interface': 'internal', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'}, {'url': 'http://cool_url/image', 'interface': 'public', 'region': 'RegionOne', 'region_id': 'RegionOne', 'id': 'test'} ], 'type': 'image', 'id': 'id', 'name': 'glance' } ] To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/2081243/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp