Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

install_scl_repo Error #10

Closed
andreimahu opened this issue Jun 12, 2017 · 3 comments
Closed

install_scl_repo Error #10

andreimahu opened this issue Jun 12, 2017 · 3 comments

Comments

@andreimahu
Copy link

andreimahu commented Jun 12, 2017

Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID.
It seems to be the same as #8

Error popped up within the following parameters:
RHEL-7.3
poise_languages 2.1.1
poise_python 1.6.0
chef-client 13.1.31

Full Error Log & Stacktrace:
python_runtime[2] (poise-python::default line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: poise_languages_scl[python27] (/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/scl/mixin.rb line 27) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[subscription-manager repos --enable rhel-server-rhscl-7-rpms] (/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/scl/resource.rb line 110) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of subscription-manager repos --enable rhel-server-rhscl-7-rpms ---- STDOUT: Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories. STDERR: ---- End output of subscription-manager repos --enable rhel-server-rhscl-7-rpms ---- Ran subscription-manager repos --enable rhel-server-rhscl-7-rpms returned 1

@coderanger
Copy link
Member

Are you on a cloud version of RHEL?

@andreimahu
Copy link
Author

andreimahu commented Jun 14, 2017

Yes, I am testing this #9 suggestion at the moment.

@andreimahu
Copy link
Author

I can confirm that the suggestion #9 worked. Closing the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants