If you should find yourself wanting to install pyspatialite on Fedora -- perhaps because you want to use the Processing plugin for QGIS -- you will first need to install the following dependencies:

  • gcc
  • python-devel
  • sqlite-devel
  • geos-devel
  • proj-devel
  • python-pip
  • redhat-rpm-config

After which you can install pyspatialite using pip by running:

CFLAGS=-I/usr/include pip install pyspatialite

At this point, you should be able to use the "Processing" plugin.


Bootstrapping Ansible on Fedora 23

Thu 15 October 2015 by Lars Kellogg-Stedman Tags ansible fedora

If you've tried running Ansible against a Fedora 23 system, you may have run into the following problem:

fatal: [myserver]: FAILED! => {"changed": false, "failed": true,
"msg": "/bin/sh: /usr/bin/python: No such file or directory\r\n",
"parsed": false}

Fedora has recently made the switch to only including Python …

read more

Booting cloud images with libvirt

Tue 10 March 2015 by Lars Kellogg-Stedman Tags fedora cloud-init

Most major distributions now provide "cloud-enabled" images designed for use in cloud environments like OpenStack and AWS. These images are usually differentiated by (a) being relatively small, and (b) running cloud-init at boot to perform initial system configuration tasks using metadata provided by the cloud environment.

Because of their small …

read more

Fedora Atomic, OpenStack, and Kubernetes (oh my)

Mon 24 November 2014 by Lars Kellogg-Stedman Tags openstack kubernetes fedora atomic

While experimenting with Fedora Atomic, I was looking for an elegant way to automatically deploy Atomic into an OpenStack environment and then automatically schedule some Docker containers on the Atomic host. This post describes my solution.

read more

Fedora and OVS Bridge Interfaces

I run OpenStack on my laptop, and I've been chasing down a pernicious problem with OVS bridge interfaces under both F19 and F20. My OpenStack environment relies on an OVS bridge device named br-ex for external connectivity and for making services available to OpenStack instances, but after rebooting, br-ex was …

read more