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

Image refresh for candlepin #11325

Closed
1 task
cockpituous opened this issue Mar 6, 2019 · 6 comments
Closed
1 task

Image refresh for candlepin #11325

cockpituous opened this issue Mar 6, 2019 · 6 comments
Assignees

Comments

@cockpituous
Copy link
Contributor

cockpituous commented Mar 6, 2019

Image refresh for candlepin

  • FAIL: image-refresh candlepin
@cockpituous cockpituous added the bot label Mar 6, 2019
@cockpituous cockpituous changed the title Image refresh for candlepin WIP: bos-tasks-j3s26: Image refresh for candlepin Mar 6, 2019
@cockpituous
Copy link
Contributor Author

image-refresh in progress on bos-tasks-j3s26.
Log: http://fedorapeople.org/groups/cockpit/logs/image-refresh-11325-20190307-000000/

@cockpituous
Copy link
Contributor Author

@cockpituous cockpituous changed the title WIP: bos-tasks-j3s26: Image refresh for candlepin Image refresh for candlepin Mar 7, 2019
@martinpitt
Copy link
Member

Curious, I noticed the exact same thing on Friday when I was installing candlepin into a cloud instance:

ERROR:  Error installing rubygems-update:\n\trubygems-update requires Ruby version >= 2.3.0.\nERROR:  While executing gem ... (NoMethodError)\n    undefined method `version' for nil:NilClass", "stderr_lines": ["ERROR:  Error installing rubygems-update:", "\trubygems-update requires Ruby version 

My workaround was to edit out the rubygems update. But this seems to be "real", so needs to be reported somewhere.

@martinpitt
Copy link
Member

rubygems/rubygems#2534 is the general upstream issue for that. Recent candlepin has fixed that in the Ansible scripts: candlepin/ansible-role-candlepin@82ae5bf

However, in commit 06ff261 we pinned candlepin to the old version as the Ansible scripts didn't work with the old 2.6 version from EPEL 7. However, now we have Ansible 2.7 there, so I'll try this again.

@martinpitt
Copy link
Member

I can't make heads or tail of this -- I filed https://bugzilla.redhat.com/show_bug.cgi?id=1688153

martinpitt added a commit to martinpitt/cockpit that referenced this issue Mar 13, 2019
Even with Ansible 2.7 the ansible-role-candlepin playbooks don't work.
Reported as <https://bugzilla.redhat.com/show_bug.cgi?id=1688153>.

Cowboy-apply a fix to the playbooks to avoid a rubygem update. This
doesn't work any more with current gems, as these need ruby >= 2.3.

Fixes cockpit-project#11325
Closes cockpit-project#11387
@martinpitt
Copy link
Member

Fixed in #11387

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

Successfully merging a pull request may close this issue.

2 participants