Categories
Uncategorized

Django, psql & “permission denied” on migrate

I got this error: psycopg2.ProgrammingError: permission denied for relation django_migrations … when I wanted to do a “python manage.py migrate”. This post had the solution. In short: You have to change the owner of the tables to the one specified in the Django configuration. This is how my script looks: #!/usr/bin/env bash echo “ALTER TABLE […]

Categories
Docker

Docker registry, S3 and permissions

There are a couple of bazillion blog posts saying “yah just did my docker registry on S3”. It’s not so easy, though. Cause what if you want to limit access to a certain IAM user? Yup, you need to go deep (well, a bit) into the policy thing of Amazon. Which sounds simple, but isn’t. […]

Categories
Uncategorized

The limits of puppetDB a.k.a. etcd with puppet

Okay. Maybe this is the completely wrong way to do this, but I found no other. Comments appreciated. Situation: A DNS server cluster, meaning pacemaker managing an IP failover if one of them fails. The cluster IP (the one switching over) should be the IP used for DNS lookups. Idea: Hosts should automatically find ‘their’ […]