-
Notifications
You must be signed in to change notification settings - Fork 69
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
SCL repos not available #76
Comments
Problem triaged; an update from Amazon disables the SCL repos, even if you
had them previously enabled. Fixing that now.
- Alex
…On Thu, Oct 24, 2019 at 11:37 AM RickRing ***@***.***> wrote:
install went fine on east2
but in exercise 1 - installing maven I got this:
***@***.*** ~]$ ansible web -m package -a "name=rh-maven35
state=present" -b
east2.node.0.redhatgov.io | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"msg": "No package matching 'rh-maven35' found available, installed or
updated",
"rc": 126,
"results": [
"No package matching 'rh-maven35' found available, installed or updated"
]
}
but during the initial install I knew I saw some maven stuff - I found all
this in /var/log/messages on node0
***@***.*** ~]# grep -i maven /var/log/messages
Oct 23 19:07:24 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-javapackages-tools-5.0.0-2.4.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-runtime-1-1.2.el7.x86_64
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-maven-resolver-api-1.0.3-5.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-maven-resolver-spi-1.0.3-5.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-maven-resolver-util-1.0.3-5.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-plexus-utils-3.0.24-3.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-maven-wagon-provider-api-2.10-3.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-guava-18.0-10.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-plexus-cipher-1.7-12.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-hawtjni-runtime-1.15-1.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-apache-commons-io-2.5-2.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-plexus-classworlds-2.5.2-7.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-slf4j-1.7.25-1.3.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-httpcomponents-core-4.4.6-3.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-apache-commons-logging-1.2-10.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-plexus-containers-component-annotations-1.7.1-2.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-apache-commons-lang-2.6-19.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-atinject-1-24.20100611svn86.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-maven-shared-utils-3.1.0-4.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-jansi-native-1.7-1.2.el7.x86_64
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-plexus-sec-dispatcher-1.4-22.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-maven-resolver-impl-1.0.3-5.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-plexus-interpolation-1.22-7.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-apache-commons-cli-1.4-1.2.el7.noarch
Oct 23 19:07:26 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-aopalliance-1.0-14.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-google-guice-4.1-6.1.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-apache-commons-lang3-3.5-3.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-jansi-1.16-1.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-maven-wagon-file-2.10-3.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-jcl-over-slf4j-1.7.25-1.3.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-maven-resolver-transport-wagon-1.0.3-5.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-maven-resolver-connector-basic-1.0.3-5.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-glassfish-el-api-3.0.1-0.4.b08.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-publicsuffix-list-20170424-1.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-apache-commons-codec-1.10-4.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-httpcomponents-client-4.5.3-3.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-jsoup-1.10.3-1.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-maven-wagon-http-shared-2.10-3.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-maven-wagon-http-2.10-3.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-jboss-interceptors-1.2-api-1.0.0-6.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-cdi-api-1.2-4.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-sisu-inject-0.3.3-1.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-sisu-plexus-0.3.3-1.2.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-maven-lib-3.5.0-4.3.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
1:rh-maven35-maven-3.5.0-4.3.el7.noarch
Oct 23 19:07:27 ip-10-0-2-211 yum[10400]: Installed:
rh-maven35-1-1.2.el7.x86_64
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-1-1.2.el7.x86_64
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-maven-3.5.0-4.3.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-maven-lib-3.5.0-4.3.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-maven-wagon-http-2.10-3.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-httpcomponents-client-4.5.3-3.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-maven-wagon-http-shared-2.10-3.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-sisu-plexus-0.3.3-1.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-maven-resolver-transport-wagon-1.0.3-5.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-google-guice-4.1-6.1.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-maven-resolver-impl-1.0.3-5.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-maven-resolver-connector-basic-1.0.3-5.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-plexus-sec-dispatcher-1.4-22.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-jansi-1.16-1.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-maven-wagon-file-2.10-3.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-maven-wagon-provider-api-2.10-3.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-jansi-native-1.7-1.2.el7.x86_64
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-maven-resolver-spi-1.0.3-5.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-maven-resolver-util-1.0.3-5.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-sisu-inject-0.3.3-1.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-cdi-api-1.2-4.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-maven-shared-utils-3.1.0-4.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-jcl-over-slf4j-1.7.25-1.3.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-slf4j-1.7.25-1.3.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-apache-commons-io-2.5-2.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-glassfish-el-api-3.0.1-0.4.b08.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-atinject-1-24.20100611svn86.2.el7.noarch
Oct 23 19:11:43 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-jboss-interceptors-1.2-api-1.0.0-6.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
1:rh-maven35-maven-resolver-api-1.0.3-5.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-hawtjni-runtime-1.15-1.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-plexus-utils-3.0.24-3.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-apache-commons-lang-2.6-19.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-plexus-cipher-1.7-12.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-aopalliance-1.0-14.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-guava-18.0-10.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-plexus-classworlds-2.5.2-7.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-plexus-containers-component-annotations-1.7.1-2.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-jsoup-1.10.3-1.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-apache-commons-codec-1.10-4.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-apache-commons-logging-1.2-10.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-httpcomponents-core-4.4.6-3.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-publicsuffix-list-20170424-1.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-apache-commons-cli-1.4-1.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-apache-commons-lang3-3.5-3.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-plexus-interpolation-1.22-7.2.el7.noarch
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-runtime-1-1.2.el7.x86_64
Oct 23 19:11:44 ip-10-0-2-211 yum[10860]: Erased:
rh-maven35-javapackages-tools-5.0.0-2.4.el7.noarch
maven was installed and then erased???
and looking at the available repos - there is no scl repo enabled
***@***.*** ~]# yum repolist
Loaded plugins: amazon-id, product-id, search-disabled-repos,
subscription-manager
This system is not registered with an entitlement server. You can use
subscription-manager to register.
repo id repo name status
rhel-7-server-rhui-rh-common-rpms/7Server/x86_64 Red Hat Enterprise Linux
7 Server - RH Common from RHUI ( 239
rhel-7-server-rhui-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server
from RHUI (RPMs) 26,500
rhui-REGION-jbcs-rhui-rhel-7-rpms/7Server/x86_64 JBoss JBCS for RHUI RHEL
7 (RPMs) 208
rhui-REGION-jbeap-7.1-rhui-rhel-7-rpms/7Server/x86_64 JBoss EAP 7.1 for
RHUI RHEL 7 (RPMs) 1,783
rhui-client-config-server-7/x86_64 Custom Repositories - Red Hat Update
Infrastructure 3 Cli 3
repolist: 28,733
looks like an update may have changed some repo info - note files with
rpmsave
***@***.*** yum.repos.d]# ls -l
total 56
-rw-r--r--. 1 root root 358 Oct 23 19:09 redhat.repo
-rw-r--r--. 1 root root 4745 Oct 11 12:04 redhat-rhui-beta.repo.disabled
-rw-r--r--. 1 root root 657 Dec 21 2017
redhat-rhui-client-config-jbeap-7.1.repo
-rw-r--r--. 1 root root 504 Oct 23 19:17 redhat-rhui-client-config.repo
-rw-r--r--. 1 root root 607 Oct 23 18:50
redhat-rhui-client-config.repo.rpmsave
-rw-r--r--. 1 root root 2990 Dec 21 2017 redhat-rhui-jbeap-7.1.repo
-rw-r--r--. 1 root root 10142 Oct 23 19:52 redhat-rhui.repo
-rw-r--r--. 1 root root 8679 Oct 23 18:55 redhat-rhui.repo.rpmsave
-rw-r--r--. 1 root root 80 Oct 23 18:50 rhui-load-balancers.conf.rpmsave
from redhat-rhui.repo.rpmsave
[rhui-REGION-rhel-server-rhscl]
name=Red Hat Enterprise Linux Server 7 RHSCL (RPMs)
mirrorlist=
https://rhui2-cds01.REGION.aws.ce.redhat.com/pulp/mirror/content/dist/rhel/rhui/server/7/$releasever/$basearch/rhscl/1/os
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
sslverify=1
sslclientkey=/etc/pki/rhui/content-rhel7.key
sslclientcert=/etc/pki/rhui/product/content-rhel7.crt
sslcacert=/etc/pki/rhui/cdn.redhat.com-chain.crt
from redhat-rhui.repo
[rhel-server-rhui-rhscl-7-rpms]
name=Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7
Server from RHUI
mirrorlist=
https://rhui3.REGION.aws.ce.redhat.com/pulp/mirror/content/dist/rhel/rhui/server/7/$releasever/$basearch/rhscl/1/os
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
sslverify=1
sslcacert=/etc/pki/rhui/cdn.redhat.com-chain.crt
sslclientcert=/etc/pki/rhui/product/content-rhel7.crt
sslclientkey=/etc/pki/rhui/content-rhel7.key
I edited redhat-rhui.repo to enable the scl repo
***@***.*** yum.repos.d]# yum repolist
Loaded plugins: amazon-id, product-id, search-disabled-repos,
subscription-manager
This system is not registered with an entitlement server. You can use
subscription-manager to register.
repo id repo name status
rhel-7-server-rhui-rh-common-rpms/7Server/x86_64 Red Hat Enterprise Linux
7 Server - RH Common from RHUI ( 239
rhel-7-server-rhui-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server
from RHUI (RPMs) 26,500
rhel-server-rhui-rhscl-7-rpms/7Server/x86_64 Red Hat Software Collections
RPMs for Red Hat Enterprise 11,415
rhui-REGION-jbcs-rhui-rhel-7-rpms/7Server/x86_64 JBoss JBCS for RHUI RHEL
7 (RPMs) 208
rhui-REGION-jbeap-7.1-rhui-rhel-7-rpms/7Server/x86_64 JBoss EAP 7.1 for
RHUI RHEL 7 (RPMs) 1,783
rhui-client-config-server-7/x86_64 Custom Repositories - Red Hat Update
Infrastructure 3 Cli 3
repolist: 40,148
then when I reran the maven stuff it worked
***@***.*** ~]$ ansible web -m package -a "name=rh-maven35
state=present" -b
east2.node.0.redhatgov.io | CHANGED => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": true,
"changes": {
"installed": [
"rh-maven35"
]
},
"msg": "",
"rc": 0,
"results": [
"Loaded plugins: amazon-id, product-id, search-disabled-repos,
subscription-\n : manager\nThis system is not registered with an
So somehow the repo info is getting changed..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#76?email_source=notifications&email_token=AFLVO4TVTSKGFIANKT54IZ3QQG6MRA5CNFSM4JEVZLZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUE4QXA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFLVO4VJCXK3JKMBS62WGGLQQG6MRANCNFSM4JEVZLZQ>
.
--
======================================================================
Alexander Jacocks, RHCE | Staff Solution Architect
(e) alexander@redhat.com | Public Sector Business Development
(c) (240) 447-5974 | Tyson's Corner, VA
(g) CC28 8136 C253 907A B9BB 9EEA D3C8 1A3A 790A 0AB9
|
Workshop updated to use AppStreams #73 & RHEL8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
install went fine on east2
but in exercise 1 - installing maven I got this:
ec2-user@ip-10-0-2-190 ~]$ ansible web -m package -a "name=rh-maven35 state=present" -b
east2.node.0.redhatgov.io | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"msg": "No package matching 'rh-maven35' found available, installed or updated",
"rc": 126,
"results": [
"No package matching 'rh-maven35' found available, installed or updated"
]
}
but during the initial install I knew I saw some maven stuff - I found all this in /var/log/messages on node0
maven was installed and then erased???
and looking at the available repos - there is no scl repo enabled
from redhat-rhui.repo.rpmsave
from redhat-rhui.repo
I edited redhat-rhui.repo to enable the scl repo
then when I reran the maven stuff it worked
So somehow the repo info is getting changed..
The text was updated successfully, but these errors were encountered: