Forum Discussion
Cannot assign iRule to virtual server outside of iApp scope
Hi,
here is my scenario:
I have created a fast_http vs which is to run an iRule to re-direct https traffic other virtual servers based on URI segments.
I have created the fast_http vs and have created the sub-VS via iApps.
I have reference the iApps created VS in the iRule - all good, but when I apply the iRule to the fast_http VS I get the following error:
01070151:3: Rule [/Common/********* ] error: Unable to find virtual_server ******* referenced at line 7.
Why would this be?
Can items during iApp creation be accessed by other VS outside of the iApp scope?
I have amended the iRule and change it to another non-iApp VS and that works fine.
Thanks
If you created the sub-vs first (with or without an iapp), then created the fast_http vs, then created and attached the irule, I don't see a problem. Perhaps you did not properly specify the name of the iapp-created vs--it will be in the iapp folder (e.g. /Common/my_iapp.app/), not in /Common. By the way, why not build the whole application inside the iapp?
- Fred_Slater_856Historic F5 Account
If you created the sub-vs first (with or without an iapp), then created the fast_http vs, then created and attached the irule, I don't see a problem. Perhaps you did not properly specify the name of the iapp-created vs--it will be in the iapp folder (e.g. /Common/my_iapp.app/), not in /Common. By the way, why not build the whole application inside the iapp?
- AndyC_128552Nimbostratus
Thanks Fred - spot on!
I needed to fully qualify the Virtual Server name that was created by the iApp process. This could be found by looking at the iApp in question in the Application Service List and taking the value from the Partition/Path column, append VS name to this.
Cheers!
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