yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43663
[Bug 1528487] [NEW] messy info returned when create an external network under demo user
Public bug reported:
[Summary]
messy info returned when create an external network with demo user
[Topo]
devstack all-in-one
[Description and expect result]
return simple info when create an external network with demo user
just "disallowed by policy" is enough
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) login as demo user/tenant, try to create an external network:
root@45-59:/opt/stack/devstack# neutron net-create --provider:network_type vxlan --provider:segmentation_id 102 external-net
((rule:create_network and rule:create_network:provider:network_type) and rule:create_network:provider:segmentation_id) on {'router:external': False,
'availability_zone_hints': [], u'name': u'external-net',
'provider:physical_network': <object object at 0x7fa5a0b879a0>,
u'admin_state_up': True,
'tenant_id': u'fb3af4173e8e42bca61dca2175ec3774', 'segments': <object
object at 0x7fa5a0b879a0>, u'provider:network_type': u'vxlan', 'shared':
False,
'port_security_enabled': True, u'provider:segmentation_id': 102} by
{'domain': None, 'project_name': u'demo', 'tenant_name': u'demo',
'project_domain': None,
'timestamp': '2015-12-22 17:10:55.974118', 'auth_token':
'49eb9cb3735749319eb799c17e2248cc', 'resource_uuid': None, 'is_admin':
False, 'user':
u'e266d2b5fd004f71b6ffadb37cc38813', 'tenant':
u'fb3af4173e8e42bca61dca2175ec3774', 'read_only': False, 'project_id':
u'fb3af4173e8e42bca61dca2175ec3774',
'user_id': u'e266d2b5fd004f71b6ffadb37cc38813', 'show_deleted': False,
'roles': [u'Member', u'anotherrole'], 'user_identity':
'e266d2b5fd004f71b6ffadb37cc38813 fb3af4173e8e42bca61dca2175ec3774 - -
-', 'tenant_id': u'fb3af4173e8e42bca61dca2175ec3774', 'request_id':
'req-d138271c-
1c4a-4d84-910c-b374add58393', 'user_domain': None, 'user_name': u'demo'} disallowed by policy
root@45-59:/opt/stack/devstack#
[Configration]
reproduceable bug, no need
[logs]
reproduceable bug, no need
[Root cause anlyze or debug inf]
reproduceable bug
[Attachment]
None
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1528487
Title:
messy info returned when create an external network under demo user
Status in neutron:
New
Bug description:
[Summary]
messy info returned when create an external network with demo user
[Topo]
devstack all-in-one
[Description and expect result]
return simple info when create an external network with demo user
just "disallowed by policy" is enough
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) login as demo user/tenant, try to create an external network:
root@45-59:/opt/stack/devstack# neutron net-create --provider:network_type vxlan --provider:segmentation_id 102 external-net
((rule:create_network and rule:create_network:provider:network_type) and rule:create_network:provider:segmentation_id) on {'router:external': False,
'availability_zone_hints': [], u'name': u'external-net',
'provider:physical_network': <object object at 0x7fa5a0b879a0>,
u'admin_state_up': True,
'tenant_id': u'fb3af4173e8e42bca61dca2175ec3774', 'segments': <object
object at 0x7fa5a0b879a0>, u'provider:network_type': u'vxlan',
'shared': False,
'port_security_enabled': True, u'provider:segmentation_id': 102} by
{'domain': None, 'project_name': u'demo', 'tenant_name': u'demo',
'project_domain': None,
'timestamp': '2015-12-22 17:10:55.974118', 'auth_token':
'49eb9cb3735749319eb799c17e2248cc', 'resource_uuid': None, 'is_admin':
False, 'user':
u'e266d2b5fd004f71b6ffadb37cc38813', 'tenant':
u'fb3af4173e8e42bca61dca2175ec3774', 'read_only': False, 'project_id':
u'fb3af4173e8e42bca61dca2175ec3774',
'user_id': u'e266d2b5fd004f71b6ffadb37cc38813', 'show_deleted': False,
'roles': [u'Member', u'anotherrole'], 'user_identity':
'e266d2b5fd004f71b6ffadb37cc38813 fb3af4173e8e42bca61dca2175ec3774 - -
-', 'tenant_id': u'fb3af4173e8e42bca61dca2175ec3774', 'request_id':
'req-d138271c-
1c4a-4d84-910c-b374add58393', 'user_domain': None, 'user_name': u'demo'} disallowed by policy
root@45-59:/opt/stack/devstack#
[Configration]
reproduceable bug, no need
[logs]
reproduceable bug, no need
[Root cause anlyze or debug inf]
reproduceable bug
[Attachment]
None
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1528487/+subscriptions
Follow ups