Giter Site home page Giter Site logo

nuage-openstack-neutron's Introduction

nuage-openstack-neutron's People

Contributors

arnagaram avatar brncoguz avatar gridinv avatar krissterckx avatar ronakmshah avatar sailajay avatar sjabasti avatar sunny-verma avatar t-town avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nuage-openstack-neutron's Issues

Potential "list index out of range" in case no IP is assigned

subnet_id = port['fixed_ips'][0]['subnet_id']

2020-05-27 17:38:24.178 54 CRITICAL nuage_neutron.plugins.sriov.trunk_driver [req-d143dc8f-25cf-4940-b0f3-3e631287047f 1885d187645f46c38f5cec0078052ea1 83b31028592b48169af26bc7f6820baa - default default] list index out of range: IndexError: list index out of range
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver Traceback (most recent call last):
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver File "/usr/lib/python2.7/site-packages/nuage_neutron/plugins/sriov/trunk_driver.py", line 375, in trunk_event
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver self.trunk_pre_create(payload.context, payload.current_trunk)
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver File "/usr/lib/python2.7/site-packages/nuage_neutron/plugins/sriov/trunk_driver.py", line 352, in trunk_pre_create
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver self.subports_pre_create(context, trunk, trunk.sub_ports)
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver File "/usr/lib/python2.7/site-packages/nuage_neutron/plugins/sriov/trunk_driver.py", line 345, in subports_pre_create
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver trunk_subports = self._validate_subports_vlan(context, trunk)
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver File "/usr/lib/python2.7/site-packages/nuage_neutron/plugins/sriov/trunk_driver.py", line 173, in _validate_subports_vlan
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver subnet_id = port['fixed_ips'][0]['subnet_id']
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver IndexError: list index out of range
2020-05-27 17:38:24.178 54 ERROR nuage_neutron.plugins.sriov.trunk_driver

Plugin should throw error when user tries to assign subport to VM

A trunk consists of a parent port and sub-ports; the user is supposed to bind the VM to the parent port.
When both a trunk port and one of its sub-ports ( device_owner: trunk:subport ) are connected to a VM, libvirt fails due to allocating the same VF / PCI ID twice.

The trunk driver should be able to detect this user error, and abort the flow with a clear error

Stack overcloud CREATE_FAIED - Deployment failed: Heat Stack create failed.

dump log by issue the the following command:
opensteack software deployment output show --all --long
Found OSError...
Jun 24 00:37:45 overcloud-controller-0.localdomain os-collect-config[4863]: Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: OSError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/nuage_neutron/db/migration/alembic_migrations/versions'

Jun 24 00:37:45 overcloud-controller-0.localdomain os-collect-config[4863]: Error: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]: Failed to call refresh: neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head returned 1 instead of one of [0]
Jun 24 00:37:45 overcloud-controller-0.localdomain os-collect-config[4863]: Error: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]: neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head returned 1 instead of one of [0]

openstack nuage switchport mapping uses user port name instead of physical port name

The 'port-id' parameter in openstack nuage switchport mapping create must be set to the user defined name of the port, instead of the immutable physical port name which appears in LLDP messages

See e.g.


and

This blocks users from renaming ports, as the topology discovery will no longer work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.