-
Notifications
You must be signed in to change notification settings - Fork 70
create an installation doc for RHEL 7 #463
Comments
This commit includes a script based in centos installs scripts to install clear containers 3.0 in RHEL systems. This guide will install Docker CE from CentOS repos and extra requeriment from CentOS repositories. This document is not intended to be run in production systems. Fixes: clearcontainers#463 Depends on: clearcontainers#372 Signed-off-by: Geronimo Orozco <[email protected]>
@jodh-intel Due the fact that on RHEL system we will install |
Hi @chavafg, @GabyCT - Is this something you could take a look into again? It's still a really important requirement, particularly so given that we have now landed https://github.com/clearcontainers/runtime/blob/master/docs/sles-installation-guide.md 😄 /cc @xsgordon |
@gorozco1 Which dependency specifically has to come from CentOS? When I was attempting to follow the existing CentOS guide/script and what was pulled from where it seemed like most of the requirements were actually available in Extras/Optional for RHEL? From my POV I'm ultimately trying to get to something aligned with the standalone CRI-O docs here: |
For reference, here's my latest "CentOS + RHEL" install script (which was eventually abandoned as we wanted to keep CentOS and RHEL separate due to their differences): Specifically, the following chunk shows that for a successful install, RHEL users need to enable an extra repo: |
@jodh-intel , I tried the latest script in RHEL 7.3, however, I am getting this error
|
Hi @GabyCT - when you say you've tried the latest script, are you referring to the following?: For RHEL, we're back to the discussion about whether we need a single script that handles both CentOS and RHEL or whether we create a separate It's going to be rather difficult to debug this since I don't have access to a RHEL system, so please can you confirm which script you are running and then attach the
That ... which implies the package metadata on your RHEL system isn't current. Have you run |
... and I've just noticed that |
@jodh-intel , yes I am using https://github.com/jodh-intel/runtime/blob/add-centos%2Brhel-install-doc/installation/centos%2Brhel-setup.sh. I am using Red Hat Enterprise Linux Server 7.3 (Maipo). I did perform a |
@jodh-intel , here it is the |
Hi @GabyCT. OK, there are a few things to do fwics:
... but clearly, that isn't correct for RHEL because CentOS != RHEL 😄 According to https://docs.docker.com/engine/installation/linux/docker-ee/rhel/#upgrade-docker-ee, for RHEL you need to enable the "Extras repo" to get the However, at this point, we have a decision to make. For the purposes of the installation docs, what we are trying to do is: a) Explain how to setup a Docker system with Clear Containers on a RHEL host. I think the problem here is (b) since "real" RHEL users will no doubt install Docker EE, but we (I think) can be satisfied by testing the installation with Docker CE (since that's what we are specifying for the other distros). The issue is that Docker EE and Docker CE are seemingly installed in different ways. What we could do is:
That should give us a basic RHEL test and we can investigate ways to expand coverage for Docker EE later. What do you think @grahamwhaley, @sameo, @gorozco1, @xsgordon ? |
I don't necessarily think it's a valid assumption that a "real" RHEL user will install Docker EE:
Is there a specific version or feature requirement that is driving the assumption? |
Oh great! Well, I think that's probably our answer - thanks for the info @xsgordon!
Not that I'm aware of. If we can use docker CE from a RHEL repo, that's great as it should cater for this particular (install doc) requirement. Do you agree @grahamwhaley et al? |
@xsgordon I don't recall to be honest, As you said, this work was moved from using "centos" extras and packages, because this was not a real scenario. A production RHEL user will use it's credentials to have supported packages from oficial rhel repos and install docker EE. |
@gorozco1 yes but I guess part of the undercurrent of my thinking here is that a user who can only run supported packages from official repositories wouldn't be running an installation script directly from GitHub in the first place (after all last I looked if the script can't find the official packages for many things it goes and attempts to build from source)? |
@xsgordon - it does this because our qemu variant ( |
@jodh-intel yeah that's kind of my point though, as long as that's the case a user who absolutely must have all packages from official sources wont use this process anyway. W.r.t. GCC I believe you can get GCC 6 via the Red Hat Developer Toolset: https://access.redhat.com/documentation/en-us/red_hat_developer_toolset/6/html/user_guide/chap-red_hat_developer_toolset#sect-Red_Hat_Developer_Toolset-About |
@jodh-intel so I got confused, the point is that the user will use docker EE? . In case that yes, I do not have access to this repository. On the other hand, the script should install the latest GCC 6 in /usr/local or in which path? thanks |
Hi @GabyCT - for consistency with the other distros we provide install docs for, and for simply testing the installation, I think we should be using Docker CE (which is available in the RHEL Extras repo apparently). Clearly, it would be highly preferable to use the RHEL-packaged versions of
|
@jodh-intel sorry but I do not have access to the RHEL Extras repo as I do not have a subscription |
In which case, we may be forced to go with the static binaries approach mentioned above. If our install instructions can prove the system works, it's probably not unreasonable to assume that a simplified install process for those with full subscriptions to all the RHEL repos would work also. If there are issues using the alternative installation method, users can of course still report bugs. |
@jodh-intel another problem that I have is about gcc. I do not have access to the Red Hat Developer Toolset. So are we going to use the same method as we did with Centos? |
@GabyCT you can get a subscription via the developer program at https://developers.redhat.com/articles/red-hat-developer-program-benefits/ |
@jodh-intel and @xsgordon , I tried to do the subscription, however, it is giving me an error when I registered my email and then it sends a link to my email in order to verify my address. Well there is an error that says ' We are sorry ... An error occurs, go back to your application'. I even tried to send me again the link to verify my email multiple times and I get the same error. |
@GabyCT I reached out to the Red Hat Developer Program folks and they double checked and said that your account was verified successfully, so you should just be able to login at developers.redhat.com. Thanks! |
This will install cc-runtime on RHEL. Fixes clearcontainers#463 Signed-off-by: Gabriela Cervantes <[email protected]>
This will install cc-runtime on RHEL. Fixes clearcontainers#463 Signed-off-by: Gabriela Cervantes <[email protected]>
This will install cc-runtime on RHEL. Fixes clearcontainers#463 Signed-off-by: Gabriela Cervantes <[email protected]>
This will install cc-runtime on RHEL. Fixes clearcontainers#463 Signed-off-by: Gabriela Cervantes <[email protected]>
This will install cc-runtime on RHEL. Fixes clearcontainers#463 Signed-off-by: Gabriela Cervantes <[email protected]>
This will install cc-runtime on RHEL. Fixes clearcontainers#463 Signed-off-by: Gabriela Cervantes <[email protected]>
Add the `-sandbox` option when launching the proxy. This isn't strictly required by the proxy, but is extremely useful for log analysis to allow log entries to be matched to sandboxes as the proxy will add a `sandbox` field in each log entry. Fixes clearcontainers#463. Signed-off-by: James O. D. Hunt <[email protected]>
as stated in PR #372 we need to separate CentOS from RHEL and two documents need to be created.
The text was updated successfully, but these errors were encountered: