Ansible 2.8 Released

May 17th, 2019 Posted by DevOps, News, RedHat No Comment yet

Ansible 2.8 has been released. While not as many major features as 2.7, there are an absolute truckload of smaller features, including quite a few focussed on Windows. Some highlights for me:

  • Experimental support for Ansible Collections and content namespacing – Ansible content can now be packaged in a collection and addressed via namespaces. This allows for easier sharing, distribution, and installation of bundled modules/roles/plugins, and consistent rules for accessing specific content via namespaces.
  • Python interpreter discovery, which hopefully will make managing multiple Python versions a bit easier
  • A k8s module defaults group has now been added to reduce the amount of parameters required for multiple k8s tasks. Thank goodness!
  • Added experimental support for connecting to Windows hosts over SSH. This could be really useful, in those circumstances where WinRM isn’t going to fly.

(more…)

Webinar: Automating Windows with Ansible

May 13th, 2019 Posted by DevOps, News, RedHat, Webinar No Comment yet

There are no shortage of examples of using Ansible to manage Linux boxes, but support for Windows is just as critical for many DevOps efforts.

So we’re very happy to announce that Code Partners are presenting a free Webinar on using Ansible to manage your stock of Windows machines.

This will be a very practical webinar with lots of examples. It will take place at 11am AEST on June the 5th, 2019. More details are available on the registration page.

 

One attendee will win a $200 AUD gift card from Amazon Australia

Also, one registered attendee will be randomly chosen to receive an Amazon Australia gift card valued at $100 AUD.

We look forward to seeing you online for the webinar.

Registration and more information available here.

Jenkins: The Strange Case of Killed jobs

May 4th, 2019 Posted by Cloudbees, DevOps No Comment yet

I have Jenkins configured with a dozen jobs that support a microservices application. The setup worked fine for several months until, suddenly, jobs started to fail with errors similar to this (console log fragment):

 

 

It caused all jobs to fail most of the time, including Bash scripts as well as Maven builds. The main Jenkins log had no additional information. A web search turned up many discussions about jobs failing (not Jenkins itself), all pointing to a memory shortage like heap space or virtual memory. But the same processes worked flawlessly when executed manually, i.e. not by Jenkins. So the problem was unrelated to memory; something else was going on.

My Jenkins service was being subjected to a denial of service attack. This article is about identifying the cause and taking preventative action.

 

(more…)

This Month In RAD Studio – April 2019

April 30th, 2019 Posted by CodeInsightTV, Embarcadero, News, This Month In RAD Studio No Comment yet

This month: New Editor features in 10.3.1, the RAD Server console gets a shiny new look, Web development in Delphi and 3rd party components updates.

 

(more…)

Ansible Tower 3.4 Released

January 18th, 2019 Posted by DevOps, News, RedHat No Comment yet

A new version of Ansible Tower has been released, including some useful features we’ve been looking forward to.

In particular the additions to Workflow look very nice:

  • the Workflow Convergence step which allows you to wait on multiple jobs before continuing should simplify some complex logic you’ve had to embed in your workflows to achieve this previously
  • Nested Workflows promises to allow finer-grained modularity and reusability in Workflows
  • Workflow-level inventory, rather than depending on the job template inventory
  • Workflow Always Job Templates, enables job execution of steps regardless of exit status of the workflow.

There is a more detailed write-up over on the Ansible Blog.

 

Website automation with Selenium and JMeter: part 1

December 12th, 2018 Posted by DevOps No Comment yet

This post is part 1 of a series:

One of our customers asked us to troubleshoot their web application: “out of memory” errors were causing page loads to fail. To understand and isolate the problem we needed a way to reproduce it, and observe it in a monitored scenario. We decided on a strategy for both server and web user:

  • Server: deploy a build that monitors for memory leaks, a first-pass step to diagnose the out of memory errors.
  • Client: simulate web requests from one or more users.

It was straightforward to monitor the server application for memory leaks. On the client side we needed a way to generate repeating user requests, potentially at high volume, because the errors didn’t occur for every request. This post describes how we built a client-side process to automate web requests.

(more…)

Website automation with Selenium and JMeter: part 2

December 12th, 2018 Posted by DevOps No Comment yet

This is the final post, part 2 of a series:

In this post I show how to script Selenium for handling asynchronous browser behaviour, and how to install the tools.

(more…)

RAD Studio 10.3 Rio Released

November 22nd, 2018 Posted by Embarcadero, News 1 comment

Overnight Embarcadero have released RAD Studio 10.3 Rio.

We’ve been writing about some of the new features prior to release, but now there’s a short What’s New video below, and a more detailed description of the changes here on the docwiki. (more…)

Operator Overloading Explained

November 19th, 2018 Posted by Embarcadero 3 comments

In a recent Embarcadero webinar, Marco was demonstrating some new features of Records, including a new Assign operator that can be overloaded.

Afterwards I had a number of questions from people asking what it was all about. Why do we need an Assign operator? Why would you want to overload an operator anyway? After a bit of a discussion with them, I realised that rather than me trying to throw off a couple of sentences to explain it, I should probably write up something clearer.

If you already know what operator overloading for Records is, then this article possibly isn’t for you. But if you’ve seen this mentioned before and not been really sure what it was all about, then hopefully this article will help. (more…)

RAD Studio 10.3 Sneak Peek Webinar in APAC-friendly timezones

November 8th, 2018 Posted by Embarcadero, Events, Webinar No Comment yet

Code Partners in conjunction with Embarcadero are happy to announce that next week’s RAD Studio 10.3 Sneak Peek webinar will be repeated in a timeslot a little more friendly to our customers.

(more…)