138 Commits

Author SHA1 Message Date
fuyong
ab20d06845 Disable integ model's packages that not have been built
centos_pkg_dirs: temporarily disable packages
Disable the packages that do not build correctly
and are further upgrades.

Change-Id: I5415be54e4b2b62e01f0a16fc662d4e4154293f1
Story: 2006844
Task: 37670
Depends-On: https://review.opendev.org/694761
Signed-off-by: fuyong <fuyong@neusoft.com>
2019-12-13 16:33:20 +08:00
Jim Somerville
2718976ddc i40e Driver Upgrade in support of N3000 on-board NICs
Uprev i40e to version 2.10.19.30
i40evf gets replaced by iavf version 3.7.61.20

The iavf driver supports both fortville and columbiaville,
so they decided to rename from i40evf to something more generic.

We get to drop the patch which polls for coming out of
reset as it was incorporated upstream.

The Intel FPGA Programmable Acceleration Card N3000 contains
dual Intel XL710 NICs and an FPGA for acceleration purposes.
This driver upgrade is required to support those NICs.

Change-Id: Ifbec94bcc00a8cce9fe97bf0eb41556b8bd3e592
Story: 2006740
Task: 37542
Depends-On: https://review.opendev.org/#/c/695061
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
2019-11-19 14:42:12 -05:00
Jim Somerville
b675795e5b Build and package OPAE FPGA drivers
Includes a spec file for building and changes to get the
kernel modules into the load.

Change-Id: I6e075e19b1e4deefd7f5bcb11fec34c383b313b8
Story: 2006495
Task: 36607
Depends-On: https://review.opendev.org/#/c/682058/
Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
2019-09-16 18:12:55 +00:00
Kristine Bujold
588e39fe64 Add new ntp package to build
This is required to fix a bug with ntpq and IPV6 addresses. The ntpq
command truncates the remote addresses to 15 characters. This is not
long enough for IPV6 addresses. This has been fixed in version 4.2.8
which is not yet released by Centos. Patch
Fix-ntpq-truncates-IPV6-addresses.patch provides a subset of the fix.

aeb3ee65bc
https://bugs.ntp.org/show_bug.cgi?id=1128

Depends-On: https://review.opendev.org/680105
Partial-Bug: 1840687

Change-Id: If9d07acf913ebebead5505d44129f0644511b748
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-09-09 10:43:30 -04:00
Scott Little
1d98eee3cc Config file changes for packages being relocated to repo 'config-files'
List of relocated subdirectories:

base/centos-release-config
base/dhcp-config
base/dnsmasq-config
base/haproxy-config
base/initscripts-config
base/lighttpd-config
base/net-snmp-config
base/openssh-config
base/setup-config
base/systemd-config
config-files/audit-config
config-files/docker-config
config-files/io-scheduler
config-files/iptables-config
config-files/memcached-custom
config-files/ntp-config
config-files/pam-config
config-files/rsync-config
config-files/shadow-utils-config
config-files/sudo-config
config-files/syslog-ng-config
config-files/util-linux-config
filesystem/filesystem-scripts
filesystem/iscsi-initiator-utils-config
filesystem/nfs-utils-config
ldap/openldap-config
logging/logrotate-config
networking/mellanox/mlx4-config
networking/openvswitch-config

Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Depends-On: I14e631137ff5658a54d62ad3d7aa2cd0ffaba6e0
Change-Id: I761b0f76150881c765b70b2ccd255244c754bd5d
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 20:30:38 -04:00
Scott Little
9166160503 Config file changes for packages being relocated to repo 'monitoring'
List of relocated subdirectories:

monitoring/collectd-extensions
monitoring/influxdb-extensions
tools/monitor-tools
tools/vm-topology

Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Depends-On: I85dda6d09028f57c1fb0f96e4bcd73ab9b9550be
Change-Id: I14e631137ff5658a54d62ad3d7aa2cd0ffaba6e0
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 20:29:44 -04:00
Scott Little
d6ebfea374 Config file changes for packages being relocated to repo 'utilities'
List of relocated subdirectories:

