Skip to content

opscode-manage fails to install on RHEL6 #332

@alexmanly

Description

@alexmanly

A customer faces issues installing the management console on RHEL6…They downloaded and installed CHEF 12 Server, then ran the command chef-server-ctl install opscode-manage. Here is the output:

rpm -Uvh chef-server-core-12.0.8-1.el6.x86_64.              rpm
attention : chef-server-core-12.0.8-1.el6.x86_64.rpm: Entête V4 DSA/SHA1 Signatu              re, clé ID 83ef826a: NOKEY
Préparation...                       ################################# [100%]
Mise à jour / installation...
   1:chef-server-core-12.0.8-1.el6    ################################# [100%]
Thank you for installing Chef Server!
[root@frrdchefd Téléchargements]# chef-server-ctl install opscode-manage

Starting Chef Client, version 12.0.3
resolving cookbooks for run list: ["private-chef::add_ons_wrapper"]
Synchronizing Cookbooks:
  - private-chef
  - enterprise
  - apt
  - yum
  - runit
  - build-essential
  - yum-epel
Compiling Cookbooks...
Converging 3 resources
Recipe: private-chef::add_ons_wrapper
  * ruby_block[addon_install_notification_opscode-manage] action nothing (skippe              d due to action :nothing)
Recipe: private-chef::add_ons_remote
  * yum_repository[chef-stable] action create
    * template[/etc/yum.repos.d/chef-stable.repo] action create
      - create new file /etc/yum.repos.d/chef-stable.repo
      - update content in file /etc/yum.repos.d/chef-stable.repo from none to 5d              f5e2
      --- /etc/yum.repos.d/chef-stable.repo     2015-06-04 00:38:06.279757300 +0              200
      +++ /tmp/chef-rendered-template20150604-40747-nlqlo8      2015-06-04 00:38              :06.279757300 +0200
      @@ -1 +1,12 @@
      +# This file was generated by Chef
      +# Do NOT modify this file by hand.
      +
      +[chef-stable]
      +name=Chef Stable Repo
      +baseurl=https://packagecloud.io/chef/stable/el/7/$basearch
      +enabled=1
      +gpgcheck=1
      +gpgkey=file:///opt/opscode/embedded/keys/packages-chef-io-public.key
      +sslcacert=/etc/pki/tls/certs/ca-bundle.crt
      +sslverify=true
      - change mode from '' to '0644'
      - restore selinux security context
    * execute[yum-makecache-chef-stable] action run
      - execute yum -q makecache --disablerepo=* --enablerepo=chef-stable
    * ruby_block[yum-cache-reload-chef-stable] action create
      - execute the ruby block yum-cache-reload-chef-stable
    * execute[yum-makecache-chef-stable] action nothing (skipped due to action :              nothing)
    * ruby_block[yum-cache-reload-chef-stable] action nothing (skipped due to ac              tion :nothing)

  * yum_package[opscode-manage] action install
    * No version specified, and no candidate version available for opscode-manag              e
    ============================================================================              ====
    Error executing action `install` on resource 'yum_package[opscode-manage]'
    ============================================================================              ====

    Chef::Exceptions::Package
    -------------------------
    No version specified, and no candidate version available for opscode-manage

    Resource Declaration:
    ---------------------
    # In /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/ad              d_ons_remote.rb

     48:   package pkg do
     49:     notifies :create, "ruby_block[addon_install_notification_#{pkg}]",               :immediate
     50:   end
    51: end

    Compiled Resource:
    ------------------
    # Declared in /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/r              ecipes/add_ons_remote.rb:48:in `block in from_file'

    yum_package("opscode-manage") do
      action :install
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      package_name "opscode-manage"
      timeout 900
      flush_cache {:before=>false, :after=>false}
      declared_type :package
      cookbook_name "private-chef"
      recipe_name "add_ons_remote"
    end


Running handlers:
  - #<Class:0x00000004e831a0>::AddonInstallHandler
Running handlers complete
[2015-06-04T00:38:46+02:00] FATAL: Stacktrace dumped to /opt/opscode/embedded/co              okbooks/cache/chef-stacktrace.out
Chef Client failed. 4 resources updated in 70.0411058 seconds
[2015-06-04T00:38:47+02:00] FATAL: Chef::Exceptions::Package: yum_package[opscod              e-manage] (private-chef::add_ons_remote line 48) had an error: Chef::Exceptions:              :Package: No version specified, and no candidate version available for opscode-m              anage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions