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

Cannot install poise python issues as listed below #14

Open
sivagopal opened this issue Jun 3, 2019 · 0 comments
Open

Cannot install poise python issues as listed below #14

sivagopal opened this issue Jun 3, 2019 · 0 comments

Comments

@sivagopal
Copy link

Hi, I am trying to install poise-python on Red Hat Enterprise Linux Server 7.6 (Maipo)
./berks-cookbooks/poise-languages/files/halite_gem/poise_languages/scl/resource.rb: not_if { shell_out!('subscription-manager repos --list-enabled').stdout.include?(repo_name) }

I am getting below error:

STDOUT: Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

Details:

Caused by 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 ----

I tried to list using subscription-manager and I can't find any subscriptions lised

Environment:

Azure Paas

Please let me know if I can by pass the subscription manager, or any other way of chef can install python, pip and other stuff ignoring subscription manager.

Thanks,
Siva

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

1 participant