Impossibility to create any stack that includes router while using Nuage SDN

Solution Verified - Updated -

Issue

  • All the stack creation are failing with the CREATE_FAILED status on the OS::Neutron::RouterInterface resource. Tried with the HEAT examples from link but the same results.
$ heat stack-create -f servers_in_new_neutron_net.yaml --parameters "key_name=cmorandin;image=Centos7;flavor=m1.medium;public_net=external1;private_net_name=toto;private_net_cidr=192.168.1.0/24;private_net_gateway=192.168.1.1;private_net_pool_start=192.168.1.5;private_net_pool_end=192.168.1.250" upstream01

+---------------------+--------------------------------------+------------------------------+-----------------+---------------------+------------+
| resource_name       | physical_resource_id                 | resource_type                | resource_status | updated_time        | stack_name |
+---------------------+--------------------------------------+------------------------------+-----------------+---------------------+------------+
| private_net         | f5cfe086-16e5-4df5-ae59-ad9e4ee4b3dd | OS::Neutron::Net             | CREATE_COMPLETE | 2016-08-13T14:31:36 | upstream01 |
| private_subnet      | 160c0a43-d216-4916-9f6b-0684cd562601 | OS::Neutron::Subnet          | CREATE_COMPLETE | 2016-08-13T14:31:36 | upstream01 |
| router              | 6135b395-04a1-41ce-8649-b9ba3984c3a8 | OS::Neutron::Router          | CREATE_COMPLETE | 2016-08-13T14:31:36 | upstream01 |
| router_interface    |                                      | OS::Neutron::RouterInterface | CREATE_FAILED   | 2016-08-13T14:31:36 | upstream01 |
| server1             |                                      | OS::Nova::Server             | INIT_COMPLETE   | 2016-08-13T14:31:36 | upstream01 |
| server1_floating_ip |                                      | OS::Neutron::FloatingIP      | INIT_COMPLETE   | 2016-08-13T14:31:36 | upstream01 |
| server1_port        | d3437039-d4e1-4ed7-9d1c-cc27865707df | OS::Neutron::Port            | CREATE_COMPLETE | 2016-08-13T14:31:36 | upstream01 |
| server2             |                                      | OS::Nova::Server             | INIT_COMPLETE   | 2016-08-13T14:31:36 | upstream01 |
| server2_floating_ip |                                      | OS::Neutron::FloatingIP      | INIT_COMPLETE   | 2016-08-13T14:31:36 | upstream01 |
| server2_port        | b98dd51e-9e67-469f-9cfe-601a90a3520c | OS::Neutron::Port            | CREATE_COMPLETE | 2016-08-13T14:31:36 | upstream01 |
+---------------------+--------------------------------------+------------------------------+-----------------+---------------------+------------+
  • Why heat stack creation is getting failed while trying to attach router interface when using Nuage SDN, same issue is not seen while using Openvswitch as mechanism driver ?
  • Heat stack creation got failed with following error in /var/log/heat/heat-engine.log log file.
2016-08-14 20:59:37.538 16785 DEBUG neutronclient.v2_0.client [-] Error message: {"NeutronError": {"message": "Subnet 19d8f835-1190-4950-8b01-756f33fdf4be has one or more nuage VPORTS Router-IF add not permitted", "type": "RtrItfAddSubnetHasVports", "detail": ""}} _handle_fault_response /usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py:176
2016-08-14 20:59:37.539 16785 INFO heat.engine.resource [-] CREATE: RouterInterface "router_interface" Stack "upstream01" [48292dad-adb4-4817-8407-08b3983bfd6e]
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource Traceback (most recent call last):
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 638, in _action_recorder
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     yield
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 708, in _do_action
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     yield self.action_handler_task(action, args=handler_args)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/scheduler.py", line 292, in wrapper
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     step = next(subtask)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 679, in action_handler_task
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     handler_data = handler(*args)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/openstack/neutron/router.py", line 390, in handle_create
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     {key: value})
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 102, in with_params
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     ret = self.function(instance, *args, **kwargs)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 706, in add_interface_router
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     body=body)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 302, in put
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     headers=headers, params=params)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 270, in retry_request
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     headers=headers, params=params)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 211, in do_request
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     self._handle_fault_response(status_code, replybody)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     exception_handler_v20(status_code, des_error_body)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 70, in exception_handler_v20
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource     status_code=status_code)
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource BadRequest: Subnet 19d8f835-1190-4950-8b01-756f33fdf4be has one or more nuage VPORTS Router-IF add not permitted
2016-08-14 20:59:37.539 16785 ERROR heat.engine.resource 

2016-08-14 20:59:39.083 16785 INFO heat.engine.service [-] Stack create failed, status FAILED
2016-08-14 20:59:39.102 16785 INFO heat.engine.stack [-] Stack CREATE FAILED (upstream01): Resource CREATE failed: BadRequest: resources.router_interface: Subnet 19d8f835-1190-4950-8b01-756f33fdf4be has one or more nuage VPORTS Router-IF add not permitted

Environment

  • Red Hat OpenStack Platform 8.0
  • Nuage SDN

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In