Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Support antrea-agent UBI8 based image" #3364

Merged
merged 1 commit into from
Feb 26, 2022

Conversation

antoninbas
Copy link
Contributor

Reverts #3273

@antoninbas
Copy link
Contributor Author

Reverting PR because of CI failures

2022-02-26T00:33:11.9409624Z Step 6/6 : RUN cd /tmp/openvswitch* &&     /apply-patches.sh &&     sed -e "s/@VERSION@/$OVS_VERSION/" rhel/openvswitch-fedora.spec.in > /tmp/ovs.spec &&     yum-builddep -y /tmp/ovs.spec && ./boot.sh &&     ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc &&     make rpm-fedora && mkdir -p /tmp/ovs-rpms &&     mv /tmp/openvswitch-$OVS_VERSION/rpm/rpmbuild/RPMS/*/*.rpm  /tmp/ovs-rpms &&     rm -rf /tmp/openvswitch*
2022-02-26T00:33:11.9593925Z  ---> Running in 5eb3286bee57
2022-02-26T00:33:12.3094930Z Loaded plugins: fastestmirror, ovl
2022-02-26T00:33:12.4096886Z Enabling base-source repository
2022-02-26T00:33:12.4147720Z Enabling epel-source repository
2022-02-26T00:33:12.4148046Z Enabling extras-source repository
2022-02-26T00:33:12.4148341Z Enabling updates-source repository
2022-02-26T00:33:12.4148592Z Loading mirror speeds from cached hostfile
2022-02-26T00:33:15.7130155Z  * base: mirror.ash.fastserv.com
2022-02-26T00:33:15.7133276Z  * epel: dl.fedoraproject.org
2022-02-26T00:33:15.7138467Z  * epel-source: dl.fedoraproject.org
2022-02-26T00:33:15.7143229Z  * extras: centos.mirror.constant.com
2022-02-26T00:33:15.7146599Z  * updates: mirror.math.princeton.edu
2022-02-26T00:33:30.8448197Z http://vault.centos.org/centos/7/os/Source/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:1f16:c1:5e03:a992:8ee1:99d2:6f8: Cannot assign requested address"
2022-02-26T00:33:30.8449059Z Trying other mirror.
2022-02-26T00:34:23.1573902Z http://mirror.es.its.nyu.edu/epel/7/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.es.its.nyu.edu/epel/7/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds')
2022-02-26T00:34:23.1574680Z Trying other mirror.
2022-02-26T00:34:57.5179519Z http://vault.centos.org/centos/7/updates/Source/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:1f13:2e7:2901:d2b0:c3b2:9347:934c: Cannot assign requested address"
2022-02-26T00:34:57.5180373Z Trying other mirror.
2022-02-26T00:35:27.9660595Z http://vault.centos.org/centos/7/updates/Source/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
2022-02-26T00:35:27.9661227Z Trying other mirror.
2022-02-26T00:35:27.9661881Z failure: repodata/repomd.xml from updates-source: [Errno 256] No more mirrors to try.
2022-02-26T00:35:27.9663247Z http://vault.centos.org/centos/7/updates/Source/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:1f13:2e7:2901:d2b0:c3b2:9347:934c: Cannot assign requested address"
2022-02-26T00:35:27.9664706Z http://vault.centos.org/centos/7/updates/Source/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
2022-02-26T00:35:28.0750802Z The command '/bin/sh -c cd /tmp/openvswitch* &&     /apply-patches.sh &&     sed -e "s/@VERSION@/$OVS_VERSION/" rhel/openvswitch-fedora.spec.in > /tmp/ovs.spec &&     yum-builddep -y /tmp/ovs.spec && ./boot.sh &&     ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc &&     make rpm-fedora && mkdir -p /tmp/ovs-rpms &&     mv /tmp/openvswitch-$OVS_VERSION/rpm/rpmbuild/RPMS/*/*.rpm  /tmp/ovs-rpms &&     rm -rf /tmp/openvswitch*' returned a non-zero code: 1
2022-02-26T00:35:28.0792609Z ##[error]Process completed with exit code 1.
2022-02-26T00:35:28.0856091Z Post job cleanup.
2022-02-26T00:35:28.1896792Z [command]/usr/bin/git version
2022-02-26T00:35:28.1943271Z git version 2.35.1
2022-02-26T00:35:28.1979049Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-02-26T00:35:28.2014734Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-02-26T00:35:28.2225551Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-02-26T00:35:28.2247704Z http.https://github.com/.extraheader
2022-02-26T00:35:28.2256114Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2022-02-26T00:35:28.2286501Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-02-26T00:35:28.2707389Z Cleaning up orphan processes

@ksamoray could you re-open your PR after fixing the issue?

The build-ubi job should also be modified so that it runs (without pushing to the registry) for each PR, otherwise we will have other failures in the future.

build-ubi:
needs: check-changes
if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }}
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Build and push Antrea UBI8 Docker image to registry
if: ${{ github.repository == 'antrea-io/antrea' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
./hack/build-antrea-linux-all.sh --pull --push-base-images --distro ubi
docker push antrea/antrea-ubi:latest

@antoninbas antoninbas merged commit f4e10a9 into main Feb 26, 2022
@antoninbas antoninbas deleted the revert-3273-ubi8-image branch February 26, 2022 01:01
ksamoray added a commit that referenced this pull request Feb 27, 2022
ksamoray added a commit to ksamoray/antrea that referenced this pull request Feb 27, 2022
ksamoray added a commit to ksamoray/antrea that referenced this pull request Feb 27, 2022
Add the required code to build an Antrea image based on Red Hat UBI
(Universal Base Image), which is in used by Red Hat platforms.

Reverts antrea-io#3364
Signed-off-by: Kobi Samoray <[email protected]>
bangqipropel pushed a commit to bangqipropel/antrea that referenced this pull request Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant