...
Document Version Release Date Details 4 06/10/2020 Updated Resolution with fix, Serviceguard A.11.20 patch PHSS_44821. 3 1/15/2020 Updated Resolution with information that patch fix (PHSS_44821) will be released for Serviceguard A.11.20 for HP-UX 11i v3 by end of April 2020. 2 11/08/2019 Updated Description with symptoms and additional details. In addition, updated Resolution. 1 09/06/2019 Original Document Release. In specifying filesystem attributes like "fs_mount_opt", "fs_umount_opt", "fs_fsck_opt" or "fs_type" for a Serviceguard modular package, an unmatched quote is not interpreted as expected by cmcheckconf(1M), allowing the erroneous attributes to be applied via cmapplyconf(1M). Subsequently, the package may exhibit different anomalies depending on which parameter(s) have the unmatched quotes and whether the latest Serviceguard patch PHSS_44778 has been installed. For example, consider the case in which a Serviceguard package is modified online to apply the attribute "fs_fsck_opt" as follows. Note the missing quote at the end: fs_fsck_opt "-s # cmcheckconf -P pkg1.conf On node node1, validation of package pkg1 succeeded as follows: /etc/cmcluster/scripts/mscripts/master_control_script.sh[150]: Syntax error at line 44 : `"' is not matched. On node node2, validation of package pkg1 succeeded as follows: /etc/cmcluster/scripts/mscripts/master_control_script.sh[150]: Syntax error at line 44 : `"' is not matched. cmcheckconf: Verification completed. No errors found. Use the cmapplyconf command to apply the configuration. Running cmcheckconf on the package configuration file will detect the unmatched quotes but the verification is still considered completed with no errors found. The last message even suggests using cmapplyconf to apply the configuration. It is very important that cmapplyconf should not be run at this state. Instead, the package configuration file should be edited to fix the unmatched quote. If cmapplyconf is indeed executed on the package configuration, it will again print the syntax error but the configuration is still applied unless you specify 'n' to the prompt asking for a confirmation to modify the package configuration, as shown below: # cmapplyconf -P pkg1.conf On node node1, validation of package pkg1 succeeded with: /etc/cmcluster/scripts/mscripts/master_control_script.sh[150]: Syntax error at line 44 : `"' is not matched. On node node2, validation of package pkg1 succeeded as follows: /etc/cmcluster/scripts/mscripts/master_control_script.sh[150]: Syntax error at line 44 : `"' is not matched. One or more of the specified packages are running. After command completion, check the following to ensure the configuration changes completed successfully: Any failures logged in syslog and package log files. Packages for which configuration changes failed will have online_modification_failed flag set to "yes" in cmviewcl -f line output Modify the package configuration ([y]/n)? <return> Completed the cluster update With PHSS_44778 installed , the package reconfiguration is considered complete despite the syntax error, as shown in the package log similar to the following: root @ node1 master_control_script.sh[16785]: ###### reconfiguring package pkg1 ###### /etc/cmcluster/scripts/sg/filesystem.sh[24]: Syntax error at line 45 : `"' is not matched. root @ node1 filesystem.sh[16811]: Unmounting filesystem on /dev/vgtest/lvol1 /etc/cmcluster/scripts/sg/volume_group.sh[23]: Syntax error at line 45 : `"' is not matched. root @ node1 master_control_script.sh[16785]: ###### Package reconfigure completed for pkg1 ###### The package still appears as running but the file system unmounted during the reconfiguration was not mounted back. Checking the package log for issues in the reconfiguration is required. The package can be halted at this stage. The missing quote should be corrected and the package configuration re-applied. Without PHSS_44778 installed , the package remains in reconfiguring state as shown below: Once in this reconfiguring state, rebooting the node may be required to resume the package because cmhaltpkg, cmhaltnode and cmhaltcl commands would not proceed due to the still reconfiguring package. Regardless if the node can be rebooted, AUTOSTART_CMCLD in /etc/rc.config.d/cmcluster should be disabled so the node will not automatically rejoin the cluster before the missing quote is corrected and package configuration re-applied. Note : Consult HPE Support for assistance to resume the package in this state. Click on the following URL to locate the HPE Customer Support phone number in your country: https://h20195.www2.hpe.com/v2/Getdocument.aspx?docname=A00039121ENW
Any HPE system running Serviceguard A.11.20 on HP-UX.
Ensure the modular package configuration does not have missing quotes. If syntax errors similar to the following are reported by cmcheckconf, do NOT proceed with cmapplyconf to update the package configuration. Syntax error at line XXX : `"' is not matched. Install Serviceguard A.11.20 patch PHSS_44778 (or later) to avoid a package remaining at reconfiguring state if this issue occurs. Serviceguard A.11.20 patch PHSS_44821 has been released to address the issue. WORKAROUND: The issue can be avoided by editing the file /etc/cmcluster/modules/sg/filesystem to improve the error checking for the concerned attributes. Below shows the steps for attribute "fs_fsck_opt". 1. Identify the following section in /etc/cmcluster/modules/sg/filesystem Note : The corrected /etc/cmcluster/modules/sg/filesystem should be propagated to all nodes in the cluster. attribute_name fs_fsck_opt iterations 1 type string default_value "" parent fs_name 2. Add two lines as follows: attribute_name fs_fsck_opt iterations 1 type string default_value "" legal_value //^[-,0-9A-Za-z][^"|']*[-,0-9A-Za-z]$// legal_value //^"[^"]*"$// parent fs_name Perform the above change for the sections of the attributes "fs_mount_opt", "fs_umount_opt" and "fs_type". Note : The file /etc/cmcluster/modules/sg/filesystem can be edited while the package is still running. The edited file needs to be distributed to all nodes in the cluster. IMPORTANT: The file /etc/cmcluster/modules/sg/filesystem is not designed to be edited. Changes made will be overwritten at subsequent Serviceguard product/patch installation. RECEIVE PROACTIVE UPDATES : Receive support alerts (such as Customer Advisories), as well as updates on drivers, software, firmware, and customer replaceable components, proactively via e-mail through HPE Subscriber's Choice. Sign up for Subscriber's Choice at the following URL: Proactive Updates Subscription Form. NAVIGATION TIP : For hints on navigating HPE.com to locate the latest drivers, patches, and other support software downloads for HPE systems and Options, refer to the Navigation Tips document . SEARCH TIP : For hints on locating similar documents on HPE.com, refer to the Search Tips Document . To search for additional advisories related to HP-UX, use the following search string: +Advisory +ProLiant -"Software and Drivers" +HP-UX