Bug ID 753892: BIG-IQ UCS backup fails in Microsoft Azure deployments

Last Modified: Nov 07, 2022

Bug Tracker

Affected Product:  See more info
BIG-IQ Platform(all modules)

Known Affected Versions:
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, 7.1.0.3, 7.1.6, 7.1.6.1, 7.1.7, 7.1.7.1, 7.1.7.2, 7.1.8, 7.1.8.1, 7.1.8.2, 7.1.8.3, 7.1.8.4, 7.1.8.5, 7.1.9, 7.1.9.7, 7.1.9.8, 7.1.9.9

Opened: Dec 21, 2018
Severity: 3-Major

Symptoms

Attempting to create a UCS backup on a BIG-IQ deployed in Microsoft Azure results in a failure. The operation fails with an error message: Operation aborted. /var/tmp/configsync.spec: Error creating package.

Impact

The operation fails. BIG-IQ administrators are not able to create a UCS backup.

Conditions

- BIG-IQ is deployed and running in Microsoft Azure. - BIG-IQ administrator uses the BIG-IQ interactive shell (SSH/TMSH) to create a UCS backup, e.g., by running the command: tmsh save sys ucs bigiq

Workaround

This workaround is based on a patch applied by a custom script. 1) Using a text editor, create a file named /var/tmp/id753892-workaround.sh 2) Add the following content to the file: #!/bin/bash IM_FILE=/usr/local/bin/im if [ ! -f ${IM_FILE}.bak ]; then VOL_USR=$(mount | awk '/ \/usr / { print $1 }') if [[ -z "$VOL_USR" || $? -ne 0 ]]; then echo "Could not get /usr partition" exit 1 fi mount -o rw,remount ${VOL_USR} /usr cp ${IM_FILE} ${IM_FILE}.bak chmod -x ${IM_FILE}.bak sed -i '/$filepath =~ s/d' ${IM_FILE} mount -o ro,remount ${VOL_USR} /usr echo "Done." else echo "Patch has been applied already" exit 1 fi 3) Save the file and execute the command: /var/tmp/id753892-workaround.sh

Fix Information

None

Behavior Change