Skip to content

Tunnel name provisioned on BIG-IP by f5-oslbaasV1-agent can not exceed 64 Bytes #51

@G5unit

Description

@G5unit

Agent Version

f5-oslbaasv-agent version 2.0.1, downloaded from devcentral.f5.com .

Operating System

I was able to reproduce this in environments running Centos7 (& Ubuntu15.10 though I do not have logs to share from that platform right now). BIG-IP VE version ran is 12.0 .

OpenStack Release

Liberty

Description

When provisioning access to tenant networks on BIG-IP, F5 LBaasV1 agent creates a tunnel on BIG-IP. Name of this tunnel is composed of several things including "environment_prefix" variable set in f5-oslbaasv1-agent.ini file. There seems to be a limit on length of tunnel name being provisioned, limit of 64 bytes.
When "environment_prefix" in f5-lbaasv1-agent is set to environment_prefix = uuidCentos7 I got these errors:

2016-02-18 17:14:46.581 1222 WARNING f5.bigip.interfaces [-] attempting to normalize non basestring name. Argument: name: preserve_vlan_name val:True

2016-02-18 17:14:46.640 1222 ERROR f5.common.logger [-] VXLAN: {"code":400,"message":"01071529:3: The tunnel name (
/uuidCentos7_cb541714a86041d4b01bde3333141163/uuidCentos7_tunnel-vxlan-283) cannot be longer than 64 characters.","errorStack":[]}

2016-02-18 17:14:46.640 1222 ERROR f5.oslbaasv1agent.drivers.bigip.utils [-] sync request ed299419-f051-4d31-96aa-1f654da66bd2 FAILED

2016-02-18 17:14:46.641 1222 ERROR f5.oslbaasv1agent.drivers.bigip.agent_manager [-] Exception: {"code":400,"message":"01071529:3: The tunnel name (/uuidCentos7_cb541714a86041d4b01bde3333141163/uuidCentos7_tunnel-vxlan-283) cannot
be longer than 64 characters.","errorStack":[]}

Reducing the length of "environment_prefix" made things work.
environment_prefix = Cos7
This is probably just a partial workaround as tunnel name depends on other factors, not just "environment_prefix".

Deployment

Single OpenStack controller with one F5 agent managing single external BIG-IP. OpenStack uses a flat provider network for public access, and OVS VXLAN for overlay networking.

F5 lbaasv1 agent ini and log files zipped up:
f5-oslbaasv1-ent.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions