
We get this error in cron: /usr/local/gerrit/scripts/update_gerrit_users.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if key.strip() not in db_keys: The stuff from Launchpad comes back as unicode, but the stuff from MySQL comes back as string, which makes the in comparison wonky. Perhaps we should upgrade the database to unicode properly as well... Change-Id: I5ef66763429ca490d799ebb5b030abdc4d5de67e
These are a set of puppet manifests and modules that are currently being used to manage some of the efforts of the OpenStack CI project. They are quite bare and crappy at the moment, but should grow soon.
Additionally, there is a script, make_puppet_lp.py which is used to generate a few lists of users from launchpad teams, to make management and population of user accounts on different types of servers easier.
There are currently two different entry points, the slave.pp and the server.pp manifest.
slave.pp is intended to be for jenkins slaves and adds all members of ~openstack-ci-admins
server.pp is intended as the base for other servers and adds members of ~openstack-admins
Puppet needs to be installed via gems, because we use the pip package provider for one of the packages and that is only in 2.7.
For instance:
/var/lib/gems/1.8/bin/puppet apply --modulepath=pwd
/modules manifests/slave.pp
or
/var/lib/gems/1.8/bin/puppet apply --modulepath=pwd
/modules manifests/server.pp