The lab-setup files are refactored, as detailed below.
In addition, recovery, administration and logging improvements are
implemented.
The following lab-setup files are removed:
- lab_setup1.sh
- lab_setup2.sh
The corresponding code, previously run locally in the VM, is now
integrated to the main Python code.
The files lab_setup.sh and lab_setup.conf are kept, because they
are useful to populate the stx-openStack application. These should be
reviewed by a new task under the context of stx-openStack.
Test Plan
- AIO-SX Virtual Deployment (PASS)
- AIO-DX Virtual Deployment (PASS)
Story: 2005051
Task: 48402
Change-Id: I940e5a16ea98a4325efe1ee0dd45127674d6b192
Signed-off-by: Roger Ferraz <rogerio.ferraz@encora.com>
-Minimal changes so the script works for the
installation of a AIO-DX setup type.
-Addition of a lab_setup2 for the configuration
of the controller-1.
-Change of serial port configuration so VMs can boot
without the need of a socat connection.
Regression: AIO-SX successfully provisioned using
modified code.
Test Plan:
PASS: StarlingX is succesful deployed in a AIO Duplex
configuration.
PASS: Both controllers are set with TCP as Port Mode
in serial ports configuration.
Story: 2005051
Task: 48261
Task: 48275
Change-Id: I5fd5c6d413270867424a30768b0ad7ff91d296b8
Signed-off-by: Daniel Caires <daniel.caires@encora.com>
Enabling automatic tests with tox and zuul for each new patchset.
To see the unit test logs, go to:
1- Zuul Summary
2- tox-unittests
3- Logs
4- job-output.txt
Test Plan:
PASS: Run "tox -e unittests" in the terminal, this will:
- Set the PYTHONPATH environment variable
- Run the tests
- Show the coverage report
Task: 47929
Story: 2005051
Change-Id: I7f527860f3498c53b28691c654035d017d70f68b
Signed-off-by: Lindley Werner <lindley.vieira@encora.com>