Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1791340 - satellite-installer fails on Bundler::Dsl::DSLError for smart_proxy_dynflow_core.service
Summary: satellite-installer fails on Bundler::Dsl::DSLError for smart_proxy_dynflow_c...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.6.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-15 15:26 UTC by Kenny Tordeurs
Modified: 2024-03-25 15:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-28 18:00:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kenny Tordeurs 2020-01-15 15:26:25 UTC
Description of problem:
satellite-installer fails with:
~~~
/Stage[main]/Foreman_proxy::Plugin::Dynflow/Service[smart_proxy_dynflow_core]/ensure: change from 'stopped' to 'running' failed: Systemd start for smart_proxy_dynflow_core failed!
journalctl log for smart_proxy_dynflow_core:
-- Logs begin at Fri 2020-01-10 10:33:26 CET, end at Wed 2020-01-15 18:21:23 CET. --
Jan 15 18:21:22 testing systemd[1]: Starting Foreman smart proxy dynflow core service...
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler.rb:508:in `rescue in eval_gemspec': Bundler::Dsl::DSLError
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler.rb:499:in `eval_gemspec'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler.rb:437:in `block in load_gemspec_uncached'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler/shared_helpers.rb:65:in `chdir'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler/shared_helpers.rb:65:in `block in chdir'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/ruby/monitor.rb:226:in `mon_synchronize'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler/shared_helpers.rb:64:in `chdir'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler.rb:436:in `load_gemspec_uncached'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler.rb:422:in `load_gemspec'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler/dsl.rb:66:in `block in gemspec'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler/dsl.rb:66:in `map'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler/dsl.rb:66:in `gemspec'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.2.2/Gemfile.in:3:in `eval_gemfile'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler/dsl.rb:47:in `instance_eval'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler/dsl.rb:47:in `eval_gemfile'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/rh/rh-ruby25/root/usr/share/gems/gems/bundler-1.16.1/lib/bundler/dsl.rb:12:in `evaluate'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/gemfile.rb:46:in `parse'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `system_require'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.2.2/lib/smart_proxy_dynflow_core/bundler_helper.rb:23:in `require_groups'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.2.2/lib/smart_proxy_dynflow_core/launcher.rb:28:in `load_settings!'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.2.2/lib/smart_proxy_dynflow_core/launcher.rb:12:in `start'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.2.2/lib/smart_proxy_dynflow_core/launcher.rb:8:in `launch!'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.2.2/bin/smart_proxy_dynflow_core:32:in `<top (required)>'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /usr/bin/smart_proxy_dynflow_core:23:in `load'
Jan 15 18:21:23 testing smart_proxy_dynflow_core[62198]: from /usr/bin/smart_proxy_dynflow_core:23:in `<main>'
Jan 15 18:21:23 testing systemd[1]: smart_proxy_dynflow_core.service: control process exited, code=exited status=1

~~~


Version-Release number of selected component (if applicable):
satellite-6.6.1-1.el7sat.noarch

How reproducible:
Not easily

Additional info:

The following gemspec seems to be the cause:
~~~
opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.2.2/smart_proxy_dynflow_core.gemspec
~~~

The following line contains an accent which apparently is causing some issues:
~~~
gem.authors       = ['Ivan Nečas']
~~~

Changing the line to the following fixed the issue and made the service startup correctly:
~~~
gem.authors       = ['Ivan Necas']
~~~

Comment 7 wtome 2021-01-10 22:21:49 UTC
Experiencing the same issue with Satellite 6.8. Workaround corrects the issue by editing /opt/theforeman/tfm/root/usr/share/gems/gems/smart_proxy_dynflow_core-0.2.6/smart_proxy_dynflow_core.gemspec

Comment 8 Adam Ruzicka 2021-01-11 09:18:14 UTC
What is your system-wide locale and encoding set to?

Comment 9 wtome 2021-01-11 14:50:22 UTC
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Comment 10 Adam Ruzicka 2021-01-11 15:05:41 UTC
Could you check output of localectl as well? Running locale gives back the locale setting in the current shell, which might differ from the environment the services are started in

Comment 11 wtome 2021-01-11 15:18:46 UTC
$ localectl
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: n/a

Comment 13 Brad Buckingham 2022-09-02 20:25:18 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 14 Brad Buckingham 2022-09-02 20:31:56 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 15 Brad Buckingham 2022-10-28 18:00:09 UTC
Thank you for your interest in Red Hat Satellite. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this feel free to contact your Red Hat Account Team. Thank you.


Note You need to log in before you can comment on or make changes to this bug.