Spinning up a new dev version of Foreman with Katello that has Debian repo support. I’m wanting to get Foreman, Katello and Puppet to manage Ubuntu systems primarily. The installation is on an updated, fresh install of CentOS 7.
I’ve created a repo sync and product, but I’m stuck trying to sync the repo (main 18.04 repo) and the error that spits out suggests a variable is not set, “GNUPGHOME”, but I can’t find any documentation where I missed steps to set that up. Error:
" File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/importers/sync.py\", line 187, in verify_release_file\n" +
" gpg = self.gnupg_factory(homedir=os.path.join(self.get_working_dir(), 'gpg-home'))\n" +
" File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/importers/sync.py\", line 177, in gnupg_factory\n" +
" return gnupg.GPG(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/gnupg.py\", line 827, in __init__\n" +
" raise ValueError('gnupghome should be a directory (it isn\\'t): %s' % gnupghome)\n" +
"ValueError: gnupghome should be a directory (it isn't): /var/cache/pulp/reserved_resource_worker-3@dev-foreman/e9d6a31e-9e86-405d-bec6-9268020266af/gpg-home\n",
Can anyone help me with this? I have a feeling this is something that shouldn’t be too hard to fix.