Project

General

Profile

Download (27.5 KB) Statistics
| Branch: | Tag: | Revision:

runcible / test / fixtures / vcr_cassettes / extensions / iso_repository_create / sync.yml @ d0cb4289

1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://admin:admin@devel.example.com/pulp/api/v2/tasks/caa5c47b-dbff-41b9-a5aa-12f1bcffca7f/
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      User-Agent:
17
      - Ruby
18
  response:
19
    status:
20
      code: 200
21
      message: OK
22
    headers:
23
      Date:
24
      - Fri, 01 Jul 2016 14:43:42 GMT
25
      Server:
26
      - Apache/2.4.6 (CentOS)
27
      Vary:
28
      - Accept-Encoding
29
      Content-Length:
30
      - '2487'
31
      Content-Type:
32
      - application/json; charset=utf-8
33
    body:
34
      encoding: ASCII-8BIT
35
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
36
        "_href": "/pulp/api/v2/tasks/caa5c47b-dbff-41b9-a5aa-12f1bcffca7f/", "task_id":
37
        "caa5c47b-dbff-41b9-a5aa-12f1bcffca7f", "tags": ["pulp:repository:integration_test_id",
38
        "pulp:action:sync"], "finish_time": "2016-07-01T14:43:42Z", "_ns": "task_status",
39
        "start_time": "2016-07-01T14:43:42Z", "traceback": "Traceback (most recent
40
        call last):\n  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\",
41
        line 240, in trace_task\n    R = retval = fun(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\",
42
        line 473, in __call__\n    return super(Task, self).__call__(*args, **kwargs)\n  File
43
        \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 103,
44
        in __call__\n    return super(PulpTask, self).__call__(*args, **kwargs)\n  File
45
        \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n    return
46
        self.run(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\",
47
        line 760, in sync\n    sync_report = sync_repo(transfer_repo, conduit, call_config)\n  File
48
        \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 658,
49
        in wrap_f\n    return f(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/iso/importer.py\",
50
        line 103, in sync_repo\n    report = self.iso_sync.perform_sync()\n  File
51
        \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/iso/sync.py\",
52
        line 220, in perform_sync\n    self.add_catalog_entries(local_available_isos)\n  File
53
        \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/iso/sync.py\",
54
        line 186, in add_catalog_entries\n    entry.url = unit.url\nAttributeError:
55
        ''ISO'' object has no attribute ''url''\n", "spawned_tasks": [], "progress_report":
56
        {"iso_importer": {"error_message": null, "traceback": null, "finished_bytes":
57
        0, "num_isos": null, "state": "manifest_in_progress", "total_bytes": null,
58
        "state_times": {"not_started": "2016-07-01T14:43:42", "manifest_in_progress":
59
        "2016-07-01T14:43:42"}, "num_isos_finished": 0, "iso_error_messages": []}},
60
        "queue": "reserved_resource_worker-1@devel.example.com.dq", "state": "error",
61
        "worker_name": "reserved_resource_worker-1@devel.example.com", "result": null,
62
        "error": {"code": "PLP0000", "data": {}, "description": "''ISO'' object has
63
        no attribute ''url''", "sub_errors": []}, "_id": {"$oid": "5776819e9036949adab88915"},
64
        "id": "5776819e9036949adab88915"}'
65
    http_version: 
66
  recorded_at: Fri, 01 Jul 2016 14:43:42 GMT
67
- request:
68
    method: get
69
    uri: https://admin:admin@devel.example.com/pulp/api/v2/tasks/caa5c47b-dbff-41b9-a5aa-12f1bcffca7f/
70
    body:
71
      encoding: US-ASCII
72
      string: ''
73
    headers:
74
      Accept:
75
      - application/json
76
      Accept-Encoding:
77
      - gzip, deflate
78
      Content-Type:
79
      - application/json
80
      User-Agent:
81
      - Ruby
82
  response:
83
    status:
84
      code: 200
85
      message: OK
86
    headers:
87
      Date:
88
      - Fri, 01 Jul 2016 14:43:43 GMT
89
      Server:
90
      - Apache/2.4.6 (CentOS)
91
      Vary:
92
      - Accept-Encoding
93
      Content-Length:
94
      - '2487'
95
      Content-Type:
96
      - application/json; charset=utf-8
97
    body:
98
      encoding: ASCII-8BIT
99
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
100
        "_href": "/pulp/api/v2/tasks/caa5c47b-dbff-41b9-a5aa-12f1bcffca7f/", "task_id":
101
        "caa5c47b-dbff-41b9-a5aa-12f1bcffca7f", "tags": ["pulp:repository:integration_test_id",
102
        "pulp:action:sync"], "finish_time": "2016-07-01T14:43:42Z", "_ns": "task_status",
103
        "start_time": "2016-07-01T14:43:42Z", "traceback": "Traceback (most recent
104
        call last):\n  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\",
105
        line 240, in trace_task\n    R = retval = fun(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\",
106
        line 473, in __call__\n    return super(Task, self).__call__(*args, **kwargs)\n  File
107
        \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 103,
108
        in __call__\n    return super(PulpTask, self).__call__(*args, **kwargs)\n  File
109
        \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n    return
110
        self.run(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\",
111
        line 760, in sync\n    sync_report = sync_repo(transfer_repo, conduit, call_config)\n  File
112
        \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 658,
113
        in wrap_f\n    return f(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/iso/importer.py\",
114
        line 103, in sync_repo\n    report = self.iso_sync.perform_sync()\n  File
115
        \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/iso/sync.py\",
116
        line 220, in perform_sync\n    self.add_catalog_entries(local_available_isos)\n  File
117
        \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/iso/sync.py\",
118
        line 186, in add_catalog_entries\n    entry.url = unit.url\nAttributeError:
119
        ''ISO'' object has no attribute ''url''\n", "spawned_tasks": [], "progress_report":
120
        {"iso_importer": {"error_message": null, "traceback": null, "finished_bytes":
121
        0, "num_isos": null, "state": "manifest_in_progress", "total_bytes": null,
122
        "state_times": {"not_started": "2016-07-01T14:43:42", "manifest_in_progress":
123
        "2016-07-01T14:43:42"}, "num_isos_finished": 0, "iso_error_messages": []}},
124
        "queue": "reserved_resource_worker-1@devel.example.com.dq", "state": "error",
125
        "worker_name": "reserved_resource_worker-1@devel.example.com", "result": null,
126
        "error": {"code": "PLP0000", "data": {}, "description": "''ISO'' object has
127
        no attribute ''url''", "sub_errors": []}, "_id": {"$oid": "5776819e9036949adab88915"},
128
        "id": "5776819e9036949adab88915"}'
129
    http_version: 
130
  recorded_at: Fri, 01 Jul 2016 14:43:43 GMT
131
- request:
132
    method: get
133
    uri: https://admin:admin@devel.example.com/pulp/api/v2/tasks/b1d873e0-ac2b-4d4a-91ee-da1434e37bb0/
134
    body:
135
      encoding: US-ASCII
136
      string: ''
137
    headers:
138
      Accept:
139
      - application/json
140
      Accept-Encoding:
141
      - gzip, deflate
142
      Content-Type:
143
      - application/json
144
      User-Agent:
145
      - Ruby
146
  response:
147
    status:
148
      code: 200
149
      message: OK
150
    headers:
151
      Date:
152
      - Fri, 01 Jul 2016 14:43:43 GMT
153
      Server:
154
      - Apache/2.4.6 (CentOS)
155
      Vary:
156
      - Accept-Encoding
157
      Content-Length:
158
      - '678'
159
      Content-Type:
160
      - application/json; charset=utf-8
161
    body:
162
      encoding: ASCII-8BIT
163
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
164
        "_href": "/pulp/api/v2/tasks/b1d873e0-ac2b-4d4a-91ee-da1434e37bb0/", "task_id":
165
        "b1d873e0-ac2b-4d4a-91ee-da1434e37bb0", "tags": ["pulp:repository:integration_test_id",
166
        "pulp:action:delete"], "finish_time": "2016-07-01T14:43:43Z", "_ns": "task_status",
167
        "start_time": "2016-07-01T14:43:43Z", "traceback": null, "spawned_tasks":
168
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@devel.example.com.dq",
169
        "state": "finished", "worker_name": "reserved_resource_worker-1@devel.example.com",
170
        "result": null, "error": null, "_id": {"$oid": "5776819f9036949adab88916"},
171
        "id": "5776819f9036949adab88916"}'
172
    http_version: 
173
  recorded_at: Fri, 01 Jul 2016 14:43:43 GMT
174
- request:
175
    method: get
176
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/09d4a8ba-9ed5-48bd-a249-44ad70837bfd/
177
    body:
178
      encoding: US-ASCII
179
      string: ''
180
    headers:
181
      Accept:
182
      - application/json
183
      Accept-Encoding:
184
      - gzip, deflate
185
      User-Agent:
186
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
187
      Content-Type:
188
      - application/json
189
      Host:
190
      - centos7-devel.zpm.example.com
191
  response:
192
    status:
193
      code: 200
194
      message: OK
195
    headers:
196
      Date:
197
      - Mon, 29 Jan 2018 17:52:04 GMT
198
      Server:
199
      - Apache/2.4.6 (CentOS)
200
      Vary:
201
      - Accept-Encoding
202
      Content-Length:
203
      - '1811'
204
      Content-Type:
205
      - application/json; charset=utf-8
206
    body:
207
      encoding: ASCII-8BIT
208
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
209
        "_href": "/pulp/api/v2/tasks/09d4a8ba-9ed5-48bd-a249-44ad70837bfd/", "task_id":
210
        "09d4a8ba-9ed5-48bd-a249-44ad70837bfd", "tags": ["pulp:repository:integration_test_id",
211
        "pulp:action:sync"], "finish_time": "2018-01-29T17:52:04Z", "_ns": "task_status",
212
        "start_time": "2018-01-29T17:52:04Z", "traceback": null, "spawned_tasks":
213
        [], "progress_report": {"iso_importer": {"error_message": null, "traceback":
214
        null, "finished_bytes": 0, "num_isos": 0, "state": "complete", "total_bytes":
215
        0, "state_times": {"not_started": "2018-01-29T17:52:04", "manifest_in_progress":
216
        "2018-01-29T17:52:04", "complete": "2018-01-29T17:52:04", "isos_in_progress":
217
        "2018-01-29T17:52:04"}, "num_isos_finished": 0, "iso_error_messages": []}},
218
        "queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq", "state":
219
        "finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
220
        "result": {"result": "success", "importer_id": "iso_importer", "exception":
221
        null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-01-29T17:52:04Z",
222
        "_ns": "repo_sync_results", "completed": "2018-01-29T17:52:04Z", "importer_type_id":
223
        "iso_importer", "error_message": null, "summary": {"total_bytes": 0, "traceback":
224
        null, "error_message": null, "finished_bytes": 0, "num_isos": 0, "state":
225
        "complete", "iso_error_messages": [], "num_isos_finished": 0, "state_times":
226
        {"not_started": "2018-01-29T17:52:04", "manifest_in_progress": "2018-01-29T17:52:04",
227
        "complete": "2018-01-29T17:52:04", "isos_in_progress": "2018-01-29T17:52:04"}},
228
        "added_count": 1, "removed_count": 0, "updated_count": 0, "id": "5a6f5f4407049123c1aaf6d6",
229
        "details": null}, "error": null, "_id": {"$oid": "5a6f5f44ab249cfe47a6cbde"},
230
        "id": "5a6f5f44ab249cfe47a6cbde"}'
231
    http_version: 
232
  recorded_at: Mon, 29 Jan 2018 17:52:05 GMT
233
- request:
234
    method: get
235
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/09d4a8ba-9ed5-48bd-a249-44ad70837bfd/
236
    body:
237
      encoding: US-ASCII
238
      string: ''
239
    headers:
240
      Accept:
241
      - application/json
242
      Accept-Encoding:
243
      - gzip, deflate
244
      User-Agent:
245
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
246
      Content-Type:
247
      - application/json
248
      Host:
249
      - centos7-devel.zpm.example.com
250
  response:
251
    status:
252
      code: 200
253
      message: OK
254
    headers:
255
      Date:
256
      - Mon, 29 Jan 2018 17:52:05 GMT
257
      Server:
258
      - Apache/2.4.6 (CentOS)
259
      Vary:
260
      - Accept-Encoding
261
      Content-Length:
262
      - '1811'
263
      Content-Type:
264
      - application/json; charset=utf-8
265
    body:
266
      encoding: ASCII-8BIT
267
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
268
        "_href": "/pulp/api/v2/tasks/09d4a8ba-9ed5-48bd-a249-44ad70837bfd/", "task_id":
269
        "09d4a8ba-9ed5-48bd-a249-44ad70837bfd", "tags": ["pulp:repository:integration_test_id",
270
        "pulp:action:sync"], "finish_time": "2018-01-29T17:52:04Z", "_ns": "task_status",
271
        "start_time": "2018-01-29T17:52:04Z", "traceback": null, "spawned_tasks":
272
        [], "progress_report": {"iso_importer": {"error_message": null, "traceback":
273
        null, "finished_bytes": 0, "num_isos": 0, "state": "complete", "total_bytes":
274
        0, "state_times": {"not_started": "2018-01-29T17:52:04", "manifest_in_progress":
275
        "2018-01-29T17:52:04", "complete": "2018-01-29T17:52:04", "isos_in_progress":
276
        "2018-01-29T17:52:04"}, "num_isos_finished": 0, "iso_error_messages": []}},
277
        "queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq", "state":
278
        "finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
279
        "result": {"result": "success", "importer_id": "iso_importer", "exception":
280
        null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-01-29T17:52:04Z",
281
        "_ns": "repo_sync_results", "completed": "2018-01-29T17:52:04Z", "importer_type_id":
282
        "iso_importer", "error_message": null, "summary": {"total_bytes": 0, "traceback":
283
        null, "error_message": null, "finished_bytes": 0, "num_isos": 0, "state":
284
        "complete", "iso_error_messages": [], "num_isos_finished": 0, "state_times":
285
        {"not_started": "2018-01-29T17:52:04", "manifest_in_progress": "2018-01-29T17:52:04",
286
        "complete": "2018-01-29T17:52:04", "isos_in_progress": "2018-01-29T17:52:04"}},
287
        "added_count": 1, "removed_count": 0, "updated_count": 0, "id": "5a6f5f4407049123c1aaf6d6",
288
        "details": null}, "error": null, "_id": {"$oid": "5a6f5f44ab249cfe47a6cbde"},
289
        "id": "5a6f5f44ab249cfe47a6cbde"}'
290
    http_version: 
291
  recorded_at: Mon, 29 Jan 2018 17:52:05 GMT
292
- request:
293
    method: get
294
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/883d5686-b31c-47b8-9fb3-c8471f62a1de/
295
    body:
296
      encoding: US-ASCII
297
      string: ''
298
    headers:
299
      Accept:
300
      - application/json
301
      Accept-Encoding:
302
      - gzip, deflate
303
      User-Agent:
304
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
305
      Content-Type:
306
      - application/json
307
      Host:
308
      - centos7-devel.zpm.example.com
309
  response:
310
    status:
311
      code: 200
312
      message: OK
313
    headers:
314
      Date:
315
      - Mon, 29 Jan 2018 17:52:06 GMT
316
      Server:
317
      - Apache/2.4.6 (CentOS)
318
      Vary:
319
      - Accept-Encoding
320
      Content-Length:
321
      - '702'
322
      Content-Type:
323
      - application/json; charset=utf-8
324
    body:
325
      encoding: ASCII-8BIT
326
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
327
        "_href": "/pulp/api/v2/tasks/883d5686-b31c-47b8-9fb3-c8471f62a1de/", "task_id":
328
        "883d5686-b31c-47b8-9fb3-c8471f62a1de", "tags": ["pulp:repository:integration_test_id",
329
        "pulp:action:delete"], "finish_time": "2018-01-29T17:52:05Z", "_ns": "task_status",
330
        "start_time": "2018-01-29T17:52:05Z", "traceback": null, "spawned_tasks":
331
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq",
332
        "state": "finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
333
        "result": null, "error": null, "_id": {"$oid": "5a6f5f45ab249cfe47a6cbdf"},
334
        "id": "5a6f5f45ab249cfe47a6cbdf"}'
335
    http_version: 
336
  recorded_at: Mon, 29 Jan 2018 17:52:06 GMT
337
- request:
338
    method: get
339
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
340
    body:
341
      encoding: US-ASCII
342
      string: ''
343
    headers:
344
      Accept:
345
      - application/json
346
      Accept-Encoding:
347
      - gzip, deflate
348
      User-Agent:
349
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
350
      Content-Type:
351
      - application/json
352
      Host:
353
      - centos7-devel.zpm.example.com
354
  response:
355
    status:
356
      code: 404
357
      message: NOT FOUND
358
    headers:
359
      Date:
360
      - Mon, 29 Jan 2018 17:59:42 GMT
361
      Server:
362
      - Apache/2.4.6 (CentOS)
363
      Content-Length:
364
      - '452'
365
      Content-Type:
366
      - application/json; charset=utf-8
367
    body:
368
      encoding: UTF-8
369
      string: '{"http_request_method": "GET", "exception": null, "error_message":
370
        "Missing resource(s): repository=integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/?",
371
        "http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repository":
372
        "integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id",
373
        "sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}'
374
    http_version: 
375
  recorded_at: Mon, 29 Jan 2018 17:59:42 GMT
376
- request:
377
    method: post
378
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/
379
    body:
380
      encoding: UTF-8
381
      string: '{"id":"integration_test_id","importer_type_id":"iso_importer","importer_config":{"feed":"file:///var/www/repositories/iso"}}'
382
    headers:
383
      Accept:
384
      - application/json
385
      Accept-Encoding:
386
      - gzip, deflate
387
      User-Agent:
388
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
389
      Content-Type:
390
      - application/json
391
      Content-Length:
392
      - '124'
393
      Host:
394
      - centos7-devel.zpm.example.com
395
  response:
396
    status:
397
      code: 201
398
      message: CREATED
399
    headers:
400
      Date:
401
      - Mon, 29 Jan 2018 17:59:42 GMT
402
      Server:
403
      - Apache/2.4.6 (CentOS)
404
      Content-Length:
405
      - '319'
406
      Location:
407
      - https://centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
408
      Content-Type:
409
      - application/json; charset=utf-8
410
    body:
411
      encoding: UTF-8
412
      string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
413
        null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
414
        {}, "_ns": "repos", "_id": {"$oid": "5a6f610e070491138a1219a3"}, "id": "integration_test_id",
415
        "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
416
    http_version: 
417
  recorded_at: Mon, 29 Jan 2018 17:59:42 GMT
418
- request:
419
    method: post
420
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
421
    body:
422
      encoding: UTF-8
423
      string: "{}"
424
    headers:
425
      Accept:
426
      - application/json
427
      Accept-Encoding:
428
      - gzip, deflate
429
      User-Agent:
430
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
431
      Content-Type:
432
      - application/json
433
      Content-Length:
434
      - '2'
435
      Host:
436
      - centos7-devel.zpm.example.com
437
  response:
438
    status:
439
      code: 202
440
      message: ACCEPTED
441
    headers:
442
      Date:
443
      - Mon, 29 Jan 2018 17:59:42 GMT
444
      Server:
445
      - Apache/2.4.6 (CentOS)
446
      Content-Length:
447
      - '172'
448
      Content-Type:
449
      - application/json; charset=utf-8
450
    body:
451
      encoding: UTF-8
452
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/f632a480-fb86-4583-ab36-c5cb4d08b984/",
453
        "task_id": "f632a480-fb86-4583-ab36-c5cb4d08b984"}], "result": null, "error":
454
        null}'
455
    http_version: 
456
  recorded_at: Mon, 29 Jan 2018 17:59:42 GMT
457
- request:
458
    method: get
459
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/f632a480-fb86-4583-ab36-c5cb4d08b984/
460
    body:
461
      encoding: US-ASCII
462
      string: ''
463
    headers:
464
      Accept:
465
      - application/json
466
      Accept-Encoding:
467
      - gzip, deflate
468
      User-Agent:
469
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
470
      Content-Type:
471
      - application/json
472
      Host:
473
      - centos7-devel.zpm.example.com
474
  response:
475
    status:
476
      code: 200
477
      message: OK
478
    headers:
479
      Date:
480
      - Mon, 29 Jan 2018 17:59:42 GMT
481
      Server:
482
      - Apache/2.4.6 (CentOS)
483
      Vary:
484
      - Accept-Encoding
485
      Content-Length:
486
      - '1811'
487
      Content-Type:
488
      - application/json; charset=utf-8
489
    body:
490
      encoding: ASCII-8BIT
491
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
492
        "_href": "/pulp/api/v2/tasks/f632a480-fb86-4583-ab36-c5cb4d08b984/", "task_id":
493
        "f632a480-fb86-4583-ab36-c5cb4d08b984", "tags": ["pulp:repository:integration_test_id",
494
        "pulp:action:sync"], "finish_time": "2018-01-29T17:59:42Z", "_ns": "task_status",
495
        "start_time": "2018-01-29T17:59:42Z", "traceback": null, "spawned_tasks":
496
        [], "progress_report": {"iso_importer": {"error_message": null, "traceback":
497
        null, "finished_bytes": 0, "num_isos": 0, "state": "complete", "total_bytes":
498
        0, "state_times": {"not_started": "2018-01-29T17:59:42", "manifest_in_progress":
499
        "2018-01-29T17:59:42", "complete": "2018-01-29T17:59:42", "isos_in_progress":
500
        "2018-01-29T17:59:42"}, "num_isos_finished": 0, "iso_error_messages": []}},
501
        "queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq", "state":
502
        "finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
503
        "result": {"result": "success", "importer_id": "iso_importer", "exception":
504
        null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-01-29T17:59:42Z",
505
        "_ns": "repo_sync_results", "completed": "2018-01-29T17:59:42Z", "importer_type_id":
506
        "iso_importer", "error_message": null, "summary": {"total_bytes": 0, "traceback":
507
        null, "error_message": null, "finished_bytes": 0, "num_isos": 0, "state":
508
        "complete", "iso_error_messages": [], "num_isos_finished": 0, "state_times":
509
        {"not_started": "2018-01-29T17:59:42", "manifest_in_progress": "2018-01-29T17:59:42",
510
        "complete": "2018-01-29T17:59:42", "isos_in_progress": "2018-01-29T17:59:42"}},
511
        "added_count": 1, "removed_count": 0, "updated_count": 0, "id": "5a6f610e07049123c1aaf6e0",
512
        "details": null}, "error": null, "_id": {"$oid": "5a6f610eab249cfe47a6cbea"},
513
        "id": "5a6f610eab249cfe47a6cbea"}'
514
    http_version: 
515
  recorded_at: Mon, 29 Jan 2018 17:59:42 GMT
516
- request:
517
    method: get
518
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/f632a480-fb86-4583-ab36-c5cb4d08b984/
519
    body:
520
      encoding: US-ASCII
521
      string: ''
522
    headers:
523
      Accept:
524
      - application/json
525
      Accept-Encoding:
526
      - gzip, deflate
527
      User-Agent:
528
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
529
      Content-Type:
530
      - application/json
531
      Host:
532
      - centos7-devel.zpm.example.com
533
  response:
534
    status:
535
      code: 200
536
      message: OK
537
    headers:
538
      Date:
539
      - Mon, 29 Jan 2018 17:59:43 GMT
540
      Server:
541
      - Apache/2.4.6 (CentOS)
542
      Vary:
543
      - Accept-Encoding
544
      Content-Length:
545
      - '1811'
546
      Content-Type:
547
      - application/json; charset=utf-8
548
    body:
549
      encoding: ASCII-8BIT
550
      string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
551
        "_href": "/pulp/api/v2/tasks/f632a480-fb86-4583-ab36-c5cb4d08b984/", "task_id":
552
        "f632a480-fb86-4583-ab36-c5cb4d08b984", "tags": ["pulp:repository:integration_test_id",
553
        "pulp:action:sync"], "finish_time": "2018-01-29T17:59:42Z", "_ns": "task_status",
554
        "start_time": "2018-01-29T17:59:42Z", "traceback": null, "spawned_tasks":
555
        [], "progress_report": {"iso_importer": {"error_message": null, "traceback":
556
        null, "finished_bytes": 0, "num_isos": 0, "state": "complete", "total_bytes":
557
        0, "state_times": {"not_started": "2018-01-29T17:59:42", "manifest_in_progress":
558
        "2018-01-29T17:59:42", "complete": "2018-01-29T17:59:42", "isos_in_progress":
559
        "2018-01-29T17:59:42"}, "num_isos_finished": 0, "iso_error_messages": []}},
560
        "queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq", "state":
561
        "finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
562
        "result": {"result": "success", "importer_id": "iso_importer", "exception":
563
        null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-01-29T17:59:42Z",
564
        "_ns": "repo_sync_results", "completed": "2018-01-29T17:59:42Z", "importer_type_id":
565
        "iso_importer", "error_message": null, "summary": {"total_bytes": 0, "traceback":
566
        null, "error_message": null, "finished_bytes": 0, "num_isos": 0, "state":
567
        "complete", "iso_error_messages": [], "num_isos_finished": 0, "state_times":
568
        {"not_started": "2018-01-29T17:59:42", "manifest_in_progress": "2018-01-29T17:59:42",
569
        "complete": "2018-01-29T17:59:42", "isos_in_progress": "2018-01-29T17:59:42"}},
570
        "added_count": 1, "removed_count": 0, "updated_count": 0, "id": "5a6f610e07049123c1aaf6e0",
571
        "details": null}, "error": null, "_id": {"$oid": "5a6f610eab249cfe47a6cbea"},
572
        "id": "5a6f610eab249cfe47a6cbea"}'
573
    http_version: 
574
  recorded_at: Mon, 29 Jan 2018 17:59:43 GMT
575
- request:
576
    method: delete
577
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
578
    body:
579
      encoding: US-ASCII
580
      string: ''
581
    headers:
582
      Accept:
583
      - application/json
584
      Accept-Encoding:
585
      - gzip, deflate
586
      User-Agent:
587
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
588
      Content-Type:
589
      - application/json
590
      Host:
591
      - centos7-devel.zpm.example.com
592
  response:
593
    status:
594
      code: 202
595
      message: ACCEPTED
596
    headers:
597
      Date:
598
      - Mon, 29 Jan 2018 17:59:43 GMT
599
      Server:
600
      - Apache/2.4.6 (CentOS)
601
      Content-Length:
602
      - '172'
603
      Content-Type:
604
      - application/json; charset=utf-8
605
    body:
606
      encoding: UTF-8
607
      string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/5b87c260-ced8-475c-959c-6afa6d967368/",
608
        "task_id": "5b87c260-ced8-475c-959c-6afa6d967368"}], "result": null, "error":
609
        null}'
610
    http_version: 
611
  recorded_at: Mon, 29 Jan 2018 17:59:43 GMT
612
- request:
613
    method: get
614
    uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/5b87c260-ced8-475c-959c-6afa6d967368/
615
    body:
616
      encoding: US-ASCII
617
      string: ''
618
    headers:
619
      Accept:
620
      - application/json
621
      Accept-Encoding:
622
      - gzip, deflate
623
      User-Agent:
624
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
625
      Content-Type:
626
      - application/json
627
      Host:
628
      - centos7-devel.zpm.example.com
629
  response:
630
    status:
631
      code: 200
632
      message: OK
633
    headers:
634
      Date:
635
      - Mon, 29 Jan 2018 17:59:43 GMT
636
      Server:
637
      - Apache/2.4.6 (CentOS)
638
      Vary:
639
      - Accept-Encoding
640
      Content-Length:
641
      - '702'
642
      Content-Type:
643
      - application/json; charset=utf-8
644
    body:
645
      encoding: ASCII-8BIT
646
      string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
647
        "_href": "/pulp/api/v2/tasks/5b87c260-ced8-475c-959c-6afa6d967368/", "task_id":
648
        "5b87c260-ced8-475c-959c-6afa6d967368", "tags": ["pulp:repository:integration_test_id",
649
        "pulp:action:delete"], "finish_time": "2018-01-29T17:59:43Z", "_ns": "task_status",
650
        "start_time": "2018-01-29T17:59:43Z", "traceback": null, "spawned_tasks":
651
        [], "progress_report": {}, "queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq",
652
        "state": "finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
653
        "result": null, "error": null, "_id": {"$oid": "5a6f610fab249cfe47a6cbeb"},
654
        "id": "5a6f610fab249cfe47a6cbeb"}'
655
    http_version: 
656
  recorded_at: Mon, 29 Jan 2018 17:59:43 GMT
657
recorded_with: VCR 4.0.0