sensu / uchiwa-chef

Other
33 stars 40 forks source link

0.4.1-1 of deb package does not exist #27

Closed willejs closed 9 years ago

willejs commented 9 years ago

Package no longer exists in debian repo?

Output of

kitchen converge repo-ubuntu-1404 
Reading package lists...       
[2015-02-20T12:19:35+00:00] INFO: execute[apt-get update] ran successfully       

      - execute apt-get update -o Dir::Etc::sourcelist='sources.list.d/sensu.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0'       
[2015-02-20T12:19:35+00:00] INFO: execute[apt-get update] sending run action to execute[apt-cache gencaches] (immediate)       
    * execute[apt-cache gencaches] action run[2015-02-20T12:19:35+00:00] INFO: Processing execute[apt-cache gencaches] action run (/tmp/kitchen/cache/cookbooks/apt/providers/repository.rb line 151)       
Reading package lists...       
[2015-02-20T12:19:39+00:00] INFO: execute[apt-cache gencaches] ran successfully       

      - execute apt-cache gencaches       

  * apt_package[uchiwa] action install[2015-02-20T12:19:39+00:00] INFO: Processing apt_package[uchiwa] action install (uchiwa::repo line 56)       

    ================================================================================       
    Error executing action `install` on resource 'apt_package[uchiwa]'       
    ================================================================================       

    Mixlib::ShellOut::ShellCommandFailed       
           ------------------------------------

           Expected process to exit with [0], but received '100'
           ---- Begin output of apt-get -q -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install uchiwa=0.4.1-1 ----

           STDOUT: Reading package lists...
           Building dependency tree...
           Reading state information...
           STDERR: E: Version '0.4.1-1' for 'uchiwa' was not found
           ---- End output of apt-get -q -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install uchiwa=0.4.1-1 ----
           Ran apt-get -q -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install uchiwa=0.4.1-1 returned 100

       Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/uchiwa/recipes/repo.rb

            56: package 'uchiwa' do

            57:   options package_options
            58:   version node['uchiwa']['version']
            59: end

           Compiled Resource:
           ------------------

       # Declared in /tmp/kitchen/cache/cookbooks/uchiwa/recipes/repo.rb:56:in `from_file'

           apt_package("uchiwa") do
             action :install
             retries 0
             retry_delay 2
             default_guard_interpreter :default

             options "--force-yes -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confnew\""
             package_name "uchiwa"
             version "0.4.1-1"
             timeout 900
             declared_type :package
             cookbook_name "uchiwa"
             recipe_name "repo"
           end

[2015-02-20T12:19:40+00:00] INFO: Running queued delayed notifications before re-raising exception       

Running handlers:       
       [2015-02-20T12:19:40+00:00] ERROR: Running exception handlers

       Running handlers complete

       [2015-02-20T12:19:40+00:00] ERROR: Exception handlers complete
       [2015-02-20T12:19:40+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       Chef Client failed. 12 resources updated in 274.401437097 seconds

[2015-02-20T12:19:40+00:00] ERROR: apt_package[uchiwa] (uchiwa::repo line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'       
---- Begin output of apt-get -q -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install uchiwa=0.4.1-1 ----       
STDOUT: Reading package lists...       
Building dependency tree...       
       Reading state information...
       STDERR: E: Version '0.4.1-1' for 'uchiwa' was not found
       ---- End output of apt-get -q -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install uchiwa=0.4.1-1 ----
       Ran apt-get -q -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install uchiwa=0.4.1-1 returned 100
[2015-02-20T12:19:41+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)       
>>>>>> Converge failed on instance <repo-ubuntu-1404>.
>>>>>> Please see .kitchen/logs/repo-ubuntu-1404.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sudo -E chef-client -z --config /tmp/kitchen/client.rb --log_level info --chef-zero-port 8889 --json-attributes /tmp/kitchen/dna.json]
>>>>>> ----------------------
eheydrick commented 9 years ago

The issue is that uchiwa 0.4.1 and newer have not been pushed to the repos.sensuapp.org apt repo. You can use the 'http' install method to install the package from bintray. If the sensu repo has been officially deprecated we need to remove support for it in the cookbook as you can no longer install recent versions.

amdprophet commented 9 years ago

0.4.1 is now available on the repos.