Project

Profile

Help

Issue #2967

Updated by kersom over 7 years ago

As a user, I should be able to specify an a URL to a feed, and be able to use the sync command to synchronize debian packages from an URL. feed. 

 A guest during test day attempted to create and sync a debian repo using a debian mirror and sync fails. 

 * Pulp packages and plugins: 
 
 <pre> 
 rpm -qa | grep pulp 

 python-pulp-puppet-common-2.14.0-0.3.rc.fc25.noarch 
 pulp-puppet-plugins-2.14.0-0.3.rc.fc25.noarch 
 pulp-ostree-plugins-1.3.0-0.3.rc.fc25.noarch 
 python-pulp-streamer-2.14.0-0.3.rc.fc25.noarch 
 python-pulp-bindings-2.14.0-0.3.rc.fc25.noarch 
 pulp-deb-plugins-1.5.2-0.2.beta.fc25.noarch 
 python-pulp-docker-common-3.0.0-0.3.rc.fc25.noarch 
 python-pulp-oid_validation-2.14.0-0.3.rc.fc25.noarch 
 pulp-docker-plugins-3.0.0-0.3.rc.fc25.noarch 
 pulp-puppet-admin-extensions-2.14.0-0.3.rc.fc25.noarch 
 pulp-ostree-admin-extensions-1.3.0-0.3.rc.fc25.noarch 
 python-pulp-common-2.14.0-0.3.rc.fc25.noarch 
 pulp-docker-admin-extensions-3.0.0-0.3.rc.fc25.noarch 
 python-pulp-python-common-2.0.1-0.3.rc.fc25.noarch 
 pulp-python-plugins-2.0.1-0.3.rc.fc25.noarch 
 python-pulp-rpm-common-2.14.0-0.3.rc.fc25.noarch 
 pulp-rpm-plugins-2.14.0-0.3.rc.fc25.noarch 
 pulp-admin-client-2.14.0-0.3.rc.fc25.noarch 
 pulp-deb-admin-extensions-1.5.2-0.2.beta.fc25.noarch 
 python-pulp-repoauth-2.14.0-0.3.rc.fc25.noarch 
 pulp-rpm-admin-extensions-2.14.0-0.3.rc.fc25.noarch 
 python-pulp-client-lib-2.14.0-0.3.rc.fc25.noarch 
 python-pulp-deb-common-1.5.2-0.2.beta.fc25.noarch 
 pulp-selinux-2.14.0-0.3.rc.fc25.noarch 
 pulp-server-2.14.0-0.3.rc.fc25.noarch 
 python-pulp-ostree-common-1.3.0-0.3.rc.fc25.noarch 
 pulp-python-admin-extensions-2.0.1-0.3.rc.fc25.noarch 
 </pre> 


 <pre> 
 [test@fedora25-base214 ~]$ cat /etc/redhat-release 
 Fedora release 25 (Twenty Five) 
 </pre> 


 <pre> 
 pulp-admin status 
 +----------------------------------------------------------------------+ 
                           Status of the server 
 +----------------------------------------------------------------------+ 

 Api Version:             2 
 Database Connection:    
   Connected: True 
 Known Workers:          
   _id:              scheduler@fedora25-base214 
   _ns:              workers 
   Last Heartbeat: 2017-08-13T15:43:56Z 
   _id:              resource_manager@fedora25-base214 
   _ns:              workers 
   Last Heartbeat: 2017-08-13T15:43:57Z 
   _id:              reserved_resource_worker-0@fedora25-base214 
   _ns:              workers 
   Last Heartbeat: 2017-08-13T15:43:57Z 
   _id:              reserved_resource_worker-1@fedora25-base214 
   _ns:              workers 
   Last Heartbeat: 2017-08-13T15:43:57Z 
 Messaging Connection:   
   Connected: True 
 Versions:               
   Platform Version: 2.14rc3 

 </pre> 

 <pre> 

 [root@fedora25-test2 ansible]# pulp-admin deb repo create --repo-id debian-repo --feed=http://ftp.debian.org/debian/dists/stable/ 
 Successfully created repository [debian-repo] 

 [root@fedora25-test2 ansible]# pulp-admin deb repo sync run --repo-id=debian-repo 
 +----------------------------------------------------------------------+ 
                  Synchronizing Repository [debian-repo] 
 +----------------------------------------------------------------------+ 

 This command may be exited via ctrl+c without affecting the request. 



 Task Failed 

 [Errno 2] No such file or directory: 
 u'/var/cache/pulp/reserved_resource_worker-0@fedora25-test2/76fe6f18-9c1e-414c-a 
 4d4-040f17af44a7/Release' 


 </pre> 

 Related story: https://pulp.plan.io/issues/2763#change-21246 




 

 A guest during test day attempted to create and sync a debian repo using an debian mirror and sync fails. 


 * OS: Fedora release 25 (Twenty Five) 
 * Versions:               
 * Platform Version: 2.14rc3 


Back