Skip to content

Commit ea38611

Browse files
Install OpenVSwitch from the CentOS PaaS SIG Repos
In the past, we were not able to install OpenVSwitch from the normal CentOS repositories or the `epel-release` repositories as the version there was too old. We were using Adam Miller's COPR to source a newer version, however this was unstable and flaky. The CentOS PaaS SIG now provides the `openshift-origin15` repository which has the dependencies necessary for bleeding-edge builds of Origin on CentOS, including the correct OpenVSwitch dependency RPM. We will use this repository from now on. Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent e935cc6 commit ea38611

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

images/node/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
#
1111
FROM openshift/origin
1212

13+
COPY centos-paas-sig-openshift-origin-15.repo /etc/yum.repos.d/
1314
COPY usr/bin/* /usr/bin/
1415
COPY opt/cni/bin/* /opt/cni/bin/
1516
COPY etc/cni/net.d/* /etc/cni/net.d/
1617
COPY conf/openshift-sdn-ovs.conf /usr/lib/systemd/system/origin-node.service.d/
1718
COPY scripts/* /usr/local/bin/
1819

19-
RUN curl -L -o /etc/yum.repos.d/origin-next-epel-7.repo https://copr.fedoraproject.org/coprs/maxamillion/origin-next/repo/epel-7/maxamillion-origin-next-epel-7.repo && \
20-
INSTALL_PKGS="libmnl libnetfilter_conntrack conntrack-tools openvswitch \
20+
RUN INSTALL_PKGS="libmnl libnetfilter_conntrack conntrack-tools openvswitch \
2121
libnfnetlink iptables iproute bridge-utils procps-ng ethtool socat openssl \
2222
binutils xz kmod-libs kmod sysvinit-tools device-mapper-libs dbus \
2323
iscsi-initiator-utils" && \
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[centos-paas-sig-openshift-origin15]
2+
name = CentOS PaaS SIG Origin 1.5 Repository
3+
baseurl = https://buildlogs.centos.org/centos/7/paas/x86_64/openshift-origin15/
4+
enabled = 1
5+
gpgcheck = 0
6+
sslverify = 0

0 commit comments

Comments
 (0)