This commit to remove the usage of the mgmt_ip in the host table in
favor of either controller FQDN for AIO-SX or the management address
configured in the address table.
Test Plan:
PASS: AIO-SX and AIO-DX virtualbox installation IPv4/IPv6
PASS: Standard virtualbox installation IPv6
PASS: DC virtualbox installation IPv4 ( AIO-SX/DX subclouds )
PASS: AIO-SX and AIO-DX installation IPv4/IPv6
PASS: AIO-DX plus installation IPv6
PASS: DC IPv6 and subcloud AIO-SX
PASS: AIO-DX host-swact
PASS: DC IPv4 virtualbox with subcloud AIO-DX and AIO-DX
PASS: AIO-SX to AIO-DX migration
PASS: netstat -tupl ( no services are using the MGMT IP address )
PASS: Ran sanity/regression tests
PASS: Backup and Restore for AIO-SX/AIO-DX / DC subcloud AIO-SX
PASS: Add and unlock worker node on a deployed standard system
Story: 2010722
Task: 48567
Depends-on: https://review.opendev.org/c/starlingx/config/+/886208
Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
Change-Id: Id2a79ee291b4f706611ebd8eeceaed31e6ca5aa5
The Debian packaging has been changed to reflect all the
git commits under the directory, and not just the commits
to the metadata folder.
This ensures that any new code submissions under those
directories will increment the versions.
Test Plan:
PASS: build-pkgs -p config-gate
PASS: build-pkgs -p controllerconfig
PASS: build-pkgs -p storageconfig
PASS: build-pkgs -p cert-alarm
PASS: build-pkgs -p cert-mon
PASS: build-pkgs -p cgts-client
PASS: build-pkgs -p sysinv-agent
PASS: build-pkgs -p sysinv
PASS: build-pkgs -p tsconfig
PASS: build-pkgs -p workerconfig
Story: 2010550
Task: 47305
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Change-Id: I50ac37d06740cc096711c136ad815dcdf54528bf
This service file is required by CentOs to build
the storageconfig package.
Test Plan:
PASS: build storageconfig package
Closes-bug: 1992803
Signed-off-by: Hediberto Cavalcante da Silva <hediberto.cavalcantedasilva@windriver.com>
Change-Id: If1e4bd0050d8c971f98ec297971484a922644b34
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
This update makes use of the PKG_GITREVCOUNT variable to auto-version
the packages in this repo.
Change-Id: I3a2c8caeb4b4647608978b1f2ccfcf0661508803
Depends-On: https://review.opendev.org/727837
Story: 2006166
Task: 39766
Signed-off-by: Don Penney <don.penney@windriver.com>
These files will be extracted by the _service file that is managed
by OBS.
These do not affect the CentOS build
Story: 2006723
Task: 37133
Change-Id: Iec8329ca2c7d6442cd41436c291eae79326052fb
Signed-off-by: Saul Wold <sgw@linux.intel.com>
These will be used with the Open Build Service (OBS) an _service
will be used to automagically generate the tarball.
OBS is a generic system to build and distribute binary packages from
sources [0], StarlingX OBS Project:
- Cloud:starlingx:2.0 [1]
[0] openbuildservice.org
[1] https://build.opensuse.org/project/show/Cloud:StarlingX:2.0
Story: 2006508
Task: 36650
Task: 36651
Task: 36652
Task: 36653
Change-Id: Ie59e8403a6f3173a678f5fd1cd5cf03df4a7e961
Signed-off-by: Saul Wold <sgw@linux.intel.com>
rpmlint reports the following errors:
[ 5s] E: File storage_config is missing Required-Start, please add even if empty!
[ 5s] W: File storage_config is missing Required-Stop, please add even if empty!
[ 5s] ERROR: found one or more broken init or boot scripts, please fix them.
[ 5s] For more information about LSB headers please read the manual
[ 5s] page of of insserv by executing the command man 8 insserv.
Story: 2006564
Task: 36662
Change-Id: Iae36bd373b513af72e5d7e736adf68a5a80a7011
Signed-off-by: Saul Wold <sgw@linux.intel.com>
In order to avoid conflicts with containerized services
binding to standard HTTP (80) / HTTPS (443) port numbers,
the default port numbers are changed to 8080 and 8443.
Furthermore, CLI commands are provided to allow binding
to alternate port numbers.
List of changes:
. Add service parameters for HTTP and HTTPS port
. Configure the lighttpd ports via puppet and use port
8008 for platform horizon
. Add http port to platform.conf for the config scripts
. Support helm repo URL update
. Add helm-toolkit plugin for location override
. Override Armada manifest location
. Add installer base URL option to pxeboot-update
script
. Add a patching run time class to restart patch-agent
when the port config is changed
. Add a semantic check to block port config when a
patching operation is in progress or a host is not
in unlocked/enabled state
CLI commands for viewing and updating port numbers are:
system service-parameter-list --service http
system service-parameter-modify lighttpd port http=8090
system service-parameter-apply lighttpd
Tests Performed:
Non-containerized deployment installation and sanity
AIO-DX: Sanity and Nightly automated test suite
2+2 System: Sanity and Nightly automated test suite
2+4+6 System: Sanity and Nightly automated test suite
Kubernetes deployment on VBox:
AIO-SX: application apply and launch instance
AIO-DX: application apply and launch instance
2+2 System: application apply and launch instance
HTTP/HTTPS port configuration
Enable/Disable https
Story: 2004642
Task: 28592
Change-Id: I65029e0c15aaf626acb56ab71e7bbde64c7e76a8
Signed-off-by: Tao Liu <tao.liu@windriver.com>
Listed below are the errors which were fixed as well as the actions
taken to fix them:
E010: do not on the same line as for
--> let do and for in the same line
E011: then not on the same line as if or elif
--> let then and if or elif in the same line
E020: Function declaration not in format ^function name {$
--> fix the format to suit ^function name {$
E041: Usage of $[ for arithmetic is deprecated for $((
--> fix from $[ to $((
E043: arithmetic compound has inconsistent return semantics
--> do not use +=, ++, -=, --; use value=value+? instead.
E001: check that lines do not end with trailing whitespace
--> delete trailing whitespace
E003: ensure all indents are a multiple of 4 spaces
--> add/delete spaces
E042: local declaration hides errors
--> let declaration and assignment in two lines.
Listed below are test cases done which run one controller
and one compute in KVMs
Test-Install ---- success
Related: https://review.openstack.org/#/c/600663/https://review.openstack.org/#/c/601221/
Story: 2003360
Task: 26213
Change-Id: I3ece37db3a326ea58bd344f43beefcbbbd4f0ad4
Signed-off-by: SidneyAn <ran1.an@intel.com>