Andre Fernando Zanella Kantek f7a729995c Add sleep between sysinv-agent attempts to mount /opt/platform
During the boot process, most notably in IPv6 installations,
sysinv-agent is failing to mount /opt/platform/sysinv/${SW_VERSION}
to /mnt/sysinv during the 3 attempts done. This is starting the
agent with default values, making the process stuck trying to connect
to rabbitmq in localhost:5672 instead of controller-0:5672,
preventing the correct node installation from controller-0.

This change introduces a 1s sleep between attempts, with tests
indicating that the 2nd attempt is usually successful.

It is also adding a explicitly dependency with remote-fs.target, it
did not took effect on the first reboot after install (the loop was
responsible to copy config file). But on subsequent lock/unlock it
did not executed the mount as /opt/platform was available (this was
not happenning without the dependency).

Test Plan:
[PASS] install an AIO-DX with 3 compute nodes in IPv6 network

Story: 2010211
Task: 46348

Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com>
Change-Id: Idab6b1887f38283ea8e0e05923a0ae4265c2e877
2022-09-20 10:36:48 -04:00
..