openshift-ansible: Failed to install Openshift 3.10 because of missing packages

Description

Failed to install Openshift 3.10 because of missing packages.

Version
ansible 2.5.2
openshift-ansible-3.10.0-0.41.0
OS - Centos 7.5
Steps To Reproduce

Run deploy_cluster.yml playbook

Expected Results
Openshift origin 3.10 installed successfully
Observed Results
TASK [openshift_node : Install node, clients, and conntrack packages] **********
Wednesday 16 May 2018  15:57:47 +0000 (0:00:02.764)       0:10:00.906 ********* 
FAILED - RETRYING: Install node, clients, and conntrack packages (3 retries left).
FAILED - RETRYING: Install node, clients, and conntrack packages (3 retries left).
FAILED - RETRYING: Install node, clients, and conntrack packages (3 retries left).
FAILED - RETRYING: Install node, clients, and conntrack packages (2 retries left).
FAILED - RETRYING: Install node, clients, and conntrack packages (2 retries left).
FAILED - RETRYING: Install node, clients, and conntrack packages (2 retries left).
FAILED - RETRYING: Install node, clients, and conntrack packages (1 retries left).
FAILED - RETRYING: Install node, clients, and conntrack packages (1 retries left).
FAILED - RETRYING: Install node, clients, and conntrack packages (1 retries left).
failed: [lago-node0] (item={u'name': u'origin-node-3.10*'}) => {
    "attempts": 3, 
    "changed": false, 
    "item": {
        "name": "origin-node-3.10*"
    }, 
    "rc": 126, 
    "results": [
        "No package matching 'origin-node-3.10*' found available, installed or updated"
    ]
}
No package matching 'origin-clients-3.10*' found available, installed or updated
failed: [lago-node0] (item={u'name': u'origin-clients-3.10*'}) => {
    "attempts": 3, 
    "changed": false, 
    "item": {
        "name": "origin-clients-3.10*"
    }, 
    "rc": 126, 
    "results": [
        "No package matching 'origin-clients-3.10*' found available, installed or updated"
    ]
}
Additional Information

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 90 (43 by maintainers)

Most upvoted comments

in case you haven’t seen the notification sent to dev mailing list

Let me know if there are any issues either here or writing to the mailer

@alv91 correct because we had to remove the package yesterday evening. And so the expectation is that everyone who already have a non pristine deployment or an env where the python2-docker-3.3.0-1.el7.noarch.rpm & python-docker-py >= 1.7.2-1 are present to uninstall it

After checking out openshift-ansible-3.10.27-1 tag this atomic issue didn’t happen.

guys i understand the excitement but it doesn’t help if everyone is adding a comment on top of another comment.

the reason i haven’t released as part of PaaS SIG any origin rpm for v3.10.rc0 is because we couldn’t build it due to missing code which was made in OCP but has been ported to Origin but that is now sorted

Once that was done i was waiting for the new tag in Origin repo to be created which was done few hours ago with the official v3.10 release and so i’m working on it to get the rpms out for testing.

Any news here. Openshift 3.10 has been released by RedHat, however origin is not available

@DanyC97 prerequisites were not running in my environment due an error in one of my scripts. deploy_cluster.yaml was being running instead (yesterday). i fixed that.

i ran fresh again

$ git describe openshift-ansible-3.10.29-1-22-gdec10a6d6

i didn’t remove atomic from default_r_openshift_node_image_prep_packages this time, nor patched roles/openshift_repos/tasks/centos_repos.yml

during prerequisites execution:

$ ls -al /etc/yum.repos.d/
total 48
drwxr-xr-x.  2 root root  223 Aug 17 04:23 .
drwxr-xr-x. 78 root root 8192 Aug 17 04:21 ..
-rw-r--r--.  1 root root 1664 Aug  2 03:56 CentOS-Base.repo
-rw-r--r--.  1 root root 1309 Aug  2 03:56 CentOS-CR.repo
-rw-r--r--.  1 root root  649 Aug  2 03:56 CentOS-Debuginfo.repo
-rw-r--r--.  1 root root  314 Aug  2 03:56 CentOS-fasttrack.repo
-rw-r--r--.  1 root root  630 Aug  2 03:56 CentOS-Media.repo
-rw-r--r--.  1 root root  887 Aug 17 04:23 CentOS-OpenShift-Origin.repo
-rw-r--r--.  1 root root 1331 Aug  2 03:56 CentOS-Sources.repo
-rw-r--r--.  1 root root 4768 Aug  2 03:56 CentOS-Vault.repo

$ cat /etc/yum.repos.d/CentOS-OpenShift-Origin.repo # master-01

output

prerequisites ran to completion without errors with this repo file. So the PR in mention was actually ok!

running deploy_cluster.yaml now.

will re-open if another rpm issue is found.

thanks!

@sdodson just getting a couple of non related errors to this issue.

  1. Hosts: prod-lb-01.example.com Play: Initialize cluster facts Task: Gather Cluster facts Message: MODULE FAILURE

  2. Hosts: prod-master-01.example.com Play: Create Hosted Resources - router Task: Get the certificate contents for router Message: |lib_utils_oo_select_keys failed expects to filter on a dict or object

I’ll work in a solution, retry and let you know.

@DanyC97

can you share more info why you think is not doing the right thing ?

sure, no matter i’ve set openshift_release=v3.10 and openshift_repos_enable_testing=true in the inventory, the /etc/yum.repos.d/CentOS-OpenShift-Origin310.repo file does not appear in the server during prerequisites nor cluster_deploy steps, thence there’s no valid source to pull the rpms from. This happen in the current v3.10 branch ($ git describe => openshift-ansible-3.10.29-1-2-g8e9cd4a1b) which already has the PR changes merged.

I was able to successfully test this part before, i think in 3.10-27-1, by locally patching roles/openshift_repos/tasks/centos_repos.yml and adding the roles/openshift_repos/templates/CentOS-OpenShift-Origin310.repo.j2 file. With the patch, ansible did copy the CentOS-OpenShift-Origin310.repo to the servers. see links with its respective content.

Maybe here there’s a clue: I noticed centos_repos.yml is no longer part of the PR nor the merge, which initially included this change: CentOS-OpenShift-Origin{{ ((openshift_release | default('')).split('.') | join(''))[0:3] }}.repo.j2, but even if i patch the current branch with that sentence i cannot get the CentOS-OpenShift-Origin310.repo generated in the servers either. so that’s the reason i decided to manually copy the CentOS-OpenShift-Origin310.repo file to the servers before the test.

hope this help to clarify.

@sdodson I haven’t tried that option yet but could in a next run.

i already did what @joshainglis suggested, to comment/remove “atomic” from default_r_openshift_node_image_prep_packages.

so far so good, this approach let the prerequisites continue to further steps.

I’ll keep you posted. waiting for results yet.

List of files under /etc/yum.repos.d/

 epel-testing.repo
 epel.repo
 CentOS-Vault.repo
 CentOS-Sources.repo
 CentOS-Media.repo
 CentOS-fasttrack.repo
 CentOS-Debuginfo.repo
 CentOS-CR.repo
 CentOS-Base.repo
 CentOS-OpenShift-Origin.repo

Following is output of all files

[vagrant@c1-ocp yum.repos.d]$ cat *
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

# CentOS-CR.repo
#
# The Continuous Release ( CR )  repository contains rpms that are due in the next
# release for a specific CentOS Version ( eg. next release in CentOS-7 ); these rpms
# are far less tested, with no integration checking or update path testing having
# taken place. They are still built from the upstream sources, but might not map
# to an exact upstream distro release.
#
# These packages are made available soon after they are built, for people willing
# to test their environments, provide feedback on content for the next release, and
# for people looking for early-access to next release content.
#
# The CR repo is shipped in a disabled state by default; its important that users
# understand the implications of turning this on.
#
# NOTE: We do not use a mirrorlist for the CR repos, to ensure content is available
#       to everyone as soon as possible, and not need to wait for the external
#       mirror network to seed first. However, many local mirrors will carry CR repos
#       and if desired you can use one of these local mirrors by editing the baseurl
#       line in the repo config below.
#

[cr]
name=CentOS-$releasever - cr
baseurl=http://mirror.centos.org/centos/$releasever/cr/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
# CentOS-Debug.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#

# All debug packages from all the various CentOS-7 releases
# are merged into a single repo, split by BaseArch
#
# Note: packages in the debuginfo repo are currently not signed
#

[base-debuginfo]
name=CentOS-7 - Debuginfo
baseurl=http://debuginfo.centos.org/7/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-7
enabled=0
#
#CentOS-fasttrack.repo

[fasttrack]
name=CentOS-7 - fasttrack
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/fasttrack/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

# CentOS-Media.repo
#
#  This repo can be used with mounted DVD media, verify the mount point for
#  CentOS-7.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c7-media [command]
#
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c7-media [command]

[c7-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
        file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[centos-openshift-origin]
name=CentOS OpenShift Origin
baseurl=http://mirror.centos.org/centos/7/paas/x86_64/openshift-origin/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-PaaS

[centos-openshift-origin-testing]
name=CentOS OpenShift Origin Testing
baseurl=http://buildlogs.centos.org/centos/7/paas/x86_64/openshift-origin/
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/openshift-ansible-CentOS-SIG-PaaS

[centos-openshift-origin-debuginfo]
name=CentOS OpenShift Origin DebugInfo
baseurl=http://debuginfo.centos.org/centos/7/paas/x86_64/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/openshift-ansible-CentOS-SIG-PaaS

[centos-openshift-origin-source]
name=CentOS OpenShift Origin Source
baseurl=http://vault.centos.org/centos/7/paas/Source/openshift-origin/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/openshift-ansible-CentOS-SIG-PaaS
# CentOS-Sources.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base-source]
name=CentOS-$releasever - Base Sources
baseurl=http://vault.centos.org/centos/$releasever/os/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates-source]
name=CentOS-$releasever - Updates Sources
baseurl=http://vault.centos.org/centos/$releasever/updates/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras-source]
name=CentOS-$releasever - Extras Sources
baseurl=http://vault.centos.org/centos/$releasever/extras/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus-source]
name=CentOS-$releasever - Plus Sources
baseurl=http://vault.centos.org/centos/$releasever/centosplus/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
# CentOS Vault contains rpms from older releases in the CentOS-7
# tree.

#c7.0.1406
[C7.0.1406-base]
name=CentOS-7.0.1406 - Base
baseurl=http://vault.centos.org/7.0.1406/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.0.1406-updates]
name=CentOS-7.0.1406 - Updates
baseurl=http://vault.centos.org/7.0.1406/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.0.1406-extras]
name=CentOS-7.0.1406 - Extras
baseurl=http://vault.centos.org/7.0.1406/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.0.1406-centosplus]
name=CentOS-7.0.1406 - CentOSPlus
baseurl=http://vault.centos.org/7.0.1406/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.0.1406-fasttrack]
name=CentOS-7.0.1406 - CentOSPlus
baseurl=http://vault.centos.org/7.0.1406/fasttrack/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

# C7.1.1503
[C7.1.1503-base]
name=CentOS-7.1.1503 - Base
baseurl=http://vault.centos.org/7.1.1503/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.1.1503-updates]
name=CentOS-7.1.1503 - Updates
baseurl=http://vault.centos.org/7.1.1503/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.1.1503-extras]
name=CentOS-7.1.1503 - Extras
baseurl=http://vault.centos.org/7.1.1503/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.1.1503-centosplus]
name=CentOS-7.1.1503 - CentOSPlus
baseurl=http://vault.centos.org/7.1.1503/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.1.1503-fasttrack]
name=CentOS-7.1.1503 - CentOSPlus
baseurl=http://vault.centos.org/7.1.1503/fasttrack/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

# C7.2.1511
[C7.2.1511-base]
name=CentOS-7.2.1511 - Base
baseurl=http://vault.centos.org/7.2.1511/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.2.1511-updates]
name=CentOS-7.2.1511 - Updates
baseurl=http://vault.centos.org/7.2.1511/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.2.1511-extras]
name=CentOS-7.2.1511 - Extras
baseurl=http://vault.centos.org/7.2.1511/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.2.1511-centosplus]
name=CentOS-7.2.1511 - CentOSPlus
baseurl=http://vault.centos.org/7.2.1511/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.2.1511-fasttrack]
name=CentOS-7.2.1511 - CentOSPlus
baseurl=http://vault.centos.org/7.2.1511/fasttrack/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

# C7.3.1611
[C7.3.1611-base]
name=CentOS-7.3.1611 - Base
baseurl=http://vault.centos.org/7.3.1611/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.3.1611-updates]
name=CentOS-7.3.1611 - Updates
baseurl=http://vault.centos.org/7.3.1611/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.3.1611-extras]
name=CentOS-7.3.1611 - Extras
baseurl=http://vault.centos.org/7.3.1611/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.3.1611-centosplus]
name=CentOS-7.3.1611 - CentOSPlus
baseurl=http://vault.centos.org/7.3.1611/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.3.1611-fasttrack]
name=CentOS-7.3.1611 - CentOSPlus
baseurl=http://vault.centos.org/7.3.1611/fasttrack/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

# C7.4.1708
[C7.4.1708-base]
name=CentOS-7.4.1708 - Base
baseurl=http://vault.centos.org/7.4.1708/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.4.1708-updates]
name=CentOS-7.4.1708 - Updates
baseurl=http://vault.centos.org/7.4.1708/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.4.1708-extras]
name=CentOS-7.4.1708 - Extras
baseurl=http://vault.centos.org/7.4.1708/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.4.1708-centosplus]
name=CentOS-7.4.1708 - CentOSPlus
baseurl=http://vault.centos.org/7.4.1708/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0

[C7.4.1708-fasttrack]
name=CentOS-7.4.1708 - CentOSPlus
baseurl=http://vault.centos.org/7.4.1708/fasttrack/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
[epel-testing]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/testing/7/$basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-epel7&arch=$basearch
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/testing/7/$basearch/debug
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1

[epel-testing-source]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/testing/7/SRPMS
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

@DanyC97 i patched my local openshift-ansible repo with the changes that you performed in the PR. I also removed any origin’s .repo file from the servers (fresh machines setup).

I can tell the new code worked! i.e. the right /etc/yum.repos.d/CentOS-OpenShift-Origin310.repo file was created and pre-requisites ran correctly.

looking forward they become available in the branch after approval/tests/commit.

now I’m running deploy_cluster.yaml.

so far so good. I’ll keep you posted of the final results on this part.

@vital-st1x please comment directly on the PR and not on this issue.

Trying to keep the history of all the comments close to the initial problem of missing rpms. I’ll look at your comments and respond on the PR itself, thanks !

i noticed Ansible creates this file during installation:

oh !! thank you for this vital info, i’ll fire a PR and fix this too in addition to what i mentioned in my previous comment

update - PR created

My pleasure @DanyC97

This is another one when running deploy_cluster.yml

{ “attempts”: 3, “changed”: false, “invocation”: { “module_args”: { “allow_downgrade”: false, “bugfix”: false, “conf_file”: null, “disable_gpg_check”: false, “disable_plugin”: [], “disablerepo”: null, “enable_plugin”: [], “enablerepo”: null, “exclude”: null, “install_repoquery”: true, “installroot”: “/”, “list”: null, “name”: [ “atomic” ], “security”: false, “skip_broken”: false, “state”: “present”, “update_cache”: false, “update_only”: false, “validate_certs”: true } }, “item”: “atomic”, “msg”: “Error: Package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64 (extras)\n Requires: python-docker-py >= 1.7.2-1\n Available: docker-python-1.4.0-115.el7.x86_64 (extras)\n python-docker-py = 1.4.0-115.el7\n Available: python-docker-py-1.10.6-3.el7.noarch (extras)\n python-docker-py = 1.10.6-3.el7\n Available: python-docker-py-1.10.6-4.el7.noarch (extras)\n python-docker-py = 1.10.6-4.el7\n”, “rc”: 1, “results”: [ “Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: centos.mirror.lstn.net\n * extras: mirror.hostduplex.com\n * updates: centos.mirror.lstn.net\nResolving Dependencies\n–> Running transaction check\n—> Package atomic.x86_64 1:1.22.1-22.git5a342e3.el7 will be installed\n–> Processing Dependency: python-docker-py >= 1.7.2-1 for package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\nPackage python-docker-py-1.10.6-4.el7.noarch is obsoleted by python2-docker-3.3.0-1.el7.noarch which is already installed\n–> Processing Dependency: runc for package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\n–> Processing Dependency: python-dateutil for package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\n–> Processing Dependency: gomtree for package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\n–> Running transaction check\n—> Package atomic.x86_64 1:1.22.1-22.git5a342e3.el7 will be installed\n–> Processing Dependency: python-docker-py >= 1.7.2-1 for package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\nPackage python-docker-py-1.10.6-4.el7.noarch is obsoleted by python2-docker-3.3.0-1.el7.noarch which is already installed\n—> Package gomtree.x86_64 0:0.5.0-0.2.git16da0f8.el7 will be installed\n—> Package python-dateutil.noarch 0:1.5-7.el7 will be installed\n—> Package runc.x86_64 0:1.0.0-27.rc5.dev.git4bb1fe4.el7 will be installed\n–> Processing Dependency: criu for package: runc-1.0.0-27.rc5.dev.git4bb1fe4.el7.x86_64\n–> Running transaction check\n—> Package atomic.x86_64 1:1.22.1-22.git5a342e3.el7 will be installed\n–> Processing Dependency: python-docker-py >= 1.7.2-1 for package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\nPackage python-docker-py-1.10.6-4.el7.noarch is obsoleted by python2-docker-3.3.0-1.el7.noarch which is already installed\n—> Package criu.x86_64 0:3.5-4.el7 will be installed\n–> Processing Dependency: libprotobuf-c.so.1(LIBPROTOBUF_C_1.0.0)(64bit) for package: criu-3.5-4.el7.x86_64\n–> Processing Dependency: libprotobuf-c.so.1()(64bit) for package: criu-3.5-4.el7.x86_64\n–> Processing Dependency: libnet.so.1()(64bit) for package: criu-3.5-4.el7.x86_64\n–> Running transaction check\n—> Package atomic.x86_64 1:1.22.1-22.git5a342e3.el7 will be installed\n–> Processing Dependency: python-docker-py >= 1.7.2-1 for package: 1:atomic-1.22.1-22.git5a342e3.el7.x86_64\nPackage python-docker-py-1.10.6-4.el7.noarch is obsoleted by python2-docker-3.3.0-1.el7.noarch which is already installed\n—> Package libnet.x86_64 0:1.1.6-7.el7 will be installed\n—> Package protobuf-c.x86_64 0:1.0.2-3.el7 will be installed\n–> Finished Dependency Resolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest\n” ] }

prerequisites passed. running playbooks/deploy_cluster.yml now.

@imranrazakhan : add the testing repo

cat > /etc/yum.repos.d/CentOS-OpenShift-Origin-CBS.repo <<EOF
[centos-openshift-origin-testing-cbs]
name=CentOS OpenShift Origin Testing CBS
baseurl=https://cbs.centos.org/repos/paas7-openshift-origin310-testing/x86_64/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/openshift-ansible-CentOS-SIG-PaaS
EOF

@DanyC97 Repo 3.10 for soon or not yet? Thank’s

@ticapix Is there any official repo for 3.10 rc?

@gbenhaim : any update or way we could help ?

@DanyC97 thanks.