With previous foreman and katello versions (Foreman 1.23 Katello 3.13) the sync was working normally.
By sync he starts with green line and: Copying units already in pulp (0/1)
After that it gets a Warning and stops the sync.
Any idea?
{"num_success"=>0,
"description"=>"",
"step_type"=>"publish_repodata",
"items_total"=>1,
"state"=>"FAILED",
"error_details"=>
[{"traceback"=>
" File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 257, in process\n" +
" self._process_block()\n" +
"\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 304, in _process_block\n" +
" self.process_main()\n" +
"\n" +
" File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 422, in process_main\n" +
" signer.sign(release_file_path)\n" +
"\n" +
" File \"/usr/lib/python2.7/site-packages/debpkgr/signer.py\", line 124, in sign\n" +
" stdout=stdout, stderr=stderr)\n",
"error"=>"Return code: 2"}],
Looks like the signing of the repository does not work.
How does your signing script look?
Have you configured it correctly in /etc/pulp/server/plugins.conf.d/deb_distributor.json
Hmm, somehow your signing script seems to fail with return-code 2.
Can you try it on the command line?
Unfortunately, neither stdout nor stderr is logged by the code.
Maybe you can find a way for the script to save it’s output into a file.
I am not aware of significant changes to the way the singing-script is called.