Skip to content
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

Problem: subscription-manager task fails on some RHEL systems #244

Closed
hakamine opened this issue Jun 2, 2019 · 1 comment
Closed

Problem: subscription-manager task fails on some RHEL systems #244

hakamine opened this issue Jun 2, 2019 · 1 comment
Assignees

Comments

@hakamine
Copy link
Member

hakamine commented Jun 2, 2019

In #225, a subscription-manager task was included to add extra repositories to RHEL systems. This task fail when the playbook is executed on educloud RHEL images (7.6):

TASK [external-roles/artefactual.archivematica-src-1.9 : Add rhel-*-optional-rpms repo on RHEL] *****************
fatal: [viu1-rh7]: FAILED! => changed=true
  cmd:
  - subscription-manager
  - repos
  - --enable
  - rhel-*-optional-rpms
  - --enable
  - rhel-*-extras-rpms
  delta: '0:00:00.668705'
  end: '2019-06-01 17:19:48.949820'
  msg: non-zero return code
  rc: 1
  start: '2019-06-01 17:19:48.281115'
  stderr: ''
  stderr_lines: []
  stdout: |-
    Error: 'rhel-*-optional-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
    Error: 'rhel-*-extras-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

    WARNING

    The yum/dnf plugins: /etc/yum/pluginconf.d/subscription-manager.conf, /etc/yum/pluginconf.d/product-id.conf were automatically enabled for the benefit of Red Hat Subscription Management. If not desired, use "subscription-manager config --rhsm.auto_enable_yum_plugins=0" to block this behavior.
  stdout_lines: <omitted> 

Before #225 was merged, was able to install archivematica on a server based on the same image.

Update: In addition to educloud RHEL images, this is also failing on melbourne servers

@hakamine
Copy link
Member Author

Moved to archivematica/Issues#792

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

No branches or pull requests

2 participants