Forum Discussion
BIG-IP : create data-group fails with format error
f5 BIG-IP LTM VE v11.4.0 on ESXi
I am attempting to create a new data-group :
Type = "(External File)"
File Contents = "String"
Key/Value Pair Separator = ":="
My external data-file 'test.txt' :
"test-1" := "test-1",
"test-2" := "test-2",
What is strange is that I've previously successfully loaded data in exactly this format.
However, now I receive this error :
0107169a:3: The data group external file (/config/filestore/.stage_d/107479_d/Common_d/data_group_d/:Common:test_57194_1) has an invalid format, line: 2.
I've tried removing the final comma on line 2 :
"test-1" := "test-1",
"test-2" := "test-2"
but receive the same error.
With a single row :
"test-1" := "test-1",
the data loads with no error.
- Kevin_StewartEmployee
Most likely some funky hidden characters in the string. See this article for more details:
https://devcentral.f5.com/articles/v11-irules-data-group-updates
- Kevin_StewartEmployee
Curious. What happens if you perform the steps under Create a New External Datagroup from the CLI Non-Interactively, creating and importing the data group directly from the command line?
- Greg_Chew_31149Historic F5 Account
LF vs CRLF was ths issue
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com