rbac:R3.0-60-router-gateway set created service instance with admin as owner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Won't Fix
|
High
|
Deepinder Setia | ||
R3.0 |
Won't Fix
|
High
|
Deepinder Setia | ||
R3.1 |
Won't Fix
|
High
|
Deepinder Setia | ||
R3.2 |
Won't Fix
|
High
|
Deepinder Setia | ||
Trunk |
Won't Fix
|
High
|
Deepinder Setia |
Bug Description
router-gateway set as part of snat test, service instance created, but perms2 owner as admin
steps:
======
Create the public network and set the router external flag.
1. neutron net-create public
2. neutron subnet-create public 172.21.1.0/24
3. neutron net-update public -- --router:
Create the test network.
neutron net-create test
neutron subnet-create --name test-subnet test 10.1.1.0/24
Create the router with one interface in test.
neutron router-create r1
neutron router-
Set the external gateway for the router.
neutron router-gateway-set r1 public === > this should create Service instance
{
"service-
"virtual_
{
"to": [
],
"href": "http://
"attr": null,
"uuid": "e98ba8ea-
},
{
"to": [
],
"href": "http://
"attr": null,
"uuid": "f13118b6-
}
],
"fq_name": [
"
"tenant2",
"
],
"uuid": "9e94e9ad-
"parent_type": "project",
"parent_uuid": "fb053a0a-
"parent_href": "http://
"service_
"
"
"
"
"
"ha_mode": "active-standby",
"
"
{
},
{
}
],
"
"
"scale_out": {
"auto_scale": true,
}
},
"perms2": {
"owner": "79031e0d5f244d
"
"
"share": []
},
"href": "http://
"id_perms": {
"enable": true,
"uuid": {
},
"created": "2016-09-
"
"creator": null,
"
"
"
"owner": "admin",
"group": "admin",
}
},
"logical_
{
"to": [
"r1"
],
"href": "http://
"attr": null,
"uuid": "199517ce-
}
],
"display_name": "snat_199517ce-
"service_
{
"to": [
],
"href": "http://
"attr": null,
"uuid": "d65dcdd4-
api-log
======
INFO:contrail-
DEBUG:contrail-
DEBUG:contrail-
DEBUG:contrail-
DEBUG:contrail-
DEBUG:contrail-
DEBUG:contrail-
DEBUG:contrail-
DEBUG:contrail-
DEBUG:contrail-
192.168.10.4 - - [2016-09-15 15:22:25] "GET /service-
DEBUG:contrail-
WARNING:
INFO:contrail-
+------
| id | name | enabled |
+------
| 79031e0d5f244d2
| 61eed427caac4e5
| af776f7724f44f1
| a087feb7f264459
| 30b5234db1e54fe
| e5cf8013b699432
| 5ea6c2044d9c475
| 3ef3ed0645094fa
| 05908de1f215476
| fb053a0a7ee04e3
| 1a6fb078cd1d4f1
+------
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
status: | New → Won't Fix |
Release note that service instance automatically created by system on behalf of a user will not be visible in UI.