Actions
Issue #976
closedISO repo not able to publish
Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.6.1 Beta
Platform Release:
OS:
Fedora 20
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Hello,
I am not able to publish iso repos neither through pulp-admin nor API.
pulp-admin iso repo create --repo-id=aaa
pulp-admin iso repo publish run --repo-id=aaa
Stacktrace:
(6284-02176) Error received removing distributor [IsoRepoTest_repo_distributor] from repo [IsoRepoTest_repo]
(6284-02176) Traceback (most recent call last):
(6284-02176) File "/usr/lib/python2.7/site-packages/pulp/server/managers/repo/cud.py", line 241, in delete_repo
(6284-02176) distributor_manager.remove_distributor(repo_id, repo_distributor['id'])
(6284-02176) File "/usr/lib/python2.7/site-packages/pulp/server/managers/repo/distributor.py", line 241, in remove_distributor
(6284-02176) distributor_instance.distributor_removed(transfer_repo, call_config)
(6284-02176) File "/usr/lib/python2.7/site-packages/pulp/plugins/file/distributor.py", line 65, in distributor_removed
(6284-02176) self.unpublish_repo(repo, config)
(6284-02176) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/iso_distributor/distributor.py", line 55, in unpublish_repo
(6284-02176) publish.remove_repository_protection(repo)
(6284-02176) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/iso_distributor/publish.py", line 78, in remove_repository_protection
(6284-02176) protected_repo_utils.delete_protected_repo(relative_path)
(6284-02176) File "/usr/lib/python2.7/site-packages/pulp_rpm/repo_auth/protected_repo_utils.py", line 63, in delete_protected_repo
(6284-02176) f.save()
(6284-02176) File "/usr/lib/python2.7/site-packages/pulp_rpm/repo_auth/protected_repo_utils.py", line 143, in save
(6284-02176) f = open(self.filename, 'w')
(6284-02176) IOError: [Errno 13] Permission denied: '/etc/pki/pulp/content/pulp-protected-repos'
# rpm -qa| grep pulp
pulp-admin-client-2.6.1-0.3.rc.fc20.noarch
pulp-consumer-client-2.6.1-0.3.rc.fc20.noarch
pulp-agent-2.6.1-0.3.rc.fc20.noarch
pulp-rpm-yumplugins-2.6.1-0.4.rc.fc20.noarch
python-kombu-3.0.24-5.pulp.fc20.noarch
python-pulp-rpm-common-2.6.1-0.4.rc.fc20.noarch
pulp-server-2.6.1-0.3.rc.fc20.noarch
pulp-selinux-2.6.1-0.3.rc.fc20.noarch
python-pulp-bindings-2.6.1-0.3.rc.fc20.noarch
python-pulp-agent-lib-2.6.1-0.3.rc.fc20.noarch
pulp-puppet-handlers-2.6.1-0.3.rc.fc20.noarch
pulp-rpm-handlers-2.6.1-0.4.rc.fc20.noarch
pulp-docker-admin-extensions-1.0.0-1.fc20.noarch
python-pulp-puppet-common-2.6.1-0.3.rc.fc20.noarch
pulp-rpm-plugins-2.6.1-0.4.rc.fc20.noarch
python-pulp-client-lib-2.6.1-0.3.rc.fc20.noarch
pulp-puppet-admin-extensions-2.6.1-0.3.rc.fc20.noarch
python-isodate-0.5.0-4.pulp.fc20.noarch
pulp-rpm-consumer-extensions-2.6.1-0.4.rc.fc20.noarch
pulp-docker-plugins-1.0.0-1.fc20.noarch
pulp-puppet-plugins-2.6.1-0.3.rc.fc20.noarch
pulp-rpm-admin-extensions-2.6.1-0.4.rc.fc20.noarch
python-pulp-common-2.6.1-0.3.rc.fc20.noarch
pulp-puppet-consumer-extensions-2.6.1-0.3.rc.fc20.noarch
python-pulp-docker-common-1.0.0-1.fc20.noarch
Actions