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?
- hoolio
Cirrostratus
Hi Mic, - Mic_108850
Altostratus
Hi Aaronrule 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, - Mic_108850
Altostratus
Yes this rule is used. - 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]
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!
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