Forum Discussion
Data Group (Class) unavailable during updates, causing errors
The log indicates that the iRule can't find the value associated with the string it's looking for.
Judging by my observations and the Audit log, the process is as follows (when the user updates the class):
iRule Editor:
1) Entire Class is deleted
2) Class is rebuilt line by line
Web-based GUI:
1) Class entries are replaced one-by-one
Either way, it seems that for a brief period of time the class becomes unavailable. The particular class has only 2 entries so the duration of the unavailability is minimal, but given the number of requests per second the log reflects numerous errors.
It would seem that the duration would increase if the Class contained more items.
Is this a known problem? Is there a solution or workaround?
I realize that I could verify in the iRule whether the class exists, but the entries in the class are essential to the app routing decisions that need to be made and cannot be assumed.
- hooleylistCirrostratusHi Arie,
- ArieAltostratusThat's not good. I suppose I could implement "class exists" in a loop and break out only if the class truly exists as a very ugly workaround...
- hooleylistCirrostratusHi Arie,
- ArieAltostratusI guess there are essentially two conditions that can cause problems during an update to a class:
1)
The entire class doesn't exist anymore (which happens when the iRule editor is used to update a class).
2)
The class exists but it doesn't yet contain all the values.
Perhaps I should add a control-value to the verification loop and check for its existence also. Based on my observations the list is generally populated in alphabetical order, so an item with a lot of Xs might do the trick. That would still leave the newly edited/added values as they are added last, but at least it'll minimize the problem.
Hopefully F5 will come up with a fix soon...
BTW, any idea whether using the CLI to update a class would make a difference?
- ArieAltostratusAnother idea to work around the issue: how about loading the Class into a Table?
What would the performance penalty be?
- hooleylistCirrostratusThere's a related bug noted in BZ381100. If you've been affected by this, could you open a case with F5 Support and ask to have your case attached to raise the visibility of the issue?
- ShirazAltostratus
Dears,
Any Idea whether Bug 222648 or BZ381100 has been fixed yet or not?
Regards,
Mohammed Shiraz
- ShirazAltostratus
Dears,
Any Idea whether Bug 222648 or BZ381100 has been fixed yet or not?
Regards,
Mohammed Shiraz
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