Tempest Rhel7: Add extra route to router

Bug #1509165 reported by Nagendra Prasath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
High
Ashish Ranjan

Bug Description

Seen in R2.20 Rhel7/Rhosp6 builds.

Openstack seems to support adding an extra route to the router via "neutron router-update" command however when tried
results in below error. Please see the request body in below log

2015-10-22 19:42:48.378 DEBUG [keystonemiddleware.auth_token] Removing headers from request environment: X-Service-Catalog,X-Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant
2015-10-22 19:42:48.378 DEBUG [keystonemiddleware.auth_token] Authenticating user token
2015-10-22 19:42:48.379 DEBUG [keystonemiddleware.auth_token] Returning cached token
2015-10-22 19:42:48.379 DEBUG [keystonemiddleware.auth_token] Authenticating service token
2015-10-22 19:42:48.379 DEBUG [keystonemiddleware.auth_token] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles None
2015-10-22 19:42:48.380 DEBUG [routes.middleware] Matched PUT /routers/c262014e-8975-4e82-b08c-08085d9891ce
2015-10-22 19:42:48.380 DEBUG [routes.middleware] Route path: '/routers/:(id)', defaults: {'action': u'update', 'controller': <wsgify at 84389136 wrapping <function resource at 0x50795f0>>}
2015-10-22 19:42:48.380 DEBUG [routes.middleware] Match dict: {'action': u'update', 'controller': <wsgify at 84389136 wrapping <function resource at 0x50795f0>>, 'id': u'c262014e-8975-4e82-b08c-08085d9891ce'}
2015-10-22 19:42:48.389 DEBUG [neutron.api.v2.base] Request body: {u'router': {u'routes': [{u'destination': u'10.100.0.0/28', u'nexthop': u'10.100.0.2'}]}}
2015-10-22 19:42:48.389 ERROR [neutron.api.v2.resource] update failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 87, in resource
    result = method(request=request, **args)
  File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 501, in update
    allow_bulk=self._allow_bulk)
  File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 603, in prepare_request_body
    Controller._verify_attributes(res_dict, attr_info)
  File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 650, in _verify_attributes
    raise webob.exc.HTTPBadRequest(msg)
HTTPBadRequest: Unrecognized attribute(s) 'routes'
2015-10-22 19:42:48.390 INFO [neutron.wsgi] 10.84.5.192,10.84.24.8 - - [22/Oct/2015 19:42:48] "PUT /v2.0/routers/c262014e-8975-4e82-b08c-08085d9891ce HTTP/1.1" 400 325 0.012609

description: updated
Revision history for this message
Nagendra Prasath (npchandran) wrote :

 Update from Dev Team. Not a supported feature at this point of time.

information type: Proprietary → Public
tags: added: rhosp-tempest
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.