Tools

Tutorials and how-to articles related to SCM tools and plugins.

RPM error: can’t create transaction lock on /var/lib/rpm/__db.000

Sometimes when you are using rpm, it might throws the warning followed by error, like below: [root@scmquest ]# rpm -ivh virt-what-1.11-2.el5.x86_64.rpm warning: virt-what-1.11-2.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 warning: waiting for transaction lock on /var/lib/rpm/__db.000 error: can’t create transaction lock on /var/lib/rpm/__db.000 You can try killing the rpm processes [root@scmquest ]# netstat -plan | …

RPM error: can’t create transaction lock on /var/lib/rpm/__db.000 Read More »

Puppet error after Ruby upgrade

As per the thumb rule, all your softwares should be up to date and in-sync with other tools upgrade. But if you are getting Error in puppet after ruby upgrade like : /usr/share/puppet-dashboard/script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:23:in `add_frozen_gem_path’: undefined local variable or method `source_index’ for Rails::GemDependency:Class (NameError) from /usr/share/puppet-dashboard/script/../config/boot.rb:47:in `load_initializer’ from /usr/share/puppet-dashboard/script/../config/boot.rb:38:in `run’ from /usr/share/puppet-dashboard/script/../config/boot.rb:11:in `boot!’ from /usr/share/puppet-dashboard/script/../config/boot.rb:110 from /usr/share/puppet-dashboard/script/server:2:in …

Puppet error after Ruby upgrade Read More »

Puppet Error: Could not request certificate: The certificate retrieved from the master does not match the agent’s private key

While configuring the new Puppet agent, sometimes its throwing error like below [root@appvm001 puppet]# puppet agent –verbose –test Info: Creating a new SSL key for appvm001 Info: Caching certificate for ca Info: Caching certificate for appvm001 Error: Could not request certificate: The certificate retrieved from the master does not match the agent’s private key. Certificate …

Puppet Error: Could not request certificate: The certificate retrieved from the master does not match the agent’s private key Read More »

Pass Jenkins Upstream Job Parameter to Downstream Job

When we are implementing CI/CD through Jenkins, sometimes there is a need of passing parameter from one job to another job. Here I am going to demonstrate how to achieve the same. First of all, Install the Jenkins Parameterized Trigger Plugin – Go to Manage Jenkins and then Click on Manage Plugins Once done, go to your Upstream Jenkins Job and add the Post Build Action to send the …

Pass Jenkins Upstream Job Parameter to Downstream Job Read More »

Puppet error : Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

If you are getting the below error while configuring and running manifests in new Puppet agent Puppet error : Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate …

Puppet error : Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed Read More »

Puppet Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template .erb

When you are creating and defining new template, Puppet use it to parse the file in the agent server but sometimes you might misspelled/right wrong config which leads to throwing error on puppet agent. One of the error which i received is “Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to …

Puppet Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template .erb Read More »