[Updated V1]

Cherry-picked all the opened patches on f/centos8 here:

https://review.opendev.org/#/q/status:open+branch:f/centos8

 

There are still two patches should be cherry-picked:

A.      For the change from ‘squashfs.img’ to ‘install.img’ on pxe-netowrk-installer:

               git fetch https://review.opendev.org/starlingx/metal refs/changes/25/701325/1 && git cherry-pick FETCH_HEAD

B.      For chartmuseum issue:

https://opendev.org/starlingx/tools/commit/572ffec838388bd603b059324ef468dc859f1b6f

 

After all above done, “build-pkgs”  got below failed package list(about 36), the failed reason

has different types,  for example, depended packages missing,  spec build failing,  package version conflicts which

most issues are caused by python upgrade, for example:

 

python-k8sapp-cert-manager-1.0-6.tis.src.rpm 

######################################

DEBUG util.py:634:  No matching package to install: 'python-pbr'

DEBUG util.py:634:  No matching package to install: 'python-setuptools'

DEBUG util.py:634:  No matching package to install: 'python2-pip'

DEBUG util.py:634:  No matching package to install: 'python2-wheel'

DEBUG util.py:634:  Not all dependencies satisfied

 

Question:  can StarlingX/centos8  allow to make python2 and python3 coexist or just porting the target package to work on python3?

 

BTW,   could we speed up the merge progress of these “opened” patches? (https://review.opendev.org/#/q/status:open+branch:f/centos8)

 

============The failed package list=======================

08:13:03 Failed to build packages: 

stx-platform-helm-1.0-8.tis.src.rpm 

vm-topology-1.0-1.tis.src.rpm 

stx-portieris-helm-1.0-15.tis.src.rpm 

stx-openstack-helm-1.0-30.tis.src.rpm 

stx-nginx-ingress-controller-helm-1.0-0.tis.src.rpm 

stx-monitor-helm-1.0-1.tis.src.rpm 

python-novaclient-15.1.0-1.el8.tis.4.src.rpm 

stx-cert-manager-helm-1.0-6.tis.src.rpm 

python-ryu-4.19-0.tis.2.src.rpm 

python-pankoclient-0.7.0-1.tis.2.src.rpm 

python-openstacksdk-0.36.0-1.tis.26.src.rpm 

python-openstackclient-4.0.0-1.tis.12.src.rpm 

python-neutronclient-6.14.0-1.tis.4.src.rpm 

python-keystoneclient-3.21.0-2.tis.2.src.rpm 

python-keystoneauth1-3.17.1-2.tis.1.src.rpm 

python-heatclient-1.18.0-1.tis.4.src.rpm 

python-k8sapp-portieris-1.0-15.tis.src.rpm 

python-k8sapp-cert-manager-1.0-6.tis.src.rpm 

python-gnocchiclient-7.0.4-1.tis.17.src.rpm 

python-django-horizon-15.1.0-1.tis.2.src.rpm 

python-cinderclient-5.0.0-1.tis.4.src.rpm 

openstack-keystone-16.0.0-1.el8.tis.1.src.rpm 

python-barbicanclient-4.9.0-1.tis.3.src.rpm 

python-aodhclient-1.3.0-1.tis.1.src.rpm 

portieris-helm-0.7.0-0.tis.src.rpm 

openstack-helm-infra-1.0-16.tis.src.rpm 

openstack-helm-1.0-23.tis.src.rpm 

monitor-helm-elastic-1.0-1.tis.src.rpm 

distributedcloud-1.0.0-1.tis.3.src.rpm 

monitor-helm-1.0-4.tis.src.rpm 

libibverbs-41mlnx1-OFED.4.7.0.0.2.47329.tis.1.src.rpm 

distributedcloud-client-1.0.0-1.tis.0.src.rpm 

docker-ce-19.03.12-3.el7.tis.1.src.rpm 

cert-manager-helm-1.0-1.tis.src.rpm 

mariadb-10.3.17-1.el8.tis.15.src.rpm

 

B,R

Haiqing Bai

From: Bai, Haiqing
Sent: Tuesday, November 10, 2020 5:07 PM
To: starlingx-discuss@lists.starlingx.io
Cc: Wold, Saul <Saul.Wold@windriver.com>; Tao, Yue (Yue.Tao@windriver.com) <Yue.Tao@windriver.com>; Zhang, Xiao (xiao.zhang@windriver.com) <xiao.zhang@windriver.com>; Fu, YongX <yongx.fu@intel.com>; haridhar.kalvala@intel.com
Subject: [centos8] build-pkgs failed to build on f/centos8 branch

 

If switch “tools” to f/centos8 branch, after downloading ok,   build-pkgs failed and reported below error messages:

 

07:58:07 Failed to build packages:  tpm2-openssl-engine-1.0-2.tis.src.rpm  vm-topology-1.0-1.tis.src.rpm  stx-portieris-helm-1.0-15.tis.src.rpm  stx-openstack-helm-1.0-29.tis.src.rpm  stx-platform-helm-1.0-8.tis.src.rpm  stx-nginx-ingress-controller-helm-1.0-0.tis.src.rpm  stx-monitor-helm-1.0-1.tis.src.rpm  stx-cert-manager-helm-1.0-6.tis.src.rpm  python-k8sapp-portieris-1.0-15.tis.src.rpm  python-ryu-4.19-0.tis.2.src.rpm  python-k8sapp-openstack-1.0-29.tis.src.rpm  openstack-helm-1.0-23.tis.src.rpm  portieris-helm-0.7.0-0.tis.src.rpm  python-k8sapp-cert-manager-1.0-6.tis.src.rpm  openstack-helm-infra-1.0-16.tis.src.rpm  oidcauthtools-1.0-0.tis.src.rpm  monitor-helm-elastic-1.0-1.tis.src.rpm  monitor-helm-1.0-4.tis.src.rpm  containerd-1.3.3-1.tis.src.rpm  libibverbs-41mlnx1-OFED.4.7.0.0.2.47329.tis.1.src.rpm  kubernetes-1.18.1-1.tis.2.src.rpm  distributedcloud-client-1.0.0-1.tis.0.src.rpm  distributedcloud-1.0.0-1.tis.3.src.rpm  cert-manager-helm-1.0-1.tis.src.rpm  mariadb-10.3.17-1.el8.tis.15.src.rpm

 

######## Mon Nov  9 07:58:07 UTC 2020: build-rpm-parallel --std failed with rc=1

Mon Nov  9 07:58:08 UTC 2020: build-rpm-parallel --std failed with rc=1

/localdisk/loadbuild/hbai/c81stx/std/results/hbai-c81stx-3.0-std: build result, to find the detailed fail reason

 

Package  tpm2-openssl-engine build failed after openssl upgrade to openssl-1.1.1-8.el8.x86_64.rpm for “DSO” related APIs are not exported now.

 

/localdisk/loadbuild/hbai/c81stx/std/results/hbai-c81stx-3.0-std/build.log shows:

=====================================================

cc -g -O2 -Werror -Wno-unused-parameter -Wno-missing-braces -fno-strict-aliasing   -c -o e_tpm2.o e_tpm2.c

gcc -g -O2 -Werror -Wno-unused-parameter -Wno-missing-braces -fno-strict-aliasing   -c -o e_tpm2_err.o e_tpm2_err.c

e_tpm2.c:71:10: fatal error: openssl/dso.h: No such file or directory

#include <openssl/dso.h>

          ^~~~~~~~~~~~~~~

compilation terminated.

make: *** [<builtin>: e_tpm2.o] Error 1

make: *** Waiting for unfinished jobs....

e_tpm2_err.c:67:10: fatal error: openssl/dso.h: No such file or directory

#include <openssl/dso.h>

          ^~~~~~~~~~~~~~~

compilation terminated.

make: *** [<builtin>: e_tpm2_err.o] Error 1

RPM build errors:

error: Bad exit status from /var/tmp/rpm-tmp.7AY8yF (%build)

Bad exit status from /var/tmp/rpm-tmp.7AY8yF (%build)

====================================================

 

I need to update tpm2-openssl-engine code to make it available to openssl 1.1.1.8.

 

B,R

Haiqing Bai