1
|
---
|
2
|
http_interactions:
|
3
|
- request:
|
4
|
method: get
|
5
|
uri: https://admin:admin@devel.example.com/pulp/api/v2/tasks/189cee85-8aec-415b-b7c4-b5934ab5de92/
|
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:44 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/189cee85-8aec-415b-b7c4-b5934ab5de92/", "task_id":
|
37
|
"189cee85-8aec-415b-b7c4-b5934ab5de92", "tags": ["pulp:repository:integration_test_id",
|
38
|
"pulp:action:sync"], "finish_time": "2016-07-01T14:43:44Z", "_ns": "task_status",
|
39
|
"start_time": "2016-07-01T14:43:44Z", "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:44", "manifest_in_progress":
|
59
|
"2016-07-01T14:43:44"}, "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": "577681a09036949adab88917"},
|
64
|
"id": "577681a09036949adab88917"}'
|
65
|
http_version:
|
66
|
recorded_at: Fri, 01 Jul 2016 14:43:44 GMT
|
67
|
- request:
|
68
|
method: get
|
69
|
uri: https://admin:admin@devel.example.com/pulp/api/v2/tasks/bbbf395d-7f77-4d5c-bf3f-d6ce752128a7/
|
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:45 GMT
|
89
|
Server:
|
90
|
- Apache/2.4.6 (CentOS)
|
91
|
Vary:
|
92
|
- Accept-Encoding
|
93
|
Content-Length:
|
94
|
- '678'
|
95
|
Content-Type:
|
96
|
- application/json; charset=utf-8
|
97
|
body:
|
98
|
encoding: ASCII-8BIT
|
99
|
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
|
100
|
"_href": "/pulp/api/v2/tasks/bbbf395d-7f77-4d5c-bf3f-d6ce752128a7/", "task_id":
|
101
|
"bbbf395d-7f77-4d5c-bf3f-d6ce752128a7", "tags": ["pulp:repository:integration_test_id",
|
102
|
"pulp:action:delete"], "finish_time": "2016-07-01T14:43:44Z", "_ns": "task_status",
|
103
|
"start_time": "2016-07-01T14:43:44Z", "traceback": null, "spawned_tasks":
|
104
|
[], "progress_report": {}, "queue": "reserved_resource_worker-1@devel.example.com.dq",
|
105
|
"state": "finished", "worker_name": "reserved_resource_worker-1@devel.example.com",
|
106
|
"result": null, "error": null, "_id": {"$oid": "577681a09036949adab88918"},
|
107
|
"id": "577681a09036949adab88918"}'
|
108
|
http_version:
|
109
|
recorded_at: Fri, 01 Jul 2016 14:43:45 GMT
|
110
|
- request:
|
111
|
method: get
|
112
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/72871a94-06b7-49f4-ba22-faac1f17d9a5/
|
113
|
body:
|
114
|
encoding: US-ASCII
|
115
|
string: ''
|
116
|
headers:
|
117
|
Accept:
|
118
|
- application/json
|
119
|
Accept-Encoding:
|
120
|
- gzip, deflate
|
121
|
User-Agent:
|
122
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
123
|
Content-Type:
|
124
|
- application/json
|
125
|
Host:
|
126
|
- centos7-devel.zpm.example.com
|
127
|
response:
|
128
|
status:
|
129
|
code: 200
|
130
|
message: OK
|
131
|
headers:
|
132
|
Date:
|
133
|
- Mon, 29 Jan 2018 17:52:08 GMT
|
134
|
Server:
|
135
|
- Apache/2.4.6 (CentOS)
|
136
|
Vary:
|
137
|
- Accept-Encoding
|
138
|
Content-Length:
|
139
|
- '1811'
|
140
|
Content-Type:
|
141
|
- application/json; charset=utf-8
|
142
|
body:
|
143
|
encoding: ASCII-8BIT
|
144
|
string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
|
145
|
"_href": "/pulp/api/v2/tasks/72871a94-06b7-49f4-ba22-faac1f17d9a5/", "task_id":
|
146
|
"72871a94-06b7-49f4-ba22-faac1f17d9a5", "tags": ["pulp:repository:integration_test_id",
|
147
|
"pulp:action:sync"], "finish_time": "2018-01-29T17:52:08Z", "_ns": "task_status",
|
148
|
"start_time": "2018-01-29T17:52:07Z", "traceback": null, "spawned_tasks":
|
149
|
[], "progress_report": {"iso_importer": {"error_message": null, "traceback":
|
150
|
null, "finished_bytes": 0, "num_isos": 0, "state": "complete", "total_bytes":
|
151
|
0, "state_times": {"not_started": "2018-01-29T17:52:07", "manifest_in_progress":
|
152
|
"2018-01-29T17:52:07", "complete": "2018-01-29T17:52:07", "isos_in_progress":
|
153
|
"2018-01-29T17:52:07"}, "num_isos_finished": 0, "iso_error_messages": []}},
|
154
|
"queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq", "state":
|
155
|
"finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
|
156
|
"result": {"result": "success", "importer_id": "iso_importer", "exception":
|
157
|
null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-01-29T17:52:07Z",
|
158
|
"_ns": "repo_sync_results", "completed": "2018-01-29T17:52:07Z", "importer_type_id":
|
159
|
"iso_importer", "error_message": null, "summary": {"total_bytes": 0, "traceback":
|
160
|
null, "error_message": null, "finished_bytes": 0, "num_isos": 0, "state":
|
161
|
"complete", "iso_error_messages": [], "num_isos_finished": 0, "state_times":
|
162
|
{"not_started": "2018-01-29T17:52:07", "manifest_in_progress": "2018-01-29T17:52:07",
|
163
|
"complete": "2018-01-29T17:52:07", "isos_in_progress": "2018-01-29T17:52:07"}},
|
164
|
"added_count": 1, "removed_count": 0, "updated_count": 0, "id": "5a6f5f4707049123c1aaf6da",
|
165
|
"details": null}, "error": null, "_id": {"$oid": "5a6f5f47ab249cfe47a6cbe2"},
|
166
|
"id": "5a6f5f47ab249cfe47a6cbe2"}'
|
167
|
http_version:
|
168
|
recorded_at: Mon, 29 Jan 2018 17:52:08 GMT
|
169
|
- request:
|
170
|
method: get
|
171
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/19e40b86-f155-4d2d-8615-7f428897de46/
|
172
|
body:
|
173
|
encoding: US-ASCII
|
174
|
string: ''
|
175
|
headers:
|
176
|
Accept:
|
177
|
- application/json
|
178
|
Accept-Encoding:
|
179
|
- gzip, deflate
|
180
|
User-Agent:
|
181
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
182
|
Content-Type:
|
183
|
- application/json
|
184
|
Host:
|
185
|
- centos7-devel.zpm.example.com
|
186
|
response:
|
187
|
status:
|
188
|
code: 200
|
189
|
message: OK
|
190
|
headers:
|
191
|
Date:
|
192
|
- Mon, 29 Jan 2018 17:52:09 GMT
|
193
|
Server:
|
194
|
- Apache/2.4.6 (CentOS)
|
195
|
Vary:
|
196
|
- Accept-Encoding
|
197
|
Content-Length:
|
198
|
- '702'
|
199
|
Content-Type:
|
200
|
- application/json; charset=utf-8
|
201
|
body:
|
202
|
encoding: ASCII-8BIT
|
203
|
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
|
204
|
"_href": "/pulp/api/v2/tasks/19e40b86-f155-4d2d-8615-7f428897de46/", "task_id":
|
205
|
"19e40b86-f155-4d2d-8615-7f428897de46", "tags": ["pulp:repository:integration_test_id",
|
206
|
"pulp:action:delete"], "finish_time": "2018-01-29T17:52:08Z", "_ns": "task_status",
|
207
|
"start_time": "2018-01-29T17:52:08Z", "traceback": null, "spawned_tasks":
|
208
|
[], "progress_report": {}, "queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq",
|
209
|
"state": "finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
|
210
|
"result": null, "error": null, "_id": {"$oid": "5a6f5f48ab249cfe47a6cbe3"},
|
211
|
"id": "5a6f5f48ab249cfe47a6cbe3"}'
|
212
|
http_version:
|
213
|
recorded_at: Mon, 29 Jan 2018 17:52:09 GMT
|
214
|
- request:
|
215
|
method: delete
|
216
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
|
217
|
body:
|
218
|
encoding: US-ASCII
|
219
|
string: ''
|
220
|
headers:
|
221
|
Accept:
|
222
|
- application/json
|
223
|
Accept-Encoding:
|
224
|
- gzip, deflate
|
225
|
User-Agent:
|
226
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
227
|
Content-Type:
|
228
|
- application/json
|
229
|
Host:
|
230
|
- centos7-devel.zpm.example.com
|
231
|
response:
|
232
|
status:
|
233
|
code: 404
|
234
|
message: NOT FOUND
|
235
|
headers:
|
236
|
Date:
|
237
|
- Mon, 29 Jan 2018 17:59:38 GMT
|
238
|
Server:
|
239
|
- Apache/2.4.6 (CentOS)
|
240
|
Content-Length:
|
241
|
- '454'
|
242
|
Content-Type:
|
243
|
- application/json; charset=utf-8
|
244
|
body:
|
245
|
encoding: UTF-8
|
246
|
string: '{"http_request_method": "DELETE", "exception": null, "error_message":
|
247
|
"Missing resource(s): repository=integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/",
|
248
|
"http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repository":
|
249
|
"integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id",
|
250
|
"sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}'
|
251
|
http_version:
|
252
|
recorded_at: Mon, 29 Jan 2018 17:59:38 GMT
|
253
|
- request:
|
254
|
method: get
|
255
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
|
256
|
body:
|
257
|
encoding: US-ASCII
|
258
|
string: ''
|
259
|
headers:
|
260
|
Accept:
|
261
|
- application/json
|
262
|
Accept-Encoding:
|
263
|
- gzip, deflate
|
264
|
User-Agent:
|
265
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
266
|
Content-Type:
|
267
|
- application/json
|
268
|
Host:
|
269
|
- centos7-devel.zpm.example.com
|
270
|
response:
|
271
|
status:
|
272
|
code: 404
|
273
|
message: NOT FOUND
|
274
|
headers:
|
275
|
Date:
|
276
|
- Mon, 29 Jan 2018 17:59:38 GMT
|
277
|
Server:
|
278
|
- Apache/2.4.6 (CentOS)
|
279
|
Content-Length:
|
280
|
- '452'
|
281
|
Content-Type:
|
282
|
- application/json; charset=utf-8
|
283
|
body:
|
284
|
encoding: UTF-8
|
285
|
string: '{"http_request_method": "GET", "exception": null, "error_message":
|
286
|
"Missing resource(s): repository=integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/?",
|
287
|
"http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repository":
|
288
|
"integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id",
|
289
|
"sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}'
|
290
|
http_version:
|
291
|
recorded_at: Mon, 29 Jan 2018 17:59:38 GMT
|
292
|
- request:
|
293
|
method: post
|
294
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/
|
295
|
body:
|
296
|
encoding: UTF-8
|
297
|
string: '{"id":"integration_test_id","importer_type_id":"iso_importer","importer_config":{"feed":"file:///var/www/repositories/iso"}}'
|
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
|
Content-Length:
|
308
|
- '124'
|
309
|
Host:
|
310
|
- centos7-devel.zpm.example.com
|
311
|
response:
|
312
|
status:
|
313
|
code: 201
|
314
|
message: CREATED
|
315
|
headers:
|
316
|
Date:
|
317
|
- Mon, 29 Jan 2018 17:59:38 GMT
|
318
|
Server:
|
319
|
- Apache/2.4.6 (CentOS)
|
320
|
Content-Length:
|
321
|
- '319'
|
322
|
Location:
|
323
|
- https://centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
|
324
|
Content-Type:
|
325
|
- application/json; charset=utf-8
|
326
|
body:
|
327
|
encoding: UTF-8
|
328
|
string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
|
329
|
null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
|
330
|
{}, "_ns": "repos", "_id": {"$oid": "5a6f610a070491138bd54b36"}, "id": "integration_test_id",
|
331
|
"_href": "/pulp/api/v2/repositories/integration_test_id/"}'
|
332
|
http_version:
|
333
|
recorded_at: Mon, 29 Jan 2018 17:59:38 GMT
|
334
|
- request:
|
335
|
method: post
|
336
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
|
337
|
body:
|
338
|
encoding: UTF-8
|
339
|
string: "{}"
|
340
|
headers:
|
341
|
Accept:
|
342
|
- application/json
|
343
|
Accept-Encoding:
|
344
|
- gzip, deflate
|
345
|
User-Agent:
|
346
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
347
|
Content-Type:
|
348
|
- application/json
|
349
|
Content-Length:
|
350
|
- '2'
|
351
|
Host:
|
352
|
- centos7-devel.zpm.example.com
|
353
|
response:
|
354
|
status:
|
355
|
code: 202
|
356
|
message: ACCEPTED
|
357
|
headers:
|
358
|
Date:
|
359
|
- Mon, 29 Jan 2018 17:59:38 GMT
|
360
|
Server:
|
361
|
- Apache/2.4.6 (CentOS)
|
362
|
Content-Length:
|
363
|
- '172'
|
364
|
Content-Type:
|
365
|
- application/json; charset=utf-8
|
366
|
body:
|
367
|
encoding: UTF-8
|
368
|
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/0da4ca11-e073-42ca-ba1c-049c789646c1/",
|
369
|
"task_id": "0da4ca11-e073-42ca-ba1c-049c789646c1"}], "result": null, "error":
|
370
|
null}'
|
371
|
http_version:
|
372
|
recorded_at: Mon, 29 Jan 2018 17:59:38 GMT
|
373
|
- request:
|
374
|
method: get
|
375
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/0da4ca11-e073-42ca-ba1c-049c789646c1/
|
376
|
body:
|
377
|
encoding: US-ASCII
|
378
|
string: ''
|
379
|
headers:
|
380
|
Accept:
|
381
|
- application/json
|
382
|
Accept-Encoding:
|
383
|
- gzip, deflate
|
384
|
User-Agent:
|
385
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
386
|
Content-Type:
|
387
|
- application/json
|
388
|
Host:
|
389
|
- centos7-devel.zpm.example.com
|
390
|
response:
|
391
|
status:
|
392
|
code: 200
|
393
|
message: OK
|
394
|
headers:
|
395
|
Date:
|
396
|
- Mon, 29 Jan 2018 17:59:39 GMT
|
397
|
Server:
|
398
|
- Apache/2.4.6 (CentOS)
|
399
|
Vary:
|
400
|
- Accept-Encoding
|
401
|
Content-Length:
|
402
|
- '1811'
|
403
|
Content-Type:
|
404
|
- application/json; charset=utf-8
|
405
|
body:
|
406
|
encoding: ASCII-8BIT
|
407
|
string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
|
408
|
"_href": "/pulp/api/v2/tasks/0da4ca11-e073-42ca-ba1c-049c789646c1/", "task_id":
|
409
|
"0da4ca11-e073-42ca-ba1c-049c789646c1", "tags": ["pulp:repository:integration_test_id",
|
410
|
"pulp:action:sync"], "finish_time": "2018-01-29T17:59:38Z", "_ns": "task_status",
|
411
|
"start_time": "2018-01-29T17:59:38Z", "traceback": null, "spawned_tasks":
|
412
|
[], "progress_report": {"iso_importer": {"error_message": null, "traceback":
|
413
|
null, "finished_bytes": 0, "num_isos": 0, "state": "complete", "total_bytes":
|
414
|
0, "state_times": {"not_started": "2018-01-29T17:59:38", "manifest_in_progress":
|
415
|
"2018-01-29T17:59:38", "complete": "2018-01-29T17:59:38", "isos_in_progress":
|
416
|
"2018-01-29T17:59:38"}, "num_isos_finished": 0, "iso_error_messages": []}},
|
417
|
"queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq", "state":
|
418
|
"finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
|
419
|
"result": {"result": "success", "importer_id": "iso_importer", "exception":
|
420
|
null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-01-29T17:59:38Z",
|
421
|
"_ns": "repo_sync_results", "completed": "2018-01-29T17:59:38Z", "importer_type_id":
|
422
|
"iso_importer", "error_message": null, "summary": {"total_bytes": 0, "traceback":
|
423
|
null, "error_message": null, "finished_bytes": 0, "num_isos": 0, "state":
|
424
|
"complete", "iso_error_messages": [], "num_isos_finished": 0, "state_times":
|
425
|
{"not_started": "2018-01-29T17:59:38", "manifest_in_progress": "2018-01-29T17:59:38",
|
426
|
"complete": "2018-01-29T17:59:38", "isos_in_progress": "2018-01-29T17:59:38"}},
|
427
|
"added_count": 1, "removed_count": 0, "updated_count": 0, "id": "5a6f610a07049123c1aaf6dc",
|
428
|
"details": null}, "error": null, "_id": {"$oid": "5a6f610aab249cfe47a6cbe5"},
|
429
|
"id": "5a6f610aab249cfe47a6cbe5"}'
|
430
|
http_version:
|
431
|
recorded_at: Mon, 29 Jan 2018 17:59:39 GMT
|
432
|
- request:
|
433
|
method: post
|
434
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/search/units/
|
435
|
body:
|
436
|
encoding: UTF-8
|
437
|
string: '{"criteria":{"type_ids":["iso"],"fields":{"unit":[],"association":["unit_id"]}}}'
|
438
|
headers:
|
439
|
Accept:
|
440
|
- application/json
|
441
|
Accept-Encoding:
|
442
|
- gzip, deflate
|
443
|
User-Agent:
|
444
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
445
|
Content-Type:
|
446
|
- application/json
|
447
|
Content-Length:
|
448
|
- '80'
|
449
|
Host:
|
450
|
- centos7-devel.zpm.example.com
|
451
|
response:
|
452
|
status:
|
453
|
code: 200
|
454
|
message: OK
|
455
|
headers:
|
456
|
Date:
|
457
|
- Mon, 29 Jan 2018 17:59:39 GMT
|
458
|
Server:
|
459
|
- Apache/2.4.6 (CentOS)
|
460
|
Vary:
|
461
|
- Accept-Encoding
|
462
|
Content-Length:
|
463
|
- '209'
|
464
|
Content-Type:
|
465
|
- application/json; charset=utf-8
|
466
|
body:
|
467
|
encoding: ASCII-8BIT
|
468
|
string: '[{"metadata": {"_id": "9b2b9731-abf3-4397-ba2e-177aa4bac207", "_content_type_id":
|
469
|
"iso"}, "_id": {"$oid": "5a6f610a07049123c1aaf6db"}, "unit_id": "9b2b9731-abf3-4397-ba2e-177aa4bac207",
|
470
|
"unit_type_id": "iso"}]'
|
471
|
http_version:
|
472
|
recorded_at: Mon, 29 Jan 2018 17:59:39 GMT
|
473
|
- request:
|
474
|
method: delete
|
475
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
|
476
|
body:
|
477
|
encoding: US-ASCII
|
478
|
string: ''
|
479
|
headers:
|
480
|
Accept:
|
481
|
- application/json
|
482
|
Accept-Encoding:
|
483
|
- gzip, deflate
|
484
|
User-Agent:
|
485
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
486
|
Content-Type:
|
487
|
- application/json
|
488
|
Host:
|
489
|
- centos7-devel.zpm.example.com
|
490
|
response:
|
491
|
status:
|
492
|
code: 202
|
493
|
message: ACCEPTED
|
494
|
headers:
|
495
|
Date:
|
496
|
- Mon, 29 Jan 2018 17:59:39 GMT
|
497
|
Server:
|
498
|
- Apache/2.4.6 (CentOS)
|
499
|
Content-Length:
|
500
|
- '172'
|
501
|
Content-Type:
|
502
|
- application/json; charset=utf-8
|
503
|
body:
|
504
|
encoding: UTF-8
|
505
|
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/445cadd9-acf3-4d0f-b442-9a0b4b188e5c/",
|
506
|
"task_id": "445cadd9-acf3-4d0f-b442-9a0b4b188e5c"}], "result": null, "error":
|
507
|
null}'
|
508
|
http_version:
|
509
|
recorded_at: Mon, 29 Jan 2018 17:59:39 GMT
|
510
|
- request:
|
511
|
method: get
|
512
|
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/445cadd9-acf3-4d0f-b442-9a0b4b188e5c/
|
513
|
body:
|
514
|
encoding: US-ASCII
|
515
|
string: ''
|
516
|
headers:
|
517
|
Accept:
|
518
|
- application/json
|
519
|
Accept-Encoding:
|
520
|
- gzip, deflate
|
521
|
User-Agent:
|
522
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
523
|
Content-Type:
|
524
|
- application/json
|
525
|
Host:
|
526
|
- centos7-devel.zpm.example.com
|
527
|
response:
|
528
|
status:
|
529
|
code: 200
|
530
|
message: OK
|
531
|
headers:
|
532
|
Date:
|
533
|
- Mon, 29 Jan 2018 17:59:39 GMT
|
534
|
Server:
|
535
|
- Apache/2.4.6 (CentOS)
|
536
|
Vary:
|
537
|
- Accept-Encoding
|
538
|
Content-Length:
|
539
|
- '702'
|
540
|
Content-Type:
|
541
|
- application/json; charset=utf-8
|
542
|
body:
|
543
|
encoding: ASCII-8BIT
|
544
|
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
|
545
|
"_href": "/pulp/api/v2/tasks/445cadd9-acf3-4d0f-b442-9a0b4b188e5c/", "task_id":
|
546
|
"445cadd9-acf3-4d0f-b442-9a0b4b188e5c", "tags": ["pulp:repository:integration_test_id",
|
547
|
"pulp:action:delete"], "finish_time": "2018-01-29T17:59:39Z", "_ns": "task_status",
|
548
|
"start_time": "2018-01-29T17:59:39Z", "traceback": null, "spawned_tasks":
|
549
|
[], "progress_report": {}, "queue": "reserved_resource_worker-1@centos7-devel.zpm.example.com.dq",
|
550
|
"state": "finished", "worker_name": "reserved_resource_worker-1@centos7-devel.zpm.example.com",
|
551
|
"result": null, "error": null, "_id": {"$oid": "5a6f610bab249cfe47a6cbe6"},
|
552
|
"id": "5a6f610bab249cfe47a6cbe6"}'
|
553
|
http_version:
|
554
|
recorded_at: Mon, 29 Jan 2018 17:59:39 GMT
|
555
|
recorded_with: VCR 4.0.0
|