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

device_id exception raised when creating Neutron network port (v10.3, HPB) #930

Open
jlongstaf opened this issue Jun 5, 2018 · 0 comments
Assignees
Labels

Comments

@jlongstaf
Copy link
Contributor

Version 10.3 (and 10.2) can fail to create a Neutron network port when deployed in a hierarchical port binding (HPB) configuration. The failure will not allow an agent to create a Neutron LBaaS loadbalancer. The error is caused by failure of the driver to set a device_id in the port data passed to Neutron.

@jlongstaf jlongstaf self-assigned this Jun 5, 2018
jlongstaf added a commit to jlongstaf/f5-openstack-lbaasv2-driver that referenced this issue Jun 5, 2018
… HPB)

Issues:
Fixes F5Networks#930

Problem: create_port_on_network() fails to set a device_id in
port data unless one is passed into the function. Because the
agent calls this method without a device_id it will always
fail.

Analysis: Code was recently changed so that the passed in device_id
is always used, but failed to account for situations when device_id
is not given. Added additional code to set device_id to a uuid ID
when no device_id is given.

Tests:
jlongstaf added a commit to jlongstaf/f5-openstack-lbaasv2-driver that referenced this issue Jun 5, 2018
… HPB)

Issues:
Fixes F5Networks#930

Problem: create_port_on_network() fails to set a device_id in
port data unless one is passed into the function. Because the
agent calls this method without a device_id it will always
fail.

Analysis: Code was recently changed so that the passed in device_id
is always used, but failed to account for situations when device_id
is not given. Added additional code to set device_id to a uuid ID
when no device_id is given.

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

No branches or pull requests

1 participant