Resolved – ImportError: No module named requests | /usr/bin/python: No module named pip on MacOS

General

You may face an error while running the script which calls any python script which internally calls out requests module.

ImportError: No module named requests”

Azure VM creation through Powershell & Jenkins

Tools

We have discussed Azure Image creation in our last article on Azure VM Image creation through Powershell

Now, lets create the Azure VM with Azure Image ….

Azure-Jenkins-and-Powershell

I am providing you my Powershell script which you can first edit according to your configuration and then configure it as a Jenkins … Continue Reading...

Azure VM Image creation through Powershell

General, Tools

Azure is a growing collection of integrated cloud services which is used to build, deploy and manage applications through the global network of datacentres. With Azure, you can build and deploy across the globe using the tools, applications and frameworks of your choice.

PowerShell-Microsoft-Azure

There are 40 Azure regions which is … Continue Reading...

Nginx Docker Container with HTTPS protocol

General

Many times you need to test a functionality on https website and you are searching the working image of docker container.

There are many images available in docker hub but you need to configure them accordingly.

However if you already working with very basic Nginx docker container, you might … Continue Reading...

Restore files after Puppet apply the changes

Tools

Sometimes, unknowingly you run the puppet agent which is stopped by some other teammate for some sort of testing which enforce Puppet to apply the changes which are changed in Puppet agent and configured in Puppet Master.

Puppet

Its really horrible and can creates lots of confusion, issues and conflicts

But … Continue Reading...

Run Sql Query from Jenkins or any CI Tool

Tools

Sometimes, there is a need to run sql transactions during Building the code.

You might have searched for the plugins but that is not easily available, but you need to run sql query through your CI-CD tool.

Now, what to do ?

You can use SQLCMD for the same 🙂… Continue Reading...

td-agent throwing error – (Errno::EACCES), Unknown output plugin ‘gelf’

Tools

Fluentd and Graylog2 can be used for End-to-End Log Analysis.

Fluentd is free and fully open-source log collector which works on technique ‘Log Everything

Graylog2 is a powerful and currently most popular log analysis framework powered by Elasticsearch and MongoDB.

Fluentd can output data to Graylog2 in the … Continue Reading...

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

Tools

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)

Jenkins Upgrade Manual with screenshots

Tools

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 … Continue Reading...

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

Tools

Sometimes when you are using rpm, it might throws the warning followed by error, like below: