[chef] Re: Should I file a bug report?


Chronological Thread 
  • From: Lamont Granquist < >
  • To:
  • Subject: [chef] Re: Should I file a bug report?
  • Date: Fri, 13 Dec 2013 12:02:54 -0800

Yeah, that's due to the omnitruck deployment yesterday.  The rpm command we've been using has always thrown an error there in the case where the package was already installed, but I fixed a bug so that the install script would correctly pick up errors in the install command and propagate the exit status upwards into vagrant/test-kitchen/etc.  Its already fixed in master and it'll be fixed in prod sometime after lunch (PST) today...

On 12/13/13 10:15 AM, Rob Watkin wrote:
" type="cite">
I have started experiencing a problem with  Chef/Vagrant.

I can run
  $ vagrant up
but 
  $ vagrant provision
will give the error listed below. The offending line of code seems to be in my VagrantFile
    config.vm.provision :shell, :inline => "curl -L https://www.opscode.com/chef/install.sh | sudo bash"

Should I submit a bug report on this?

The error is:

Preparing...                ##################################################
package chef-11.8.2-1.el6.x86_64 is already installed
Installation failed
Please file a bug report at http://tickets.opscode.com
Project: Chef
Component: Packages
Label: Omnibus
Version:

Please detail your operating system type, version and any other relevant details
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell

Stdout from the command:

Downloading Chef  for el...
  to file /tmp/install.sh.2875/metadata.txt
trying wget...
md5 10f3d0da82efa973fe91cc24a6a74549
sha256 044558f38d25bbf75dbd5790ccce892a38e5e9f2a091ed55367ab914fbd1cfed
downloaded metadata file looks valid...
  to file /tmp/install.sh.2875/chef-.x86_64.rpm
trying wget...
Checksum compare with sha256sum succeeded.
Installing Chef
installing with rpm...
Preparing...                ##################################################
Installation failed
Please file a bug report at http://tickets.opscode.com
Project: Chef
Component: Packages
Label: Omnibus
Version:

Please detail your operating system type, version and any other relevant details


Stderr from the command:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14061  100 14061    0     0   2415      0  0:00:05  0:00:05 --:--:-- 50579
warning: /tmp/install.sh.2875/chef-.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
package chef-11.8.2-1.el6.x86_64 is already installed






Archive powered by MHonArc 2.6.16.

§