Revision d0cb4289
Added by Stephen Benjamin over 5 years ago
test/fixtures/vcr_cassettes/extensions/iso_repository_create/file_ids.yml | ||
---|---|---|
1 | 1 |
--- |
2 | 2 |
http_interactions: |
3 | 3 |
- request: |
4 |
method: delete
|
|
5 |
uri: https://admin:admin@devel.example.com/pulp/api/v2/repositories/integration_test_id/
|
|
4 |
method: get
|
|
5 |
uri: https://admin:admin@devel.example.com/pulp/api/v2/tasks/189cee85-8aec-415b-b7c4-b5934ab5de92/
|
|
6 | 6 |
body: |
7 | 7 |
encoding: US-ASCII |
8 | 8 |
string: '' |
... | ... | |
17 | 17 |
- Ruby |
18 | 18 |
response: |
19 | 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: |
|
20 | 233 |
code: 404 |
21 | 234 |
message: NOT FOUND |
22 | 235 |
headers: |
23 | 236 |
Date: |
24 |
- Fri, 01 Jul 2016 14:43:43 GMT
|
|
237 |
- Mon, 29 Jan 2018 17:59:38 GMT
|
|
25 | 238 |
Server: |
26 | 239 |
- Apache/2.4.6 (CentOS) |
27 |
Content-Encoding: |
|
28 |
- utf-8 |
|
29 | 240 |
Content-Length: |
30 | 241 |
- '454' |
31 | 242 |
Content-Type: |
... | ... | |
38 | 249 |
"integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id", |
39 | 250 |
"sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}' |
40 | 251 |
http_version: |
41 |
recorded_at: Fri, 01 Jul 2016 14:43:43 GMT
|
|
252 |
recorded_at: Mon, 29 Jan 2018 17:59:38 GMT
|
|
42 | 253 |
- request: |
43 | 254 |
method: get |
44 |
uri: https://admin:admin@devel.example.com/pulp/api/v2/repositories/integration_test_id/
|
|
255 |
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
|
|
45 | 256 |
body: |
46 | 257 |
encoding: US-ASCII |
47 | 258 |
string: '' |
... | ... | |
50 | 261 |
- application/json |
51 | 262 |
Accept-Encoding: |
52 | 263 |
- gzip, deflate |
264 |
User-Agent: |
|
265 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
53 | 266 |
Content-Type: |
54 | 267 |
- application/json |
55 |
User-Agent:
|
|
56 |
- Ruby
|
|
268 |
Host:
|
|
269 |
- centos7-devel.zpm.example.com
|
|
57 | 270 |
response: |
58 | 271 |
status: |
59 | 272 |
code: 404 |
60 | 273 |
message: NOT FOUND |
61 | 274 |
headers: |
62 | 275 |
Date: |
63 |
- Fri, 01 Jul 2016 14:43:43 GMT
|
|
276 |
- Mon, 29 Jan 2018 17:59:38 GMT
|
|
64 | 277 |
Server: |
65 | 278 |
- Apache/2.4.6 (CentOS) |
66 |
Content-Encoding: |
|
67 |
- utf-8 |
|
68 | 279 |
Content-Length: |
69 | 280 |
- '452' |
70 | 281 |
Content-Type: |
... | ... | |
77 | 288 |
"integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id", |
78 | 289 |
"sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}' |
79 | 290 |
http_version: |
80 |
recorded_at: Fri, 01 Jul 2016 14:43:43 GMT
|
|
291 |
recorded_at: Mon, 29 Jan 2018 17:59:38 GMT
|
|
81 | 292 |
- request: |
82 | 293 |
method: post |
83 |
uri: https://admin:admin@devel.example.com/pulp/api/v2/repositories/
|
|
294 |
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/
|
|
84 | 295 |
body: |
85 | 296 |
encoding: UTF-8 |
86 | 297 |
string: '{"id":"integration_test_id","importer_type_id":"iso_importer","importer_config":{"feed":"file:///var/www/repositories/iso"}}' |
... | ... | |
89 | 300 |
- application/json |
90 | 301 |
Accept-Encoding: |
91 | 302 |
- gzip, deflate |
303 |
User-Agent: |
|
304 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
92 | 305 |
Content-Type: |
93 | 306 |
- application/json |
94 | 307 |
Content-Length: |
95 | 308 |
- '124' |
96 |
User-Agent:
|
|
97 |
- Ruby
|
|
309 |
Host:
|
|
310 |
- centos7-devel.zpm.example.com
|
|
98 | 311 |
response: |
99 | 312 |
status: |
100 | 313 |
code: 201 |
101 | 314 |
message: CREATED |
102 | 315 |
headers: |
103 | 316 |
Date: |
104 |
- Fri, 01 Jul 2016 14:43:43 GMT
|
|
317 |
- Mon, 29 Jan 2018 17:59:38 GMT
|
|
105 | 318 |
Server: |
106 | 319 |
- Apache/2.4.6 (CentOS) |
107 | 320 |
Content-Length: |
108 | 321 |
- '319' |
109 | 322 |
Location: |
110 |
- https://devel.example.com/pulp/api/v2/repositories/integration_test_id/
|
|
323 |
- https://centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
|
|
111 | 324 |
Content-Type: |
112 | 325 |
- application/json; charset=utf-8 |
113 | 326 |
body: |
114 | 327 |
encoding: UTF-8 |
115 | 328 |
string: '{"scratchpad": {}, "display_name": "integration_test_id", "description": |
116 | 329 |
null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts": |
117 |
{}, "_ns": "repos", "_id": {"$oid": "577681a08af3c82a3af4a90a"}, "id": "integration_test_id",
|
|
330 |
{}, "_ns": "repos", "_id": {"$oid": "5a6f610a070491138bd54b36"}, "id": "integration_test_id",
|
|
118 | 331 |
"_href": "/pulp/api/v2/repositories/integration_test_id/"}' |
119 | 332 |
http_version: |
120 |
recorded_at: Fri, 01 Jul 2016 14:43:44 GMT
|
|
333 |
recorded_at: Mon, 29 Jan 2018 17:59:38 GMT
|
|
121 | 334 |
- request: |
122 | 335 |
method: post |
123 |
uri: https://admin:admin@devel.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
|
|
336 |
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
|
|
124 | 337 |
body: |
125 | 338 |
encoding: UTF-8 |
126 | 339 |
string: "{}" |
... | ... | |
129 | 342 |
- application/json |
130 | 343 |
Accept-Encoding: |
131 | 344 |
- gzip, deflate |
345 |
User-Agent: |
|
346 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
132 | 347 |
Content-Type: |
133 | 348 |
- application/json |
134 | 349 |
Content-Length: |
135 | 350 |
- '2' |
136 |
User-Agent:
|
|
137 |
- Ruby
|
|
351 |
Host:
|
|
352 |
- centos7-devel.zpm.example.com
|
|
138 | 353 |
response: |
139 | 354 |
status: |
140 | 355 |
code: 202 |
141 | 356 |
message: ACCEPTED |
142 | 357 |
headers: |
143 | 358 |
Date: |
144 |
- Fri, 01 Jul 2016 14:43:44 GMT
|
|
359 |
- Mon, 29 Jan 2018 17:59:38 GMT
|
|
145 | 360 |
Server: |
146 | 361 |
- Apache/2.4.6 (CentOS) |
147 | 362 |
Content-Length: |
... | ... | |
150 | 365 |
- application/json; charset=utf-8 |
151 | 366 |
body: |
152 | 367 |
encoding: UTF-8 |
153 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/189cee85-8aec-415b-b7c4-b5934ab5de92/",
|
|
154 |
"task_id": "189cee85-8aec-415b-b7c4-b5934ab5de92"}], "result": null, "error":
|
|
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":
|
|
155 | 370 |
null}' |
156 | 371 |
http_version: |
157 |
recorded_at: Fri, 01 Jul 2016 14:43:44 GMT
|
|
372 |
recorded_at: Mon, 29 Jan 2018 17:59:38 GMT
|
|
158 | 373 |
- request: |
159 | 374 |
method: get |
160 |
uri: https://admin:admin@devel.example.com/pulp/api/v2/tasks/189cee85-8aec-415b-b7c4-b5934ab5de92/
|
|
375 |
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/0da4ca11-e073-42ca-ba1c-049c789646c1/
|
|
161 | 376 |
body: |
162 | 377 |
encoding: US-ASCII |
163 | 378 |
string: '' |
... | ... | |
166 | 381 |
- application/json |
167 | 382 |
Accept-Encoding: |
168 | 383 |
- gzip, deflate |
384 |
User-Agent: |
|
385 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
169 | 386 |
Content-Type: |
170 | 387 |
- application/json |
171 |
User-Agent:
|
|
172 |
- Ruby
|
|
388 |
Host:
|
|
389 |
- centos7-devel.zpm.example.com
|
|
173 | 390 |
response: |
174 | 391 |
status: |
175 | 392 |
code: 200 |
176 | 393 |
message: OK |
177 | 394 |
headers: |
178 | 395 |
Date: |
179 |
- Fri, 01 Jul 2016 14:43:44 GMT
|
|
396 |
- Mon, 29 Jan 2018 17:59:39 GMT
|
|
180 | 397 |
Server: |
181 | 398 |
- Apache/2.4.6 (CentOS) |
182 | 399 |
Vary: |
183 | 400 |
- Accept-Encoding |
184 | 401 |
Content-Length: |
185 |
- '2487'
|
|
402 |
- '1811'
|
|
186 | 403 |
Content-Type: |
187 | 404 |
- application/json; charset=utf-8 |
188 | 405 |
body: |
189 | 406 |
encoding: ASCII-8BIT |
190 | 407 |
string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", |
191 |
"_href": "/pulp/api/v2/tasks/189cee85-8aec-415b-b7c4-b5934ab5de92/", "task_id": |
|
192 |
"189cee85-8aec-415b-b7c4-b5934ab5de92", "tags": ["pulp:repository:integration_test_id", |
|
193 |
"pulp:action:sync"], "finish_time": "2016-07-01T14:43:44Z", "_ns": "task_status", |
|
194 |
"start_time": "2016-07-01T14:43:44Z", "traceback": "Traceback (most recent |
|
195 |
call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", |
|
196 |
line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", |
|
197 |
line 473, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n File |
|
198 |
\"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 103, |
|
199 |
in __call__\n return super(PulpTask, self).__call__(*args, **kwargs)\n File |
|
200 |
\"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n return |
|
201 |
self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", |
|
202 |
line 760, in sync\n sync_report = sync_repo(transfer_repo, conduit, call_config)\n File |
|
203 |
\"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 658, |
|
204 |
in wrap_f\n return f(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/iso/importer.py\", |
|
205 |
line 103, in sync_repo\n report = self.iso_sync.perform_sync()\n File |
|
206 |
\"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/iso/sync.py\", |
|
207 |
line 220, in perform_sync\n self.add_catalog_entries(local_available_isos)\n File |
|
208 |
\"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/iso/sync.py\", |
|
209 |
line 186, in add_catalog_entries\n entry.url = unit.url\nAttributeError: |
|
210 |
''ISO'' object has no attribute ''url''\n", "spawned_tasks": [], "progress_report": |
|
211 |
{"iso_importer": {"error_message": null, "traceback": null, "finished_bytes": |
|
212 |
0, "num_isos": null, "state": "manifest_in_progress", "total_bytes": null, |
|
213 |
"state_times": {"not_started": "2016-07-01T14:43:44", "manifest_in_progress": |
|
214 |
"2016-07-01T14:43:44"}, "num_isos_finished": 0, "iso_error_messages": []}}, |
|
215 |
"queue": "reserved_resource_worker-1@devel.example.com.dq", "state": "error", |
|
216 |
"worker_name": "reserved_resource_worker-1@devel.example.com", "result": null, |
|
217 |
"error": {"code": "PLP0000", "data": {}, "description": "''ISO'' object has |
|
218 |
no attribute ''url''", "sub_errors": []}, "_id": {"$oid": "577681a09036949adab88917"}, |
|
219 |
"id": "577681a09036949adab88917"}' |
|
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"}' |
|
220 | 430 |
http_version: |
221 |
recorded_at: Fri, 01 Jul 2016 14:43:44 GMT
|
|
431 |
recorded_at: Mon, 29 Jan 2018 17:59:39 GMT
|
|
222 | 432 |
- request: |
223 | 433 |
method: post |
224 |
uri: https://admin:admin@devel.example.com/pulp/api/v2/repositories/integration_test_id/search/units/
|
|
434 |
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/search/units/
|
|
225 | 435 |
body: |
226 | 436 |
encoding: UTF-8 |
227 | 437 |
string: '{"criteria":{"type_ids":["iso"],"fields":{"unit":[],"association":["unit_id"]}}}' |
... | ... | |
230 | 440 |
- application/json |
231 | 441 |
Accept-Encoding: |
232 | 442 |
- gzip, deflate |
443 |
User-Agent: |
|
444 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
233 | 445 |
Content-Type: |
234 | 446 |
- application/json |
235 | 447 |
Content-Length: |
236 | 448 |
- '80' |
237 |
User-Agent:
|
|
238 |
- Ruby
|
|
449 |
Host:
|
|
450 |
- centos7-devel.zpm.example.com
|
|
239 | 451 |
response: |
240 | 452 |
status: |
241 | 453 |
code: 200 |
242 | 454 |
message: OK |
243 | 455 |
headers: |
244 | 456 |
Date: |
245 |
- Fri, 01 Jul 2016 14:43:44 GMT
|
|
457 |
- Mon, 29 Jan 2018 17:59:39 GMT
|
|
246 | 458 |
Server: |
247 | 459 |
- Apache/2.4.6 (CentOS) |
248 | 460 |
Vary: |
... | ... | |
253 | 465 |
- application/json; charset=utf-8 |
254 | 466 |
body: |
255 | 467 |
encoding: ASCII-8BIT |
256 |
string: '[{"metadata": {"_id": "f09a24f8-f982-4184-8104-ed4097954a06", "_content_type_id":
|
|
257 |
"iso"}, "_id": {"$oid": "577681a08af3c8729bd1c047"}, "unit_id": "f09a24f8-f982-4184-8104-ed4097954a06",
|
|
468 |
string: '[{"metadata": {"_id": "9b2b9731-abf3-4397-ba2e-177aa4bac207", "_content_type_id":
|
|
469 |
"iso"}, "_id": {"$oid": "5a6f610a07049123c1aaf6db"}, "unit_id": "9b2b9731-abf3-4397-ba2e-177aa4bac207",
|
|
258 | 470 |
"unit_type_id": "iso"}]' |
259 | 471 |
http_version: |
260 |
recorded_at: Fri, 01 Jul 2016 14:43:44 GMT
|
|
472 |
recorded_at: Mon, 29 Jan 2018 17:59:39 GMT
|
|
261 | 473 |
- request: |
262 | 474 |
method: delete |
263 |
uri: https://admin:admin@devel.example.com/pulp/api/v2/repositories/integration_test_id/
|
|
475 |
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/repositories/integration_test_id/
|
|
264 | 476 |
body: |
265 | 477 |
encoding: US-ASCII |
266 | 478 |
string: '' |
... | ... | |
269 | 481 |
- application/json |
270 | 482 |
Accept-Encoding: |
271 | 483 |
- gzip, deflate |
484 |
User-Agent: |
|
485 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
272 | 486 |
Content-Type: |
273 | 487 |
- application/json |
274 |
User-Agent:
|
|
275 |
- Ruby
|
|
488 |
Host:
|
|
489 |
- centos7-devel.zpm.example.com
|
|
276 | 490 |
response: |
277 | 491 |
status: |
278 | 492 |
code: 202 |
279 | 493 |
message: ACCEPTED |
280 | 494 |
headers: |
281 | 495 |
Date: |
282 |
- Fri, 01 Jul 2016 14:43:44 GMT
|
|
496 |
- Mon, 29 Jan 2018 17:59:39 GMT
|
|
283 | 497 |
Server: |
284 | 498 |
- Apache/2.4.6 (CentOS) |
285 | 499 |
Content-Length: |
... | ... | |
288 | 502 |
- application/json; charset=utf-8 |
289 | 503 |
body: |
290 | 504 |
encoding: UTF-8 |
291 |
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/bbbf395d-7f77-4d5c-bf3f-d6ce752128a7/",
|
|
292 |
"task_id": "bbbf395d-7f77-4d5c-bf3f-d6ce752128a7"}], "result": null, "error":
|
|
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":
|
|
293 | 507 |
null}' |
294 | 508 |
http_version: |
295 |
recorded_at: Fri, 01 Jul 2016 14:43:44 GMT
|
|
509 |
recorded_at: Mon, 29 Jan 2018 17:59:39 GMT
|
|
296 | 510 |
- request: |
297 | 511 |
method: get |
298 |
uri: https://admin:admin@devel.example.com/pulp/api/v2/tasks/bbbf395d-7f77-4d5c-bf3f-d6ce752128a7/
|
|
512 |
uri: https://admin:admin@centos7-devel.zpm.example.com/pulp/api/v2/tasks/445cadd9-acf3-4d0f-b442-9a0b4b188e5c/
|
|
299 | 513 |
body: |
300 | 514 |
encoding: US-ASCII |
301 | 515 |
string: '' |
... | ... | |
304 | 518 |
- application/json |
305 | 519 |
Accept-Encoding: |
306 | 520 |
- gzip, deflate |
521 |
User-Agent: |
|
522 |
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230 |
|
307 | 523 |
Content-Type: |
308 | 524 |
- application/json |
309 |
User-Agent:
|
|
310 |
- Ruby
|
|
525 |
Host:
|
|
526 |
- centos7-devel.zpm.example.com
|
|
311 | 527 |
response: |
312 | 528 |
status: |
313 | 529 |
code: 200 |
314 | 530 |
message: OK |
315 | 531 |
headers: |
316 | 532 |
Date: |
317 |
- Fri, 01 Jul 2016 14:43:45 GMT
|
|
533 |
- Mon, 29 Jan 2018 17:59:39 GMT
|
|
318 | 534 |
Server: |
319 | 535 |
- Apache/2.4.6 (CentOS) |
320 | 536 |
Vary: |
321 | 537 |
- Accept-Encoding |
322 | 538 |
Content-Length: |
323 |
- '678'
|
|
539 |
- '702'
|
|
324 | 540 |
Content-Type: |
325 | 541 |
- application/json; charset=utf-8 |
326 | 542 |
body: |
327 | 543 |
encoding: ASCII-8BIT |
328 | 544 |
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", |
329 |
"_href": "/pulp/api/v2/tasks/bbbf395d-7f77-4d5c-bf3f-d6ce752128a7/", "task_id":
|
|
330 |
"bbbf395d-7f77-4d5c-bf3f-d6ce752128a7", "tags": ["pulp:repository:integration_test_id",
|
|
331 |
"pulp:action:delete"], "finish_time": "2016-07-01T14:43:44Z", "_ns": "task_status",
|
|
332 |
"start_time": "2016-07-01T14:43:44Z", "traceback": null, "spawned_tasks":
|
|
333 |
[], "progress_report": {}, "queue": "reserved_resource_worker-1@devel.example.com.dq",
|
|
334 |
"state": "finished", "worker_name": "reserved_resource_worker-1@devel.example.com",
|
|
335 |
"result": null, "error": null, "_id": {"$oid": "577681a09036949adab88918"},
|
|
336 |
"id": "577681a09036949adab88918"}'
|
|
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"}'
|
|
337 | 553 |
http_version: |
338 |
recorded_at: Fri, 01 Jul 2016 14:43:45 GMT |
|
339 |
recorded_with: VCR 3.0.3 |
|
554 |
recorded_at: Mon, 29 Jan 2018 17:59:39 GMT |
|
555 |
recorded_with: VCR 4.0.0 |
Also available in: Unified diff
refs #22446 - use relative_url for iso repo path