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

Centos 7.0 support #189

Closed
jjasghar opened this issue Dec 18, 2014 · 10 comments

Comments

Projects
None yet
5 participants
@jjasghar
Copy link
Collaborator

commented Dec 18, 2014

Welp, it seems we need to work on Centos 7.0 support:



           ================================================================================
           Error executing action `install` on resource 'yum_package[erlang]'
           ================================================================================

           Chef::Exceptions::Exec
           ----------------------
            returned 1, expected 0

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/erlang/recipes/package.rb

            46:   package 'erlang'
            47: end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/erlang/recipes/package.rb:46:in `from_file'

           yum_package("erlang") do
             action :install
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             package_name "erlang"
             version "17.4-1.el6"
             timeout 900
             flush_cache {:before=>false, :after=>false}
             declared_type :package
             cookbook_name "erlang"
             recipe_name "package"
           end

       [2014-12-18T14:04:40-05:00] INFO: Running queued delayed notifications before re-raising exception

       Running handlers:
       [2014-12-18T14:04:40-05:00] ERROR: Running exception handlers
       Running handlers complete
       [2014-12-18T14:04:40-05:00] ERROR: Exception handlers complete
       [2014-12-18T14:04:40-05:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       Chef Client failed. 4 resources updated in 71.715606627 seconds
       [2014-12-18T14:04:41-05:00] ERROR: yum_package[erlang] (erlang::package line 46) had an error: Chef::Exceptions::Exec:  returned 1, expected 0
       [2014-12-18T14:04:42-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
@joerocklin

This comment has been minimized.

Copy link

commented Jan 14, 2015

Trying to install erlang on the box manually results in a bunch of yum dependency resolution issues like:

Error: Package: erlang-wx-17.4-1.el6.x86_64 (erlang_solutions)
           Requires: libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit)

no idea on a fix, just hit this issue today. Maybe someone more familiar with the erlang RPMs knows an obvious answer? Full yum output here: https://gist.github.com/joerocklin/89ede769bc5330a3f759

@stevecstian

This comment has been minimized.

Copy link

commented Jan 14, 2015

@jjasghar @joerocklin
After installing EPEL repo via sudo yum install epel-release, I can install erlang 17.4 on chef/centos-7.0 vagrant box v1.0.0 now. Does that help?

@joerocklin

This comment has been minimized.

Copy link

commented Jan 14, 2015

@stevecstian That does indeed fix the problem. Perhaps the erlang-solutions cookbook needs updating to include EPEL?

@stevecstian

This comment has been minimized.

Copy link

commented Jan 15, 2015

@joerocklin @jjasghar
In centos 6, wxBase/wxGTK/wxGTK-gl packages could be found in centos 6 extras repo

 wxBase                  x86_64  2.8.12-1.el6.centos    extras            572 k
 wxGTK                   x86_64  2.8.12-1.el6.centos    extras            2.9 M
 wxGTK-gl                x86_64  2.8.12-1.el6.centos    extras             31 k

In centos 7, however, wxBase/wxGTK/wxGTK-gl packages are not in centos 7 extras repo anymore. Include yum-epel recipe should be able to fix the problem, but not sure if this is the best solution. This issue should be reported to erlang cookbook...

 wxBase                  x86_64 2.8.12-8.el7             epel             576 k
 wxGTK                   x86_64 2.8.12-8.el7             epel             2.9 M
 wxGTK-gl                x86_64 2.8.12-8.el7             epel              33 k
@jjasghar

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 15, 2015

OK, so it seems we need to spend some time with this. I can't commit to working on this yet; though i'd love to see if the community can pick up some of the slack.

I'm going to be going into this pretty soon, but not for at least a couple of weeks 😭

@stevecstian

This comment has been minimized.

Copy link

commented Jan 16, 2015

Thanks @joerocklin for reporting this to chef-cookbooks/erlang#24. 🤘

@jjasghar

This comment has been minimized.

Copy link
Collaborator Author

commented Feb 4, 2015

#214 resolves this.

@cmluciano

This comment has been minimized.

Copy link
Collaborator

commented Feb 26, 2015

This can probably be closed since #214 is merged

@cmluciano cmluciano closed this Mar 2, 2015

dmlond added a commit to dmlond/openshift-rabbitmq that referenced this issue Mar 5, 2018

@ghost

This comment has been minimized.

Copy link

commented Sep 14, 2018

Has this problem been resolved? I encountered the same problem while installing erlang

@isuftin

This comment has been minimized.

Copy link

commented Sep 14, 2018

We are running this on CentOS 7 currently. Seems to be working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.