ceph/ceph-manager
ceph/python-cephclient
filesystem/nfscheck
logging/logmgmt
security/tpm2-openssl-engine
security/wrs-ssl
tools/collector
tools/engtools/hostdata-collectors
utilities/build-info
utilities/namespace-utils
utilities/pci-irq-affinity-agent
utilities/platform-util
utilities/tis-extensions
utilities/update-motd

Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Depends-On: I840888f0b012e9fb24e72f4e6a46567e6f949df7
Change-Id: I85dda6d09028f57c1fb0f96e4bcd73ab9b9550be
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 20:29:20 -04:00
Scott Little
012ce77c1e Config file changes for packages being relocated to repo 'compile'
List of relocated subdirectories:

base/bash
base/golang-dep
base/rpm
python/python-2.7.5
base/golang

Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Depends-On: I947cab3787dd323ef0fc50ec64f172d2df6459e9
Change-Id: I840888f0b012e9fb24e72f4e6a46567e6f949df7
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 20:28:59 -04:00
Scott Little
7483a16a2c Config file changes for packages being relocated to repo 'containers'
List of relocated subdirectories:

requests-toolbelt

Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Change-Id: I947cab3787dd323ef0fc50ec64f172d2df6459e9
Signed-off-by: Scott Little <scott.little@windriver.com>
Depends-On: I7f1c1184e8dfeff1740b695adb71b8becaa4e7b1
2019-09-05 20:28:29 -04:00
Scott Little
39d02246ae Config file changes to remove packages being relocated to repo
'containers'

List of relocated subdirectories:

kubernetes/registry-token-server

Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Depends-On: Ibdae0a338a1af493ac522757b61bbd6df1da941e
Change-Id: I7f1c1184e8dfeff1740b695adb71b8becaa4e7b1
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 23:17:17 +00:00
Al Bailey
fe0b3d1af0 Add files for building golang 1.12.9
The contents of the files directory are all directly extracted
from the golang 1.11.2 src rpm.

The spec file has been updated to build a src tarball
for go 1.12.9.

The modifications can be viewed by examining a diff
of the golang.spec and the golang.spec.orig files.

Change-Id: Ib1bdde20d37147d08d38449d1db9c903cef38e7a
Story: 2005860
Task: 35840
Depends-On: https://review.opendev.org/#/c/671147
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-08-19 08:06:58 -05:00
John Kung
3f4a439109 Fix socket growth on system application operations
There is an issue whereby docker exec_run commands do not close the TCP socket.
Thus on each kube application operation, such as application-apply, the docker
exec_run consumes 4 TCP sockets per iteration.  Thus, when it hits limit
of 1024 sockets, system can no longer perform application operations.

This updates the python-docker package. The source code was already in the
cengn mirror; and this update adds a patch to finally close socket in
docker client.

Tests performed:
Install AIO, Storage labs.
system application-upload stx-openstack, apply, remove
system application apply stress test of over 300 iterations
and verify no growth in sockets held by sysinv-conductor.

Change-Id: I21b9e486af1e3bb3b82fd79c3e3662c97b53b732
Closes-Bug: 1838088
Depends-On: https://review.opendev.org/#/c/675686/
Signed-off-by: John Kung <john.kung@windriver.com>
2019-08-09 15:45:35 -04:00
Al Bailey
56c534ad98 Add back kvm_timer_advance_setup.service
The kvm_timer_advance_setup service was packaged and
installed as part of nova-compute package prior to
containerizing nova.

The service file has been updated to start before kubelet.

The service becomes enabled by puppet which writes a
config file containing the vcpu_pin_set information.

The utility script has been updated.
The .sh extension has been added, and it passes bashate.

Updated the license to GPLv2 since the tuned package
where the script was dervied from is GPLv2.

Change-Id: Iff90c46826a88283e42a980e7823593599f03206
Closes-Bug: 1823751
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-07-24 16:04:58 -05:00
Jerry Sun
cd4fe5dbc8 Remove Cloud-Provider-Openstack from Build
Cloud-Provider-Openstack is required for Keystone authentication with
Kubernetes. Since we are no longer doing that, we can remove
Cloud-Provider-Openstack from the build.

Story: 2002843
Task: 26958

Change-Id: I971ba2626ab040631c163957fbe6efbd58951ad1
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
2019-07-10 09:23:41 -04:00
zhipengl
f5db9e98f4 Add redfishtool package
Add redfishtool package to controller nodes
It will be used by maintenance processes(mtcAgent and hwmon).
Two patches are required.
1. python2 support patch
2. config file support patch

Deploy test pass
redfishtool can run normally in controller node.

Story: 2005861
Task: 34187

