Tools

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

Puppet Dashboard Error – getaddrinfo: Name or service not known (SocketError)

While configuring the Puppet Dashboard for your Puppet Instance, you might get this kind of error /usr/lib/ruby/1.8/webrick/utils.rb:63:in `getaddrinfo’: getaddrinfo: Name or service not known (SocketError) [2015-05-17 19:48:38] INFO ruby 1.8.7 (2011-06-30) [x86_64-linux] /usr/lib/ruby/1.8/webrick/utils.rb:63:in `getaddrinfo’: getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/webrick/utils.rb:63:in `create_listeners’ from /usr/lib/ruby/1.8/webrick/server.rb:75:in `listen’ from /usr/lib/ruby/1.8/webrick/server.rb:63:in `initialize’ from /usr/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize’ from /usr/share/puppet-dashboard/script/../config/../vendor/gems/rack-1.1.6/lib/rack/handler/webrick.rb:10:in …

Puppet Dashboard Error – getaddrinfo: Name or service not known (SocketError) Read More »

Jenkins Upgrade Manual with screenshots

We have already seen Jenkins Installation , Jenkins Master-Slave configuration and Jenkins Windows Slave configuration in our previous articles. So lets move further and discuss about Jenkins upgrade to new version. If you are using Jenkins for production or for multiple tasks, it is very important that you keep your Jenkins up-to-date with the latest version. Whenever a latest …

Jenkins Upgrade Manual with screenshots Read More »

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 »

How to Unzip and Untar the tar.xz file

Sometimes you get the “tar.xz” files and you are unsure how to unzip and untar this kind of file. xz is a lossless compression program and file format. This compression formats used by the 7-Zip program, etc You need to use “unxz” command to unzip this kind of file [rv@scmquest]~/python$ unxz Python-3.5.0b3.tar.xz [rv@scmquest]~/python$ ls -lrt total 75100 -rw-r–r– …

How to Unzip and Untar the tar.xz file Read More »