Project

Profile

Help

Issue #1109

Updated by ipanova@redhat.com almost 9 years ago

I cannot find repo after manual publish via https. the path is https://localhost/pulp/repos/ ( maybe it is a wrong path?) 

 <pre> 
 $ pulp-admin -vv ostree repo create --repo-id r1 --relative-path r1 

 Repository [r1] successfully created 

 [ipanova@ina pulp_ostree]$ pulp-admin -vv ostree repo publish run --repo-id r1 
 +----------------------------------------------------------------------+ 
                        Publishing Repository [r1] 
 +----------------------------------------------------------------------+ 

 2015-07-03 16:06:50,519 - DEBUG - sending POST request to /pulp/api/v2/tasks/search/ 
 2015-07-03 16:06:50,634 - INFO - POST request to /pulp/api/v2/tasks/search/ with parameters {"criteria": {"filters": {"state": {"$nin": ["finished", "error", "canceled", "skipped"]}, "tags": {"$all": ["pulp:repository:r1", "pulp:action:publish"]}}}} 
 2015-07-03 16:06:50,635 - INFO - Response status : 200  

 2015-07-03 16:06:50,635 - INFO - Response body : 
  [] 

 2015-07-03 16:06:50,635 - DEBUG - sending POST request to /pulp/api/v2/repositories/r1/actions//publish/ 
 2015-07-03 16:06:50,763 - INFO - POST request to /pulp/api/v2/repositories/r1/actions//publish/ with parameters {"override_config": null, "id": "ostree_web_distributor_name_cli"} 
 2015-07-03 16:06:50,764 - INFO - Response status : 202  

 2015-07-03 16:06:50,764 - INFO - Response body : 
  { 
   "spawned_tasks": [ 
     { 
       "_href": "/pulp/api/v2/tasks/a16d7519-3e17-4956-8d5b-49307e998c63/",  
       "task_id": "a16d7519-3e17-4956-8d5b-49307e998c63" 
     } 
   ],  
   "result": null,  
   "error": null 
 } 

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


 2015-07-03 16:06:51,765 - DEBUG - sending GET request to /pulp/api/v2/tasks/a16d7519-3e17-4956-8d5b-49307e998c63/ 
 2015-07-03 16:06:51,881 - INFO - GET request to /pulp/api/v2/tasks/a16d7519-3e17-4956-8d5b-49307e998c63/ with parameters None 
 2015-07-03 16:06:51,882 - INFO - Response status : 200  

 2015-07-03 16:06:51,882 - INFO - Response body : 
  { 
   "exception": null,  
   "task_type": "pulp.server.managers.repo.publish.publish",  
   "_href": "/pulp/api/v2/tasks/a16d7519-3e17-4956-8d5b-49307e998c63/",  
   "task_id": "a16d7519-3e17-4956-8d5b-49307e998c63",  
   "tags": [ 
     "pulp:repository:r1",  
     "pulp:action:publish" 
   ],  
   "finish_time": "2015-07-03T14:06:50Z",  
   "_ns": "task_status",  
   "start_time": "2015-07-03T14:06:50Z",  
   "traceback": null,  
   "spawned_tasks": [],  
   "progress_report": { 
     "ostree_web_distributor_name_cli": [ 
       { 
         "num_success": 1,  
         "description": "Publish Trees",  
         "step_type": "ostree_publish_main",  
         "items_total": 1,  
         "state": "FINISHED",  
         "error_details": [],  
         "details": "",  
         "num_failures": 0,  
         "step_id": "5b37c22c-a615-4216-be49-2513083cdd73",  
         "num_processed": 1 
       },  
       { 
         "num_success": 1,  
         "description": "Making files available via web.",  
         "step_type": "ostree_publish_over_http",  
         "items_total": 1,  
         "state": "FINISHED",  
         "error_details": [],  
         "details": "",  
         "num_failures": 0,  
         "step_id": "3567a1b7-acba-4c54-a462-963d2737a051",  
         "num_processed": 1 
       } 
     ] 
   },  
   "queue": "reserved_resource_worker-1@ina.usersys.redhat.com.dq",  
   "state": "finished",  
   "worker_name": "reserved_resource_worker-1@ina.usersys.redhat.com",  
   "result": { 
     "exception": null,  
     "repo_id": "r1",  
     "started": "2015-07-03T14:06:50Z",  
     "_ns": "repo_publish_results",  
     "completed": "2015-07-03T14:06:50Z",  
     "traceback": null,  
     "distributor_type_id": "ostree_web_distributor",  
     "error_message": null,  
     "summary": { 
       "ostree_publish_main": "FINISHED",  
       "ostree_publish_over_http": "FINISHED" 
     },  
     "result": "success",  
     "distributor_id": "ostree_web_distributor_name_cli",  
     "id": "559696fa45ef484fb4ddf03f",  
     "details": [ 
       { 
         "num_success": 1,  
         "description": "Publish Trees",  
         "step_type": "ostree_publish_main",  
         "items_total": 1,  
         "state": "FINISHED",  
         "error_details": [],  
         "details": "",  
         "num_failures": 0,  
         "step_id": "5b37c22c-a615-4216-be49-2513083cdd73",  
         "num_processed": 1 
       },  
       { 
         "num_success": 1,  
         "description": "Making files available via web.",  
         "step_type": "ostree_publish_over_http",  
         "items_total": 1,  
         "state": "FINISHED",  
         "error_details": [],  
         "details": "",  
         "num_failures": 0,  
         "step_id": "3567a1b7-acba-4c54-a462-963d2737a051",  
         "num_processed": 1 
       } 
     ] 
   },  
   "error": null,  
   "_id": { 
     "$oid": "559696fa3d050b32b4a9811a" 
   },  
   "id": "559696fa3d050b32b4a9811a" 
 } 

 Publish Trees 
 [-] 
 ... completed 

 Making files available via web. 
 [-] 
 ... completed 


 Task Succeeded 

 </pre> 

 However the repo is present among /var/lib/pulp/published/ostree dir 

Back