963 Commits

Author SHA1 Message Date
Jackie Huang
1eb2bd622a ceph: fix the path for service in ceph-disk
The hardcoded path /usr/sbin/service in ceph-disk is
incorrect for yocto.

Story: 2008204
Task: 40988

Change-Id: I374a90886ad679595054ab3b75c3438002f52024
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-28 21:36:19 +08:00
Jackie Huang
e878d8d0d0 ruby: do not clone the spec repo in do_configure
There is potential issue to clone repo in do_configure,
so move it to SRC_URI then it will be cloned in do_fetch,
and also set the correct SRCREV.

Story: 2008204
Task: 40988

Change-Id: I6f7a01cdf2df93edb2d4a29cc8dbcc6e17b38763
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-28 21:33:37 +08:00
Jackie Huang
066a5c6994 stx-anaconda-image.bbclass: change skip to warning
In dry-run mode, the kickstart file will not be generated,
the existence check will always fail, so change the skip
to warning to allow that the dry-run can succeed without
generated kickstart file.

Story: 2008204
Task: 40988

Change-Id: I32eb8a688498713d03c915b82611cea8fcb493cf
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-28 21:32:42 +08:00
Jackie Huang
7438b9cfd1 libsm-common: add missing dependency in Makefile for libsm_watchdog_nfs
Add missing dependency on libsm_common.so in Makefile for
libsm_watchdog_nfs to avoid race condition issue:

| ../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/8.3.0/ld: cannot
|  find -lsm_common
| collect2: error: ld returned 1 exit status
| make: *** [libsm_watchdog_nfs.so.0] Error 1

Story: 2008204
Task: 40988

Change-Id: I5b72ef9cdcb00487939f3643c777a1d634a2f4f5
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-28 21:32:08 +08:00
Jackie Huang
abbadaaff1 worker-utils: fix a perl experimental feature failure
In the cpumap_functions.sh, a one line perl script uses a perl
experimental feature which is added in perl 5.14 but removed
in perl 5.23 and later release, so fix to avoid using the
feature to fix failure with new perl releases.

Story: 2008204
Task: 40988

Change-Id: I90aa8bd3d7bd66d9d4d10c1987387dc6b32a2836
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-28 21:31:39 +08:00
Jackie Huang
8242257228 mtce: add patches to fix build failures on CentOS
- Add a patch to avoid using 'which' to check CC since
  the 'which' on CentOS doesn't allow options.

- Add a patch to fix the libamon link failure.

Story: 2008204
Task: 40988

Change-Id: I1ee37c049d9d1286b5d1a1afa0dc7e9516eb6b49
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-28 21:31:09 +08:00
Jackie Huang
ff8142bed3 ruby-native: add dependency on zlib-native
Some packages use the ruby "gem build" command to create gems,
which requires zlib, so add dependency on zlib-native or it
relies the host's zlib and fails on some host like CentOS:

| ERROR:  Loading command: build (LoadError)
|       cannot load such file -- zlib
| ERROR:  While executing gem ... (NoMethodError)

Story: 2008204
Task: 40988

Change-Id: I2d8de8aab2ce3ca24d512354c75ebe34845e4ed0
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-28 21:30:48 +08:00
Babak Sarashki
1a442aaaa6 packagroup-stx: Add auditd, audit, and audit-python
Commit 01a2b56a4ac974dc7eca0e5d45bd3a5cd8c244d9 split stx-config-files
into respective bbappends and the auditd RDPENDS were missed.

Closes-Bug: 1900772
Change-Id: I35b2dd565f36b509ddb467bd7f0ae055ca3d4693
Signed-off-by: Babak Sarashki <babak.sarashki@windriver.com>
2020-10-21 17:40:05 +00:00
Zuul
95264329a5 Merge "package port: python-kombu version 4.6.6" 2020-10-19 00:47:25 +00:00
Babak Sarashki
d4ee391872 postgres: Fix install error on none existent file
Required to complete postgres build and  ported from upstream
meta-cloud-services.  This commit to be removed when moving to
to dunfell or later.

Upstream commit: 8516070112019bd7b3a5c41eb55a042808a13089
Closes-Bug: 1899552
Change-Id: I9ec82e41567a41734a0b10445e4ada661693c4d7
Signed-off-by: Babak Sarashki <babak.sarashki@windriver.com>
2020-10-14 17:36:07 +00:00
Zuul
36b79bbf93 Merge "mtce: add missing curly braces for variables" 2020-10-13 21:31:03 +00:00
Babak Sarashki
e84a6d5372 package port: python-kombu version 4.6.6
Required as not present in meta-python2 warrior branch.
Patch has been upstreamed pending acceptance. This commit
to be removed once patch has been accepted in upstream.

Closes-Bug: 1899549
Change-Id: I253ec03b088630781328879e4029e8ac93593314
Signed-off-by: Babak Sarashki <babak.sarashki@windriver.com>
2020-10-13 14:25:06 -07:00
Jackie Huang
365770a5b5 mtce: add missing curly braces for variables
Add missing curly braces for variables MAJOR and MINOR.

This fixes libamon not installed correctly.

Closes-Bug: 1899130

Change-Id: I12be297058ae3b43a01f4e9b1dadf4626e8e18f0
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-09 15:23:15 +08:00
Jackie Huang
614c47a407 net-snmp: avoid init scripts being removed
sm looks for the init script to manage snmpd, so
remove sysvinit from DISTRO_FEATURES_BACKFILL_CONSIDERED
to avoid init scripts being removed.

And the init script snmpd should be packaged in
PN-server-snmpd, so fix the FILE definition as well.

Partial-Bug: 1897685

Change-Id: I612e6eda0e1a4f942d11e90bec1307db1fd64f60
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-09 14:09:26 +08:00
Jackie Huang
df722d1ccb haproxy: avoid init scripts being removed
sm looks for the init script to manage haproxy, so
remove sysvinit from DISTRO_FEATURES_BACKFILL_CONSIDERED
to avoid init scripts being removed.

Partial-Bug: 1897685

Change-Id: I982d02add2a463ab93d5855b20a65d0bf0903c07
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-09 14:09:26 +08:00
Jackie Huang
19ae807f0f dnsmasq: avoid init scripts being removed
sm looks for the init script to manage dnsmasq, so
remove sysvinit from DISTRO_FEATURES_BACKFILL_CONSIDERED
to avoid init scripts being removed.

Partial-Bug: 1897685

Change-Id: I39d67e2bed981f50cc9399ef20942fee48c4f22c
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-09 14:09:26 +08:00
Jackie Huang
9fd5c1843d ceph-manager: fix the path for init script
sm looks for init script ceph-manager in /etc/init.d instead
of /etc/rc.d/init.d, so fix the path will fix the following error:

ERROR: sm[78078]: sm_service_action.c(707): Service (ceph-manager)
plugin (/etc/init.d/ceph-manager) access failed, error=No such file or
directory.

Partial-Bug: 1897685

Change-Id: I47b7ffd059960722d72ee68a24d9a2ed0c985989
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-09 14:09:26 +08:00
Jackie Huang
8f842934b6 mtce: fix a typo in the patch
Fix a typo in the patch:
systemctll -> systemctl

This fixes collectd not starting correctly.

Closes-Bug: 1897667

Change-Id: Ie7669230c67a746638372c147307af9496633ae1
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-09-29 14:47:47 +00:00
Saul Wold
5951815645 .gitreview: add to new repo
Change-Id: I6dbd0e54bad82ce39f3fa1222dbdd4b33c9c1aa5
Signed-off-by: Saul Wold <saul.wold@windriver.com>
2020-09-23 17:51:45 -07:00
Saul Wold
43bc4fd0c8 .zuul.yaml: add Zuul support to new repo
Change-Id: I7417d7c106814fb78b075df9612029c46d0301c5
Signed-off-by: Saul Wold <saul.wold@windriver.com>
2020-09-23 15:27:10 -07:00
Babak Sarashki
113db4261d stx-distributedcloud: remove empty lines from recipes
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:08:18 -07:00
Babak Sarashki
b36f0ecb33 stx-gui: remove empty line from recipe
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:07:52 -07:00
Babak Sarashki
03f02e8af7 cloud-provider-openstack: remove empty line from recipe
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:07:11 -07:00
Babak Sarashki
02cd333741 stx-integ: remove empty line from recipe
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:06:14 -07:00
Babak Sarashki
202baabfba stx-monitor-armada-app: limit checkouts to subpath
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:05:29 -07:00
Babak Sarashki
4381f4194c stx-monitoring: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:04:04 -07:00
Babak Sarashki
d30908374b stx-update: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:03:27 -07:00
Babak Sarashki
5130da8af1 stx-utilities: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:02:41 -07:00
Babak Sarashki
497905225d stx-nfv: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:01:16 -07:00
Babak Sarashki
15dfc29882 stx-metal: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 19:45:37 -07:00
Babak Sarashki
39e7a41f9e stx-ha: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 19:43:43 -07:00
Babak Sarashki
3c99985a46 stx-fault: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 19:42:46 -07:00
Babak Sarashki
39bdd9d98d stx-config: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 19:38:36 -07:00
Babak Sarashki
fb9f2dfa09 stx-config-files: split stx configs into bbappends
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 10:38:48 -07:00
Babak Sarashki
458e62aa80 init-ifupdown: setup network on loopback device
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-08-19 08:04:25 -07:00
Babak Sarashki
1baecd7f5c config-files: audit-config and openssh-config
- Move config-files subpackages to bbappends
- Removed audit-config and opennssh-config
- Update packagegroup-stx to reflect the change

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-16 17:57:52 -07:00
Saul Wold
01a2b56a4a audit: move StarlingX config to bbappend
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-16 17:57:52 -07:00
Saul Wold
ebca50196c openssh: move configfile changs back to openssh recipe
Move the StarlingX additional configuration to the recipe
the sshd_config needs to be patched due to difference in
available MACs.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-16 17:57:43 -07:00
Saul Wold
e19a1474df linux-yocto: Add StarlingX specific patch for notification of death
This adds the StarlingX kernel patch which exposes a new userspace
prctl() call with the PR_DO_NOTIFY_TASK_STATE option. This allows
a process to ne notifies when another process exits thus allowing
it to restart the failed process faster.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-15 13:28:45 -07:00
Babak Sarashki
20b20d0026 lldpd: set PATCHTOOL Remove do_patch override
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-15 12:38:47 -07:00
Babak Sarashki
5767c9be0a openstack-helm-infra: set PATCHTOOL Remove do_patch override
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-15 12:38:47 -07:00
Babak Sarashki
9e13a96816 monitor-helm: set PATCHTOOL Remove do_patch override
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-15 12:38:47 -07:00
Babak Sarashki
86c5c5751c monitor-helm-elastic: set PATCHTOOL Remove do_patch override
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-15 12:38:40 -07:00
Babak Sarashki
126bf3a758 openstack-helm: set PATCHTOOL Remove do_patch override
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-15 11:11:48 -07:00
Babak Sarashki
066cfa215d README: update with build instructions
Signed-off-by: Babak Sarashki <babak.sarashki@windriver.com>
2020-07-13 16:43:19 -07:00
Babak Sarashki
0349f0c240 controllerconfig: depends on networking.target
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-13 15:49:28 -07:00
Babak Sarashki
b7ee2eba70 init-ifupdown interfaces: dont predefine network
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-13 15:49:28 -07:00
Babak Sarashki
115b996384 systemd-compat-units: enable networking service
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-13 15:49:28 -07:00
Litao Gao
e6d8935501 lldpd: downversion to align with stx
previous version in yocto is 0.9.8 which
changes the format of the json output, which
will break the output handling in sysinv.

Signed-off-by: Litao Gao <litao.gao@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-13 15:49:28 -07:00
Jackie Huang
3962a6b85a openstack-ras: change the source repo from starlingx
change the source repo from starlingx to align with stx 3.0

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-13 15:49:28 -07:00