Depends-On: https://review.opendev.org/665993/
Change-Id: I69e08cffd8587cb4287394f2b7a2f46fd3d054d9
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2019-07-05 01:22:19 +00:00
zhipengl
07a07c6bcc Implement Pci Interrupt Affinity Agent
Create an agent which runs on each worker node to do pci interrupt
affinity work.
nova-sriov installed by this new package instead of old nova-utils.

Below test done and pass, see detailed test spec in story link.
1) deployment test with/without openstack application
2) Periodic audit pci irq affinity
3) Remove VM without sriov pci port
4) Remove VM with sriov pci port
5) Add VM without sriov pci port
6) Add VM with sriov pci port
7) Add VM without pci_irq_affinity_mask
8) Add VM without cpu policy set
9) VM resize test
10) Remove one pci port for VM

Code framework is like below
+------------+        +--------------+        +------------+
|            |        |              |        |            |
|            |        |              |        |            |
|  Agent.py  | -----> | affinity.py  | -----> | driver.py  |
|            |        |              |        |            |
|   Daemon   |        |    Conduct   |        |   Drv      |
|            |        |              |        |            |
+------------+        +--------------+        +------------+

Story: 2004600
Task: 28850
Depends-on: https://review.opendev.org/#/c/640263/
Depends-on: https://review.opendev.org/#/c/654415/
Change-Id: Ie668036efe4d0013fed8cd45805f0321692c76f0
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2019-05-10 01:43:27 +00:00
Zuul
7367da9ed0 Merge "Add Cloud-Provider-Openstack to Build" 2019-05-02 18:42:23 +00:00
Shuicheng Lin
06988b87db replace python-gunicorn srpm with rpm
For the source patch 0001-add-worker-abort-hook.patch, it is not used.
For the 3 meta patches, only 0001-TIS-gunicorn-19-upgrade.patch is
applied to srpm. And this meta patch just add tis version, and disable
python3 compilation. So it is ok to drop all these patches, and use
rpm to replace srpm.

Story: 2005484
Task: 30578
Depends-On: https://review.opendev.org/653908
Change-Id: I5805cce1dc64dd41be9f415bab985b34791f1506
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2019-04-23 00:51:41 +00:00
Al Bailey
65ab88f214 Add spec file for building etcd 3.2.24
etcd 3.2.24 is the required version for kubernetes 1.13

There is no 3.2.24 src rpm, so the github archive is used as
the source code.

The original spec file and additional files are
from the etcd 3.2.22 src rpm in centos.

Story: 2005198
Task: 30405
Depends-On: I8f7061a9577941c257046721dbf5e957375691ab
Change-Id: Iab65a3bcd9e9d3f9968515c35675119bb06b9a54
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-04-10 12:51:55 -05:00
Jerry Sun
1f5b8375f8 Add Cloud-Provider-Openstack to Build
Cloud-Provider-Openstack is required for Keystone authentication with
Kubernetes. This commit brings in Cloud-Provider-Openstack as a
pre-built binary to shove into an RPM as part of the ISO. The source
is also downloaded, but not used at the moment.

Story: 2002843
Task: 26958
Depends-On: https://review.openstack.org/651326

Change-Id: If2a7a1d696370c8e40a11f8002c9a597406eb2db
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
2019-04-10 10:45:51 -04:00
Kristine Bujold
58661ea4c7 Remove wrs-branding SDK Module
With the StarlingX move to supporting pure upstream OpenStack, the
majority of the SDK Modules are related to functionality no longer
supported. The remaining SDK Modules will be moved to StarlingX
documentation.

Story: 2005275
Task: 30173

Change-Id: I82823d26d02f23d39cbc715b78d339b63321e8d3
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-03-26 09:32:51 -04:00
Al Bailey
488942547f Remove all unused puppet modules from the build
This removes
 puppet-ceilometer
 puppet-cinder
 puppet-glance
 puppet-gnocchi
 puppet-heat
 puppet-ironic
 puppet-magnum
 puppet-murano
 puppet-neutron
 puppet-nova
 puppet-panko
 puppet-swift

Story: 2004764
Task: 30148
Change-Id: I0a037aa8f06033d3601265417fb58325f84933f1
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-03-22 12:03:03 -05:00
Tyler Smith
681d7947c4 Upversioning platform horizon to master
We have switched to using vanilla django 1.11, and no longer require
these patches

Change-Id: I5830615bf357e9a06a4518adaccd2bcffb7d00be
Story: 2004765
Task: 28883
Depends-On: https://review.openstack.org/#/c/642797
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2019-03-12 19:49:25 +00:00
Bin Qian
5d13b4c911 Set docker service monitored by pmond
override docker service so systemd:
1. to create/remove /var/run/dockerd.pid file at service start/stop.
2. not to restart automatically on exit or failure

deploy docker.conf for pmond to monitor docker service

Story: 2002843
Task: 29391

Change-Id: I3595d0d4f97d90e4119fc1455bcf164aebc5d6ec
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2019-02-19 11:33:00 -05:00
Jerry Sun
7bb43963d3 Build registry-token-server without dep
This change reworks the registry-token-server package spec with
go dependencies downloaded at mirror-download time, rather than
at build time.  The dependencies (at fixed revisions) are
extracted into the package's build tree for compilation.

Story: 2002840
Task: 22783
Depends-On: https://review.openstack.org/#/c/631001/
Change-Id: Ib7d745c6469beacf029195c3e6eaa4935f398483
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
Signed-off-by: Jason McKenna <jason.mckenna@windriver.com>
2019-01-18 09:36:15 -05:00
Jerry Sun
bfca86f5d9 Remove Docker Registry Token Server From Build
Remove Docker Registry Token Server from build for now. Currently,
it needs network access to build, which doesn't work for some people.
Removing it from the build for now to decide how we want to rework
this.

Story: 2002840
Task: 22783

Change-Id: I7991f68288b45255ea850110ce24087297c185ca
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
2019-01-08 15:24:27 -05:00
Jerry Sun
6714d6b8d7 Add Docker Registry Token Server
As part of setting up Keystone authentication with Docker registry,
a token server needs to be deployed and managed by SM. This commit
adds the source code and spec files to build the token server used by
Docker registry for authentication with Keystone. The token server is
a modified version of the example token server provided by Docker
Distribution. The changes uses the Gophercloud library to communicate
with Keystone as opposed to checking the user credentials against an
existing HTPASSWD file.

Story: 2002840
Task: 22783
Depends-On: https://review.openstack.org/#/c/625335/

Change-Id: I00f5aa1073d496aa0b08223c6fa1fcbaf9d5b89b
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
2019-01-08 11:42:04 -05:00
Zuul
710d6ea19d Merge "Refactor motd patch for crontabs" 2018-12-21 19:16:25 +00:00
Jason McKenna
38613cac94 Add go "dep" tool to support lockfiles in go pkgs
The go compiler supports "go get" to download dependencies, but
it will download the latest version of dependencies from the git
repository of the dependency.  This could lead to non-reproducable
builds, or the potential of dependency API changes (including
deprecated features) to break the build of packages.

The "dep" tool allows for a lockfile to be created, which captures
the git commit ID of dependencies, and can restore dependencies to
the captured state.

Since no binary package containing "dep" is currently available for
CentOS, this change adds the package and compiles it from source.

Depends-On: https://review.openstack.org/625333

Story: 2004617
Task: 28525

Change-Id: Ic3bfad6a419b344e7c147c3839d16956c432a99e
Signed-off-by: Jason McKenna <jason.mckenna@windriver.com>
2018-12-18 09:26:20 -05:00
zhipengl
c658f53d02 Refactor motd patch for crontabs
According to analysis from Saul in task 26455, we can remove motd
patch for crontabs and then use RPM instead of SRPM for it.
We also need to remove usage of --without-progname in utilities/
update-motd/files/motd-update.

Story: 2003765
Task: 28181 & 28182
Depends-on: https://review.openstack.org/#/c/623385/

Change-Id: I4be7d47ee77ac07eb24f5b88cd707c29b595df7a
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-12-18 02:37:55 +00:00
zhipengl
920fcb818c Remove last patch of iscsi-initiator-utils
As we see in the patch, it changes %dir to %ghost to avoid RPM audit.
If we move the config file mod change to config package and use RPM
instead of SRPM, we have no audit issue anymore and can ignore related
change.
Deployment test pass and related file check pass!

Story: 2003768
Task: 28459
Depends-on: https://review.openstack.org/#/c/624584/

Change-Id: Ic23ccd740520e1942b3118a84cb03aef5f388332
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-12-12 23:09:56 +08:00
Shuicheng Lin
4f3e626029 replace puppet-memcached srpm with rpm
This is only a version change patch which could be removed.
So replace it with rpm.

Test:
Pass build and multi node deploy test.

Story: 2004557
Task: 28317
Depends-On: https://review.openstack.org/623357

Change-Id: I1472baea4d43be2ea7ab75f3415e2fd7c36b5236
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2018-12-07 18:36:54 +08:00
Shuicheng Lin
be1e909e1d refactor nfs-utils
Story: 2004404
Task: 28046

since there is no src patch, move the meta patch setting to config
package. And replace srpm with rpm.
The 4 service files(rpc-statd/rpc-statd-notify) from nfs-utils are
kept to avoid rpm audit complain. Just disable them by default.
The service/conf files in files folder are not used, so just remove
them.

Test:
Pass build and multi node deploy test. Confirmed The 4 services are
disabled. Other services are the same as before.

Change-Id: I42d2ef3d61c1f62fe8aaea5467c810fc6e39dc13
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2018-12-05 20:18:55 +08:00
zhipengl
0599e8e58e Refactor patches for setup package
Use setup-config package to package config files for setup package.
Merge all passwd, group, uidgid patches to one patch.

Deployment test and ping test between VMs pass
Config and service files check pass.

Story: 2003768
Task: 27592

Change-Id: I98da90695c8184261279b27b4ede63fd7951babf
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-11-30 08:41:36 +08:00
zhipengl
462fa4fc08 Refactor patches for nss-pam-ldapd package
The change of 3 meta patches refers to %post section in spec file.
The comment in the patch mentions that we don't want change our custom
binddn and bindpw in nslcd.conf.
However, in spec file, "source" variabe could not be assigned to a valid
file name, as we could not find these *.conf files in /etc/ folder.

if test -s /etc/nss-ldapd.conf ; then
        source=/etc/nss-ldapd.conf
elif test -s /etc/nss_ldap.conf ; then
        source=/etc/nss_ldap.conf
elif test -s /etc/pam_ldap.conf ; then
        source=/etc/pam_ldap.conf
else
        source=/etc/ldap.conf

So it will not change nslcd.conf even if we do not remove
below code.

if grep -E -q '^base[[:blank:]]' $source 2> /dev/null ; then
     # Comment out the packaged default base and replace it.
        sed -i -r -e 's,^(base[[:blank:]].*),# \1,g' $target
        grep -E '^base[[:blank:]]' $source >> $target
fi

grep -E '^(binddn|bindpw|port|scope|ssl|pagesize)[[:blank:]]'
   $source 2> /dev/null >> $target

We can use RPM instead of SRPM for nss-pam-ldapd package,
since related patches are not used anymore.

Deployment test pass.

Story: 2003768
Task: 28045
Depends-on: https://review.openstack.org/#/c/619976/

Change-Id: Ia4fa723d1a6ff9a7a8059fc2db1afec640ea41b1
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-11-28 02:25:22 +00:00
zhipengl
96ebc7d181 Refactor patches for net-snmp package
Use net-snmp-config package to package script and service file for
net-snmp package.
Removed servcie/config/script related patches and let net-snmp-config
package be responsible for it.
Keep another meta patch for build configuration related changes.

Deployment test and ping test between VMs pass
Config,serivce and script files check pass.

Story: 2003768
Task: 27586
Depends-on: https://review.openstack.org/#/c/616097

Change-Id: Ic64543447d04543fdf9eafdc3d9ae4e2521c10df
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-11-26 01:21:38 +00:00
Zuul
36dc17738d Merge "Refactor patches for openssh package" 2018-11-23 22:09:59 +00:00
Zuul
1057e52db9 Merge "Refactor patches for util-linux package" 2018-11-23 21:33:48 +00:00
Zuul
324b7e7522 Merge "refactor systemd" 2018-11-22 17:17:38 +00:00
zhipengl
3406431fc5 Refactor patches for util-linux package
Use util-linux-config package to package config files for util-linux.
Remove util-linux package folder and use RPM instead of SRPM for
util-linux.

Deployment test and ping test between VMs pass
Config file check pass.

Story: 2003768
Task: 27595
Depends-on: https://review.openstack.org/#/c/618943/

Change-Id: If90ed6df4a875a576c7ac709589ac221bb0fa2e3
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-11-22 18:17:53 +08:00
Shuicheng Lin
46ce43a77d refactor systemd
Story: 2003768
Task: 27594

