Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update port fails with KeyError in case of ips update #97

Open
evgenyfedoruk opened this issue Jan 20, 2019 · 0 comments
Open

Update port fails with KeyError in case of ips update #97

evgenyfedoruk opened this issue Jan 20, 2019 · 0 comments

Comments

@evgenyfedoruk
Copy link

evgenyfedoruk commented Jan 20, 2019

When update port request comes with 'fixed_ips' attribute, meaning port ips are updated,
KeyError raised and request fails.

The issue is with the '_update_ips_for_port' function of NeutronPluginContrailCoreBase class in contrail_plugin_base module.
It accesses the cfg.CONF.max_fixed_ips_per_port parameter which no longer exists, since N release.
It should check the parameter existence first, like 'if hasattr(cfg.CONF, 'max_fixed_ips_per_port')'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant