yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #94608
[Bug 2081243] [NEW] The get function in the keystone/svc-catalog API operates differently than intended.
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