14 Commits

Author SHA1 Message Date
Sharath Kumar K
b725a0974b De-branding in starlingx/metal: Titanium Cloud -> StarlingX
1. Rename Titanium Cloud to StarlingX for .spec files
2. Rename Titanium Cloud to StarlingX for .service file

Test:
After the de-brand change, bootimage.iso has built in the flock layer
and installed on the dev machine to validate the changes.

Please note, doing de-brand changes in batches, this is batch1 changes.

Story: 2006387
Task: 36207

Change-Id: Ifa4dc5c7aa3189815e00b796fc833852e88c8fe3
Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
2020-04-03 07:58:25 +02:00
Marcela Rosales
b5f12793a1 Update openSUSE OBS artifacts to build MTCE packages
The openSUSE spec files needs to have the path of the source code in
the setup to have the package generation automated through _service
file in OBS.

Change-Id: I2b7c08d5772025c02821dfb9fc944fff0f5b6f90
Story: 2006508
Task: 36812
Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
2019-10-01 11:07:10 -05:00
Marcela Rosales
a0a3693bc4 Add openSUSE OBS Artifacts for Maintenance services
StarlingX Open Build Service [0] builds MTCE packages using base
artifacts:
- Spec file
- Changelog

[0] https://build.opensuse.org/project/show/Cloud:StarlingX:2.0

Story: 2006508
Task: 36556
Task: 36557
Task: 36558
Task: 36559
Task: 36560
Task: 36561

Change-Id: I9bf59ab4b890ebe33a9304d3f886951c860412a6
Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
2019-09-20 09:18:54 -05:00
Al Bailey
b1df966e02 Allow computes without virtualization enabled to be unlocked
The goenabled script in mtce-compute checks if hardware
virtualization is enabled, before allowing the node to
become enabled.  (hardware only)

This check is only needed if the compute is being used as an
openstack compute node, and so the check has been updated
to look for the appropriate label.

Puppet stores the labels in the hieradata file in /tmp.

That file is recreated when the host is rebooted or unlocked,
and labels cannot be changed unless a host is locked.

Change-Id: I6862a1b7824c759f0c3caea37c3ae6e4e9ab43b7
Closes-Bug: 1843616
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-09-13 14:04:20 -05:00
Hayde Martinez
a3f1d22035 SUSE Specfile for mtce-compute Init Script LSB
It is required for goenabled script header to be
compliant with LSB in order to build on OBS infrastructure.

Story: 2005684
Task: 33454

Change-Id: I0492bfa729205839db1ca4f2b0a0185a32b7a0d1
Signed-off-by: Hayde Martinez <hayde.martinez.landa@intel.com>
2019-05-21 17:05:03 -05:00
Al Bailey
926b3d5086 Remove all nova and libvirt files from mtce-common
The nova and libvirt service files no longer need to be installed.
This commit needs to merge along with the code that removes
the nova RPMS from the product, and removes the nova setup
from puppet.

Story: 2004764
Task: 30038
Depends-On: Ifa0171b06e23fd77d373983d644df3f56ae4e2de
Change-Id: I03ae4a804fbc03d51fd9e2cde59e25760fb53d3d
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-03-19 15:23:36 -05:00
Tao Liu
9661e49411 Change compute node to worker node personality
This update replaces compute references to worker in mtce,
kickstarts, installer and bsp files.

Tests Performed:
Non-containerized deployment
AIO-SX: Sanity and Nightly automated test suite
AIO-DX: Sanity and Nightly automated test suite
2+2 System: Sanity and Nightly automated test suite
2+2 System: Horizon Patch Orchestration

Kubernetes deployment:
AIO-SX: Create, delete, reboot and rebuild instances
2+2+2 System: worker nodes are unlock enable and no alarms

Story: 2004022
Task: 27013

Depends-On: https://review.openstack.org/#/c/624452/

Change-Id: I225f7d7143d841f80459603b27b95ac3f846c46f
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2018-12-13 13:08:48 -05:00
Zuul
f5de6cc2d6 Merge "get rid of duplicate LICENSE files in 3 packages" 2018-10-31 00:58:33 +00:00
Yong Hu
2402fb16ae get rid of duplicate LICENSE files in 3 packages
There are 2 duplicated LICESE files in mtce-control, mtce-compute,
and mtce-storage. Additionally, LICENSE was not placed in the root
directory of src RPM, so this patch is made as an enhancement or fix.
After this change, license file location and code structure in all 4
modules (mtce-common, mtce-compute, mtce-storage and mtce-control)
will be the same.

Test method: make a clean build and check src RPM and binary RPM
to assure there is only one LICENSE in correct place.

Story: 2004186
Task: 27676

Change-Id: Id71a7450e8b45438c5d15976ae8e853b9ba8f4f5
Signed-off-by: Yong Hu <yong.hu@intel.com>
2018-10-30 02:55:34 +00:00
Martin Chen
50b77e7d62 Fix host check wrong in virt-support-goenabled.sh
Closes-Bug: 1798773

Change-Id: Ie62b7dfdf835ef60f9e7ba81f60dbcc517417a78
Signed-off-by: Martin Chen <haochuan.z.chen@intel.com>
2018-10-23 05:14:07 +08:00
Yong Hu
718efbcf0d remove cgts- prefix to align with other sub-projects (packages)
Rename files and folders in mtce-compute, mtce-control, and
mtce-storage. As well update packages' names in bsp-files/
filter_out_* scripts accordingly.

Story: 2004079
Task: 27485

Change-Id: Ic1e9bd4bb8d72f30ddcc2a2bfc602a1a34e583da
Signed-off-by: Yong Hu <yong.hu@intel.com>
2018-10-19 06:07:31 +00:00
Sun Austin
fedb95ba79 Fix linters issues and enable tox/zuul linters job as gate
Fix below linters issues
 E001 Trailing Whitespace
 E003 Indent not multiple of 4
 E006 Line too long
 E011 Then keyword is not on same line as if or elif keyword
 E020 Function declaration not in format ^function name {$
 E040 Syntax error: syntax error near unexpected token `;'

ignore cases are added in tox setup
 E006 Line too long
 E010: do not on the same line as for

Story: 2003368
Task: 24427

Change-Id: I6acf64271a4e608be8bc8fa965cac4fa31e0c05b
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-09-05 09:02:25 +08:00
Scott Little
89dd36625e Rename mwa-* subdirectories to match the git repo name
mwa-delphia -> stx-clients
mwa-pitta   -> stx-config
mwa-cleo    -> stx-fault
mwa-gplv2   -> stx-gplv2
mwa-gplv3   -> stx-gplv3
mwa-solon   -> stx-ha
mwa-sparta  -> stx-integ
mwa-beas    -> stx-metal
mwa-thales  -> stx-nfv
mwa-chilon  -> stx-update
mwa-perian  -> stx-upstream

Depends-On: https://review.openstack.org/579954
Depends-On: https://review.openstack.org/579957
Change-Id: I269a4e79425a41709381f8894456d21233463e9f
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-07-03 16:29:24 -04:00
Dean Troyer
18922761a6 StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:36:43 -07:00