AE-2036: After upgrade of AMP Enable prompt not coming
Review Request #994 — Created July 28, 2025 and submitted — Latest diff uploaded
| Information | |
|---|---|
| ngurunathan | |
| AMP | |
| amp_3_7_1 | |
| AE-2036 | |
| Reviewers | |
| apoorva.sn, mmiriam, pmurugaiyan | |
Made sure that successful or failed execution of avxapps_startup.sh script doesnt affect execution of backend service. Added logs for avxapps_startup service. As standardoutput flag doesnt support filepath in centos 7, just redirected to syslog with specified identifier.
Added restart on fail for backend.service. On detecting failure, it can restart once. Currently it cant restart more than once as the main process pid isnt tracked by systemd.
Tested locally
systemctl status startup
● startup.service - Array Management Platform Console Daemon
Loaded: loaded (/usr/lib/systemd/system/startup.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Mon 2025-07-28 23:00:53 CST; 14min ago
Process: 2395 ExecStart=/bin/bash -c /ca/bin/backend >> /var/log/avxapps_startup.log 2>&1 (code=exited, status=0/SUCCESS)
Main PID: 2395 (code=exited, status=0/SUCCESS)
