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

Installing SCL fails on CentOS 6.10 #13

Open
hugo-cisneiros-movile opened this issue Jul 19, 2018 · 0 comments
Open

Installing SCL fails on CentOS 6.10 #13

hugo-cisneiros-movile opened this issue Jul 19, 2018 · 0 comments

Comments

@hugo-cisneiros-movile
Copy link

Using:

  • poise-languages (2.1.2)
  • chef_version (12.21.31)

Error:

================================================================================
    Error executing action `create` on resource 'python_virtualenv[/example/example-app/env]'
    ================================================================================
    
    PoiseLanguages::Error
    ---------------------
    No SCL repoistory package for centos 6.10
    
    Cookbook Trace:
    ---------------
    /var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/scl/mixin.rb:43:in `block in scl_package'
    /var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/scl/mixin.rb:42:in `tap'
    /var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/scl/mixin.rb:42:in `scl_package'
    /var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/scl/mixin.rb:48:in `scl_folder'
    /var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/scl/mixin.rb:52:in `scl_environment'
    /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/scl.rb:39:in `python_environment'
    /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_runtime.rb:106:in `python_environment'
    /var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:179:in `language_command_shell_out'
    /var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:217:in `block in language_command_mixin'
    /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_virtualenv.rb:121:in `install_python'
    /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:46:in `block in action_install'
    /var/chef/cache/cookbooks/poise/files/halite_gem/poise/helpers/subcontext_block.rb:54:in `instance_eval'
    /var/chef/cache/cookbooks/poise/files/halite_gem/poise/helpers/subcontext_block.rb:54:in `subcontext_block'
    /var/chef/cache/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:67:in `notifying_block'
    /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:45:in `action_install'
    
    Resource Declaration:
    ---------------------
    # In /var/chef/cache/cookbooks/example/recipes/app.rb
    
     67: python_virtualenv '/example/example-app/env' do
     68:   path '/example/example-app/env'
     69:   user 'user'
     70:   group 'user'
     71:   pip_version true
     72:   python '3.5'
     73: end
     74: 
    
    Compiled Resource:
    ------------------
    # Declared in /var/chef/cache/cookbooks/example/recipes/app.rb:67:in `from_file'
    
    python_virtualenv("/example/example-app/env") do
      provider PoisePython::Resources::PythonVirtualenv::Provider
      action [:create]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      subresources [pip_requirements[/example/example-app/requirements.txt]]
      declared_type :python_virtualenv
      cookbook_name "example"
      recipe_name "app"
      path "/example/example-app/env"
      user "user"
      group "user"
      pip_version true
      parent_python python_runtime[3.5]
    end
    
    System Info:
    ------------
    chef_version=12.21.31
    platform=centos
    platform_version=6.10
    ruby=ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-linux]
    program_name=chef-client worker: ppid=733;start=18:56:23;
    executable=/opt/chef/bin/chef-client

Using yum install centos-release-scl works just fine too.

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