ha/service-mgmt/sm-db/database
Victor Romano b3c3c5a71e Increase SM rabbit enable timeout
On DC with central cloud as standard, sometimes occurs
that RabbitMQ doesn't start properly and keeps restarting
by sm. Part of the solution is increasing the startup time from
60 to 90, so the sm doesn't restart the service before
the service is being initialized. This, alongside [1],
fixes the problem.

Test Plan:
PASS - Run sm-restart service rabbit successfully check rabbit was
  running as expected. This test was used to recreate the bug.
PASS - Reboot the host successfully and check rabbit was running as
  expected.
PASS - Lock/unlock and check if rabbit was running as expected.

Regression test:
PASS - Install and bootstrap DC
PASS - Install and bootstrap DX

[1]
https://review.opendev.org/c/starlingx/config-files/+/865693

Closes-bug: 1997966

Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>
Change-Id: I1425324c72ae41c66558709dead6f1ff92a3230a
2022-12-01 13:45:46 +00:00
..
Makefile Remove version from sm-db folder 2019-09-26 14:08:15 -05:00
README Remove version from sm-db folder 2019-09-26 14:08:15 -05:00
create_sm_db.sql Increase SM rabbit enable timeout 2022-12-01 13:45:46 +00:00
create_sm_hb_db.sql Remove version from sm-db folder 2019-09-26 14:08:15 -05:00
sm-patch.sql Remove version from sm-db folder 2019-09-26 14:08:15 -05:00

README

The SM database is generated by the corresponding SQL scripts:
create_sm_db.sql -> sm.db
create_sm_hb_db.sql -> sm.db.hb

Instructions:
1. Update the corresponding SQL script i.e, create_sm_db.sql or create_sm_hb_db.sql:
    Add proper SQL statement(s) (insert, update, delete) to the sql file.