PowerFlex 4.X- Add Existing Resource Group Job Failed Post install is not complete
Summary: When attempting to add an existing resource group, the job fails with the error "Post install is not complete"
Symptoms
deployment.log from the job in the Thin-Deployer pod or a log bundle may show the following error:
INFO [2023-11-16T00:49:21.799166] 5172: util.rb:706:in `block in block_and_retry_until_ready': rackserver-xxxxx3: Caught exception RuntimeError: Post install is not complete INFO [2023-11-16T00:49:22.316340] 5184: util.rb:706:in `block in block_and_retry_until_ready': rackserver-xxxxx4: Caught exception RuntimeError: Post install is not complete ...
Impact
Unable to add the existing resource group to PFxM.
Cause
The PFxM system establishes a connection with the PowerFlex backend servers and verifies the configuration files in the servers' /etc/rc.d/ directory. PFxM anticipates the absence of the line "bash /root/post_install.sh" in the /etc/rc.d/rc.local file. If this line is present, PFxM encounters a failure in adding the existing resource group in PFxM.
The intended functionality of PFxM is to automatically remove this entry after the initial operating system installation and in this case, it was not.
Resolution
Manually remove the line bash /root/post_install.sh from each of the PowerFlex backend servers.
1-SSH to one of the PowerFlex backend servers
2- Modify the file with vi:
vi /etc/rc.d/rc.local |
3- If the line "bash /root/post_install.sh" exists, remove it (do not just comment it out)
4- Save and quit.
5- Repeat steps 1-4 on all PowerFlex backend servers.
6- Attempt to add the existing resource group.
Impacted Versions
PowerFlex Manager 4.x
Fixed In Version
PowerFlex Manager 4.6