930 Commits

Author SHA1 Message Date
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
Babak Sarashki
50998b89de mtce-control: Add hbsAgent service file
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-13 15:49:28 -07:00
Babak Sarashki
3be6453ca4 mtce-guestagent: fix typo in disabling systemd unit
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-13 15:49:28 -07:00
Babak Sarashki
b92f9eab21 collect-engtools: preset systemd unit to disable
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-06 14:00:16 -07:00
Babak Sarashki
9e8f6b1533 platform-util: disable opt-platform service preset
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-06 14:00:16 -07:00
Babak Sarashki
1dc3cb6963 pci-irq-affinity: Extend rdepends to libvirt python
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-06 14:00:16 -07:00
Babak Sarashki
087188f31d fm-rest-api: disable fm-api system unit
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-06 14:00:16 -07:00
Babak Sarashki
9dc33931bf sysinv: preset systemd units to disabled
- disable sysinv-api.service
- disable sysinv-conductor.service

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-06 14:00:07 -07:00
Babak Sarashki
e188c1cfd5 inventory: install python and disable unit files
- Install inventory python code
- Preset inventory system units (disable)

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-06 11:07:01 -07:00
Babak Sarashki
a177e277a2 logmgmt: enable logmgmt service
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-03 19:05:24 -07:00
Babak Sarashki
cb96984bf4 fm-rest-api: postrun on target to generate fm conf
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-03 19:05:23 -07:00
Babak Sarashki
8df3b25350 sysinv-agent: rm legacy PIDFOLE and enable unit file
- Enables sysinv-agent.service by default
- Set PIDFILE to /run/sysinv-agent.pid

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-03 19:05:23 -07:00
Babak Sarashki
e8199c40db packagegroup-stx: stx-nfv pkggrp to include mtce-guest
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-03 19:05:23 -07:00
Babak Sarashki
19015c1b1d mtce-guest: restruct pkgs set systemd units fix paths
- Set mtce-guest rdpends to guestAgent and guestServer
- Enable guestServer service
- Disable guestAgent service
- Fix Exec[Start|Stop|Reload] paths the service files

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-03 19:05:18 -07:00
Babak Sarashki
b200b145f2 hwmon: preset system unit files to disabled
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-01 17:14:14 -07:00
Babak Sarashki
e1bd58b67f stx-image-aio: add kernel-dev needed by installer
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-26 12:08:23 -07:00
Babak Sarashki
844e36f0cd stx-kconfig: update kernel options to stx
Adjust the kernel config fragments to match more
closely with stx / centos. This patch needs reworking.

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-25 10:46:00 -07:00
Babak Sarashki
07ef320022 ceph-manager: systemd update and typo fix
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-25 10:45:26 -07:00
Babak Sarashki
a38d2801bc collect-engtools: update path to remove local
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-25 10:44:31 -07:00
Babak Sarashki
1d9e0b9cb0 grub2: grub install on target is the installers job
- Removing postinst on target

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-25 10:44:31 -07:00
Babak Sarashki
138526bc3f mtce-guest: add distro backfill and update pkg group
- mtce-guest enabled services: mtce-guestagent mtce-guestserver
- packagegroup-stx: extend stx-nfv to include guestagnet and
  guestserver packages

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-25 10:44:12 -07:00
Babak Sarashki
9259ef8bc2 fm-mgr: add distro backfill and disable fminit service
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-25 10:44:12 -07:00
Babak Sarashki
937cd6c9d2 fm-rest-api: Add systemd unit file fm-api
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-25 10:44:12 -07:00
Babak Sarashki
d8edb8c3e6 sm-api: add missing install systemd unit files
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-25 10:44:12 -07:00
Babak Sarashki
65f4096f14 installer: adjust for meta-stx-distro restructure
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-24 10:04:23 -07:00
Jackie Huang
1830c3d18d classes: add stx-image-list.bbclass to generate pkglist
Add stx-image-list.bbclass to generate pkglist automatically
so we don't need to maintain the pkglist manually and the
pkg lists in conf/distro/files/pkglist/ are removed.

After this change, the following pkglist file will be generated:
- For target build:
  tmp/deploy/images/intel-corei7-64/stx-image-aio-intel-corei7-64.pkglist
- For anaconda installer build:
  tmp-glibc/deploy/images/intel-corei7-64/stx-image-aio-installer-intel-corei7-64.stx-image-aio.pkglist

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-24 10:03:03 -07:00
Jackie Huang
94ccd155d5 pxe-network-installer: fix kernel options in pxelinux.cfg.files
The anaconda in yocto handles the kernel options differently, so
do the following changes to ensure the installer starts correctly:
- inst.ks -> ks
- append LABEL=initrd-install

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-23 10:48:20 -07:00
Jackie Huang
69bc6e7f07 pxe-network-installer: remove gpxelinux.0
gpxe has been removed from syslinux 4 years ago:
==================================================
commit f2f897a1762fab84d2905f32b1c15dd7b42abb56
Author: H. Peter Anvin <hpa@zytor.com>
Date:   Tue Feb 9 18:08:47 2016 -0800

    gpxe: delete long since obsolete snapshot of gPXE

    gPXE has been deprecated in favor of iPXE for many, many years now.
    It is much better than users get it directly from the iPXE project,
    since we should no longer need any special modifications for Syslinux
    use.

    Signed-off-by: H. Peter Anvin <hpa@zytor.com>
==================================================

Remove it for now since it doesn't seem to be mandatory and
we can use pxelinux.0 for now.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-23 10:45:54 -07:00
Jackie Huang
1b5f21d0c4 poky_stx_aio_ks.cfg: add installer images for pxe
In stx 3.0, these images are downloaded from centos and
packaged in pxe-network-installer, but the images from
centos can not be used directly here, the corresponding
images are built in a separate project for anaconda, and
are not available yet when pxe-network-installer is built,
so we have to move these installation to the post-run
script in the anaconda's kickstart file.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-23 10:44:05 -07:00
Jackie Huang
4e6d90e6a8 pxe-installer-initramfs: add new recipe and add into image
The initramfs used by installer ISO image doesn't work for the pxe
installer, so we need to add an extra initramfs for pxe installer:
core-image-anaconda-initramfs

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-23 10:42:03 -07:00
Jackie Huang
eb65f48fea pxe-network-installer: align with stx 3.0
- Correct some directories
- Change stx_thud to poky-stx
- Add dependency on several syslinux sub packages
- Fix the postinst script
- Move the installation of installer images to kickstart file
  since they are not available before building anaconda

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-23 10:35:57 -07:00
Babak Sarashki
a9fec47f04 config-files: restrict pkg postinsts to ontarget
config-files modifies a number of packages which may not be present
on the filesystem at the time of the build resulting in build failures.

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-19 18:00:52 -07:00
Jackie Huang
33ac017ddf openssh: align the service behavior with stx 3.0
- Remove the sshd.socket and sshd@service used by yocto by default
- Add the service and config files from stx 3.0 and align
  the service behavior
- Fix the postinst for sshd-config and enable the service

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-17 23:56:52 -07:00
Litao Gao
13f41ec084 python-eventlet: downversion to 0.18.4 to align with stx
Signed-off-by: Litao Gao <litao.gao@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-17 23:47:47 -07:00