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

ci: do not compile fastpath kernel module for centos #4247

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

zhangzujian
Copy link
Member

Pull Request

What type of this PR

Examples of user facing changes:

  • Features
  • Bug fixes
  • Docs
  • Tests

Which issue(s) this PR fixes

CentOS Linux 7 reached end of life (EOL) on June 30, 2024, and the workflow job always fails:

#7 [2/4] RUN yum install -y gcc elfutils-libelf-devel make perl python3 autoconf automake libtool rpm-build openssl-devel git     && git clone -b branch-2.16 --depth=1 https://github.com/openvswitch/ovs.git /ovs/     && yum erase -y git && yum clean all
#7 0.224 Loaded plugins: fastestmirror, ovl
#7 0.330 Determining fastest mirrors
#7 0.359 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
#7 0.359 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
#7 0.361 
#7 0.361 
#7 0.361  One of the configured repositories failed (Unknown),
#7 0.361  and yum doesn't have enough cached data to continue. At this point the only
#7 0.361  safe thing yum can do is fail. There are a few ways to work "fix" this:
#7 0.361 
#7 0.361      1. Contact the upstream for the repository and get them to fix the problem.
#7 0.361 
#7 0.361      2. Reconfigure the baseurl/etc. for the repository, to point to a working
#7 0.361         upstream. This is most often useful if you are using a newer
#7 0.361         distribution release than is supported by the repository (and the
#7 0.361         packages for the previous distribution release still work).
#7 0.3[61](https://github.com/zhangzujian/kube-ovn/actions/runs/9754157622/job/26920745295#step:5:62) 
#7 0.361      3. Run the command with the repository temporarily disabled
#7 0.361             yum --disablerepo=<repoid> ...
#7 0.361 
#7 0.361      4. Disable the repository permanently, so yum won't use it by default. Yum
#7 0.361         will then just ignore the repository until you permanently enable it
#7 0.361         again or use --enablerepo for temporary usage:
#7 0.361 
#7 0.361             yum-config-manager --disable <repoid>
#7 0.361         or
#7 0.361             subscription-manager repos --disable=<repoid>
#7 0.361 
#7 0.361      5. Configure the failing repository to be skipped, if it is unavailable.
#7 0.361         Note that yum will try to contact the repo. when it runs most commands,
#7 0.361         so will have to try and fail each time (and thus. yum will be be much
#7 0.361         slower). If it is a very temporary problem though, this is often a nice
#7 0.361         compromise:
#7 0.361 
#7 0.361             yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
#7 0.361 
#7 0.361 Cannot find a valid baseurl for repo: base/7/x86_[64](https://github.com/zhangzujian/kube-ovn/actions/runs/9754157622/job/26920745295#step:5:65)

Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
@zhangzujian zhangzujian marked this pull request as ready for review July 2, 2024 02:59
@zhangzujian zhangzujian merged commit d4002b8 into kubeovn:release-1.12 Jul 2, 2024
54 checks passed
@zhangzujian zhangzujian deleted the ci-remove-fastpath branch July 2, 2024 06:37
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Jul 2, 2024
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants