Fujitsu to Partner with Jitterbit to Accelerate Integration and API Management for Cloud and Enterprise Applications

SUNNYVALE, Calif., Oct. 10, 2017 /PRNewswire/ — Fujitsu America, Inc., today announced it has joined the partner network for API transformation company Jitterbit, further extending its already successful Digital Services and Incubation portfolio by offering custom solutions built on the Jitterbit API Integration Platform.

Source: Fujitsu to Partner with Jitterbit to Accelerate Integration and API Management for Cloud and Enterprise Applications

 

Ed: Interesting times…

Advertisements
Posted in Uncategorized | Leave a comment

Perl turns 30 and its community continues to thrive

Created for utility and known for its dedicated users, Perl has proven staying power. Here’s a brief history of the language and a look at some top user groups.

Source: Perl turns 30 and its community continues to thrive

Ed: I love perl, I’ve loved perl for nearly 20 years now.  Back in the day i wrote dozens if not 100s of automation scripts in perl.  Yay for perl!

Posted in Uncategorized | Leave a comment

Auto-Scaling Infrastructure as Code – Elastic Compute on K5 IaaS

Awesome Scaling demo by Graham. Watch the video at the bottom.

In today’s article we’ll walk through how to deploy and test Fujitsu’s K5 IaaS AutoScaling feature.

Overview

So, what do I mean by the K5 auto-scaling feature? Well, imagine that you have a virtual server that has peeks and troughs in demand. Take the Ticket Master webserver example, 99% of the time the server sits there idling at 5% utilisation. However, when Westlife regroup (and they will) and launch their ticket sales for their new tour the Ticket Master server becomes overloaded whilst all the once teenies, now cash rich thirty somethings all try to login and buy tickets at the same time. [Replace Westlife with iPhoneX launch if that makes more sense to you].

Along comes Auto-Scaling to the rescue – also often referred to as elastic compute. If the Tick Master server was created using K5’s autoscaling feature then when the load on the server begins to rise…

View original post 318 more words

Posted in Uncategorized | Leave a comment

Installing Ansible on Ubuntu 16.04 ready for Fujitsu K5 orchestration

I get asked this a lot and i thought it is time to get it down on the blog.

I wrote these on the vagrant image ubuntu/xenial64 – they will also work on the K5 Ubuntu 16.04 image #1

sudo locale-gen en_GB.UTF-8

sudo apt-get install software-properties-common -y
sudo apt-add-repository ppa:ansible/ansible -y
sudo apt-get update -y
sudo apt-get install ansible -y

sudo apt-get install python-pip -y

sudo pip install shade==1.13.2

Currently K5 requires an older version of Shade, due to the way the APIs work in K5.  No doubt in later versions of K5 this will be fixed.

One of the other things to do it grab my Ansible modules that I and others (@jonthe niceguy and KennyB) wrote that enable a lot of common K5 features to be orchestrated.

sudo apt-get install git -y
git clone https://github.com/mohclips/k5-ansible-modules.git

Work is ongoing on these modules and any comments, PRs, etc are greatly appreciated.

Have fun!

Posted in Uncategorized | Leave a comment

LinkedIn’s Tips for Highly Effective Code Review

 LinkedIn recently passed the milestone of having conducted one million code reviews. The head of the social networking service’s tooling shared a few learned lessons along the way. Reading and reviewing code is something every engineer does on a daily basis. A formal code review process, however, is a bit different — it requires every…

Source: LinkedIn’s Tips for Highly Effective Code Review

Posted in Uncategorized | Leave a comment

Before DevOps / After DevOps

turnoff.us is a geek comic site. Comics about Programming Languages, Web, Cloud, Linux, etc.

Source: Before DevOps / After DevOps

 

Ed:  LMFAO.

Posted in Uncategorized | Leave a comment

Using MITMProxy to view Fujitsu K5 HTTPS traffic

So when messing around on K5, i find sometimes really need to see the traffic between my client (eg. openstack python cli) and K5 itself.

The best way to do this is using mitmproxy (man in the middle – proxy).   It’s a compiled python script that produces an easy to use CLI GUI.

So i was getting this error:

TASK [Create the server with attached volumes] **************************************************************************************
fatal: [sap01 -> 127.0.0.1]: FAILED! => {"changed": false, "extra_data": null, "failed": true, "msg": "(404) Client Error for url: https://image.uk-1.cloud.global.fujitsu.com/images/detail ERROR:/images/detail:not supported"}
fatal: [sap02 -> 127.0.0.1]: FAILED! => {"changed": false, "extra_data": null, "failed": true, "msg": "(404) Client Error for url: https://image.uk-1.cloud.global.fujitsu.com/images/detail ERROR:/images/detail:not supported"}
fatal: [sap03 -> 127.0.0.1]: FAILED! => {"changed": false, "extra_data": null, "failed": true, "msg": "(404) Client Error for url: https://image.uk-1.cloud.global.fujitsu.com/images/detail ERROR:/images/detail:not supported"}

And i wondered if it was something i did.

So i broke out mitmproxy.  Here is the setup and a quick run through…

#
# set up mitmproxy and spoofed CA cert
#

# download, un-archive and run once
wget https://github.com/mitmproxy/mitmproxy/releases/download/v2.0.2/mitmproxy-2.0.2-linux.tar.gz
tar xvzf  mitmproxy-2.0.2-linux.tar.gz
./mitmproxy

# exit mitmproxy - we ran it to create the ca certs

# now copy the spoofed SSL certs to default folder
sudo mkdir /usr/share/ca-certificates/mitmproxy
sudo cp ~/.mitmproxy/mitmproxy-ca-cert.cer /usr/share/ca-certificates/mitmproxy/mitmproxy-ca-cert.crt
sudo dpkg-reconfigure ca-certificates

# now run mitmproxy again
./mitmproxy

 

sudo dpkg-reconfigure ca-certificates – this re-complies the certs into a single file.

At this point we have the certs in the right place and we now need to make sure python (2.7 in my case) can find them.

In a separate CLI (term / console window) i run the below.

#
# setup python to use mitmproxy and spoofed CA cert
#
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
export https_proxy=http://localhost:8080

Environment variable REQUESTS_CA_BUNDLE points python to the newly created ca certs bundle.

And https_proxy, well that is the usual proxy environment variable used by most linux apps.

mitmproxy runs on port 8080 by default.   -p 8081  changes the port to 8081

 

So to run a test i used the openstack python CLI.

$ openstack server list
+--------------------------------------+------+--------+------------------------+--------------------------------------+--------+
| ID                                   | Name | Status | Networks               | Image                                | Flavor |
+--------------------------------------+------+--------+------------------------+--------------------------------------+--------+
| 26426f26-aec2-4c6d-bbff-bad0c3026331 | test | ACTIVE | cust-network=10.2.3.21 | Ubuntu Server 14.04 LTS (English) 02 | S-1    |
+--------------------------------------+------+--------+------------------------+--------------------------------------+--------+
$

 

And mitmproxy captured the below

>> GET https://identity.uk-1.cloud.global.fujitsu.com/v3
       ? 404 application/xml 231b 139ms
   POST https://identity.uk-1.cloud.global.fujitsu.com/v3/auth/tokens
        ? 201 application/json 9.43k 571ms
   POST https://identity.uk-1.cloud.global.fujitsu.com/v3/auth/tokens
        ? 201 application/json 9.43k 1.07s
   GET https://compute.uk-1.cloud.global.fujitsu.com/v2/69206b8239bd41c29012785db1ae2099/servers/detail
       ? 200 application/json 1.63k 1.18s
   GET https://image.uk-1.cloud.global.fujitsu.com/v2/images?limit=20
       ? 200 application/json 9.73k 1.58s
   GET https://image.uk-1.cloud.global.fujitsu.com/v2/schemas/image
       ? 200 application/json 3.55k 593ms
   GET https://compute.uk-1.cloud.global.fujitsu.com/v2/69206b8239bd41c29012785db1ae2099/flavors/detail
       ? 200 application/json 17.78k 729ms

Each of the above lines can be drilled down into, to see the full request/response bodies including headers.

Have fun!

Posted in Uncategorized | 2 Comments

I have Super Powers

turnoff.us is a geek comic site. Comics about Programming Languages, Web, Cloud, Linux, etc.

Source: Super Power

 

Ed:  Now i find i have super powers!  awesome!!!1!

Posted in Uncategorized | 2 Comments

Ansible Project 2.4 now generally available

  • Modernize systems with:

    • Support for Python 3
    • Configuration that is now YAML-based
  • Organize workloads through:

    • New Inventory Plugin System, allowing for multiple inventories to be supplied, as well as the ability for inventories to leverage the cache plugin.

    • Significant updates to fact gathering and fact management

    • ansible_group_priority variable, which controls merge order of Group var data.

    • New order play level keyword, enabling users to change the order which Ansible processes hosts when dispatching tasks.

    • Vault Passwords, Playbooks that use multiple roles can use a different vault password per team/role

Source: Ansible Project 2.4 now generally available

 

Ed: Awesome 🙂

Posted in Uncategorized | Leave a comment

Ask An Expert – AWX – Sept 2017

This on demand webinar features Matt Jones giving a demo of AWX, followed by a deep dive into the AWX code structure.

Source: Ask An Expert – AWX – Sept 2017

Ed: Awesome

Posted in Uncategorized | Leave a comment