Project

General

Profile

« Previous | Next » 

Revision 0889fa03

Added by Justin Sherrill over 8 years ago

fixes #11773 - allow false values for :include_repos

View differences:

test/fixtures/vcr_cassettes/extensions/rpm/suite.yml
http_interactions:
- request:
method: get
uri: https://admin:admin@box.devel.com/pulp/api/v2/tasks/46cca7a2-7acf-43df-8336-fb36fb2a5d15/
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/repositories/integration_test_id/
body:
encoding: US-ASCII
string: ''
......
- Ruby
response:
status:
code: 200
message: OK
code: 404
message: Not Found
headers:
Date:
- Wed, 15 Oct 2014 14:25:46 GMT
- Fri, 11 Sep 2015 17:39:00 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
- Apache/2.4.6 (CentOS)
Content-Encoding:
- utf-8
Content-Length:
- '2002'
- '427'
Connection:
- close
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.sync_with_auto_publish",
"_href": "/pulp/api/v2/tasks/46cca7a2-7acf-43df-8336-fb36fb2a5d15/", "task_id":
"46cca7a2-7acf-43df-8336-fb36fb2a5d15", "tags": ["pulp:repository:integration_test_id",
"pulp:action:sync"], "finish_time": "2014-10-15T14:25:46Z", "_ns": "task_status",
"start_time": "2014-10-15T14:25:45Z", "traceback": null, "spawned_tasks":
[], "progress_report": {"yum_importer": {"content": {"size_total": 0, "items_left":
0, "items_total": 0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total":
0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-1@box.devel.com.dq",
"state": "finished", "result": {"importer_type_id": "yum_importer", "importer_id":
"yum_importer", "exception": null, "repo_id": "integration_test_id", "removed_count":
0, "started": "2014-10-15T14:25:45Z", "_ns": "repo_sync_results", "completed":
"2014-10-15T14:25:46Z", "traceback": null, "summary": {"content": {"state":
"FINISHED"}, "comps": {"state": "FINISHED"}, "distribution": {"state": "FINISHED"},
"errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count":
0, "error_message": null, "updated_count": 14, "details": {"content": {"size_total":
0, "items_left": 0, "items_total": 0, "state": "FINISHED", "size_left": 0,
"details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0},
"error_details": []}, "comps": {"state": "FINISHED"}, "distribution": {"items_total":
3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state":
"FINISHED"}, "metadata": {"state": "FINISHED"}}, "id": "543e83ea47078709559b2276",
"result": "success"}, "error": null, "_id": {"$oid": "543e83e9505c6f3b4b509b81"},
"id": "543e83e947078708d9ecb5b8"}'
http_version:
recorded_at: Wed, 15 Oct 2014 14:25:46 GMT
- request:
method: get
uri: https://admin:admin@box.devel.com/pulp/api/v2/tasks/cafe0c98-b1b0-45a5-8ab3-f31020b2c2f9/
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Wed, 15 Oct 2014 14:25:47 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
Content-Length:
- '611'
Connection:
- close
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
"_href": "/pulp/api/v2/tasks/cafe0c98-b1b0-45a5-8ab3-f31020b2c2f9/", "task_id":
"cafe0c98-b1b0-45a5-8ab3-f31020b2c2f9", "tags": ["pulp:repository:integration_test_id",
"pulp:action:delete"], "finish_time": "2014-10-15T14:25:47Z", "_ns": "task_status",
"start_time": "2014-10-15T14:25:47Z", "traceback": null, "spawned_tasks":
[], "progress_report": {}, "queue": "reserved_resource_worker-1@box.devel.com.dq",
"state": "finished", "result": null, "error": null, "_id": {"$oid": "543e83eb505c6f3b4b509b82"},
"id": "543e83eb47078708d9ecb5c8"}'
string: ! '{"http_request_method": "GET", "exception": null, "error_message":
"Missing resource(s): repo=integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/",
"http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repo":
"integration_test_id"}}, "description": "Missing resource(s): repo=integration_test_id",
"sub_errors": []}, "traceback": null, "resources": {"repo": "integration_test_id"}}'
http_version:
recorded_at: Wed, 15 Oct 2014 14:25:47 GMT
recorded_at: Fri, 11 Sep 2015 17:39:00 GMT
- request:
method: get
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/tasks/713b0ad1-8a85-47da-a394-b1814f26608e/
method: post
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/repositories/
body:
encoding: US-ASCII
string: ''
string: ! '{"id":"integration_test_id","importer_type_id":"yum_importer","importer_config":{"feed":"file:///var/www/repositories/zoo5"}}'
headers:
Accept:
- application/json
......
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Sun, 01 Feb 2015 18:28:47 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
Content-Length:
- '2053'
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.sync_with_auto_publish",
"_href": "/pulp/api/v2/tasks/713b0ad1-8a85-47da-a394-b1814f26608e/", "task_id":
"713b0ad1-8a85-47da-a394-b1814f26608e", "tags": ["pulp:repository:integration_test_id",
"pulp:action:sync"], "finish_time": "2015-02-01T18:28:47Z", "_ns": "task_status",
"start_time": "2015-02-01T18:28:47Z", "traceback": null, "spawned_tasks":
[], "progress_report": {"yum_importer": {"content": {"size_total": 0, "items_left":
0, "items_total": 0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total":
0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@kt1.local.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@kt1.local",
"result": {"importer_type_id": "yum_importer", "importer_id": "yum_importer",
"exception": null, "repo_id": "integration_test_id", "removed_count": 0, "started":
"2015-02-01T18:28:47Z", "_ns": "repo_sync_results", "completed": "2015-02-01T18:28:47Z",
"traceback": null, "summary": {"content": {"state": "FINISHED"}, "comps":
{"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state":
"FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 0, "error_message":
null, "updated_count": 14, "details": {"content": {"size_total": 0, "items_left":
0, "items_total": 0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total":
0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}, "id": "54ce705fb2ff981e8887d45c", "result":
"success"}, "error": null, "_id": {"$oid": "54ce705e962f40ae3501a2b0"}, "id":
"54ce705fb2ff981dcc43fe61"}'
http_version:
recorded_at: Sun, 01 Feb 2015 18:28:47 GMT
- request:
method: get
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/tasks/94d55c17-5dc5-4ff0-8955-5e1ab73102e2/
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
- '125'
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
code: 201
message: Created
headers:
Date:
- Sun, 01 Feb 2015 18:28:51 GMT
- Fri, 11 Sep 2015 17:39:00 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
- Apache/2.4.6 (CentOS)
Location:
- integration_test_id
Content-Length:
- '662'
- '319'
Connection:
- close
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
"_href": "/pulp/api/v2/tasks/94d55c17-5dc5-4ff0-8955-5e1ab73102e2/", "task_id":
"94d55c17-5dc5-4ff0-8955-5e1ab73102e2", "tags": ["pulp:repository:integration_test_id",
"pulp:action:delete"], "finish_time": "2015-02-01T18:28:50Z", "_ns": "task_status",
"start_time": "2015-02-01T18:28:50Z", "traceback": null, "spawned_tasks":
[], "progress_report": {}, "queue": "reserved_resource_worker-0@kt1.local.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@kt1.local",
"result": null, "error": null, "_id": {"$oid": "54ce7062962f40ae3501a2b1"},
"id": "54ce7062b2ff981dcc43fe67"}'
http_version:
recorded_at: Sun, 01 Feb 2015 18:28:51 GMT
- request:
method: get
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/tasks/afa8d73f-4cab-4a00-900e-1a2f4a757a3b/
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 02 Feb 2015 06:40:00 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
Content-Length:
- '2053'
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.sync_with_auto_publish",
"_href": "/pulp/api/v2/tasks/afa8d73f-4cab-4a00-900e-1a2f4a757a3b/", "task_id":
"afa8d73f-4cab-4a00-900e-1a2f4a757a3b", "tags": ["pulp:repository:integration_test_id",
"pulp:action:sync"], "finish_time": "2015-02-02T06:40:00Z", "_ns": "task_status",
"start_time": "2015-02-02T06:40:00Z", "traceback": null, "spawned_tasks":
[], "progress_report": {"yum_importer": {"content": {"size_total": 0, "items_left":
0, "items_total": 0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total":
0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@kt1.local.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@kt1.local",
"result": {"importer_type_id": "yum_importer", "importer_id": "yum_importer",
"exception": null, "repo_id": "integration_test_id", "removed_count": 0, "started":
"2015-02-02T06:40:00Z", "_ns": "repo_sync_results", "completed": "2015-02-02T06:40:00Z",
"traceback": null, "summary": {"content": {"state": "FINISHED"}, "comps":
{"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state":
"FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 0, "error_message":
null, "updated_count": 14, "details": {"content": {"size_total": 0, "items_left":
0, "items_total": 0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total":
0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}, "id": "54cf1bc0b2ff981e8887d9dc", "result":
"success"}, "error": null, "_id": {"$oid": "54cf1bc0962f40ae3501a3b4"}, "id":
"54cf1bc0b2ff981dcc440467"}'
string: ! '{"scratchpad": {}, "display_name": "integration_test_id", "description":
null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
{}, "_ns": "repos", "_id": {"$oid": "55f311b42601392fe482071c"}, "id": "integration_test_id",
"_href": "/pulp/api/v2/repositories/integration_test_id/"}'
http_version:
recorded_at: Mon, 02 Feb 2015 06:40:00 GMT
recorded_at: Fri, 11 Sep 2015 17:39:00 GMT
- request:
method: get
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/tasks/b9c628a7-0ac2-4d68-ad0a-9f37ab49af14/
method: post
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
body:
encoding: US-ASCII
string: ''
string: ! '{}'
headers:
Accept:
- application/json
......
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 02 Feb 2015 06:40:04 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
Content-Length:
- '662'
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
"_href": "/pulp/api/v2/tasks/b9c628a7-0ac2-4d68-ad0a-9f37ab49af14/", "task_id":
"b9c628a7-0ac2-4d68-ad0a-9f37ab49af14", "tags": ["pulp:repository:integration_test_id",
"pulp:action:delete"], "finish_time": "2015-02-02T06:40:04Z", "_ns": "task_status",
"start_time": "2015-02-02T06:40:04Z", "traceback": null, "spawned_tasks":
[], "progress_report": {}, "queue": "reserved_resource_worker-0@kt1.local.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@kt1.local",
"result": null, "error": null, "_id": {"$oid": "54cf1bc4962f40ae3501a3b5"},
"id": "54cf1bc4b2ff981dcc44046d"}'
http_version:
recorded_at: Mon, 02 Feb 2015 06:40:04 GMT
- request:
method: get
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/tasks/e39d8657-cca2-4740-8981-b6fc8ca956cb/
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
- '2'
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
code: 202
message: Accepted
headers:
Date:
- Tue, 03 Feb 2015 20:24:20 GMT
- Fri, 11 Sep 2015 17:39:00 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
- Apache/2.4.6 (CentOS)
Content-Encoding:
- utf-8
Content-Length:
- '2053'
- '172'
Connection:
- close
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.sync_with_auto_publish",
"_href": "/pulp/api/v2/tasks/e39d8657-cca2-4740-8981-b6fc8ca956cb/", "task_id":
"e39d8657-cca2-4740-8981-b6fc8ca956cb", "tags": ["pulp:repository:integration_test_id",
"pulp:action:sync"], "finish_time": "2015-02-03T20:24:20Z", "_ns": "task_status",
"start_time": "2015-02-03T20:24:20Z", "traceback": null, "spawned_tasks":
[], "progress_report": {"yum_importer": {"content": {"size_total": 0, "items_left":
0, "items_total": 0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total":
0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@kt1.local.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@kt1.local",
"result": {"importer_type_id": "yum_importer", "importer_id": "yum_importer",
"exception": null, "repo_id": "integration_test_id", "removed_count": 0, "started":
"2015-02-03T20:24:20Z", "_ns": "repo_sync_results", "completed": "2015-02-03T20:24:20Z",
"traceback": null, "summary": {"content": {"state": "FINISHED"}, "comps":
{"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state":
"FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 0, "error_message":
null, "updated_count": 14, "details": {"content": {"size_total": 0, "items_left":
0, "items_total": 0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total":
0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}, "id": "54d12e74b2ff9804eda030bf", "result":
"success"}, "error": null, "_id": {"$oid": "54d12e74db087ce12b11fd12"}, "id":
"54d12e74b2ff980faeab9f22"}'
http_version:
recorded_at: Tue, 03 Feb 2015 20:24:21 GMT
- request:
method: get
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/tasks/8ade7d17-7227-4d17-ba78-3330d4b6ae3f/
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 03 Feb 2015 20:24:23 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
Content-Length:
- '662'
Connection:
- close
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
"_href": "/pulp/api/v2/tasks/8ade7d17-7227-4d17-ba78-3330d4b6ae3f/", "task_id":
"8ade7d17-7227-4d17-ba78-3330d4b6ae3f", "tags": ["pulp:repository:integration_test_id",
"pulp:action:delete"], "finish_time": "2015-02-03T20:24:23Z", "_ns": "task_status",
"start_time": "2015-02-03T20:24:23Z", "traceback": null, "spawned_tasks":
[], "progress_report": {}, "queue": "reserved_resource_worker-0@kt1.local.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@kt1.local",
"result": null, "error": null, "_id": {"$oid": "54d12e77db087ce12b11fd13"},
"id": "54d12e77b2ff980faeab9f28"}'
string: ! '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/c3cff3e0-313d-4336-8179-1b0eeb8baa4b/",
"task_id": "c3cff3e0-313d-4336-8179-1b0eeb8baa4b"}], "result": null, "error":
null}'
http_version:
recorded_at: Tue, 03 Feb 2015 20:24:24 GMT
recorded_at: Fri, 11 Sep 2015 17:39:00 GMT
- request:
method: get
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/tasks/4064d9d2-3325-4682-a551-29c60fe9ceef/
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/tasks/c3cff3e0-313d-4336-8179-1b0eeb8baa4b/
body:
encoding: US-ASCII
string: ''
......
message: OK
headers:
Date:
- Tue, 23 Jun 2015 22:38:11 GMT
- Fri, 11 Sep 2015 17:39:01 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '2067'
- '1092'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
"_href": "/pulp/api/v2/tasks/4064d9d2-3325-4682-a551-29c60fe9ceef/", "task_id":
"4064d9d2-3325-4682-a551-29c60fe9ceef", "tags": ["pulp:repository:integration_test_id",
"pulp:action:sync"], "finish_time": "2015-06-23T22:38:10Z", "_ns": "task_status",
"start_time": "2015-06-23T22:38:10Z", "traceback": null, "spawned_tasks":
[], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state":
"FINISHED", "size_left": 0, "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total":
0, "drpm_done": 0}, "size_total": 0, "error_details": [], "items_left": 0},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@katello-kant.example.com.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@katello-kant.example.com",
"result": {"result": "success", "importer_id": "yum_importer", "exception":
null, "repo_id": "integration_test_id", "traceback": null, "started": "2015-06-23T22:38:10Z",
"_ns": "repo_sync_results", "completed": "2015-06-23T22:38:10Z", "importer_type_id":
"yum_importer", "error_message": null, "summary": {"content": {"state": "FINISHED"},
"comps": {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata":
{"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count":
0, "removed_count": 0, "updated_count": 14, "id": "5589dfd2f115fc7dd636bd3c",
"details": {"content": {"size_total": 0, "items_left": 0, "items_total": 0,
"state": "FINISHED", "size_left": 0, "details": {"rpm_total": 0, "rpm_done":
encoding: US-ASCII
string: ! '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
"_href": "/pulp/api/v2/tasks/c3cff3e0-313d-4336-8179-1b0eeb8baa4b/", "task_id":
"c3cff3e0-313d-4336-8179-1b0eeb8baa4b", "tags": ["pulp:repository:integration_test_id",
"pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
"2015-09-11T17:39:00Z", "traceback": null, "spawned_tasks": [], "progress_report":
{"yum_importer": {"content": {"size_total": 0, "items_left": 0, "items_total":
0, "state": "IN_PROGRESS", "size_left": 0, "details": {"rpm_total": 0, "rpm_done":
0, "drpm_total": 0, "drpm_done": 0}, "error_details": []}, "comps": {"state":
"FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED", "error_details":
[], "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata": {"state":
"FINISHED"}}}, "error": null, "_id": {"$oid": "5589dfd22812e3d33cf10021"},
"id": "5589dfd22812e3d33cf10021"}'
"NOT_STARTED"}, "distribution": {"items_total": 0, "state": "NOT_STARTED",
"error_details": [], "items_left": 0}, "errata": {"state": "NOT_STARTED"},
"metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@troy.usersys.redhat.com.dq",
"state": "running", "worker_name": "reserved_resource_worker-0@troy.usersys.redhat.com",
"result": null, "error": null, "_id": {"$oid": "55f311b4b10ecb3a07a0d01e"},
"id": "55f311b42601393080e4e48e"}'
http_version:
recorded_at: Tue, 23 Jun 2015 22:38:11 GMT
recorded_at: Fri, 11 Sep 2015 17:39:01 GMT
- request:
method: get
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/tasks/6c65170a-4a6b-4e10-a701-14850361a1bb/
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/tasks/c3cff3e0-313d-4336-8179-1b0eeb8baa4b/
body:
encoding: US-ASCII
string: ''
......
message: OK
headers:
Date:
- Tue, 23 Jun 2015 22:38:12 GMT
- Fri, 11 Sep 2015 17:39:01 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '692'
- '1089'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
"_href": "/pulp/api/v2/tasks/6c65170a-4a6b-4e10-a701-14850361a1bb/", "task_id":
"6c65170a-4a6b-4e10-a701-14850361a1bb", "tags": ["pulp:repository:integration_test_id",
"pulp:action:delete"], "finish_time": "2015-06-23T22:38:11Z", "_ns": "task_status",
"start_time": "2015-06-23T22:38:11Z", "traceback": null, "spawned_tasks":
[], "progress_report": {}, "queue": "reserved_resource_worker-0@katello-kant.example.com.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@katello-kant.example.com",
"result": null, "error": null, "_id": {"$oid": "5589dfd32812e3d33cf10025"},
"id": "5589dfd32812e3d33cf10025"}'
http_version:
recorded_at: Tue, 23 Jun 2015 22:38:12 GMT
- request:
method: get
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/repositories/integration_test_id/
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 404
message: NOT FOUND
headers:
Date:
- Tue, 23 Jun 2015 22:45:35 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Encoding:
- utf-8
Content-Length:
- '428'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '{"http_request_method": "GET", "exception": null, "error_message":
"Missing resource(s): repo=integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/?",
"http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repo":
"integration_test_id"}}, "description": "Missing resource(s): repo=integration_test_id",
"sub_errors": []}, "traceback": null, "resources": {"repo": "integration_test_id"}}'
http_version:
recorded_at: Tue, 23 Jun 2015 22:45:35 GMT
- request:
method: post
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/repositories/
body:
encoding: UTF-8
string: '{"id":"integration_test_id","importer_type_id":"yum_importer","importer_config":{"feed":"file:///var/www/repositories/zoo5"}}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '125'
User-Agent:
- Ruby
response:
status:
code: 201
message: CREATED
headers:
Date:
- Tue, 23 Jun 2015 22:45:35 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '319'
Location:
- https://katello-kant.example.com/pulp/api/v2/repositories/integration_test_id/
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '{"scratchpad": {}, "display_name": "integration_test_id", "description":
null, "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
{}, "_ns": "repos", "_id": {"$oid": "5589e190f115fc042e751db3"}, "id": "integration_test_id",
"_href": "/pulp/api/v2/repositories/integration_test_id/"}'
http_version:
recorded_at: Tue, 23 Jun 2015 22:45:36 GMT
- request:
method: post
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/
body:
encoding: UTF-8
string: '{}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '2'
User-Agent:
- Ruby
response:
status:
code: 202
message: ACCEPTED
headers:
Date:
- Tue, 23 Jun 2015 22:45:36 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Encoding:
- utf-8
Content-Length:
- '172'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/21e6d4c6-0b56-4d6a-9664-7bb2414d3bbc/",
"task_id": "21e6d4c6-0b56-4d6a-9664-7bb2414d3bbc"}], "result": null, "error":
null}'
string: ! '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
"_href": "/pulp/api/v2/tasks/c3cff3e0-313d-4336-8179-1b0eeb8baa4b/", "task_id":
"c3cff3e0-313d-4336-8179-1b0eeb8baa4b", "tags": ["pulp:repository:integration_test_id",
"pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time":
"2015-09-11T17:39:00Z", "traceback": null, "spawned_tasks": [], "progress_report":
{"yum_importer": {"content": {"size_total": 0, "items_left": 0, "items_total":
0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total": 0, "rpm_done":
0, "drpm_total": 0, "drpm_done": 0}, "error_details": []}, "comps": {"state":
"NOT_STARTED"}, "distribution": {"items_total": 3, "state": "IN_PROGRESS",
"error_details": [], "items_left": 0}, "errata": {"state": "NOT_STARTED"},
"metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@troy.usersys.redhat.com.dq",
"state": "running", "worker_name": "reserved_resource_worker-0@troy.usersys.redhat.com",
"result": null, "error": null, "_id": {"$oid": "55f311b4b10ecb3a07a0d01e"},
"id": "55f311b42601393080e4e48e"}'
http_version:
recorded_at: Tue, 23 Jun 2015 22:45:36 GMT
recorded_at: Fri, 11 Sep 2015 17:39:01 GMT
- request:
method: get
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/tasks/21e6d4c6-0b56-4d6a-9664-7bb2414d3bbc/
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/tasks/c3cff3e0-313d-4336-8179-1b0eeb8baa4b/
body:
encoding: US-ASCII
string: ''
......
message: OK
headers:
Date:
- Tue, 23 Jun 2015 22:45:36 GMT
- Fri, 11 Sep 2015 17:39:02 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '2067'
- '2065'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
"_href": "/pulp/api/v2/tasks/21e6d4c6-0b56-4d6a-9664-7bb2414d3bbc/", "task_id":
"21e6d4c6-0b56-4d6a-9664-7bb2414d3bbc", "tags": ["pulp:repository:integration_test_id",
"pulp:action:sync"], "finish_time": "2015-06-23T22:45:36Z", "_ns": "task_status",
"start_time": "2015-06-23T22:45:36Z", "traceback": null, "spawned_tasks":
[], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state":
"FINISHED", "size_left": 0, "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total":
0, "drpm_done": 0}, "size_total": 0, "error_details": [], "items_left": 0},
encoding: US-ASCII
string: ! '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync",
"_href": "/pulp/api/v2/tasks/c3cff3e0-313d-4336-8179-1b0eeb8baa4b/", "task_id":
"c3cff3e0-313d-4336-8179-1b0eeb8baa4b", "tags": ["pulp:repository:integration_test_id",
"pulp:action:sync"], "finish_time": "2015-09-11T17:39:01Z", "_ns": "task_status",
"start_time": "2015-09-11T17:39:00Z", "traceback": null, "spawned_tasks":
[], "progress_report": {"yum_importer": {"content": {"size_total": 0, "items_left":
0, "items_total": 0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total":
0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@katello-kant.example.com.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@katello-kant.example.com",
"result": {"result": "success", "importer_id": "yum_importer", "exception":
null, "repo_id": "integration_test_id", "traceback": null, "started": "2015-06-23T22:45:36Z",
"_ns": "repo_sync_results", "completed": "2015-06-23T22:45:36Z", "importer_type_id":
"yum_importer", "error_message": null, "summary": {"content": {"state": "FINISHED"},
"comps": {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata":
{"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count":
0, "removed_count": 0, "updated_count": 14, "id": "5589e190f115fc0506df7257",
"details": {"content": {"size_total": 0, "items_left": 0, "items_total": 0,
"state": "FINISHED", "size_left": 0, "details": {"rpm_total": 0, "rpm_done":
0, "drpm_total": 0, "drpm_done": 0}, "error_details": []}, "comps": {"state":
"FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED", "error_details":
[], "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata": {"state":
"FINISHED"}}}, "error": null, "_id": {"$oid": "5589e1902812e3d33cf103ff"},
"id": "5589e1902812e3d33cf103ff"}'
"metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@troy.usersys.redhat.com.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@troy.usersys.redhat.com",
"result": {"importer_type_id": "yum_importer", "importer_id": "yum_importer",
"exception": null, "repo_id": "integration_test_id", "removed_count": 0, "started":
"2015-09-11T17:39:00Z", "_ns": "repo_sync_results", "completed": "2015-09-11T17:39:01Z",
"traceback": null, "summary": {"content": {"state": "FINISHED"}, "comps":
{"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state":
"FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 0, "error_message":
null, "updated_count": 14, "details": {"content": {"size_total": 0, "items_left":
0, "items_total": 0, "state": "FINISHED", "size_left": 0, "details": {"rpm_total":
0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "error_details": []},
"comps": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state":
"FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"},
"metadata": {"state": "FINISHED"}}, "id": "55f311b5260139307e93eb7c", "result":
"success"}, "error": null, "_id": {"$oid": "55f311b4b10ecb3a07a0d01e"}, "id":
"55f311b42601393080e4e48e"}'
http_version:
recorded_at: Tue, 23 Jun 2015 22:45:36 GMT
recorded_at: Fri, 11 Sep 2015 17:39:02 GMT
- request:
method: delete
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/repositories/integration_test_id/
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/repositories/integration_test_id/
body:
encoding: US-ASCII
string: ''
......
response:
status:
code: 202
message: ACCEPTED
message: Accepted
headers:
Date:
- Tue, 23 Jun 2015 22:45:37 GMT
- Fri, 11 Sep 2015 17:39:03 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Encoding:
......
Content-Type:
- application/json
body:
encoding: UTF-8
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/9615ddc3-fcc1-4db7-a463-34ee76e0eafd/",
"task_id": "9615ddc3-fcc1-4db7-a463-34ee76e0eafd"}], "result": null, "error":
encoding: US-ASCII
string: ! '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/2d5117ea-c1b3-4979-8b17-b5440ab687a5/",
"task_id": "2d5117ea-c1b3-4979-8b17-b5440ab687a5"}], "result": null, "error":
null}'
http_version:
recorded_at: Tue, 23 Jun 2015 22:45:37 GMT
recorded_at: Fri, 11 Sep 2015 17:39:03 GMT
- request:
method: get
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/tasks/9615ddc3-fcc1-4db7-a463-34ee76e0eafd/
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/tasks/2d5117ea-c1b3-4979-8b17-b5440ab687a5/
body:
encoding: US-ASCII
string: ''
......
message: OK
headers:
Date:
- Tue, 23 Jun 2015 22:45:37 GMT
- Fri, 11 Sep 2015 17:39:03 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '692'
- '690'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
"_href": "/pulp/api/v2/tasks/9615ddc3-fcc1-4db7-a463-34ee76e0eafd/", "task_id":
"9615ddc3-fcc1-4db7-a463-34ee76e0eafd", "tags": ["pulp:repository:integration_test_id",
"pulp:action:delete"], "finish_time": "2015-06-23T22:45:37Z", "_ns": "task_status",
"start_time": "2015-06-23T22:45:37Z", "traceback": null, "spawned_tasks":
[], "progress_report": {}, "queue": "reserved_resource_worker-0@katello-kant.example.com.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@katello-kant.example.com",
"result": null, "error": null, "_id": {"$oid": "5589e1912812e3d33cf10403"},
"id": "5589e1912812e3d33cf10403"}'
encoding: US-ASCII
string: ! '{"exception": null, "task_type": "pulp.server.tasks.repository.delete",
"_href": "/pulp/api/v2/tasks/2d5117ea-c1b3-4979-8b17-b5440ab687a5/", "task_id":
"2d5117ea-c1b3-4979-8b17-b5440ab687a5", "tags": ["pulp:repository:integration_test_id",
"pulp:action:delete"], "finish_time": "2015-09-11T17:39:03Z", "_ns": "task_status",
"start_time": "2015-09-11T17:39:03Z", "traceback": null, "spawned_tasks":
[], "progress_report": {}, "queue": "reserved_resource_worker-0@troy.usersys.redhat.com.dq",
"state": "finished", "worker_name": "reserved_resource_worker-0@troy.usersys.redhat.com",
"result": null, "error": null, "_id": {"$oid": "55f311b7b10ecb3a07a0d022"},
"id": "55f311b72601393080e4e495"}'
http_version:
recorded_at: Tue, 23 Jun 2015 22:45:37 GMT
recorded_at: Fri, 11 Sep 2015 17:39:03 GMT
recorded_with: VCR 2.9.3

Also available in: Unified diff