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

BIG-IP partitions with upppercase names generate error when creating IPAM resource : metadata.name: Invalid value #29

Open
tewfikm opened this issue May 11, 2021 · 1 comment
Labels
bug Something isn't working JIRA Added to JIRA board

Comments

@tewfikm
Copy link

tewfikm commented May 11, 2021

Setup Details

FIC Version : 0.1.2
CIS Version : 2.4
FIC Build: f5networks/f5-ipam-controller:latest
CIS Build: f5networks/k8s-bigip-ctlr:latest
BIGIP Version: Big IP 15.1
AS3 Version: 3.26
Orchestration: OSCP

Description

When you use BIG-IP partition with uppercase name (let's say "OCP"), FIC throws following error :

[ipam] error while creating IPAM custom resource. F5IPAM.fic.f5.com "ipam.truncated.mycompany.local.OCP" is invalid: metadata.name: Invalid value: "ipam.truncated.mycompany.local.OCP": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character

Steps To Reproduce

  1. use uppercase partition name
  2. create LB service type resource using IPAM

Expected Result

CIS or FIC should convert any BIG-IP partition name to lower case in order to comply with RFC 1123 rather that throwing an error.

Actual Result

FIC is throwing an error with invalid value

@tewfikm tewfikm added the bug Something isn't working label May 11, 2021
@tewfikm tewfikm changed the title BIG-IP partitions with Capital letter BIG-IP partitions with Capital letter generates an error when creating IPAM resource : metadata.name: Invalid value May 11, 2021
@tewfikm tewfikm changed the title BIG-IP partitions with Capital letter generates an error when creating IPAM resource : metadata.name: Invalid value BIG-IP partitions with upppercase names generate error when creating IPAM resource : metadata.name: Invalid value May 11, 2021
@trinaths trinaths added In Review PM Team reviewing the issue and removed bug Something isn't working labels May 11, 2021
@trinaths
Copy link
Collaborator

Created CONTCNTR-2668 for PM tracking

@trinaths trinaths added bug Something isn't working JIRA Added to JIRA board and removed In Review PM Team reviewing the issue labels May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working JIRA Added to JIRA board
Projects
None yet
Development

No branches or pull requests

2 participants