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>
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>
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>
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.
aeb3ee65bchttps://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>
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
'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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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