Closed gavanderhoorn closed 6 years ago
And the same for init_main_repo
:
/Stage[main]/Profile::Ros::Repo/Exec[init_main_repo]/returns (notice): Traceback (most recent call last):
/Stage[main]/Profile::Ros::Repo/Exec[init_main_repo]/returns (notice): File "/home/jenkins-agent/reprepro-updater/scripts/setup_repo.py", line 8, in <module>
/Stage[main]/Profile::Ros::Repo/Exec[init_main_repo]/returns (notice): from reprepro_updater import conf
/Stage[main]/Profile::Ros::Repo/Exec[init_main_repo]/returns (notice): File "/home/jenkins-agent/reprepro-updater/src/reprepro_updater/conf.py", line 33, in <module>
/Stage[main]/Profile::Ros::Repo/Exec[init_main_repo]/returns (notice): from configparser import SafeConfigParser
/Stage[main]/Profile::Ros::Repo/Exec[init_main_repo]/returns (notice): ImportError: No module named configparser
Puppet (err): /home/jenkins-agent/reprepro-updater/scripts/setup_repo.py ubuntu_main -c returned 1 instead of one of [0]
/Stage[main]/Profile::Ros::Repo/Exec[init_main_repo]/returns (err): change from notrun to 0 failed: /home/jenkins-agent/reprepro-updater/scripts/setup_repo.py ubuntu_main -c returned 1 instead of one of [0]
And init_testing_repo
fails with:
/Stage[main]/Profile::Ros::Repo/Exec[init_testing_repo]/returns (notice): OSError: [Errno 13] Permission denied: '/var/repos'
Not sure whether that is caused by the two earlier failures.
I was able to reproduce this today when provisioning a fresh repo host in AWS.
Fixed by #178
Deploying the
repo
host runs into the following:Starting
python
after the failed run and tryingimport configparser
succeeds (in both Python 2 and 3), so not sure what is going on here.buildfarm_deployment
at 3da95258c079452de52083cc071167ec90bdb15f on a fresh Ubuntu Server 16.04amd64
VM.