Babel - a business unit of Par-Tec S.p.A.

Babel - a business unit of Par-Tec S.p.A.
Babel - a business unit of Par-Tec S.p.A.
Blog Post
  • The ansible-galaxy ioggstream.ocp_health role can run a smoke test on openshift in minutes: – etcd consistency – rhn subscriptions – master status – registry, ipfailover and router instances NOTE: it’s not a replacement of oadm diagnostics

Babel - a business unit of Par-Tec S.p.A.
Babel - a business unit of Par-Tec S.p.A.
Blog Post
  • Enabling openshift cockpit with the latest releases is quite simple, but requires using a local system account. 1- Install cockpit yum install cockpit cockpit-kubernetes iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 9090 -j ACCEPT systemctl enable cockpit.service --now 2- Create a custom user to be used for cockpit administration useradd […]

Babel - a business unit of Par-Tec S.p.A.
Babel - a business unit of Par-Tec S.p.A.
Blog Post
  • You may need to customize a configurationfile for eg. an openshift-router or the registry. If the dc supports the TEMPLATE_FILE environment, you can do it in three steps, otherwise you should find a hook to mount the file in an expected location. First get the original configuration file and modify it as desired. In this […]

Babel - a business unit of Par-Tec S.p.A.
Babel - a business unit of Par-Tec S.p.A.
Blog Post
  • If you have issues after an automagic openshift-on-openstack deployment: 1. Remember: every buildconfig created *before* the registry is not authorized to push the images 2. Remember: hawkular is a java application. Startup is slow. Just click there and wait for the startup 3. If a container don’t startup during the deployment, a broken image may […]

Babel - a business unit of Par-Tec S.p.A.
Babel - a business unit of Par-Tec S.p.A.
Blog Post

New blog articles detected.

  • Trace http calls with python-requests

    Today python-requests is the de-facto standard library for rest calls. As everything goes on TLS, you can trace api calls with the following: import httplib as http_client http_client.HTTPConnection.debuglevel = 1 requests_log = logging.getLogger("requests.packages.urllib3") requests_log.setLevel(logging.DEBUG) requests_log.propagate = True

  • Set command output as facts with ansible

    Having to check ntp configuration on a distributed cluster, I had to parse the “`timedatectl“` output into a dict and apply various checks. I did this via the (infamous)

  • MySQL JSON fields on the ground!

    Having to add a series of custom fields to a quite relational application, I decided to try the new JSON fields. As of now you can: – create json fields – manipulate them with json_extract, json_unquote – create generated fields from json entries You can not: – index json fields directly, create a generated field […]

  • Terraforming the clouds

    Terraform is an infrastructure configuration manager by HashiCorp (Vagrant) like CloudFormation or Heat, supporting various infrastructure providers including Amazon, VirtuaBox, … Terraform reads *.tf and creates an execution plan containing all resources: – instances – volumes – networks – .. You can check an example configuration here on github: Unfortunately, it uses a custom but […]

  • MySQL 8.0 Innodb Cluster looks at MongoDB

    MySQL turns 8.0 and the technical preview integrates a new “InnoDB Cluster”. The overall architecture reminds MongoDB: – group replication with a single master, similar to replica-sets; – a mysqlsh able to create replication group and local instances supporting js and python; – a MySQL Router as a gateway to appservers, to be deployed on […]

  • Running MySQL with kubernetes volumes

    When you attach kubernetes volumes to mysql images, consider to ignore lost+found. MySQL refuses to initialize non-empty datadirs, so any newly formatted ext4 filesystem doesn’t suit the task. name: mysql image: mysql:5.7 args: - "--ignore-db-dir=lost+found"

  • Openshift 3.4: broken ansible dependencies

    The new ansible openshift 3.4 installation playbook is very nice. Just set deploy variables in the inventory and everything will raise from the ground magically… Well, not immediately tough. Due to this bug you need to: – downgrade ansible to 2.2.0.0 (the latest is 2.2.1.0) Or the playbook will try do serialize python objects which […]

Babel - a business unit of Par-Tec S.p.A.
Babel - a business unit of Par-Tec S.p.A.
Blog Post
  • If an operation that implies a state change on a VM fails, sometimes RHEV sets the VM status to ‘Unknown’. This morning, after a fail of a ‘Power off’ operation on a VM in panic – due to a bug ([vdsm] AttributeError: GuestAgent instance has no attribute ‘_sock’) – the VM state was set to […]

Out-Market Your Competitors?

Get complete competitive insights on over 2.2 million companies to drive your marketing strategy.

Create Free Account Log in

By signing up, you agree to the Terms of Service and Privacy Policy.

Out-Market Your Competitors

Get complete competitive insights on over 2.2 million companies to drive your marketing strategy.

Create Free Account

Already a user?  Log in

By signing up, you agree to the Terms of Service and Privacy Policy.