Bug ID 886657: Touch /service/mcpd/forceload causes base-config load failure on next boot if local users are configured

Last Modified: Nov 07, 2022

Affected Product(s):
BIG-IQ Platform(all modules)

Known Affected Versions:
5.4.0, 5.4.0 HF1, 5.4.0 HF2, 6.0.1, 6.0.1.1, 6.0.1.2, 6.1.0, 7.0.0, 7.0.0.1, 7.0.0.2, 7.1.0, 7.1.0.1, 7.1.0.2

Fixed In:
7.1.0.3

Opened: Mar 02, 2020

Severity: 4-Minor

Symptoms

After a reboot, mcp-state indicates the base-config-load-failed: # tmsh show sys mcp-state ------------------------------------------------------- Sys::mcpd State: ------------------------------------------------------- Running Phase platform Last Configuration Load Status base-config-load-failed

Impact

BIG-IQ inoperative after reboot.

Conditions

All the following conditions are met: - Additional local users have been added to the configuration. - "touch /service/mcpd/forceload" - The BIG-IQ has been rebooted after the forceload

Workaround

This will need to be done for each local user that has been added to the BIG-IQ system set variable with username: --------------------------- USER=<username> Run the following commands to modify database: ---------------------------------------------- * some of these commands may receive errors psql -U postgres -d tmdb -c "DELETE FROM auth_user WHERE name='$USER';" psql -U postgres -d tmdb -c "DROP OWNED BY \"$USER\";" psql -U postgres -d tmdb -c "DROP ROLE \"$USER\";" psql -U postgres -d tmdb -c "DROP SCHEMA \"$USER\" CASCADE;" Force mcpd reload on next boot: ------------------------------- touch /service/mcpd/forceload Reboot: ------ reboot

Fix Information

This is fixed in BIG-IQ 8.0 and 7.1.0.3.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips