Advertisement
Guest User

Untitled

a guest
Feb 10th, 2020
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.56 KB | None | 0 0
  1. Actions::Pulp::Repository::Sync
  2. Input:
  3. {"smart_proxy_id"=>1,
  4. "repo_id"=>3155,
  5. "source_url"=>nil,
  6. "options"=>{},
  7. "remote_user"=>"admin",
  8. "remote_cp_user"=>"admin",
  9. "current_request_id"=>nil,
  10. "current_timezone"=>"vvv",
  11. "current_user_id"=>4,
  12. "current_organization_id"=>3,
  13. "current_location_id"=>nil}
  14. Output:
  15. {"pulp_tasks"=>
  16. [{"exception"=>nil,
  17. "task_type"=>"pulp.server.managers.repo.sync.sync",
  18. "_href"=>"/pulp/api/v2/tasks/cd16d508-da40-4368-b490-b05d81e0abca/",
  19. "task_id"=>"cd16d508-da40-4368-b490-b05d81e0abca",
  20. "tags"=>
  21. ["pulp:repository:e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
  22. "pulp:action:sync"],
  23. "finish_time"=>"2020-02-10T12:22:32Z",
  24. "_ns"=>"task_status",
  25. "start_time"=>"2020-02-10T12:22:20Z",
  26. "traceback"=>nil,
  27. "spawned_tasks"=>
  28. [{"_href"=>"/pulp/api/v2/tasks/b5885ec9-1b0b-4f66-a6a4-dc37dd459e25/",
  29. "task_id"=>"b5885ec9-1b0b-4f66-a6a4-dc37dd459e25"}],
  30. "progress_report"=>
  31. {"deb_importer"=>
  32. [{"num_success"=>2,
  33. "description"=>"Retrieving metadata: Release file(s)",
  34. "step_type"=>"sync_step_release_download",
  35. "items_total"=>2,
  36. "state"=>"FINISHED",
  37. "error_details"=>[],
  38. "details"=>"",
  39. "num_failures"=>0,
  40. "step_id"=>"d846ce4d-48c3-4060-a183-852a63e029e7",
  41. "num_processed"=>2},
  42. {"num_success"=>1,
  43. "description"=>"Parse Release Files",
  44. "step_type"=>"sync_step_release_parse",
  45. "items_total"=>1,
  46. "state"=>"FINISHED",
  47. "error_details"=>[],
  48. "details"=>"",
  49. "num_failures"=>0,
  50. "step_id"=>"cdf314da-b928-4b5e-a13f-6a2c3b77fa31",
  51. "num_processed"=>1},
  52. {"num_success"=>1,
  53. "description"=>"Retrieving metadata: Packages files",
  54. "step_type"=>"sync_step_packages_download",
  55. "items_total"=>1,
  56. "state"=>"FINISHED",
  57. "error_details"=>[],
  58. "details"=>"",
  59. "num_failures"=>0,
  60. "step_id"=>"5acc831c-4e00-4340-be8b-ebf266fa7a02",
  61. "num_processed"=>1},
  62. {"num_success"=>1,
  63. "description"=>"Parse Packages Files",
  64. "step_type"=>"sync_step_packages_parse",
  65. "items_total"=>1,
  66. "state"=>"FINISHED",
  67. "error_details"=>[],
  68. "details"=>"",
  69. "num_failures"=>0,
  70. "step_id"=>"c1730f98-3c03-41b4-b82e-31c34f1e6c95",
  71. "num_processed"=>1},
  72. {"num_success"=>1,
  73. "description"=>"Copying units already in pulp",
  74. "step_type"=>"get_local",
  75. "items_total"=>1,
  76. "state"=>"FINISHED",
  77. "error_details"=>[],
  78. "details"=>"",
  79. "num_failures"=>0,
  80. "step_id"=>"043ead6f-e332-4160-aee7-26d74da97043",
  81. "num_processed"=>1},
  82. {"num_success"=>1,
  83. "description"=>"Prepare Package Download",
  84. "step_type"=>"sync_step_unit_download_requests",
  85. "items_total"=>1,
  86. "state"=>"FINISHED",
  87. "error_details"=>[],
  88. "details"=>"",
  89. "num_failures"=>0,
  90. "step_id"=>"0209cdaa-8f5c-431e-9236-06a6550eed73",
  91. "num_processed"=>1},
  92. {"num_success"=>0,
  93. "description"=>"Retrieving units",
  94. "step_type"=>"sync_step_unit_download",
  95. "items_total"=>0,
  96. "state"=>"FINISHED",
  97. "error_details"=>[],
  98. "details"=>"",
  99. "num_failures"=>0,
  100. "step_id"=>"4d8c7162-0236-4df9-b2ad-c191a6dc41a9",
  101. "num_processed"=>0},
  102. {"num_success"=>1,
  103. "description"=>"Save and associate downloaded units",
  104. "step_type"=>"sync_step_save",
  105. "items_total"=>1,
  106. "state"=>"FINISHED",
  107. "error_details"=>[],
  108. "details"=>"",
  109. "num_failures"=>0,
  110. "step_id"=>"d0e9a2c2-432e-4cf7-94c2-f99055cdc24a",
  111. "num_processed"=>1},
  112. {"num_success"=>1,
  113. "description"=>"Save metadata",
  114. "step_type"=>"sync_step_save_meta",
  115. "items_total"=>1,
  116. "state"=>"FINISHED",
  117. "error_details"=>[],
  118. "details"=>"",
  119. "num_failures"=>0,
  120. "step_id"=>"77fc188b-e32e-4bef-b512-d3875e481976",
  121. "num_processed"=>1},
  122. {"num_success"=>1,
  123. "description"=>"Orphan removed units",
  124. "step_type"=>"sync_step_orphan_removed_units",
  125. "items_total"=>1,
  126. "state"=>"FINISHED",
  127. "error_details"=>[],
  128. "details"=>"",
  129. "num_failures"=>0,
  130. "step_id"=>"5bcf8041-27bb-4f56-ac65-23a0549bf084",
  131. "num_processed"=>1}]},
  132. "queue"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan.dq2",
  133. "state"=>"finished",
  134. "worker_name"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan",
  135. "result"=>
  136. {"result"=>"success",
  137. "importer_id"=>"deb_importer",
  138. "exception"=>nil,
  139. "repo_id"=>"e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
  140. "traceback"=>nil,
  141. "started"=>"2020-02-10T12:22:20Z",
  142. "_ns"=>"repo_sync_results",
  143. "completed"=>"2020-02-10T12:22:31Z",
  144. "importer_type_id"=>"deb_importer",
  145. "error_message"=>nil,
  146. "summary"=>
  147. {"sync_step_release_download"=>"FINISHED",
  148. "sync_step_unit_download_requests"=>"FINISHED",
  149. "sync_step_save"=>"FINISHED",
  150. "sync_step_unit_download"=>"FINISHED",
  151. "sync_step_release_parse"=>"FINISHED",
  152. "get_local"=>"FINISHED",
  153. "sync_step_packages_parse"=>"FINISHED",
  154. "sync_step_orphan_removed_units"=>"FINISHED",
  155. "sync_step_save_meta"=>"FINISHED",
  156. "sync_step_packages_download"=>"FINISHED"},
  157. "added_count"=>0,
  158. "removed_count"=>0,
  159. "updated_count"=>832,
  160. "id"=>"5e414b08e3eef50dbadc97f7",
  161. "details"=>
  162. [{"num_success"=>2,
  163. "description"=>"Retrieving metadata: Release file(s)",
  164. "step_type"=>"sync_step_release_download",
  165. "items_total"=>2,
  166. "state"=>"FINISHED",
  167. "error_details"=>[],
  168. "details"=>"",
  169. "num_failures"=>0,
  170. "step_id"=>"d846ce4d-48c3-4060-a183-852a63e029e7",
  171. "num_processed"=>2},
  172. {"num_success"=>1,
  173. "description"=>"Parse Release Files",
  174. "step_type"=>"sync_step_release_parse",
  175. "items_total"=>1,
  176. "state"=>"FINISHED",
  177. "error_details"=>[],
  178. "details"=>"",
  179. "num_failures"=>0,
  180. "step_id"=>"cdf314da-b928-4b5e-a13f-6a2c3b77fa31",
  181. "num_processed"=>1},
  182. {"num_success"=>1,
  183. "description"=>"Retrieving metadata: Packages files",
  184. "step_type"=>"sync_step_packages_download",
  185. "items_total"=>1,
  186. "state"=>"FINISHED",
  187. "error_details"=>[],
  188. "details"=>"",
  189. "num_failures"=>0,
  190. "step_id"=>"5acc831c-4e00-4340-be8b-ebf266fa7a02",
  191. "num_processed"=>1},
  192. {"num_success"=>1,
  193. "description"=>"Parse Packages Files",
  194. "step_type"=>"sync_step_packages_parse",
  195. "items_total"=>1,
  196. "state"=>"FINISHED",
  197. "error_details"=>[],
  198. "details"=>"",
  199. "num_failures"=>0,
  200. "step_id"=>"c1730f98-3c03-41b4-b82e-31c34f1e6c95",
  201. "num_processed"=>1},
  202. {"num_success"=>1,
  203. "description"=>"Copying units already in pulp",
  204. "step_type"=>"get_local",
  205. "items_total"=>1,
  206. "state"=>"FINISHED",
  207. "error_details"=>[],
  208. "details"=>"",
  209. "num_failures"=>0,
  210. "step_id"=>"043ead6f-e332-4160-aee7-26d74da97043",
  211. "num_processed"=>1},
  212. {"num_success"=>1,
  213. "description"=>"Prepare Package Download",
  214. "step_type"=>"sync_step_unit_download_requests",
  215. "items_total"=>1,
  216. "state"=>"FINISHED",
  217. "error_details"=>[],
  218. "details"=>"",
  219. "num_failures"=>0,
  220. "step_id"=>"0209cdaa-8f5c-431e-9236-06a6550eed73",
  221. "num_processed"=>1},
  222. {"num_success"=>0,
  223. "description"=>"Retrieving units",
  224. "step_type"=>"sync_step_unit_download",
  225. "items_total"=>0,
  226. "state"=>"FINISHED",
  227. "error_details"=>[],
  228. "details"=>"",
  229. "num_failures"=>0,
  230. "step_id"=>"4d8c7162-0236-4df9-b2ad-c191a6dc41a9",
  231. "num_processed"=>0},
  232. {"num_success"=>1,
  233. "description"=>"Save and associate downloaded units",
  234. "step_type"=>"sync_step_save",
  235. "items_total"=>1,
  236. "state"=>"FINISHED",
  237. "error_details"=>[],
  238. "details"=>"",
  239. "num_failures"=>0,
  240. "step_id"=>"d0e9a2c2-432e-4cf7-94c2-f99055cdc24a",
  241. "num_processed"=>1},
  242. {"num_success"=>1,
  243. "description"=>"Save metadata",
  244. "step_type"=>"sync_step_save_meta",
  245. "items_total"=>1,
  246. "state"=>"FINISHED",
  247. "error_details"=>[],
  248. "details"=>"",
  249. "num_failures"=>0,
  250. "step_id"=>"77fc188b-e32e-4bef-b512-d3875e481976",
  251. "num_processed"=>1},
  252. {"num_success"=>1,
  253. "description"=>"Orphan removed units",
  254. "step_type"=>"sync_step_orphan_removed_units",
  255. "items_total"=>1,
  256. "state"=>"FINISHED",
  257. "error_details"=>[],
  258. "details"=>"",
  259. "num_failures"=>0,
  260. "step_id"=>"5bcf8041-27bb-4f56-ac65-23a0549bf084",
  261. "num_processed"=>1}]},
  262. "error"=>nil,
  263. "_id"=>{"$oid"=>"5e414afc0974755f7903e6f4"},
  264. "id"=>"5e414afc0974755f7903e6f4"},
  265. {"exception"=>nil,
  266. "task_type"=>"pulp.server.managers.repo.publish.publish",
  267. "_href"=>"/pulp/api/v2/tasks/b5885ec9-1b0b-4f66-a6a4-dc37dd459e25/",
  268. "task_id"=>"b5885ec9-1b0b-4f66-a6a4-dc37dd459e25",
  269. "tags"=>
  270. ["pulp:repository:e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
  271. "pulp:action:publish"],
  272. "finish_time"=>"2020-02-10T12:22:36Z",
  273. "_ns"=>"task_status",
  274. "start_time"=>"2020-02-10T12:22:32Z",
  275. "traceback"=>
  276. "Traceback (most recent call last):\n" +
  277. " File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n" +
  278. " R = retval = fun(*args, **kwargs)\n" +
  279. " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 686, in __call__\n" +
  280. " return super(Task, self).__call__(*args, **kwargs)\n" +
  281. " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 108, in __call__\n" +
  282. " return super(PulpTask, self).__call__(*args, **kwargs)\n" +
  283. " File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in __protected_call__\n" +
  284. " return self.run(*args, **kwargs)\n" +
  285. " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1110, in publish\n" +
  286. " result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
  287. " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1207, in check_publish\n" +
  288. " result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
  289. " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1259, in _do_publish\n" +
  290. " publish_report = publish_repo(transfer_repo, conduit, call_config)\n" +
  291. " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 894, in wrap_f\n" +
  292. " return f(*args, **kwargs)\n" +
  293. " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 84, in publish_repo\n" +
  294. " return self._publisher.process_lifecycle()\n" +
  295. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 573, in process_lifecycle\n" +
  296. " super(PluginStep, self).process_lifecycle()\n" +
  297. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 164, in process_lifecycle\n" +
  298. " step.process()\n" +
  299. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 257, in process\n" +
  300. " self._process_block()\n" +
  301. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 304, in _process_block\n" +
  302. " self.process_main()\n" +
  303. " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 422, in process_main\n" +
  304. " signer.sign(release_file_path)\n" +
  305. " File \"/usr/lib/python2.7/site-packages/debpkgr/signer.py\", line 124, in sign\n" +
  306. " stdout=stdout, stderr=stderr)\n" +
  307. "SignerError: Return code: 2\n",
  308. "spawned_tasks"=>[],
  309. "progress_report"=>
  310. {"e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6"=>
  311. [{"num_success"=>0,
  312. "description"=>"Publishing modules",
  313. "step_type"=>"publish_modules",
  314. "sub_steps"=>
  315. [{"num_success"=>1,
  316. "description"=>"",
  317. "step_type"=>"publish_deb_releases",
  318. "items_total"=>1,
  319. "state"=>"FINISHED",
  320. "error_details"=>[],
  321. "details"=>"",
  322. "num_failures"=>0,
  323. "step_id"=>"291731a9-f7c9-40b0-ab86-65a6a0357dba",
  324. "num_processed"=>1},
  325. {"num_success"=>1,
  326. "description"=>"",
  327. "step_type"=>"publish_deb_components",
  328. "items_total"=>1,
  329. "state"=>"FINISHED",
  330. "error_details"=>[],
  331. "details"=>"",
  332. "num_failures"=>0,
  333. "step_id"=>"490b5730-82d2-4c13-8c52-8364a65f1238",
  334. "num_processed"=>1},
  335. {"num_success"=>830,
  336. "description"=>"",
  337. "step_type"=>"publish_deb",
  338. "items_total"=>830,
  339. "state"=>"FINISHED",
  340. "error_details"=>[],
  341. "details"=>"",
  342. "num_failures"=>0,
  343. "step_id"=>"cab891c3-2ac3-4bbf-b8af-8b0ae9cb2b4a",
  344. "num_processed"=>830},
  345. {"num_success"=>0,
  346. "description"=>"",
  347. "step_type"=>"publish_repodata",
  348. "items_total"=>1,
  349. "state"=>"FAILED",
  350. "error_details"=>
  351. [{"traceback"=>
  352. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 257, in process\n" +
  353. " self._process_block()\n" +
  354. "\n" +
  355. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 304, in _process_block\n" +
  356. " self.process_main()\n" +
  357. "\n" +
  358. " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 422, in process_main\n" +
  359. " signer.sign(release_file_path)\n" +
  360. "\n" +
  361. " File \"/usr/lib/python2.7/site-packages/debpkgr/signer.py\", line 124, in sign\n" +
  362. " stdout=stdout, stderr=stderr)\n",
  363. "error"=>"Return code: 2"}],
  364. "details"=>"",
  365. "num_failures"=>1,
  366. "step_id"=>"865f2394-f9dc-4b4f-a051-abe0bcb6c428",
  367. "num_processed"=>1}],
  368. "items_total"=>1,
  369. "state"=>"FAILED",
  370. "error_details"=>[{"traceback"=>nil, "error"=>nil}],
  371. "details"=>"",
  372. "num_failures"=>1,
  373. "step_id"=>"a919d536-1e58-4cc1-8192-32ca28266aa7",
  374. "num_processed"=>1},
  375. {"num_success"=>0,
  376. "description"=>"Publishing files to web",
  377. "step_type"=>"publish_directory",
  378. "items_total"=>1,
  379. "state"=>"NOT_STARTED",
  380. "error_details"=>[],
  381. "details"=>"",
  382. "num_failures"=>0,
  383. "step_id"=>"70190b75-0f5f-4aff-a9d7-bbfeaa01f9bc",
  384. "num_processed"=>0},
  385. {"num_success"=>0,
  386. "description"=>"Writing Listings File",
  387. "step_type"=>"generate_listing_files",
  388. "items_total"=>1,
  389. "state"=>"NOT_STARTED",
  390. "error_details"=>[],
  391. "details"=>"",
  392. "num_failures"=>0,
  393. "step_id"=>"4f4ddd77-751f-4c09-91af-14c297c075c1",
  394. "num_processed"=>0},
  395. {"num_success"=>0,
  396. "description"=>"Writing Listings File",
  397. "step_type"=>"generate_listing_files",
  398. "items_total"=>1,
  399. "state"=>"NOT_STARTED",
  400. "error_details"=>[],
  401. "details"=>"",
  402. "num_failures"=>0,
  403. "step_id"=>"a6cb5e30-0e2a-4705-9b35-ba035ea087e1",
  404. "num_processed"=>0}]},
  405. "queue"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan.dq2",
  406. "state"=>"error",
  407. "worker_name"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan",
  408. "result"=>nil,
  409. "error"=>
  410. {"code"=>"PLP0000",
  411. "data"=>{},
  412. "description"=>"Return code: 2",
  413. "sub_errors"=>[]},
  414. "_id"=>{"$oid"=>"5e414b080974755f7903f19f"},
  415. "id"=>"5e414b080974755f7903f19f"}],
  416. "contents_changed"=>true,
  417. "poll_attempts"=>{"total"=>15, "failed"=>1}}
  418. Exception:
  419. Katello::Errors::PulpError: PLP0000: Return code: 2
  420. Backtrace:
  421. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/abstract_async_task.rb:122:in `block in external_task='
  422. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/abstract_async_task.rb:120:in `each'
  423. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/abstract_async_task.rb:120:in `external_task='
  424. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/repository/sync.rb:28:in `external_task='
  425. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/polling.rb:100:in `poll_external_task_with_rescue'
  426. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/polling.rb:22:in `run'
  427. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/cancellable.rb:14:in `run'
  428. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/pulp/abstract_async_task.rb:45:in `run'
  429. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:563:in `block (3 levels) in execute_run'
  430. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  431. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  432. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:32:in `run'
  433. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  434. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  435. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  436. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:16:in `block in run'
  437. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user'
  438. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/models/katello/concerns/user_extensions.rb:21:in `cp_config'
  439. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user'
  440. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user'
  441. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/remote_action.rb:16:in `run'
  442. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  443. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  444. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  445. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/rails_executor_wrap.rb:14:in `block in run'
  446. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
  447. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/rails_executor_wrap.rb:13:in `run'
  448. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  449. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  450. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  451. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/progress.rb:31:in `with_progress_calculation'
  452. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action/progress.rb:17:in `run'
  453. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  454. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  455. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  456. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/keep_locale.rb:11:in `block in run'
  457. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale'
  458. /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.1/app/lib/actions/middleware/keep_locale.rb:11:in `run'
  459. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  460. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  461. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  462. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_request_id.rb:15:in `block in run'
  463. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_request_id.rb:49:in `restore_current_request_id'
  464. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_request_id.rb:15:in `run'
  465. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  466. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  467. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  468. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_timezone.rb:15:in `block in run'
  469. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_timezone.rb:44:in `restore_curent_timezone'
  470. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_timezone.rb:15:in `run'
  471. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  472. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  473. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  474. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_user.rb:15:in `block in run'
  475. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_user.rb:44:in `restore_curent_user'
  476. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_user.rb:15:in `run'
  477. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  478. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  479. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  480. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `block in run'
  481. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_taxonomies.rb:45:in `restore_current_taxonomies'
  482. /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `run'
  483. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  484. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:27:in `pass'
  485. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:19:in `pass'
  486. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware.rb:32:in `run'
  487. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/stack.rb:23:in `call'
  488. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/middleware/world.rb:31:in `execute'
  489. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:562:in `block (2 levels) in execute_run'
  490. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:561:in `catch'
  491. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:561:in `block in execute_run'
  492. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:475:in `block in with_error_handling'
  493. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:475:in `catch'
  494. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:475:in `with_error_handling'
  495. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:556:in `execute_run'
  496. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/action.rb:285:in `execute'
  497. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:18:in `block (2 levels) in execute'
  498. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract.rb:167:in `with_meta_calculation'
  499. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:17:in `block in execute'
  500. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:32:in `open_action'
  501. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:16:in `execute'
  502. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/director.rb:93:in `execute'
  503. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message'
  504. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/executors.rb:12:in `run_user_code'
  505. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/executors/parallel/worker.rb:14:in `on_message'
  506. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/context.rb:46:in `on_envelope'
  507. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
  508. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
  509. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/actor.rb:106:in `on_envelope'
  510. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
  511. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
  512. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
  513. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
  514. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/actor.rb:47:in `block in on_envelope'
  515. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/actor.rb:59:in `with_backtrace'
  516. /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.2/lib/dynflow/actor.rb:47:in `on_envelope'
  517. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
  518. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
  519. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
  520. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
  521. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
  522. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
  523. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
  524. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
  525. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
  526. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
  527. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:162:in `process_envelope'
  528. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:96:in `block in on_envelope'
  529. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:119:in `block (2 levels) in schedule_execution'
  530. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `block in synchronize'
  531. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
  532. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
  533. /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:116:in `block in schedule_execution'
  534. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb:18:in `call'
  535. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb:96:in `work'
  536. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
  537. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
  538. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
  539. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
  540. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
  541. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
  542. /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
  543. /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
  544. Action:
  545. Actions::Pulp::Repository::Sync
  546. Input:
  547. {"smart_proxy_id"=>1,
  548. "repo_id"=>3155,
  549. "source_url"=>nil,
  550. "options"=>{},
  551. "remote_user"=>"admin",
  552. "remote_cp_user"=>"admin",
  553. "current_request_id"=>nil,
  554. "current_timezone"=>"vvv",
  555. "current_user_id"=>4,
  556. "current_organization_id"=>3,
  557. "current_location_id"=>nil}
  558. Output:
  559. {"pulp_tasks"=>
  560. [{"exception"=>nil,
  561. "task_type"=>"pulp.server.managers.repo.sync.sync",
  562. "_href"=>"/pulp/api/v2/tasks/cd16d508-da40-4368-b490-b05d81e0abca/",
  563. "task_id"=>"cd16d508-da40-4368-b490-b05d81e0abca",
  564. "tags"=>
  565. ["pulp:repository:e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
  566. "pulp:action:sync"],
  567. "finish_time"=>"2020-02-10T12:22:32Z",
  568. "_ns"=>"task_status",
  569. "start_time"=>"2020-02-10T12:22:20Z",
  570. "traceback"=>nil,
  571. "spawned_tasks"=>
  572. [{"_href"=>"/pulp/api/v2/tasks/b5885ec9-1b0b-4f66-a6a4-dc37dd459e25/",
  573. "task_id"=>"b5885ec9-1b0b-4f66-a6a4-dc37dd459e25"}],
  574. "progress_report"=>
  575. {"deb_importer"=>
  576. [{"num_success"=>2,
  577. "description"=>"Retrieving metadata: Release file(s)",
  578. "step_type"=>"sync_step_release_download",
  579. "items_total"=>2,
  580. "state"=>"FINISHED",
  581. "error_details"=>[],
  582. "details"=>"",
  583. "num_failures"=>0,
  584. "step_id"=>"d846ce4d-48c3-4060-a183-852a63e029e7",
  585. "num_processed"=>2},
  586. {"num_success"=>1,
  587. "description"=>"Parse Release Files",
  588. "step_type"=>"sync_step_release_parse",
  589. "items_total"=>1,
  590. "state"=>"FINISHED",
  591. "error_details"=>[],
  592. "details"=>"",
  593. "num_failures"=>0,
  594. "step_id"=>"cdf314da-b928-4b5e-a13f-6a2c3b77fa31",
  595. "num_processed"=>1},
  596. {"num_success"=>1,
  597. "description"=>"Retrieving metadata: Packages files",
  598. "step_type"=>"sync_step_packages_download",
  599. "items_total"=>1,
  600. "state"=>"FINISHED",
  601. "error_details"=>[],
  602. "details"=>"",
  603. "num_failures"=>0,
  604. "step_id"=>"5acc831c-4e00-4340-be8b-ebf266fa7a02",
  605. "num_processed"=>1},
  606. {"num_success"=>1,
  607. "description"=>"Parse Packages Files",
  608. "step_type"=>"sync_step_packages_parse",
  609. "items_total"=>1,
  610. "state"=>"FINISHED",
  611. "error_details"=>[],
  612. "details"=>"",
  613. "num_failures"=>0,
  614. "step_id"=>"c1730f98-3c03-41b4-b82e-31c34f1e6c95",
  615. "num_processed"=>1},
  616. {"num_success"=>1,
  617. "description"=>"Copying units already in pulp",
  618. "step_type"=>"get_local",
  619. "items_total"=>1,
  620. "state"=>"FINISHED",
  621. "error_details"=>[],
  622. "details"=>"",
  623. "num_failures"=>0,
  624. "step_id"=>"043ead6f-e332-4160-aee7-26d74da97043",
  625. "num_processed"=>1},
  626. {"num_success"=>1,
  627. "description"=>"Prepare Package Download",
  628. "step_type"=>"sync_step_unit_download_requests",
  629. "items_total"=>1,
  630. "state"=>"FINISHED",
  631. "error_details"=>[],
  632. "details"=>"",
  633. "num_failures"=>0,
  634. "step_id"=>"0209cdaa-8f5c-431e-9236-06a6550eed73",
  635. "num_processed"=>1},
  636. {"num_success"=>0,
  637. "description"=>"Retrieving units",
  638. "step_type"=>"sync_step_unit_download",
  639. "items_total"=>0,
  640. "state"=>"FINISHED",
  641. "error_details"=>[],
  642. "details"=>"",
  643. "num_failures"=>0,
  644. "step_id"=>"4d8c7162-0236-4df9-b2ad-c191a6dc41a9",
  645. "num_processed"=>0},
  646. {"num_success"=>1,
  647. "description"=>"Save and associate downloaded units",
  648. "step_type"=>"sync_step_save",
  649. "items_total"=>1,
  650. "state"=>"FINISHED",
  651. "error_details"=>[],
  652. "details"=>"",
  653. "num_failures"=>0,
  654. "step_id"=>"d0e9a2c2-432e-4cf7-94c2-f99055cdc24a",
  655. "num_processed"=>1},
  656. {"num_success"=>1,
  657. "description"=>"Save metadata",
  658. "step_type"=>"sync_step_save_meta",
  659. "items_total"=>1,
  660. "state"=>"FINISHED",
  661. "error_details"=>[],
  662. "details"=>"",
  663. "num_failures"=>0,
  664. "step_id"=>"77fc188b-e32e-4bef-b512-d3875e481976",
  665. "num_processed"=>1},
  666. {"num_success"=>1,
  667. "description"=>"Orphan removed units",
  668. "step_type"=>"sync_step_orphan_removed_units",
  669. "items_total"=>1,
  670. "state"=>"FINISHED",
  671. "error_details"=>[],
  672. "details"=>"",
  673. "num_failures"=>0,
  674. "step_id"=>"5bcf8041-27bb-4f56-ac65-23a0549bf084",
  675. "num_processed"=>1}]},
  676. "queue"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan.dq2",
  677. "state"=>"finished",
  678. "worker_name"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan",
  679. "result"=>
  680. {"result"=>"success",
  681. "importer_id"=>"deb_importer",
  682. "exception"=>nil,
  683. "repo_id"=>"e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
  684. "traceback"=>nil,
  685. "started"=>"2020-02-10T12:22:20Z",
  686. "_ns"=>"repo_sync_results",
  687. "completed"=>"2020-02-10T12:22:31Z",
  688. "importer_type_id"=>"deb_importer",
  689. "error_message"=>nil,
  690. "summary"=>
  691. {"sync_step_release_download"=>"FINISHED",
  692. "sync_step_unit_download_requests"=>"FINISHED",
  693. "sync_step_save"=>"FINISHED",
  694. "sync_step_unit_download"=>"FINISHED",
  695. "sync_step_release_parse"=>"FINISHED",
  696. "get_local"=>"FINISHED",
  697. "sync_step_packages_parse"=>"FINISHED",
  698. "sync_step_orphan_removed_units"=>"FINISHED",
  699. "sync_step_save_meta"=>"FINISHED",
  700. "sync_step_packages_download"=>"FINISHED"},
  701. "added_count"=>0,
  702. "removed_count"=>0,
  703. "updated_count"=>832,
  704. "id"=>"5e414b08e3eef50dbadc97f7",
  705. "details"=>
  706. [{"num_success"=>2,
  707. "description"=>"Retrieving metadata: Release file(s)",
  708. "step_type"=>"sync_step_release_download",
  709. "items_total"=>2,
  710. "state"=>"FINISHED",
  711. "error_details"=>[],
  712. "details"=>"",
  713. "num_failures"=>0,
  714. "step_id"=>"d846ce4d-48c3-4060-a183-852a63e029e7",
  715. "num_processed"=>2},
  716. {"num_success"=>1,
  717. "description"=>"Parse Release Files",
  718. "step_type"=>"sync_step_release_parse",
  719. "items_total"=>1,
  720. "state"=>"FINISHED",
  721. "error_details"=>[],
  722. "details"=>"",
  723. "num_failures"=>0,
  724. "step_id"=>"cdf314da-b928-4b5e-a13f-6a2c3b77fa31",
  725. "num_processed"=>1},
  726. {"num_success"=>1,
  727. "description"=>"Retrieving metadata: Packages files",
  728. "step_type"=>"sync_step_packages_download",
  729. "items_total"=>1,
  730. "state"=>"FINISHED",
  731. "error_details"=>[],
  732. "details"=>"",
  733. "num_failures"=>0,
  734. "step_id"=>"5acc831c-4e00-4340-be8b-ebf266fa7a02",
  735. "num_processed"=>1},
  736. {"num_success"=>1,
  737. "description"=>"Parse Packages Files",
  738. "step_type"=>"sync_step_packages_parse",
  739. "items_total"=>1,
  740. "state"=>"FINISHED",
  741. "error_details"=>[],
  742. "details"=>"",
  743. "num_failures"=>0,
  744. "step_id"=>"c1730f98-3c03-41b4-b82e-31c34f1e6c95",
  745. "num_processed"=>1},
  746. {"num_success"=>1,
  747. "description"=>"Copying units already in pulp",
  748. "step_type"=>"get_local",
  749. "items_total"=>1,
  750. "state"=>"FINISHED",
  751. "error_details"=>[],
  752. "details"=>"",
  753. "num_failures"=>0,
  754. "step_id"=>"043ead6f-e332-4160-aee7-26d74da97043",
  755. "num_processed"=>1},
  756. {"num_success"=>1,
  757. "description"=>"Prepare Package Download",
  758. "step_type"=>"sync_step_unit_download_requests",
  759. "items_total"=>1,
  760. "state"=>"FINISHED",
  761. "error_details"=>[],
  762. "details"=>"",
  763. "num_failures"=>0,
  764. "step_id"=>"0209cdaa-8f5c-431e-9236-06a6550eed73",
  765. "num_processed"=>1},
  766. {"num_success"=>0,
  767. "description"=>"Retrieving units",
  768. "step_type"=>"sync_step_unit_download",
  769. "items_total"=>0,
  770. "state"=>"FINISHED",
  771. "error_details"=>[],
  772. "details"=>"",
  773. "num_failures"=>0,
  774. "step_id"=>"4d8c7162-0236-4df9-b2ad-c191a6dc41a9",
  775. "num_processed"=>0},
  776. {"num_success"=>1,
  777. "description"=>"Save and associate downloaded units",
  778. "step_type"=>"sync_step_save",
  779. "items_total"=>1,
  780. "state"=>"FINISHED",
  781. "error_details"=>[],
  782. "details"=>"",
  783. "num_failures"=>0,
  784. "step_id"=>"d0e9a2c2-432e-4cf7-94c2-f99055cdc24a",
  785. "num_processed"=>1},
  786. {"num_success"=>1,
  787. "description"=>"Save metadata",
  788. "step_type"=>"sync_step_save_meta",
  789. "items_total"=>1,
  790. "state"=>"FINISHED",
  791. "error_details"=>[],
  792. "details"=>"",
  793. "num_failures"=>0,
  794. "step_id"=>"77fc188b-e32e-4bef-b512-d3875e481976",
  795. "num_processed"=>1},
  796. {"num_success"=>1,
  797. "description"=>"Orphan removed units",
  798. "step_type"=>"sync_step_orphan_removed_units",
  799. "items_total"=>1,
  800. "state"=>"FINISHED",
  801. "error_details"=>[],
  802. "details"=>"",
  803. "num_failures"=>0,
  804. "step_id"=>"5bcf8041-27bb-4f56-ac65-23a0549bf084",
  805. "num_processed"=>1}]},
  806. "error"=>nil,
  807. "_id"=>{"$oid"=>"5e414afc0974755f7903e6f4"},
  808. "id"=>"5e414afc0974755f7903e6f4"},
  809. {"exception"=>nil,
  810. "task_type"=>"pulp.server.managers.repo.publish.publish",
  811. "_href"=>"/pulp/api/v2/tasks/b5885ec9-1b0b-4f66-a6a4-dc37dd459e25/",
  812. "task_id"=>"b5885ec9-1b0b-4f66-a6a4-dc37dd459e25",
  813. "tags"=>
  814. ["pulp:repository:e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6",
  815. "pulp:action:publish"],
  816. "finish_time"=>"2020-02-10T12:22:36Z",
  817. "_ns"=>"task_status",
  818. "start_time"=>"2020-02-10T12:22:32Z",
  819. "traceback"=>
  820. "Traceback (most recent call last):\n" +
  821. " File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n" +
  822. " R = retval = fun(*args, **kwargs)\n" +
  823. " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 686, in __call__\n" +
  824. " return super(Task, self).__call__(*args, **kwargs)\n" +
  825. " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 108, in __call__\n" +
  826. " return super(PulpTask, self).__call__(*args, **kwargs)\n" +
  827. " File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in __protected_call__\n" +
  828. " return self.run(*args, **kwargs)\n" +
  829. " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1110, in publish\n" +
  830. " result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
  831. " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1207, in check_publish\n" +
  832. " result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
  833. " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1259, in _do_publish\n" +
  834. " publish_report = publish_repo(transfer_repo, conduit, call_config)\n" +
  835. " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 894, in wrap_f\n" +
  836. " return f(*args, **kwargs)\n" +
  837. " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 84, in publish_repo\n" +
  838. " return self._publisher.process_lifecycle()\n" +
  839. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 573, in process_lifecycle\n" +
  840. " super(PluginStep, self).process_lifecycle()\n" +
  841. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 164, in process_lifecycle\n" +
  842. " step.process()\n" +
  843. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 257, in process\n" +
  844. " self._process_block()\n" +
  845. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 304, in _process_block\n" +
  846. " self.process_main()\n" +
  847. " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 422, in process_main\n" +
  848. " signer.sign(release_file_path)\n" +
  849. " File \"/usr/lib/python2.7/site-packages/debpkgr/signer.py\", line 124, in sign\n" +
  850. " stdout=stdout, stderr=stderr)\n" +
  851. "SignerError: Return code: 2\n",
  852. "spawned_tasks"=>[],
  853. "progress_report"=>
  854. {"e9a0b7a7-22f1-4861-91f0-9f9ea20dc5d6"=>
  855. [{"num_success"=>0,
  856. "description"=>"Publishing modules",
  857. "step_type"=>"publish_modules",
  858. "sub_steps"=>
  859. [{"num_success"=>1,
  860. "description"=>"",
  861. "step_type"=>"publish_deb_releases",
  862. "items_total"=>1,
  863. "state"=>"FINISHED",
  864. "error_details"=>[],
  865. "details"=>"",
  866. "num_failures"=>0,
  867. "step_id"=>"291731a9-f7c9-40b0-ab86-65a6a0357dba",
  868. "num_processed"=>1},
  869. {"num_success"=>1,
  870. "description"=>"",
  871. "step_type"=>"publish_deb_components",
  872. "items_total"=>1,
  873. "state"=>"FINISHED",
  874. "error_details"=>[],
  875. "details"=>"",
  876. "num_failures"=>0,
  877. "step_id"=>"490b5730-82d2-4c13-8c52-8364a65f1238",
  878. "num_processed"=>1},
  879. {"num_success"=>830,
  880. "description"=>"",
  881. "step_type"=>"publish_deb",
  882. "items_total"=>830,
  883. "state"=>"FINISHED",
  884. "error_details"=>[],
  885. "details"=>"",
  886. "num_failures"=>0,
  887. "step_id"=>"cab891c3-2ac3-4bbf-b8af-8b0ae9cb2b4a",
  888. "num_processed"=>830},
  889. {"num_success"=>0,
  890. "description"=>"",
  891. "step_type"=>"publish_repodata",
  892. "items_total"=>1,
  893. "state"=>"FAILED",
  894. "error_details"=>
  895. [{"traceback"=>
  896. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 257, in process\n" +
  897. " self._process_block()\n" +
  898. "\n" +
  899. " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 304, in _process_block\n" +
  900. " self.process_main()\n" +
  901. "\n" +
  902. " File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py\", line 422, in process_main\n" +
  903. " signer.sign(release_file_path)\n" +
  904. "\n" +
  905. " File \"/usr/lib/python2.7/site-packages/debpkgr/signer.py\", line 124, in sign\n" +
  906. " stdout=stdout, stderr=stderr)\n",
  907. "error"=>"Return code: 2"}],
  908. "details"=>"",
  909. "num_failures"=>1,
  910. "step_id"=>"865f2394-f9dc-4b4f-a051-abe0bcb6c428",
  911. "num_processed"=>1}],
  912. "items_total"=>1,
  913. "state"=>"FAILED",
  914. "error_details"=>[{"traceback"=>nil, "error"=>nil}],
  915. "details"=>"",
  916. "num_failures"=>1,
  917. "step_id"=>"a919d536-1e58-4cc1-8192-32ca28266aa7",
  918. "num_processed"=>1},
  919. {"num_success"=>0,
  920. "description"=>"Publishing files to web",
  921. "step_type"=>"publish_directory",
  922. "items_total"=>1,
  923. "state"=>"NOT_STARTED",
  924. "error_details"=>[],
  925. "details"=>"",
  926. "num_failures"=>0,
  927. "step_id"=>"70190b75-0f5f-4aff-a9d7-bbfeaa01f9bc",
  928. "num_processed"=>0},
  929. {"num_success"=>0,
  930. "description"=>"Writing Listings File",
  931. "step_type"=>"generate_listing_files",
  932. "items_total"=>1,
  933. "state"=>"NOT_STARTED",
  934. "error_details"=>[],
  935. "details"=>"",
  936. "num_failures"=>0,
  937. "step_id"=>"4f4ddd77-751f-4c09-91af-14c297c075c1",
  938. "num_processed"=>0},
  939. {"num_success"=>0,
  940. "description"=>"Writing Listings File",
  941. "step_type"=>"generate_listing_files",
  942. "items_total"=>1,
  943. "state"=>"NOT_STARTED",
  944. "error_details"=>[],
  945. "details"=>"",
  946. "num_failures"=>0,
  947. "step_id"=>"a6cb5e30-0e2a-4705-9b35-ba035ea087e1",
  948. "num_processed"=>0}]},
  949. "queue"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan.dq2",
  950. "state"=>"error",
  951. "worker_name"=>"reserved_resource_worker-0@+++111.xxx01.xxxcorp.lan",
  952. "result"=>nil,
  953. "error"=>
  954. {"code"=>"PLP0000",
  955. "data"=>{},
  956. "description"=>"Return code: 2",
  957. "sub_errors"=>[]},
  958. "_id"=>{"$oid"=>"5e414b080974755f7903f19f"},
  959. "id"=>"5e414b080974755f7903f19f"}],
  960. "contents_changed"=>true,
  961. "poll_attempts"=>{"total"=>15, "failed"=>1}}
  962. Action:
  963. Actions::Pulp::Orchestration::Repository::Sync
  964. Input:
  965. {"subaction_output"=>Step(4).output,
  966. "remote_user"=>"admin",
  967. "remote_cp_user"=>"admin",
  968. "current_request_id"=>nil,
  969. "current_timezone"=>"vvv",
  970. "current_user_id"=>4,
  971. "current_organization_id"=>3,
  972. "current_location_id"=>nil}
  973. Output:
  974. {}
  975. Action:
  976. Actions::Katello::Repository::IndexContent
  977. Input:
  978. {"id"=>3155,
  979. "contents_changed"=>Step(6).output[:contents_changed],
  980. "current_request_id"=>nil,
  981. "current_timezone"=>"vvv",
  982. "current_user_id"=>4,
  983. "current_organization_id"=>3,
  984. "current_location_id"=>nil}
  985. Output:
  986. {}
  987. Action:
  988. Actions::Katello::Repository::ErrataMail
  989. Input:
  990. {"repo"=>3155,
  991. "last_updated"=>"2020-02-10 13:22:19 +0100",
  992. "contents_changed"=>Step(6).output[:contents_changed],
  993. "current_request_id"=>nil,
  994. "current_timezone"=>"vvv",
  995. "current_user_id"=>4,
  996. "current_organization_id"=>3,
  997. "current_location_id"=>nil}
  998. Output:
  999. {}
  1000. Action:
  1001. Actions::Katello::Repository::ErrataMail
  1002. Input:
  1003. {"repo"=>3155,
  1004. "last_updated"=>"2020-02-10 13:22:19 +0100",
  1005. "contents_changed"=>Step(6).output[:contents_changed],
  1006. "current_request_id"=>nil,
  1007. "current_timezone"=>"vvv",
  1008. "current_user_id"=>4,
  1009. "current_organization_id"=>3,
  1010. "current_location_id"=>nil}
  1011. Output:
  1012. {}
  1013. Action:
  1014. Actions::Katello::Repository::Sync
  1015. Input:
  1016. {"repository"=>
  1017. {"id"=>3155,
  1018. "name"=>"Ubuntu 18.04 bionic multiverse",
  1019. "label"=>"Ubuntu_18_04_bionic_multiverse"},
  1020. "product"=>
  1021. {"id"=>91,
  1022. "name"=>"Ubuntu 18.04",
  1023. "label"=>"Ubuntu_18_04",
  1024. "cp_id"=>"602356438233"},
  1025. "provider"=>{"id"=>3, "name"=>"Anonymous"},
  1026. "organization"=>{"id"=>3, "name"=>"xxx", "label"=>"xxx"},
  1027. "services_checked"=>["pulp", "pulp_auth"],
  1028. "id"=>3155,
  1029. "sync_result"=>Step(6).output,
  1030. "skip_metadata_check"=>false,
  1031. "validate_contents"=>false,
  1032. "contents_changed"=>Step(6).output[:contents_changed],
  1033. "current_request_id"=>nil,
  1034. "current_timezone"=>"vvv",
  1035. "current_user_id"=>4,
  1036. "current_organization_id"=>3,
  1037. "current_location_id"=>nil}
  1038. Output:
  1039. {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement