6 Commits

Author SHA1 Message Date
Manoel Benedito Neto
bdf5bb4cc1 Setup debian build directory and ipsec-auth package
This commit adds debian build infrastructure for ipsec-auth package.
LICENSE, changelog and copyright files are added. The package is also
configured and created, containing the ipsec server systemd unit file.

Test plan:
PASS: Build ipsec-auth package successfully.
PASS: Full build, system install and deploy DC system w/ ipsec-auth
      package successfully included and installed.

Story: 2010940
Task: 49413

Co-Authored-By: Andy Ning <andy.ning@windriver.com>
Signed-off-by: Manoel Benedito Neto <manoel.beneditoneto@windriver.com>
Change-Id: I32fc624bda2177eb52bbeca8867ac0ad867b0fda
2024-01-26 09:46:14 -03:00
Yue Tao
722855cf06 Debian: config: update debian_iso_image.inc
Move the packages of "config" from stx-std.lst to debian_iso_image.inc

Test Plan:

Pass: build-pkgs -c -a
Pass: build-image
Pass: boot

Story: 2008846
Task: 46755

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: Iadf7311ad50eb2fc1d748182016c48874262b823
2022-11-08 15:48:04 +08:00
Hediberto Cavalcante da Silva
feb258db57 Debian: Reorganize storage config package
This work:
- is part of Debian integration effort.
- affect Debian only
- will allow puppet manifests to be applied on storage node at
unlock/reboot time.

This specific commit:
- allows controllerconfig, workerconfig-standalone and storageconfig
  packages to coexist on the same iso by letting files be selected
  at runtime
- lets storageconfig service be installed by systemd

Test Plan on Debian:
PASS: controllers unlocked on AIO-SX, AIO-DX, Standard & Storage
PASS: workers unlocked on Standard & Storage
PASS: storages unlocked on Storage
PASS: storageconfig started puppet manifest apply on storage nodes
PASS: controllerconfig is running on controller node on AIO-SX,
      AIO-DX, Standard & Storage
PASS: workerconfig is not running on controller and storage nodes
      on AIO-SX, AIO-DX, Standard & Storage
PASS: storageconfig is not running on controller and worker nodes
      on AIO-SX, AIO-DX, Standard & Storage
PASS: workerconfig is running on worker node Standard & Storage

Depends-On: https://review.opendev.org/c/starlingx/metal/+/860495

Story: 2010211
Task: 46506

Signed-off-by: Hediberto Cavalcante da Silva <hediberto.cavalcantedasilva@windriver.com>
Change-Id: I83dde1cf406217e483f05f5504659930612edf70
2022-10-05 16:18:49 -04:00
Davi Frossard
6d4e2681a0 Merge sysinv_fpga_agent with sysinv_agent
Merging sysinv-fpga-agent service with sysinv-agent
in order to reduce overall OS overhead.

Replaced calls "wait_for_n3000_reset()" and "wait_for_host_uuid()" in
previous fpga-agent-manager by checks that ensure fpga devices are
reset and host_uuid is available in agent-manager. Also, the content of
"fpga_pci_update()" and "report_fpga_inventory()" methods is directly
inserted in the body of "agent_audit()" method.

Test Plan:

On AIO-DX env (CentOS):
<sysinv-fpga-agent tests>
PASS: Check FPGA pod and its resources.
PASS: Check FPGA pod and its resources after lock/unlock.
PASS: Check FPGA pod and its resources after the system reboot.
PASS: Verify image upload with non-functional image with
retimer-included
PASS: Verify retimer_a_version and retimer_b_version after applying
BMC image with re-timer and bmc
PASS: Verify firmware update for BMC and retimer image with
retimer-include=False
PASS: Verify apply BMC image without re-timer first and then BMC
image with re-timer, only latest image is kept in
device-image-state-list
PASS: Test accelerator configuration is persistent after lock/unlock.
PASS: Test to verify that the accelerator configuration is persistent
after a graceful reboot.

<sysinv-agent tests>
PASS: Verify alarms raised by PTP feature
PASS: Verify the configuration and run of single ptp-instance
PASS: Verify the configuration and run of single phc2sys
PASS: Verify PTP CLI commands

On AIO-SX env (Debian):
PASS: Check FPGA pod and its resources.
PASS: Check FPGA pod and its resources after lock/unlock.
PASS: Check FPGA pod and its resources after system reboot.
PASS: Check if FPGA device can be detected, configured.
PASS: Test accelerator configuration is persistent after lock/unlock.
PASS: Test to verify that the accelerator configuration is persistent
after graceful reboot.

Story: 2010087
Task: 45628

Signed-off-by: Davi Frossard <dbarrosf@windriver.com>
Change-Id: I83edd261898498344001ca90bb53a5f65e66728c
2022-10-03 14:12:28 -04:00
Yue Tao
1face6d6fe debian_iso_image.inc: align the package name with "stx-std.lst"
Currently we use the "stx-std.lst" file in tools to add install package.
We are going to use the "debian_iso_image.inc" file to follow CentOS.

We observed some layers already have the debian_iso_image.inc, so first
of all, we need to check if all the packages are available, otherwise,
once supporting "debian_iso_image.inc", "build-image" will fail.

Comment "storageconfig" is to align with "stx-std.lst" in which the
package is commented due to integration issue.

In debian build, only one binary "workerconfig-standalone" is built from
source, so change "workerconfig" to "workerconfig-standalone" which also
align with "build-image"

Story: 2008846
Task: 46141

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: Ife3cecbced143f9f0172198ece2a8f9aee6ed058
2022-08-27 18:40:14 +08:00
hbai
aa8dae7fe0 Add debian_iso_image.inc file
Story: 2008846
Task: 43775

Signed-off-by: hbai <haiqing.bai@windriver.com>
Change-Id: Ibee46d99252f5dde91a8e7ffee26d3d55bd96d4e
2021-11-04 09:07:23 -04:00