On icehouse, Updating shared attribute of a VN in a custom tenant is not working

Bug #1377396 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Invalid
High
Atul Moghe
Trunk
Invalid
High
Atul Moghe

Bug Description

R1.10 Build 45 running ubuntu Icehouse build

In a custom project, updating shared attribute on a VN is not working
On admin tenant, it works fine.

root@nodei34:~# source u1rc
root@nodei34:~# neutron net-create public_vn
Created a new network:
+-------------------------+--------------------------------------+
| Field | Value |
+-------------------------+--------------------------------------+
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | public |
| | public_vn |
| contrail:instance_count | 0 |
| id | 73bb00b0-26de-4799-b48a-183f6331c056 |
| name | public_vn |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 518b373d75a246d485c26d258a49f090 |
+-------------------------+--------------------------------------+
root@nodei34:~# neutron subnet-create public_vn 10.204.219.200/29
Created a new subnet:
+------------------+------------------------------------------------------+
| Field | Value |
+------------------+------------------------------------------------------+
| allocation_pools | {"start": "10.204.219.202", "end": "10.204.219.206"} |
| cidr | 10.204.219.200/29 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.204.219.201 |
| host_routes | |
| id | 128dd1b6-d3f1-471d-b969-f374d8e88478 |
| ip_version | 4 |
| name | |
| network_id | 73bb00b0-26de-4799-b48a-183f6331c056 |
| tenant_id | 518b373d75a246d485c26d258a49f090 |
+------------------+------------------------------------------------------+
root@nodei34:~# neutron net-update public_vn --router:external true --shared true <<<<<<<<<
The resource could not be found. <<<<<<<<<<<
root@nodei34:~#

root@nodei34:~# cat u1rc
export OS_USERNAME=u1
export OS_PASSWORD=u1
export OS_TENANT_NAME=public
export OS_AUTH_URL=http://10.204.217.149:5000/v2.0/
export OS_NO_CACHE=1
root@nodei34:~#

neutron/server.log:
==================
2014-10-04 00:51:12.486 ERROR [neutron.api.v2.resource] update failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 87, in resource
    result = method(request=request, **args)
  File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 499, in update
    raise webob.exc.HTTPNotFound(msg)
HTTPNotFound: The resource could not be found.

Revision history for this message
Ashish Ranjan (aranjan-n) wrote :

As discussed today, Vedu to verify if this is the behavior on devstack.

Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

On icehouse, update of shared attribute by non-admin is disabled with

https://review.openstack.org/#/c/69095/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.