Guilherme Costa 788991a76d Adding semantic check on platform-integ-apps reapply operation
The reapply operation needs to do the same checks done on the apply
operation. These checks prevent reapplying the application on
some ceph or system scenarios.

Moreover, on the method pre_auto_apply_check, it is possible that
conductor_object._ceph (CephOperator) is not initialized yet, and trying
to access its methods will raise an AttributeError exception. As this is
a possible scenario, this case is now tested, and a
LifecycleSemanticCheckException is raised.

Test Plan:

    PASS: (AIO-DX) Check that platform-integ-apps is on uploaded state
    PASS: (AIO-DX) Unmanage ceph-mon
    PASS: (AIO-DX) Stop ceph-mon service
    PASS: (AIO-DX) Restart sysinv-conductor service
    PASS: (AIO-DX) Check on sysinv logs that the new Exception is
          being logged and the platform-integ-apps still trying to
          be applied
    PASS: (AIO-DX) Manage ceph-mon
    PASS: (AIO-DX) Start ceph-mon service
    PASS: (AIO-DX) After the Ceph cluster has become responsive,
          check that platform-integ-apps is being successfully
          applied.

    PASS: (AIO-DX) Check that platform-integ-apps is on applied state
    PASS: (AIO-DX) Unmanage ceph-mon
    PASS: (AIO-DX) Stop ceph-mon service
    PASS: (AIO-DX) Restart sysinv-conductor service
    PASS: (AIO-DX) Check on sysinv logs that the new Exception is
          being logged and the platform-integ-apps still trying
          to be applied.
    PASS: (AIO-DX) Wait until platform-integ-apps is on
          apply-failed state

Closes-bug: 2052315

Change-Id: I8c3318cc6f002671cb2e4bf81b14238ac4467131
Signed-off-by: Guilherme Costa <guilherme.costa@windriver.com>
2024-02-05 14:12:35 +00:00
2019-09-09 14:47:45 -05:00
2023-04-28 12:38:52 -04:00
2019-09-09 14:47:45 -05:00
2023-03-01 16:32:28 -03:00
2019-09-09 14:47:45 -05:00
2019-09-09 14:47:45 -05:00
2023-02-28 12:33:53 -03:00
Description
StarlingX Platform Armada App
2.2 MiB
Languages
Python 83.8%
Makefile 16.1%