Forum Discussion
synchro issue between bot BIG-IP
when i start a synchro to peer i get this error:
Operation Status
Configsync Mode: Push
Transferring UCS to peer...
Installing UCS on peer...
OperationFailed exception:
Primary error : 16908289
Secondary error: 0
Error text : Error installing configuration
Obtaining results of remote configuration installation...
Saving active configuration...
Current configuration backed up to /var/local/ucs/cs_backup.ucs.
Product : BIG-IP
Version : 10.1.0
Hostname: UCS : am1.mydomain.org
System: am2.mydomain.org
Installing --shared-- configuration on host am2.mydomain.org
Installing configuration...
Post-processing...
BIGpipe parsing error (/config/bigip.conf Line 333):
012e0054:3: The braced list of attributes is not closed for 'rule'.
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/share/monitors/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /config/bigip.conf.
WARNING: There were one or more errors detected during installation.
Check the error messages and take the proper actions if needed.
ERROR: UCS installation failed.
Operation aborted.
/tmp/configsync.spec: Error installing package
Config install aborted.
BIGpipe parsing error:
01110001:3: Error running config install
Checking configuration on local system and peer system...
Peer's IP address: 10.10.10.3
Synchronizing Master Keys...
Saving active configuration...Could you help me?13 Replies
- hoolio
Cirrostratus
Hi Mic,
What's on line 333 of the bigip.conf? It looks like there is a syntax error in an iRule which starts on that line which is breaking the config sync. Can you post that full iRule text?
Aaron - Mic_108850
Altostratus
Hi Aaron
The line 333 in bigip.conf starts with that:rule iRule_ar { when HTTP_REQUEST { set ParsedURI [HTTP::uri] set ParamJsessionID [findstr $ParsedURI ";" 32] set ParamPageID [URI::query $ParsedURI "pageId"] set ParamReset [URI::query $ParsedURI "reset"] set ParamHLQuery [URI::query $ParsedURI "hlquery"] set ParamAction [URI::query $ParsedURI "action"] set ParamDARGS [URI::query $ParsedURI "_DARGS"] set ParmaAction [URI::query $ParsedURI "action"] set NewURI "" set ToCache 0 set Cas 0 set MyURI "" set MyPath [URI::query $ParsedURI "path"] set MyRedir "" - Cspillane_18296
Nimbostratus
Hello Mic,
if syncing is your biggest concern in this case I'd comment out () that iRule from the config file, then run 'b verify load'. If there's no error's then do 'b load' followed by another sync.
Of course, if this iRule is business critical it will remove it from the config (by commenting it out) so this may not be ideal for you. I assume the iRule is vaild? (try running it through the iRule editor). - Mic_108850
Altostratus
Yes this rule is used.
But when i check syntax of this rule through "F5 irule editor" i get a "success" message.. - smp_86112
Cirrostratus
I think you need to post the entire iRule instead of just the top. I agree with hoolio that there is a brace missing somewhere, but we won't be able to tell unless we see the entire thing.
- Mic_108850
Altostratus
this is the full irule from the GUI:when HTTP_REQUEST { set ParsedURI [HTTP::uri] set ParamJsessionID [findstr $ParsedURI ";" 32] set ParamPageID [URI::query $ParsedURI "pageId"] set ParamReset [URI::query $ParsedURI "reset"] set ParamHLQuery [URI::query $ParsedURI "hlquery"] set ParamAction [URI::query $ParsedURI "action"] set ParamDARGS [URI::query $ParsedURI "_DARGS"] set ParmaAction [URI::query $ParsedURI "action"] set NewURI "" set ToCache 0 set Cas 0 set MyURI "" set MyPath [URI::query $ParsedURI "path"] set MyRedir "" if { [HTTP::method] equals "GET" } { set ToCache 1 if { not ([findstr $ParsedURI "jsessionid"] eq "") } { set LeftNewURI [substr $ParsedURI 0 ";" ] set RightNewURI [findstr $ParsedURI "?"] set NoJsessionID [concat $LeftNewURI$RightNewURI] set NewURI $NoJsessionID if {$LeftNewURI eq "/portal/pi/html/search.jsp"} { set ToCache 0 set Cas 1 } if { [matchclass $::PageIDNoCache contains $ParamPageID]} { if {($ParamPageID eq "contacts") and ($ParmaAction eq "local")}{ set NewURI $ParsedURI } set ToCache 0 set Cas 2 } if { not([findstr $ParsedURI "redirect.jsp"] eq "") } { set MyRedir [string map -nocase {%3a : %3f ? %3d = %26 & %23 } $MyPath] set ToCache 0 set Cas 3 } if { $ToCache eq "1" } { CACHE::enable set ToCache "yes" } else { CACHE::disable set ToCache "no" } if {$MyRedir eq ""}{ log local0.info "-- Cas= $Cas -- Cache=$ToCache -- MyRedir=$MyRedir -- URI -- $NewURI" HTTP::uri $NewURI } else { log local0.info " -- MyRedir=$MyRedir -- Cas= $Cas -- Cache=$ToCache -- URI -- $NewURI" HTTP::redirect $MyRedir } } } } when HTTP_RESPONSE { set monType [HTTP::header "Content-Type"] if { [HTTP::header "Content-Type"] equals "text/a.wml" } { log local0.info " Content - $monType -- NO CACHE" CACHE::disable } else { log local0.info " Content -- $monType -- CACHE" } } - smp_86112
Cirrostratus
When I first looked at this, I thought you were missing a brace to close the HTTP_REQUEST event. But I think the problem is with this statement:
set MyRedir [string map -nocase {%3a : %3f ? %3d = %26 & %23 } $MyPath]
The comment character "" sits before the closing brace. However when iRules are processed, something funky happens when both comment characters and braces are contained on the same line. I ran into this recently myself, though it does not correlate directly to your issue:
http://devcentral.f5.com/Forums/tabid/1082223/asg/50/showtab/groupforums/afv/topic/aff/5/aft/1172116/Default.aspx
Try removing that comment character.Also, I think I've had cases where the iRule editor has accepted code that was not accepted by the admin GUI. I tend to trust editing iRules in the admin GUI more than the editor.
- Mic_108850
Altostratus
When i add one more brace i get a red point on iruel editor:else { log local0.info " -- MyRedir=$MyRedir -- Cas= $Cas -- Cache=$ToCache -- URI -- $NewURI" HTTP::redirect $MyRedir } } } } } when HTTP_RESPONSE { set monType [HTTP::header "Content-Type"] if { [HTTP::header "Content-Type"] equals "text/a.wml" } { log local0.info " Content - $monType -- NO CACHE" CACHE::disable } else { log local0.info " Content -- $monType -- CACHE" } } - smp_86112
Cirrostratus
Sorry, I just edited my inital post. - Mic_108850
Altostratus
Indeed!
(9) Comments If a hash character () appears at a point where Tcl is expecting the first character of the first word of a command, then the hash character and the characters that follow it, up through the next newline, are treated as a comment and ignored. The comment character only has significance when it appears at the beginning of a command.
So do you think no solution right now?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
