Pool choosing by iRule is wrong, when objects have been named same in different partitions.
Hello, I am wondering if someone encountered the problem of choosing a pool from partition B by iRule from partition A .
This is my description of reproduction
Description :
Pool choosing by iRule is wrong, when objects have been named same in different partitions.
Installed BigIP :
Choosen Instalation Image on Azure Cloud
"best200mbps": {
"offer": "f5-big-ip-best",
"sku": "f5-bigip-virtual-edition-200m-best-hourly"
},
Choosen BigIP Version : 15.1.2.1
Reproduction :
create partition : prep
create virtual : test-case-vs-443 ( dedicated ip for prep , snat:automap)
create pool : test-case-pool ( prep backend web serwer with 443 port)
create iriule : test-case-irule : when HTTP_REQUEST { pool test-case-pool } when LB_SELECTED { log local0.debug "vs : [virtual name] ; lb selected [LB::server]" }
create partition : fix
create virtual : test-case-vs-443 ( dedicated ip for fix , snat:automap)
create pool : test-case-pool ( fix backend web serwer with 443 port)
create iriule : test-case-irule : when HTTP_REQUEST { pool test-case-pool } when LB_SELECTED { log local0.debug "vs : [virtual name] ; lb selected [LB::server]" }
Testing :
- First shell consele
Fill the /etc/hosts with PREP VS IP and its name (test-case-prep)
while (true) ; do curl -k https://test-case-prep/ ; echo ""; sleep 2 ; done
- Second shell console
Login to f5 managemnt via ssh
tail -f /var/log/ltm | grep "LB_SELECTED"
Output :
May 5 16:56:06 f5-vm0 debug tmm3[4830]: Rule /prep/test-case-irule <LB_SELECTED>: vs : /prep/test-case-vs ; lb selected /fix/test-case-pool 10.11.99.99 443
May 5 16:56:08 f5-vm0 debug tmm3[4830]: Rule /prep/test-case-irule <LB_SELECTED>: vs : /prep/test-case-vs ; lb selected /fix/test-case-pool 10.11.99.99 443
May 5 16:56:15 f5-vm0 debug tmm2[4830]: Rule /prep/test-case-irule <LB_SELECTED>: vs : /prep/test-case-vs ; lb selected /prep/test-case-pool 10.11.88.77 443
May 5 17:03:17 f5-vm0 debug tmm3[4830]: Rule /prep/test-case-irule <LB_SELECTED>: vs : /prep/test-case-vs ; lb selected /prep/test-case-pool 10.11.88.77 443
Is there any explanation for that behavior ?
Why partition isolation is not working in this case ?