Should I file a bug report?


#1

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…
downloading
http://www.opscode.com/chef/metadata?v=&prerelease=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.2875/metadata.txt
trying wget…
url
http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.8.2-1.el6.x86_64.rpm
md5 10f3d0da82efa973fe91cc24a6a74549
sha256 044558f38d25bbf75dbd5790ccce892a38e5e9f2a091ed55367ab914fbd1cfed
downloaded metadata file looks valid…
downloading
http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.8.2-1.el6.x86_64.rpm
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


#2

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:

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…
downloading
http://www.opscode.com/chef/metadata?v=&prerelease=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.2875/metadata.txt
trying wget…
urlhttp://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.8.2-1.el6.x86_64.rpm
md510f3d0da82efa973fe91cc24a6a74549
sha256044558f38d25bbf75dbd5790ccce892a38e5e9f2a091ed55367ab914fbd1cfed
downloaded metadata file looks valid…
downloading
http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.8.2-1.el6.x86_64.rpm
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


#3

Fix for this issue just went live. Also suppressed a pkgrm error
message on solaris that we were ignoring anyway (thanks jeff blaine),
and added an exit 1 to the ‘exception handler’ for bad metadata download
(thanks Teemu Matilainen). Early today also fixed a unrelated load
balancer config error that was causing omnitruck downloads over
www.opscode.com to get shifted to non-SSL port 80, so that is back on
port 443 again.

On 12/13/13 12:02 PM, Lamont Granquist wrote:

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:

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…
downloading
http://www.opscode.com/chef/metadata?v=&prerelease=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.2875/metadata.txt
trying wget…
urlhttp://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.8.2-1.el6.x86_64.rpm
md510f3d0da82efa973fe91cc24a6a74549
sha256044558f38d25bbf75dbd5790ccce892a38e5e9f2a091ed55367ab914fbd1cfed
downloaded metadata file looks valid…
downloading
http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.8.2-1.el6.x86_64.rpm
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