Package systemd-config is added to config customized config file
of systemd.
Several patches are converted to config files. These config files
are based on systemd-219-57.el7.src.rpm.
BuildRequires in system-config is set to equal "219-57.el7", to
avoid system-config is missed check when do upgrade. So when do
systemd upgrade, system-config need be upgraded also.

"0003-spec-expand-_udevrulesdir-macro.patch" is removed which
seems not needed.

Test:
Pass build and multi node deploy test. Confirmed related config
file is the same as before.

Change-Id: I879dc276f3280911d844cfa605c56ba03caabdad
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2018-11-21 22:29:21 +08:00
zhipengl
867dddc305 Refactor patches for initscripts package
Use initscripts-config package to package script and service file for
initscripts package.
Refactor 0001-Disable-zeroconf-route.patch,
spec-add-mountnfs-init-script.patch and
spec-include-TiS-changes.patch, let initscripts-config to be
responsible for the installation of config/script/service files.
Merged some meta patches that just includes adding source code patch to
spec-include-Tis-changes.patch.
Removed base/procps since it just includes one file, sysctl.conf. And
move this file to initscripts-config folder.The monitor-tools package
in stx-integ has a %post script that is adding an entry to sysctl.conf,
so add "Requires: initscripts-config" in monitor-tools.spec, to ensure
it is installed after this package replaces the file.

Deployment test and ping test between VMs pass
Service, config and script files check pass.

Story: 2003768
Task: 27585

Change-Id: I2ea3bd05bdc5bca5658d157e6f40f7380e922500
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-11-21 01:26:32 +00:00
zhipengl
1c8c71654f Refactor patches for openssh package
Use openssh-config package to package config and service files
for openssh package.
Merge adding source patch and spec related change to one meta
patch named spec-include-Tis-chnages.patch.

Deployment test and ping test between VMs pass
Config files check pass.

Story: 2003768
Task: 27588

Change-Id: I77cd054707d11dace1c47e8477d0e30b69719a38
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-11-21 01:21:12 +00:00
zhipengl
2bd19e3f8f Refactor patches for pam package
Use pam-config package to package config files for pam package.
We can remove related patch of pam and use RPM instead of SRPM
for pam.

Deployment test and ping test between VMs pass
Config files check pass.

Story: 2003768
Task: 27589
Depends-on: https://review.openstack.org/#/c/617454/

Change-Id: Ib19aa8ef023c184c7dcf0e4086adb516be0d947d
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-11-20 18:21:35 +08:00
Zuul
de1994430a Merge "refactor lighttpd" 2018-11-20 01:17:57 +00:00
Zuul
0cf86be2a6 Merge "refactor openldap" 2018-11-20 01:15:18 +00:00
slin14
822420e2d3 refactor openldap
Package openldap-config is added to config customized config file
of openldap.

Here is the customized change in slapd.service:
"
-After=syslog.target network-online.target
+Before=rsyncd.service
+After=network.target syslog-ng.target

-PIDFile=/var/run/openldap/slapd.pid
+PIDFile=/var/run/slapd.pid

-ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS
+ExecStart=/etc/init.d/openldap start
+ExecStop=/etc/init.d/openldap stop
+ExecReload=/etc/init.d/openldap restart
+RemainAfterExit=yes
"
Here is the customized change in slapd.sysconfig:
"
-#SLAPD_OPTIONS=""
+SLAPD_OPTIONS=""
"

Test:
Pass build and multi node deploy test. Confirmed related config
file is the same as before in deploy node.

Story: 2003768
Task: 26462
Depends-On: https://review.openstack.org/618440

Change-Id: I2559a8e43619449d6179ed913181052d653fa91d
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-11-19 23:29:42 +08:00
Zuul
3ba13e2316 Merge "Refactor patches for rsync package" 2018-11-19 15:19:35 +00:00
Zuul
a83618f0fd Merge "Refactor patches for iscsi-initiator-utils package" 2018-11-19 15:19:33 +00:00
zhipengl
9a10fe4a2f Refactor patches for rsync package
Use rsync-config package to package rsyncd.conf file for rsync
package.
Remove rsync package folder and use RPM instead of SRPM for rsync.

Deployment test and ping test between VMs pass
Config file check pass.

Story: 2003768
Task: 27590
Depends-on: https://review.openstack.org/#/c/617447/

Change-Id: Ic5aeec585774917bb4b25c08fe1a4fa5a3e7d77c
2018-11-19 18:58:45 +08:00