diff --git a/README.md b/README.md index bf1ce48d..54e33004 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Exposing Pulp's juiciest parts. http://www.pulpproject.org/ -Latest Live Tested Version: **pulp-server-2.17.0-0.1.beta.el7.noarch** +Latest Live Tested Version: **pulp-server-2.19.0-0.1.alpha.201811111308gitcaafaee.el7.noarch** Current stable Runcible: https://github.com/Katello/runcible/tree/0.3 diff --git a/lib/runcible/extensions/consumer.rb b/lib/runcible/extensions/consumer.rb index 9a9183e6..f47e2d78 100644 --- a/lib/runcible/extensions/consumer.rb +++ b/lib/runcible/extensions/consumer.rb @@ -154,6 +154,14 @@ def applicable_rpms(ids) applicable_for_type(ids, Runcible::Extensions::Rpm.content_type) end + # Retrieve the set of modules that are applicable to a consumer(s) + # + # @param [String, Array] ids string containing a single consumer id or an array of ids + # @return [RestClient::Response] content applicability hash with details of modules available to consumer(s) + def applicable_module_streams(ids) + applicable_for_type(ids, Runcible::Extensions::Module.content_type) + end + private def applicable_for_type(ids, type) diff --git a/test/extensions/consumer_test.rb b/test/extensions/consumer_test.rb index b374109c..05782023 100644 --- a/test/extensions/consumer_test.rb +++ b/test/extensions/consumer_test.rb @@ -117,6 +117,12 @@ def test_applicable_rpms assert_equal 200, response.code end + + def test_applicable_module_streams + response = @extension.applicable_module_streams([@consumer_id]) + + assert_equal 200, response.code + end end class TestConsumerApplicabilityScenario < MiniTest::Unit::TestCase @@ -151,6 +157,48 @@ def test_applicability refute_empty applicability[0]['applicability']['erratum'] end + def test_non_modular_applicability + # given kangaroo rpm is part of kangaroo module + # and that kangaroo module is not enabled + # make sure no rpms are determined as applicable + + @extension.upload_profile(@consumer_id, 'rpm', [{'name' => 'kangaroo', 'version' => '0.2', 'release' => '1', + 'epoch' => 0, 'arch' => 'noarch', 'vendor' => 'Fedora'}]) + task = @extension.regenerate_applicability_by_ids([@consumer_id]) + RepositorySupport.new.wait_on_response(task) + assert_empty @extension.applicable_rpms([@consumer_id])[0]["applicability"]["rpm"] + assert_empty @extension.applicable_module_streams([@consumer_id])[0]["applicability"]["modulemd"] + assert_empty @extension.applicable_errata([@consumer_id])[0]["applicability"]["erratum"] + end + + def test_modular_applicability + # given kangaroo rpm is part of kangaroo module + # and that kangaroo module is enabled + # make sure rpms are determined as applicable + # now enable the kangaroo module on the consumer and retry + @extension.upload_profile(@consumer_id, 'modulemd', [{'name' => 'kangaroo', 'stream' => '0', + 'version' => '20180730223407', + 'context' => "deadbeef", 'arch' => 'noarch'}]) + + @extension.upload_profile(@consumer_id, 'rpm', [{'name' => 'kangaroo', 'version' => '0.2', 'release' => '1', + 'epoch' => 0, 'arch' => 'noarch', 'vendor' => 'Fedora'}]) + + task = @extension.regenerate_applicability_by_ids([@consumer_id]) + RepositorySupport.new.wait_on_response(task) + applicable_rpms = @extension.applicable_rpms([@consumer_id]) + applicable_module_streams = @extension.applicable_module_streams([@consumer_id]) + refute_empty applicable_rpms[0]["applicability"]["rpm"] + refute_empty applicable_module_streams[0]["applicability"]["modulemd"] + + # # note: kangaroo 0.3 rpm is part of kangaroo:0 stream, + # # and Duck_Kangaro_Erratum + # # so we would expect to see an errata also + applicability = @extension.applicable_errata([@consumer_id]) + refute_empty applicability + assert applicability[0]['consumers'].include?(@consumer_id) + refute_empty applicability[0]['applicability']['erratum'] + end + def bind_repo tasks = @extension.bind_all(@consumer_id, RepositorySupport.repo_id, Runcible::Models::YumDistributor.type_id, :notify_agent => false) diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/activate_node.yml b/test/fixtures/vcr_cassettes/extensions/consumer/activate_node.yml index 837de730..06b33acb 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/activate_node.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/activate_node.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,11 +111,11 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '2541' + - '2545' Location: - "/pulp/api/v2/consumers/integration_test_consumer_support/" Content-Type: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b87629bd6cc06041e66e6f2"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b6fb1b5b8804458ab3b5"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICWwIBAAKBgQDHwYs7JRfUPR0VUR4L7qCaNaxqnDA2SMgc1Nebk+hp3CbaJ8BU\n51Jnlrmvn7kUn3eCBCc0T40Jde2DDOifD9eHa/a+xOfbpXovihfDTdZAR8+gJ18x\nMiZazN8uS0tYvyEcIvGlYLgbvvVPBHYApIMbS4AivWnoWUZrx0SiL+wshwIDAQAB\nAoGASr1e4+VQEig/nn84V8yUKL7WYRlJbLY0sZztgxeHSTyHCO8ApoPasEmT9mMz\ns8SqyWnWZVsycQy/rl4BF6qswCN8Za2Dn2jOo7YiGZMLdL29Cic/4C1sBjLgZZvM\nX5g84YmZJNIPYVzlioa6eLIH9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CtO729G+pY/PCkpwR72PQcHfCzAGThcpBKg1eIBX3sJIIS\n0qoobTfaVZXpmaimkUjopx3SkYIHTmPzS8O8unBnlv+HCyK218CdSrcMFxb2PnPA\nceMupEbKF0yiOIUqLgo3Hpy4FGuikueXeuxpB+Rsa8janmEJC9nuH+nggabBEOeK\nMGvu64b57eyrnpSDj7LcX2/SrnLwdgq+G58pUsRuh/z792cabZGI+RWDa0f1Si8N\n6/tgSuk9uAVD1KbfNtyg2+Hi2QtnZYIyIz029IzCiGcKqMaO3Xf+TVM8jolmlz0F\nqUXCCqAx8hzAKZ4AyRnlr/GukJKpf0I9sSvHkDdd8qjNHfuMZ1uG/cilWvmzLNLJ\nqpiJL4Ia3rJxYotcB1tU5qsdeWMN/eZjLi9DlCDBXZ2PKdL8mk+hly53ZN4uQLG7\n8bGLbYEi+FcrXNq3J4umAReSlVTbEZSMclNin3WFA8DRsWO5dZRJg6VOIOHqoHde\nJ0DYdSv72hhFjduAOKcGEYFnTSdfFTki3mb42GNRF0YT/Ou0vl6OKQGCN0TX1Jdn\nHNcUegNydui1djmg42HjRk7ZpZKsjhjjfxsq5VKDy1EHSVNR8qke+R7fO5im/Ih8\nJ7zikFBYnOqN4TKrHn7zQ//g80yeRG5CC/YM0Yzgq6EXLfDqSpdNt0pgGIrcgw==\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b87629bd6cc060423aae2e1"}, "id": "5b87629bd6cc060423aae2e1"}' + "_id": {"$oid": "5bf4b6fb1b5b8804458ab3b7"}, "id": "5bf4b6fb1b5b8804458ab3b7"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b87629bd6cc060423aae2e3"}, "id": - "5b87629bd6cc060423aae2e3"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fc1b5b88043c4c287e"}, "id": + "5bf4b6fc1b5b88043c4c287e"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: put - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: UTF-8 string: '{"delta":{"notes":{"_child-node":true,"_node-update-strategy":"additive"}}}' @@ -290,13 +290,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '75' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -305,7 +305,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -318,13 +318,13 @@ http_interactions: encoding: ASCII-8BIT string: '{"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {"_node-update-strategy": "additive", "_child-node": - true}, "rsa_pub": null, "capabilities": {}, "_id": {"$oid": "5b87629bd6cc06041e66e6f2"}, + true}, "rsa_pub": null, "capabilities": {}, "_id": {"$oid": "5bf4b6fb1b5b8804458ab3b5"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -334,11 +334,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -347,7 +347,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -358,5 +358,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/applicable_errata.yml b/test/fixtures/vcr_cassettes/extensions/consumer/applicable_errata.yml index b835049d..55c845ee 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/applicable_errata.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/applicable_errata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,7 +111,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b876296d6cc060423aae2be"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b7011b5b88043c4c289b"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXgIBAAKBgQCnKyEJwWqRGr4tLK0InxlmQIW5bAwZn2qkqjt4DUtxJgjLIXPb\nWEVay8+wO5fmkAHohYsXiWTiV1jBuJTSYWX53jzRw0JrCIYhtZb8c402qQZizjoc\niwESv+CkX3A8T+2jJ5ekwpJHz1WpA8diTVFYet0g3eXVCR/6MBJndGFkswIDAQAB\nAoGBAKJZoJx426ZQ8qGs4d+dpG1J/JU3+ghoaonBSkAtqTcaWS/uLTa5Y6Hqjqn5\nNm0VLsVD7PHO3ct0SR7axK4NKZsP3gTLCxTq7OQSOL+gc1Hh2LW5IO6SOuutZ0uz\n1757wujuF+JgZzmOiAN8OIUwd7LpMxowxlpq+/YpJwgQYIYBAkEA1OrtvVVXQ94T\nWEM4kXEHFVkGnSytW7CYuoZxMw//AVltAiD7gIe0dsBLrxPV86oze6oE5UjGssrR\nSU6EJ1/bWQJBAMj+Z6el5uOq9MFYlZNktA+Ujawigu3DjMdeFr+amWIjDvNkk2id\ndKBEdqtWfJyX8YKWEm5hCHnEGfNjzXR8GusCQQCQRSuYShZaV0T2Xn4bFuI81dkE\ncTx6T3v9j5Fujx00VdrmQWEJY2qluIDP/fnQJHjEB51Pm3N/vKv5Jymm4G3pAkBm\nzG9ZeGmpwbMi/FqsIxJQ8aqwAoqybpSfF0lNQBX48nNgGu2l0PpoSfvjz/013iSg\npH7Sw4AhPyICsOXREPR3AkEArpPEh8OmFkQmHhpi+fBmy1UYFErbxUJthKpal6Uq\nNO3sbShmgctvFPF9UM2oN3XTbdBEO0dvqKiue/Xv4AkTCw==\n-----END - RSA PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\nMIIDijCCAXICEQCDY6pYYNZMkqdFLdpPcMMjMA0GCSqGSIb3DQEBBQUAMDQxIzAh\nBgNVBAMMGmFscGhhLnBhcnRlbGxvLmV4YW1wbGUuY29tMQ0wCwYDVQQKDARQVU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nRIXnAJtREUgwKpP1k+KXJZd39szN/a8rIV+nrZTs3hJFpbFkLzGwYvJgc4K3BA==\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b876297d6cc060423aae2c0"}, "id": "5b876297d6cc060423aae2c0"}' + "_id": {"$oid": "5bf4b7011b5b8804458ab3d0"}, "id": "5bf4b7011b5b8804458ab3d0"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:10 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:10 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b876297d6cc060423aae2c2"}, "id": - "5b876297d6cc060423aae2c2"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b7021b5b8804458ab3d2"}, "id": + "5bf4b7021b5b8804458ab3d2"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:10 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/content/applicability/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ body: encoding: UTF-8 string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["erratum"]}' @@ -290,13 +290,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '105' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -305,7 +305,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:10 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -316,13 +316,13 @@ http_interactions: - application/json; charset=utf-8 body: encoding: ASCII-8BIT - string: '[{"applicability": {"erratum": ["b9f25e8d-c728-4f36-949a-3b1bf3f68691"]}, + string: '[{"applicability": {"erratum": ["6eaf5d4a-ce89-4ed5-ac32-4d673fcd19ab"]}, "consumers": ["integration_test_consumer_support"]}]' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:10 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -332,11 +332,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -345,7 +345,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:10 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -356,5 +356,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:10 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/applicable_module_streams.yml b/test/fixtures/vcr_cassettes/extensions/consumer/applicable_module_streams.yml new file mode 100644 index 00000000..876b4161 --- /dev/null +++ b/test/fixtures/vcr_cassettes/extensions/consumer/applicable_module_streams.yml @@ -0,0 +1,359 @@ +--- +http_interactions: +- request: + method: delete + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 404 + message: Not Found + headers: + Date: + - Wed, 21 Nov 2018 01:38:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '513' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"http_request_method": "DELETE", "exception": null, "error_message": + "Missing resource(s): consumer=integration_test_consumer_support", "_href": + "/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": + 404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, + "description": "Missing resource(s): consumer=integration_test_consumer_support", + "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT +- request: + method: delete + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 404 + message: Not Found + headers: + Date: + - Wed, 21 Nov 2018 01:38:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '513' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"http_request_method": "DELETE", "exception": null, "error_message": + "Missing resource(s): consumer=integration_test_consumer_support", "_href": + "/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": + 404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, + "description": "Missing resource(s): consumer=integration_test_consumer_support", + "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ + body: + encoding: UTF-8 + string: '{"id":"integration_test_consumer_support"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '42' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 201 + message: CREATED + headers: + Date: + - Wed, 21 Nov 2018 01:38:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '2545' + Location: + - "/pulp/api/v2/consumers/integration_test_consumer_support/" + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"consumer": {"display_name": "integration_test_consumer_support", + "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": + {}, "_id": {"$oid": "5bf4b7001b5b880441544f6f"}, "id": "integration_test_consumer_support", + "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": + "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQDCOs/YHKknhjq8/L6/OXBFaIhb8kpAmuKi7uLqCHIHWD+Mp84O\nNHFciQgzJ/DLHegscBhFEND6SNudCLreqtBZmmQszlRedJ4G46xVK94Sd7yBRB3h\nzExDyHap7UtzQXr9GmErepGooUqA2dAydOVlB6KCCGlO5nIjOW7w+jUOgwIDAQAB\nAoGAVfF+HIt6EeIkRZG0uZqp4hyCEeVhE7s1Q5Fe2N3JzxQucoeh9skfzCladoBa\n3RWrsVYcdxsczVLF0nOVdIeyzt2Lys0hS39OFUM4NlDLEqF/39JJ6QFxbmiAVyfU\nBb/0vLoaG3Xow/c+tSfSyq7fBb7c0ip/5zjh3hB8ftCAMxkCQQDry7ZMjc4NlVN2\nYwWDhyn/8KUDr+tGyw9Qyi/+lxnv4+UZnVVOvA5oJupiRv75TO1c9BOdcO3CCcDa\n8n8RxiQPAkEA0t9UhS6u+hw/6Umdi8cf3eLsv+OVS/y1XTW+g8wSuyidkgVDkzvE\nyovMJ0p3NFtqybBR+vqfy6/I4l6u+HJqTQJBALWym35wQ1i6Ob9fXI9W52lewXmO\n5Oj/boTd2JABVa5CWXccgvER/rQJUNF8TdxDiCD5v+exbrT4GRFejcZffccCQQCu\nNFuBrwBUlRPjaLJjb/wOdVJ6b8u9u6Yku6qI/QUYYsRRhlG+B2lansToTKdPtJny\nxtvjCDsMrUq6X9gSXYsdAkBDOZloSaCHdlMyYyuk5eGHqS3KP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Y5gR3WBBC2Bt\ne7tYoqD9pLkUWF8W7JXxkGjAMc0GJLfto0B8Tx/R1g7r3lYOtcCof+HbCaKrsV4F\nBlUlgpRzx935TFjhlIOUjNE+GQVssi7D4g/zrzGGtd5GB6y7SotYF3ouMJVi5opw\nY5UIZVVMgNtPsX5T3qZhZo1oph8d+qkiXJmY71UJbCf6HsrSEtdxFIZF7Ell+PaC\neJql5771QzN0puZ7OUhStr1b/meGYdXiayZiZ4nT2x4jbrLLy8MNMD2QHUwe4A==\n-----END + CERTIFICATE-----"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + body: + encoding: UTF-8 + string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '130' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 201 + message: CREATED + headers: + Date: + - Wed, 21 Nov 2018 01:38:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '475' + Location: + - "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/" + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"profile": [{"vendor": "Fedora", "name": "elephant", "epoch": 0, "version": + "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", + "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", + "consumer_id": "integration_test_consumer_support", "content_type": "rpm", + "_id": {"$oid": "5bf4b7001b5b88043c4c2899"}, "id": "5bf4b7001b5b88043c4c2899"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1478' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", + "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", + "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", + "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": + 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": + 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": + "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": + 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + body: + encoding: UTF-8 + string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '82' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '358' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": + "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": + "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": + [], "binding_config": {}, "_id": {"$oid": "5bf4b7001b5b8804458ab3c1"}, "id": + "5bf4b7001b5b8804458ab3c1"}, "error": null}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["modulemd"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '106' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '89' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"modulemd": []}, "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT +- request: + method: delete + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:09 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '4' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: 'null' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT +recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/applicable_rpms.yml b/test/fixtures/vcr_cassettes/extensions/consumer/applicable_rpms.yml index 4bf7846c..edb0765e 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/applicable_rpms.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/applicable_rpms.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,11 +111,11 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '2541' + - '2545' Location: - "/pulp/api/v2/consumers/integration_test_consumer_support/" Content-Type: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b876299d6cc06041d38e562"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b6fa1b5b88043c4c287c"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICWwIBAAKBgQC2btVZXJE7l5pmu9wCYZ8BzjThQXuHZ0/uFrO8t25Mz13upiXq\nYeYBY3hH6PmCHL9GkgxO5HB4v+0sfEhp6dpOrIL/kzeeTE6DFMkDkmTAPyNG5pd7\nvoYhFi2I2LYZ3W4Lv6zOLTn4dlvxr61k5gNXn3Qq2DgOYioQMar1axi6wwIDAQAB\nAoGAVX6he2x3H39Pu5+EXpVTSCxT+dCPTIhtG/4Fo4YvKc3wjlvM3wecG8B66PBU\npdZFCZR+Mia6UsxXIQbphME0LenoyGcwbbwJMfiwjlHCuaIWz1JhX/exSPT0De47\nI3ow0ROOptbALpev4CcXoAJIaLXnCMfu2ZYZ9x4YDGmI80kCQQDd2GAceve11mRG\nCZXVDuuYPzGEHwPLhj+FvaE3doZ1eGeRzAIRXGz9Yn4odEI1u+kbvy/J36THdcHG\nN5OMA049AkEA0oUYV3Kms1n0f7mxpwWAMUs2QdlYl20zWxmRxk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VB5EPKhrBcXdFS\ny04aDn6o/oqw3dd6szbnjxm490E+CB34uENNm+KuoHGQdSx0eS0bh9kaEVXmQwDr\n5lPYuqMg2ca1XaHyv3Uyx0Sz2ZmXN5O9D5Q9muy+bavIVOfazFPqwRSv3WwkWaDm\nzIBnWWrUDFtTmET8ZSF1crwzLDGV24koQ6SRBfUdsOOl8HP/aZKg8E48yB+fOyMu\nvAZgXjnGhPHjQpNpK7Dg/tYoywZRB7+SKVPaGZmRc37wKrzKF8Tbw1SSJ+qUXdoO\nthix4ikArOIICfPCMdwghZwULZIlLz6c5zZPeoD8Qe0z3/ESbF9hgZFhytAaOF/U\nNBH6CpxsbWctHVeME/AHbDMlwZ5G6OvVfe8kgShvFk1uiuioROjDpBupBNAYxncI\nXYJ2i6sdqWMwleGQGofuWZfqWgBvX6f90GnSz5rWaXdkUxbBaSQyWdcP61yV52SJ\nX25Yg5efOpmupsbf1M263OPjugwVgqg94+bAPHwVgBJ+OH9V0YPw1lFHUHHR3g==\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b876299d6cc06041d38e564"}, "id": "5b876299d6cc06041d38e564"}' + "_id": {"$oid": "5bf4b6fa1b5b880441544f53"}, "id": "5bf4b6fa1b5b880441544f53"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b87629ad6cc06041d38e566"}, "id": - "5b87629ad6cc06041d38e566"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fa1b5b880441544f55"}, "id": + "5bf4b6fa1b5b880441544f55"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/content/applicability/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ body: encoding: UTF-8 string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["rpm"]}' @@ -290,13 +290,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '101' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -305,7 +305,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -316,13 +316,13 @@ http_interactions: - application/json; charset=utf-8 body: encoding: ASCII-8BIT - string: '[{"applicability": {"rpm": ["0bc53dc3-2cec-4ff9-a22f-6ccc552b0488"]}, + string: '[{"applicability": {"rpm": ["21509f7b-9618-4017-b632-5b32a294a5b0"]}, "consumers": ["integration_test_consumer_support"]}]' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -332,11 +332,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -345,7 +345,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -356,5 +356,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/bind_all.yml b/test/fixtures/vcr_cassettes/extensions/consumer/bind_all.yml index 57ccff40..e8f93bb2 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/bind_all.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/bind_all.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:06 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:06 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:06 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:06 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,11 +111,11 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:06 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '2545' + - '2549' Location: - "/pulp/api/v2/consumers/integration_test_consumer_support/" Content-Type: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b87629ad6cc060423aae2d9"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b6fe1b5b88043c4c2884"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDC1drnHJjK2M2WZpTNwEo1F7mJwpoQiJ69lBe3HqFC/7vxpAt5\nHmWmTG9whdcZLD+2BX2mDS2s8AcoFCVLtenH2juJ96dT/yggEB3UGlkJEqXAWGnW\n5CxPAlm0JeQ0cwkxHCIpS2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/SykhqIYEpS2YazHKEE3OYVRPcPofD5gy66JtsBPJDY9c0phFGEjYCP6\nfbI9EJVJGVVXP+q6sWdBawCoKSvOx9obiQKsQ6JKp78HbTOGEfvdllmN5PO79klz\nTIUx0nUVOh47p+0ugUeFsH7Wl77TAY8ur//6iexHCFAhFlGRXwIDAQABMA0GCSqG\nSIb3DQEBBQUAA4ICAQClYaFvNcEiSUj4CQZfMm78CR/XAR+pDOqY+1BE/smFagXu\nBdHomzdXiuphb5PyEQWF8DBxZuMrxVvlVt7jdBGvoCMz3iXatyP+CV65KJoYZGNt\nMzrjNGxee3fHaGVfJttLIZrEazZZPTV3zmyF6qIjA9cyaoOxRDDVzHYoZ40bjqaP\nQY9vjbrfHtLmRiK8uMc7BKwCi1ZH61Eeenc/b6Yi65MlrITNg12116IalsXRjzxW\nfIzWFBZRc6eH2cZsFXn8Cjle7B3z0U2L/fkoJJ59x1pNbTr7MZ2NBmZihUZoLNbC\nmtomEiI8e4IR28Y7QPe2Cn8aFFtaq0lw/3zXeYOBSluot3rM21M3Hm8lkFS8oRgG\nVZX/sOhyaAyxg/5M8ZuYT3wLeVMXPb5PJ7OJyCByyPsWtvG2UfxpUfay1ecc2Tzg\nsUH+dfujle9HhjKt6ZAYNG8B4Y2XeF7CvW92WpK+TJhVPGwLDyf6YWWgQ9wKsjzn\ng7waB+y3AAzm2K0tkgWEHsukREXW9Vd4LaIO2eMBwDqDbVZ6v4qIGRwQC+3ZQSJW\ndQZJsKzaH6VMMMjfDjh4GOjAc5t3Zs+4rIuaGgAN2hy5ylni5LKQJ45LyEzhyYCl\nFEZc9gLpuX6I6k4SAtmulXmF5FIeWMx85sBpkFjEfKregm5iraU6HBUof1MMxw==\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:06 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:06 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b87629ad6cc060423aae2db"}, "id": "5b87629ad6cc060423aae2db"}' + "_id": {"$oid": "5bf4b6fe1b5b88043c4c2886"}, "id": "5bf4b6fe1b5b88043c4c2886"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:06 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:06 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:06 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:06 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b87629ad6cc060423aae2dd"}, "id": - "5b87629ad6cc060423aae2dd"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fe1b5b8804458ab3bf"}, "id": + "5bf4b6fe1b5b8804458ab3bf"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:06 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -290,11 +290,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -303,11 +303,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:06 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -318,26 +318,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/ body: encoding: US-ASCII string: '' @@ -347,11 +347,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -360,7 +360,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -374,13 +374,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b87629ad6cc060423aae2dd"}, "id": - "5b87629ad6cc060423aae2dd"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fe1b5b8804458ab3bf"}, "id": + "5bf4b6fe1b5b8804458ab3bf"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -390,11 +390,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -403,11 +403,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -418,26 +418,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -447,13 +447,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -462,7 +462,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -476,13 +476,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b87629ad6cc06041e66e6ee"}, "id": - "5b87629ad6cc06041e66e6ee"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6ff1b5b880441544f69"}, "id": + "5bf4b6ff1b5b880441544f69"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -492,11 +492,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -505,7 +505,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -516,5 +516,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/deactivate_node.yml b/test/fixtures/vcr_cassettes/extensions/consumer/deactivate_node.yml index 48462826..fc120e29 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/deactivate_node.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/deactivate_node.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,7 +111,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b876299d6cc06041d38e55e"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b6fc1b5b880441544f5a"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQD6A2XQzZaM1n219Hq47OhnGS9Xut4CmbSu6LaeuuRr1Tf8J5J2\n0sfjJy9zdyTTbGvli01ERkowhFyVyoDuLlPXKHlSkvQc1DAcZx13M1tu7hdpzB4z\nhoL1K80ZQmHMBwMUWdft0PXhLocpPkzMAtf5v4wQujTkOdEYb3EFDJrkpwIDAQAB\nAoGBAKr1U9P6IS5hJUkcyiZV6X1GXXcyEsnYbRMFkorr5XJPNJ86OA8EhyavDuV3\n3TitdQJbxRQgtG6EtALBnHRCPZUS3BNZSjAFPnWupBYeY3AJDVuqBC5/+DmmJz0U\nGHMRHNU+/Ix6t8BLuFBgjczFMRag2G5cA6W91FNCUL74zpHhAkEA/YhS9qHriMPn\nWnKSIaPS4iTvNf40hxPcnxARj08EBqdELnsDRPSmR6tpa8zgKQ9Y5yw5No7ErPVq\nOb3sYZEMXwJBAPxyTjIGh1nZhxvl/fM85CWlPeOTcVmJ73aaZNQYJPUslIU+nsHz\nzMd7WyPj8IptLBUDIew4z2sS8s1DfVYbjLkCQDCB87Wid0kcilhA0XrEOGXyQR5o\ne65Ye36neWSc7p1DRYVLHe4EjQfrYOkyMrVIbW8VhADPQgwBjIhtsRtdwCsCQQD7\ngbIwGtsMhDEcdWYtyNOQQfHH4qSCTW863ZVozWk8rp6FpZ6rowa5E0f5GOYUM7JA\neO96FhtoFOe74upjOG1ZAkBVnd2uP7thdrnUmy9a4srxjVctnKtXNZuGWAPRfvtN\nRelOagr3jyP0JpV/Ez1YGmH2WbTeYSjxxpuKyCoouLjG\n-----END - RSA PRIVATE KEY-----\n-----BEGI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Uw1thUt\nXnVjy8Vwb3NANNzMJPipNqgHHSrDVc9EWFLmnJqivWSHtMHuaj3FqkP5LxYUqL3H\nEztanWEK7f5sMMLytl+GJyxIDk9DXdnVMJyCgOwqJfVPbX5Gc6JGlMVDC4rEVIqF\n93/9+UVUMC3Jgt9uhIse9aprnXcXr5KEF7Vc7FbmUtZb3HyDYFvEnnbviYSD\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b876299d6cc06041d38e560"}, "id": "5b876299d6cc06041d38e560"}' + "_id": {"$oid": "5bf4b6fc1b5b880441544f5c"}, "id": "5bf4b6fc1b5b880441544f5c"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b876299d6cc060423aae2d3"}, "id": - "5b876299d6cc060423aae2d3"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fc1b5b880441544f5e"}, "id": + "5bf4b6fc1b5b880441544f5e"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: put - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: UTF-8 string: '{"delta":{"notes":{"_child-node":true,"_node-update-strategy":"additive"}}}' @@ -290,13 +290,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '75' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -305,7 +305,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -318,13 +318,13 @@ http_interactions: encoding: ASCII-8BIT string: '{"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {"_node-update-strategy": "additive", "_child-node": - true}, "rsa_pub": null, "capabilities": {}, "_id": {"$oid": "5b876299d6cc06041d38e55e"}, + true}, "rsa_pub": null, "capabilities": {}, "_id": {"$oid": "5bf4b6fc1b5b880441544f5a"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: put - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: UTF-8 string: '{"delta":{"delta":{"notes":{"child-node":null,"update_strategy":null}}}}' @@ -334,13 +334,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '72' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -349,7 +349,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -362,13 +362,13 @@ http_interactions: encoding: ASCII-8BIT string: '{"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {"_node-update-strategy": "additive", "_child-node": - true}, "rsa_pub": null, "capabilities": {}, "_id": {"$oid": "5b876299d6cc06041d38e55e"}, + true}, "rsa_pub": null, "capabilities": {}, "_id": {"$oid": "5bf4b6fc1b5b880441544f5a"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -378,11 +378,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -391,7 +391,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -402,5 +402,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/generate_applicability_by_ids.yml b/test/fixtures/vcr_cassettes/extensions/consumer/generate_applicability_by_ids.yml index f8caaf02..09d95375 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/generate_applicability_by_ids.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/generate_applicability_by_ids.yml @@ -191,8 +191,8 @@ http_interactions: http_version: recorded_at: Thu, 30 Aug 2018 03:20:13 GMT - request: - method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + method: get + uri: https://alpha.partello.example.com/pulp/api/v2/tasks/ec117fbf-d5ed-4c49-9f42-b4dfff25574f/ body: encoding: US-ASCII string: '' @@ -209,13 +209,258 @@ http_interactions: - alpha.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 30 Aug 2018 03:21:00 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"7cba7e065c49ef871abdacbe3a74fab8-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/ec117fbf-d5ed-4c49-9f42-b4dfff25574f/", "task_id": + "ec117fbf-d5ed-4c49-9f42-b4dfff25574f", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-08-30T03:21:00Z", "_ns": "task_status", "start_time": + "2018-08-30T03:21:00Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5b87629c04b1e079c02f55a5"}, + "id": "5b87629c04b1e079c02f55a5"}' + http_version: + recorded_at: Thu, 30 Aug 2018 03:21:00 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/7f1a4ee7-4a9b-4f9f-98c4-fc70423a3580/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:31 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"fd0fc35dd0b69daa04f861858ecae2ed-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/7f1a4ee7-4a9b-4f9f-98c4-fc70423a3580/", "task_id": + "7f1a4ee7-4a9b-4f9f-98c4-fc70423a3580", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:28:30Z", "_ns": "task_status", "start_time": + "2018-11-21T01:28:30Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b4be4669e863061ed387"}, + "id": "5bf4b4be4669e863061ed387"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:31 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/221e0bcb-bce3-4aa8-a98e-e71d9e70af1c/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:33:52 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"7e956cb27556477fde2bc150d202bcaf-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/221e0bcb-bce3-4aa8-a98e-e71d9e70af1c/", "task_id": + "221e0bcb-bce3-4aa8-a98e-e71d9e70af1c", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:33:51Z", "_ns": "task_status", "start_time": + "2018-11-21T01:33:51Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b5ff4669e863061eed1a"}, + "id": "5bf4b5ff4669e863061eed1a"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:33:52 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/98a6e5a9-6670-4abe-b2d4-c3a77457c834/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:34:55 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"55f39032c3abd190628fd363aa8e38fe-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/98a6e5a9-6670-4abe-b2d4-c3a77457c834/", "task_id": + "98a6e5a9-6670-4abe-b2d4-c3a77457c834", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:34:54Z", "_ns": "task_status", "start_time": + "2018-11-21T01:34:54Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b63e4669e863061efee6"}, + "id": "5bf4b63e4669e863061efee6"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:34:55 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/ee6b5aa2-ad9d-4f29-b775-8f70676a5bab/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:35 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"d426d68fab5f08a0071950e862ee45a6-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/ee6b5aa2-ad9d-4f29-b775-8f70676a5bab/", "task_id": + "ee6b5aa2-ad9d-4f29-b775-8f70676a5bab", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:35:35Z", "_ns": "task_status", "start_time": + "2018-11-21T01:35:35Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6674669e863061f115c"}, + "id": "5bf4b6674669e863061f115c"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:35 GMT +- request: + method: delete + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= response: status: code: 404 message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -231,10 +476,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -244,11 +489,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -257,7 +502,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -273,10 +518,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:00 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -286,13 +531,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -301,11 +546,11 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:21:00 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '2541' + - '2545' Location: - "/pulp/api/v2/consumers/integration_test_consumer_support/" Content-Type: @@ -314,16 +559,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b87629cd6cc06041d38e56f"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b6fd1b5b880441544f60"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDMkad/AvSSfGcHS4J8mNvKlfbcpL/9PUX2CYpaubr8wsWdslLh\nQp3HkjrDtqyb6fnCGOPlTW/9mWIZb84tFEMg66ZZAqpUxRofWHrAK0KaqjW/SvZ6\nVEhydAdkTmkyS4X5F2gggC/4Exfkt3Fa4qgrRZoEQkrW7Ozdxi9yZSnGgQIDAQAB\nAoGARIpQumd9Fk+EHZeZIrH8gkX4rjis8uZCuIq9xmQQWHvRxmJnDn5JawJ9mfFs\np9ifC/9W7A8kBK4NhkRFqijtzFIN8QZLwmjEUjf0kt1BQzxaQSp63iMvcJ9ObGq+\nxnZSzGhe4jDEpesyWRbYtrgw2TeU250erjEKgnwhqUe/SfkCQQD4JGMmtMJHgpxZ\nKEM5d4rI1QFuRtdoVHsanZPZqS2haiWIKoRO3PJ7IUSR0svPh0s+oLaz58cG1Pmv\na2LNvxAzAkEA0wwIUt45M+admV64VeSEzCpHNyId62X3aRf5V0NfnLu0RwkR4PyT\nqtjki7pVtCmOV4i2n7tHfYfXszMUxlkKewJAYsuyAl4jn+8bqs/B/CZhRlawbCSe\nbPZ90Pn+PMID3elyKgWrie6kSGvVbi28YdMfHT9FntlgP5MaGkKqIvq4SwJATSra\nJErDCboqJ/kdV7Kt5+URkxQzcm4fL9snPYQSAsITYeHsGqLf75lMv9aLHcwQEuuX\nMwKMWlcARLLJxtip3wJBAJBcrnsqigk2YQ4aENecLSiyhlyk59iuz1dAruZ3BmXj\ngQRL4O/AeqWyWPyWIknemKidOMleDl7XKZeqvNpmX6c=\n-----END - RSA PRIVATE KEY-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+DmXno7H9\nBVJDB8sL0ia6dPt4mGuyA20VMdqGegX7zFLPxkQw0H4i25Ti4QSE5bGkyj0ChpPR\nXTDb0VDdHxiFVWL+AVugQVRTx6EBHQX/gI3cvBwPsbeZtXt4m8LxO2kSK3WJnP9m\nZjiVHyquXzrLBhxqEyT+x9pjhyeZq4/BYoZmwvfZSbDwpvJS/ZCEMu7r/ZoH0A==\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:00 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -333,13 +578,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -348,7 +593,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:21:00 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -363,12 +608,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b87629cd6cc060423aae2e5"}, "id": "5b87629cd6cc060423aae2e5"}' + "_id": {"$oid": "5bf4b6fd1b5b880441544f62"}, "id": "5bf4b6fd1b5b880441544f62"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:00 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -378,11 +623,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -391,11 +636,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:00 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -406,26 +651,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:00 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -435,13 +680,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -450,7 +695,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:00 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -464,13 +709,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b87629cd6cc06041e66e6f6"}, "id": - "5b87629cd6cc06041e66e6f6"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fd1b5b880441544f64"}, "id": + "5bf4b6fd1b5b880441544f64"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:00 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability// body: encoding: UTF-8 string: '{"consumer_criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}}}' @@ -480,13 +725,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '86' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -495,7 +740,7 @@ http_interactions: message: Accepted headers: Date: - - Thu, 30 Aug 2018 03:21:00 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -504,14 +749,14 @@ http_interactions: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/ec117fbf-d5ed-4c49-9f42-b4dfff25574f/", - "task_id": "ec117fbf-d5ed-4c49-9f42-b4dfff25574f"}], "result": null, "error": + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/0f83cb75-7026-4238-a0eb-3d0599269090/", + "task_id": "0f83cb75-7026-4238-a0eb-3d0599269090"}], "result": null, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:00 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/tasks/ec117fbf-d5ed-4c49-9f42-b4dfff25574f/ + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/0f83cb75-7026-4238-a0eb-3d0599269090/ body: encoding: US-ASCII string: '' @@ -521,11 +766,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -534,11 +779,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:00 GMT + - Wed, 21 Nov 2018 01:38:06 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"7cba7e065c49ef871abdacbe3a74fab8-gzip"' + - '"308d4cecff8501dbd321bc13a1de76bd-gzip"' Vary: - Accept-Encoding Content-Length: @@ -548,19 +793,19 @@ http_interactions: body: encoding: ASCII-8BIT string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", - "_href": "/pulp/api/v2/tasks/ec117fbf-d5ed-4c49-9f42-b4dfff25574f/", "task_id": - "ec117fbf-d5ed-4c49-9f42-b4dfff25574f", "tags": ["pulp:action:content_applicability_regeneration"], - "finish_time": "2018-08-30T03:21:00Z", "_ns": "task_status", "start_time": - "2018-08-30T03:21:00Z", "traceback": null, "spawned_tasks": [], "progress_report": - {}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", - "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", - "result": null, "error": null, "_id": {"$oid": "5b87629c04b1e079c02f55a5"}, - "id": "5b87629c04b1e079c02f55a5"}' + "_href": "/pulp/api/v2/tasks/0f83cb75-7026-4238-a0eb-3d0599269090/", "task_id": + "0f83cb75-7026-4238-a0eb-3d0599269090", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:38:05Z", "_ns": "task_status", "start_time": + "2018-11-21T01:38:05Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6fd4669e863061f26ac"}, + "id": "5bf4b6fd4669e863061f26ac"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:00 GMT + recorded_at: Wed, 21 Nov 2018 01:38:06 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -570,11 +815,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -583,7 +828,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:00 GMT + - Wed, 21 Nov 2018 01:38:06 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -594,5 +839,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:00 GMT + recorded_at: Wed, 21 Nov 2018 01:38:06 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/generate_content.yml b/test/fixtures/vcr_cassettes/extensions/consumer/generate_content.yml index 20b4ccdc..a7ffb5a0 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/generate_content.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/generate_content.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:04 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:04 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,7 +111,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b876297d6cc06041e66e6d9"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b6fd1b5b8804458ab3b9"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQC+4khQjhgjJ87WsALqhEhOJa3Nc3w4kKf0N3PABXIL/+ypOghQ\npaiifyoKDfnfNpDbA9HFj1EwKe2r4n2laCbSOP9ZAsXyqUa9V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: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b876297d6cc06041e66e6db"}, "id": "5b876297d6cc06041e66e6db"}' + "_id": {"$oid": "5bf4b6fd1b5b8804458ab3bb"}, "id": "5bf4b6fd1b5b8804458ab3bb"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b876297d6cc06041e66e6dd"}, "id": - "5b876297d6cc06041e66e6dd"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fd1b5b8804458ab3bd"}, "id": + "5bf4b6fd1b5b8804458ab3bd"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -290,11 +290,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -303,7 +303,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:05 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -314,5 +314,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:05 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/generate_content_all.yml b/test/fixtures/vcr_cassettes/extensions/consumer/generate_content_all.yml index 9fe4403e..37bc83af 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/generate_content_all.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/generate_content_all.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,39 +12,34 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: status: - code: 404 - message: Not Found + code: 200 + message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:01 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '513' + - '4' Content-Type: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"http_request_method": "DELETE", "exception": null, "error_message": - "Missing resource(s): consumer=integration_test_consumer_support", "_href": - "/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": - 404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, - "description": "Missing resource(s): consumer=integration_test_consumer_support", - "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' + string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +49,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +62,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +78,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +91,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,11 +106,11 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '2541' + - '2549' Location: - "/pulp/api/v2/consumers/integration_test_consumer_support/" Content-Type: @@ -124,16 +119,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b876297d6cc06041e66e6e1"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b6fa1b5b8804458ab3a9"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQDpTRdsVQ4mdNGcv1b3f9HOtDqg9zNlfgA497raDmC0CSlq/Q4s\nmgIIIw0iPGyGSX8YY+CD6cBNdBcjroamhYSr6OUvJvaXeTiIC65M36zU4U1SnE9q\n3KYOp+rI2OFasgQ+nG99uQfilU4zZIv6itoc89RPMRs6FZLGpuRrNUGzhQIDAQAB\nAoGARp3UEjFomBFSBS0RaNbirbt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Gg961gMmuGpc11Py2nv3AoRCLLzgQku2bErJAyq++KqguNJrL1c7wp3GSr\nHgdyuYtjb6ApNAubby9EAZjadLgt0xIIvtcuL7fNCeTA5ZeI7wIDAQABMA0GCSqG\nSIb3DQEBBQUAA4ICAQCVy9Ai30lwfSIOrSVAgwj7vr57SUTeWYcnBBu5ZaYnbAYj\nmGzrSJb/tmtiX/0Wmh/Ogvzvy+ifhOJyjjQrcUHAs1+SXo38EjZNrttjsUM0yZvh\nErbwHpfd6NMSCWFHu7HbvPWXERb2CW1KK9gDCi8cKUEFOKwo2l6RluNXKGJZt9ki\nwHrRD+oozWzI/26V0fVJFd8M+dKOc18FMEvqFOjitEUzzmZBWVXHJwnogCtTyhmJ\ndfZ1+HpzwdOSv2pQowsA59x1d7PvD3B8NMnLMWNB2PjKKhtEp0jllRha6CqHetgD\n8c9BWX8wibTz1TZN6tzXzkCIdXKeS1CjKxxyb2knuXHzYKJmERierPPkFR3TCqnU\nNgsZAAA5Gzz9p/1fjUxFOEXZkN9GWyTeeaWK+hsEvIOThKWzQ1yyYXDU2lguCZki\nrt3Iphk0h633Ozy57QsZ26iZlEQxfaIFp2gAEZOLODQLpEBkgD+RV1EYAZwy4+EV\nQDKwUSa9wr+etwCJU1IjMMmhE0frzrgM/1HnnAfji3ek+BD8oVvbVGXmrhOdrR6J\n/+PhI+APE4GJn1jjdvD9Ggk43F4fqSmxLvV9WAq12huS1CA/6ZJyw1OboNpN1uJr\nypXAUuJBmLwiy6feceQUK07QJrjgsYzeLAoJbVEK4Mxy96jzZ1Pic6FE/OH3Xw==\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +138,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +153,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +168,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b876297d6cc060423aae2c7"}, "id": "5b876297d6cc060423aae2c7"}' + "_id": {"$oid": "5bf4b6fa1b5b880441544f4d"}, "id": "5bf4b6fa1b5b880441544f4d"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +183,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +196,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:55 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +211,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:55 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +240,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +255,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +269,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b876298d6cc060423aae2c9"}, "id": - "5b876298d6cc060423aae2c9"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fa1b5b880441544f4f"}, "id": + "5bf4b6fa1b5b880441544f4f"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -290,11 +285,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -303,7 +298,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:02 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -314,5 +309,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:02 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/install_content.yml b/test/fixtures/vcr_cassettes/extensions/consumer/install_content.yml index 23c47b90..3d11b097 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/install_content.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/install_content.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,7 +111,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b876298d6cc060423aae2cd"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b7011b5b8804458ab3c6"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDNI7iuOYwdAEUFstfyN3Zac0Pn0QxngGy1p7Xy9Ww7iwu3+8KH\nrcWm348IBuvSBMHeXq9p2ZZleZZpaJjlXNB/KTdsU6fOaY+A76J/g1snTinxfZyL\n35m9SQIjtYi+wfuc0o8MKFKPoZ9ovOVT1FzkJ0l6j05yNfY6h2LycfFATwIDAQAB\nAoGBAJrLYrdtS1Iy+uJy8sqemVtlcQ9DStXrLZzhwcVk9lfz81LQ0hipwuTJ+1c2\nScp/tn8C+eCoxPkrh5lgyUcCA30nBBhnHS8DMVA2T+gcOWc4kpBJYE+HhPvy90MS\n7xiKXUd1JVu73xDs8HIgu7g4Z/M+YmWZb/Yr3OvgVfGNRGdxAkEA6d2DP9FYaneZ\nX6KUGEjY+CpfIt+oOlq6NupVstIOU4HL4vKd+ZzAcMznej//NZssxtq/nmub45FT\nW4nkO0ssyQJBAOCOMTkfOmqpgBqw/+lvhPHBA0hyGlkMcwvyfcmNaIPwaJahgQ4m\ndDN137j8A3R/vJ0cFdvoT5iBh/jAEYkoyFcCQBkvo/zxfMYqjzf/eFeNMOC5H3nQ\nAH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OVn+u9A1IxPS4RPPTTrh/WbcKc1K\n+h0XtMHeCqcBzg5yJlPfVzaZ089qfKy8c2YUWJCB7nZNnWG9YZgZYmJ2kpstIxwO\nr3z8wyQ1QcNqNsy3NE/oTfSyQVfkiDxDQyi44RAd9PkP4mvLejnm2IdSfGbiLf5E\n+QBUudPbVvPsQXz/Ay+CuvsP8JW7Z7EM4lNWVTuCVW/2dM2jmhDnhOb/Q1AsBk+m\nbb65nz4vJ25iA+gDvEejN/2+0pUESTSKTGKu+TImwvlaIvz4NCD9MtgWmrg4sWVB\n/OOARkW/Pwafaz02HDAqeRsWVgKQtM5/skZFxyaELJfjo9AAyx8nDI7o5T5eWn1M\nio4PEhcTCJuhnObrbyKXHhzqfAE/hjAhGjfvhhtUQgL1dCaGUvKt1CkX834jCZzg\n0hoNV6LFKsXJ8coSSy78B3vFW6DFqRWz9nN5UypM2UX+t9uoWxuuGO/+4SXq\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b876298d6cc060423aae2cf"}, "id": "5b876298d6cc060423aae2cf"}' + "_id": {"$oid": "5bf4b7011b5b8804458ab3c8"}, "id": "5bf4b7011b5b8804458ab3c8"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b876298d6cc060423aae2d1"}, "id": - "5b876298d6cc060423aae2d1"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b7011b5b8804458ab3ca"}, "id": + "5bf4b7011b5b8804458ab3ca"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/actions/content/install// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/actions/content/install// body: encoding: UTF-8 string: '{"units":[{"type_id":"rpm","unit_key":{"name":"zsh"}},{"type_id":"rpm","unit_key":{"name":"foo"}}],"options":{}}' @@ -290,13 +290,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '112' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -305,7 +305,7 @@ http_interactions: message: Accepted headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -314,14 +314,14 @@ http_interactions: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/adbcb5f3-711b-4c99-afc1-828c2a43efb9/", - "task_id": "adbcb5f3-711b-4c99-afc1-828c2a43efb9"}], "result": null, "error": + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/f3e6d16c-0232-40f8-9c36-ff101ae8f5c7/", + "task_id": "f3e6d16c-0232-40f8-9c36-ff101ae8f5c7"}], "result": null, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -331,11 +331,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -344,7 +344,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:57 GMT + - Wed, 21 Nov 2018 01:38:09 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -355,5 +355,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:57 GMT + recorded_at: Wed, 21 Nov 2018 01:38:09 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/suite.yml b/test/fixtures/vcr_cassettes/extensions/consumer/suite.yml index fc71f237..b73fb8ff 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/suite.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/suite.yml @@ -561,7 +561,591 @@ http_interactions: recorded_at: Thu, 30 Aug 2018 03:20:17 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/ + uri: https://alpha.partello.example.com/pulp/api/v2/tasks/afae9394-d426-410f-b516-a942455b863f/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + Content-Type: + - application/json + Host: + - alpha.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 30 Aug 2018 03:20:54 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"868604b8a61f53e988a215b95dea7e71-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/afae9394-d426-410f-b516-a942455b863f/", "task_id": + "afae9394-d426-410f-b516-a942455b863f", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-08-30T03:20:54Z", "_ns": "task_status", + "start_time": "2018-08-30T03:20:53Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-08-30T03:20:53Z", + "_ns": "repo_sync_results", "completed": "2018-08-30T03:20:54Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5b876296d6cc060873b593fd", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5b87629504b1e079c02f557b"}, "id": "5b87629504b1e079c02f557b"}' + http_version: + recorded_at: Thu, 30 Aug 2018 03:20:54 GMT +- request: + method: get + uri: https://alpha.partello.example.com/pulp/api/v2/tasks/3e4d25a6-16ae-4715-9db9-326195fc92f1/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + Content-Type: + - application/json + Host: + - alpha.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 30 Aug 2018 03:21:01 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"3208ae8da0e002d5ff01a40fbecdb5d6-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/3e4d25a6-16ae-4715-9db9-326195fc92f1/", "task_id": + "3e4d25a6-16ae-4715-9db9-326195fc92f1", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-08-30T03:21:01Z", "_ns": "task_status", + "start_time": "2018-08-30T03:21:01Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5b87629d04b1e079c02f55a7"}, + "id": "5b87629d04b1e079c02f55a7"}' + http_version: + recorded_at: Thu, 30 Aug 2018 03:21:01 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/2a1ff27d-84e4-4908-acc5-45672774bb00/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:27 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"5d1d75b02e51de7366d9a1b093ae6197-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/2a1ff27d-84e4-4908-acc5-45672774bb00/", "task_id": + "2a1ff27d-84e4-4908-acc5-45672774bb00", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:28:26Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b4ba4669e863061ecc34"}, + "id": "5bf4b4ba4669e863061ecc34"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:27 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/2a1ff27d-84e4-4908-acc5-45672774bb00/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:27 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"70abe69a3473d3889e6ccb1bd8ad27cf-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/2a1ff27d-84e4-4908-acc5-45672774bb00/", "task_id": + "2a1ff27d-84e4-4908-acc5-45672774bb00", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:28:27Z", "_ns": "task_status", + "start_time": "2018-11-21T01:28:26Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:28:26Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:28:27Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5bf4b4bb1b5b8806d7ca6636", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5bf4b4ba4669e863061ecc34"}, "id": "5bf4b4ba4669e863061ecc34"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:28 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/9e5e593d-fa19-426b-a2d6-a72c58a08b2e/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:36 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"97e9c8bbb010b00aee7be1961062a492-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/9e5e593d-fa19-426b-a2d6-a72c58a08b2e/", "task_id": + "9e5e593d-fa19-426b-a2d6-a72c58a08b2e", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:28:36Z", "_ns": "task_status", + "start_time": "2018-11-21T01:28:36Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b4c44669e863061ed668"}, + "id": "5bf4b4c44669e863061ed668"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:36 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/3a453a06-4d78-43d9-a803-807c116daa1b/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:33:46 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"20cc72cd3ccc5418a41119673b89d1ac-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/3a453a06-4d78-43d9-a803-807c116daa1b/", "task_id": + "3a453a06-4d78-43d9-a803-807c116daa1b", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:33:45Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b5f94669e863061ee4d9"}, + "id": "5bf4b5f94669e863061ee4d9"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:33:46 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/3a453a06-4d78-43d9-a803-807c116daa1b/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:33:46 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"6a7442d1ac819eb2d0cd8ca0e0da0df1-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/3a453a06-4d78-43d9-a803-807c116daa1b/", "task_id": + "3a453a06-4d78-43d9-a803-807c116daa1b", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:33:46Z", "_ns": "task_status", + "start_time": "2018-11-21T01:33:45Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:33:45Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:33:46Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5bf4b5fa1b5b8806d7ca666c", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5bf4b5f94669e863061ee4d9"}, "id": "5bf4b5f94669e863061ee4d9"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:33:46 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/b06ceb4e-b900-474c-8b53-c807692a1b8e/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:33:55 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"73765265e333c8bb9ec3ccdc505ee71b-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/b06ceb4e-b900-474c-8b53-c807692a1b8e/", "task_id": + "b06ceb4e-b900-474c-8b53-c807692a1b8e", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:33:55Z", "_ns": "task_status", + "start_time": "2018-11-21T01:33:55Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6034669e863061eef09"}, + "id": "5bf4b6034669e863061eef09"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:33:55 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/11c86786-5802-4806-a733-e7762e4acf2d/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:34:51 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"add04c859d680d104592067e39366263-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/11c86786-5802-4806-a733-e7762e4acf2d/", "task_id": + "11c86786-5802-4806-a733-e7762e4acf2d", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:34:51Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b63b4669e863061ef7a0"}, + "id": "5bf4b63b4669e863061ef7a0"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:34:51 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/11c86786-5802-4806-a733-e7762e4acf2d/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:34:52 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"746909473d38235e01bdf9a0c532da89-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/11c86786-5802-4806-a733-e7762e4acf2d/", "task_id": + "11c86786-5802-4806-a733-e7762e4acf2d", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:34:51Z", "_ns": "task_status", + "start_time": "2018-11-21T01:34:51Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:34:51Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:34:51Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5bf4b63b1b5b8806d7ca66a2", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5bf4b63b4669e863061ef7a0"}, "id": "5bf4b63b4669e863061ef7a0"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:34:52 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/21509430-1a7f-46d9-ab5b-fbe092c3e842/ body: encoding: US-ASCII string: '' @@ -571,11 +1155,232 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:01 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"c2a8ef0c7e4025cf53a19650846c39f8-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/21509430-1a7f-46d9-ab5b-fbe092c3e842/", "task_id": + "21509430-1a7f-46d9-ab5b-fbe092c3e842", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:35:00Z", "_ns": "task_status", + "start_time": "2018-11-21T01:35:00Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6444669e863061f026b"}, + "id": "5bf4b6444669e863061f026b"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:01 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/60c14b4d-a9ee-4587-9c76-3f2aaa8cb3ec/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:32 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"36e93da67576e2ef9236422e3edad151-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/60c14b4d-a9ee-4587-9c76-3f2aaa8cb3ec/", "task_id": + "60c14b4d-a9ee-4587-9c76-3f2aaa8cb3ec", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:35:32Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6644669e863061f0aab"}, + "id": "5bf4b6644669e863061f0aab"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:32 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/60c14b4d-a9ee-4587-9c76-3f2aaa8cb3ec/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:33 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"7a43f64334890f2833918892fa6e21dd-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/60c14b4d-a9ee-4587-9c76-3f2aaa8cb3ec/", "task_id": + "60c14b4d-a9ee-4587-9c76-3f2aaa8cb3ec", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:35:32Z", "_ns": "task_status", + "start_time": "2018-11-21T01:35:32Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:35:32Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:35:32Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5bf4b6641b5b8806d7ca66d8", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5bf4b6644669e863061f0aab"}, "id": "5bf4b6644669e863061f0aab"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:33 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/a297247a-efdc-4b36-816c-57cdd1eb37c3/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:42 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"23ed1ce1a4111a7e77b7fdcd26be381b-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/a297247a-efdc-4b36-816c-57cdd1eb37c3/", "task_id": + "a297247a-efdc-4b36-816c-57cdd1eb37c3", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:35:41Z", "_ns": "task_status", + "start_time": "2018-11-21T01:35:41Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b66d4669e863061f14d7"}, + "id": "5bf4b66d4669e863061f14d7"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:42 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -584,7 +1389,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:53 GMT + - Wed, 21 Nov 2018 01:38:00 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -601,10 +1406,10 @@ http_interactions: "integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id", "sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:53 GMT + recorded_at: Wed, 21 Nov 2018 01:38:00 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/ + uri: https://gamma.partello.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"},"distributors":[{"distributor_type_id":"yum_distributor","distributor_config":{"relative_url":"path","http":true,"https":true},"auto_publish":false,"distributor_id":"yum_dist"}]}' @@ -614,13 +1419,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '303' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -629,7 +1434,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:53 GMT + - Wed, 21 Nov 2018 01:38:00 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -642,13 +1447,13 @@ http_interactions: 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": "5b876295d6cc060423aae2b3"}, "id": "integration_test_id", + {}, "_ns": "repos", "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:53 GMT + recorded_at: Wed, 21 Nov 2018 01:38:00 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/ + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/ body: encoding: UTF-8 string: "{}" @@ -658,13 +1463,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '2' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -673,7 +1478,7 @@ http_interactions: message: Accepted headers: Date: - - Thu, 30 Aug 2018 03:20:53 GMT + - Wed, 21 Nov 2018 01:38:00 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -682,14 +1487,14 @@ http_interactions: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/afae9394-d426-410f-b516-a942455b863f/", - "task_id": "afae9394-d426-410f-b516-a942455b863f"}], "result": null, "error": + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/01d8e2a0-a584-4f91-8372-bf388aec3ddc/", + "task_id": "01d8e2a0-a584-4f91-8372-bf388aec3ddc"}], "result": null, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:53 GMT + recorded_at: Wed, 21 Nov 2018 01:38:00 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/tasks/afae9394-d426-410f-b516-a942455b863f/ + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/01d8e2a0-a584-4f91-8372-bf388aec3ddc/ body: encoding: US-ASCII string: '' @@ -699,11 +1504,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -712,11 +1517,66 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:01 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"868604b8a61f53e988a215b95dea7e71-gzip"' + - '"c562253c7fe2078e1c2b69156bbecc63-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/01d8e2a0-a584-4f91-8372-bf388aec3ddc/", "task_id": + "01d8e2a0-a584-4f91-8372-bf388aec3ddc", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:38:00Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6f84669e863061f1ee5"}, + "id": "5bf4b6f84669e863061f1ee5"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:01 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/01d8e2a0-a584-4f91-8372-bf388aec3ddc/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:01 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"c262a6db8152e12b9979c92ac21738f0-gzip"' Vary: - Accept-Encoding Content-Length: @@ -726,38 +1586,38 @@ http_interactions: body: encoding: ASCII-8BIT string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", - "_href": "/pulp/api/v2/tasks/afae9394-d426-410f-b516-a942455b863f/", "task_id": - "afae9394-d426-410f-b516-a942455b863f", "tags": ["pulp:repository:integration_test_id", - "pulp:action:sync"], "finish_time": "2018-08-30T03:20:54Z", "_ns": "task_status", - "start_time": "2018-08-30T03:20:53Z", "traceback": null, "spawned_tasks": + "_href": "/pulp/api/v2/tasks/01d8e2a0-a584-4f91-8372-bf388aec3ddc/", "task_id": + "01d8e2a0-a584-4f91-8372-bf388aec3ddc", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:38:01Z", "_ns": "task_status", + "start_time": "2018-11-21T01:38:00Z", "traceback": null, "spawned_tasks": [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, - "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", - "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", "result": {"result": "success", "importer_id": "yum_importer", "exception": - null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-08-30T03:20:53Z", - "_ns": "repo_sync_results", "completed": "2018-08-30T03:20:54Z", "importer_type_id": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:38:00Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:38:01Z", "importer_type_id": "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": - 0, "updated_count": 0, "id": "5b876296d6cc060873b593fd", "details": {"modules": + 0, "updated_count": 0, "id": "5bf4b6f91b5b8806d7ca670e", "details": {"modules": {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": - "5b87629504b1e079c02f557b"}, "id": "5b87629504b1e079c02f557b"}' + "5bf4b6f84669e863061f1ee5"}, "id": "5bf4b6f84669e863061f1ee5"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:01 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/ + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/ body: encoding: US-ASCII string: '' @@ -767,11 +1627,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -780,7 +1640,7 @@ http_interactions: message: Accepted headers: Date: - - Thu, 30 Aug 2018 03:21:01 GMT + - Wed, 21 Nov 2018 01:38:10 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -789,14 +1649,14 @@ http_interactions: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/3e4d25a6-16ae-4715-9db9-326195fc92f1/", - "task_id": "3e4d25a6-16ae-4715-9db9-326195fc92f1"}], "result": null, "error": + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/c83d80b4-4fea-43e9-b2df-05bb8d7d7b38/", + "task_id": "c83d80b4-4fea-43e9-b2df-05bb8d7d7b38"}], "result": null, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:01 GMT + recorded_at: Wed, 21 Nov 2018 01:38:10 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/tasks/3e4d25a6-16ae-4715-9db9-326195fc92f1/ + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/c83d80b4-4fea-43e9-b2df-05bb8d7d7b38/ body: encoding: US-ASCII string: '' @@ -806,11 +1666,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -819,11 +1679,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:01 GMT + - Wed, 21 Nov 2018 01:38:10 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"3208ae8da0e002d5ff01a40fbecdb5d6-gzip"' + - '"21c269cf37ee7a33dae2f08b2ed19e45-gzip"' Vary: - Accept-Encoding Content-Length: @@ -833,14 +1693,14 @@ http_interactions: body: encoding: ASCII-8BIT string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", - "_href": "/pulp/api/v2/tasks/3e4d25a6-16ae-4715-9db9-326195fc92f1/", "task_id": - "3e4d25a6-16ae-4715-9db9-326195fc92f1", "tags": ["pulp:repository:integration_test_id", - "pulp:action:delete"], "finish_time": "2018-08-30T03:21:01Z", "_ns": "task_status", - "start_time": "2018-08-30T03:21:01Z", "traceback": null, "spawned_tasks": - [], "progress_report": {}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", - "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", - "result": null, "error": null, "_id": {"$oid": "5b87629d04b1e079c02f55a7"}, - "id": "5b87629d04b1e079c02f55a7"}' + "_href": "/pulp/api/v2/tasks/c83d80b4-4fea-43e9-b2df-05bb8d7d7b38/", "task_id": + "c83d80b4-4fea-43e9-b2df-05bb8d7d7b38", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:38:10Z", "_ns": "task_status", + "start_time": "2018-11-21T01:38:10Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b7024669e863061f2905"}, + "id": "5bf4b7024669e863061f2905"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:01 GMT + recorded_at: Wed, 21 Nov 2018 01:38:10 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/unbind_all.yml b/test/fixtures/vcr_cassettes/extensions/consumer/unbind_all.yml index 759d559f..f774e63c 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/unbind_all.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/unbind_all.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:58 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,11 +111,11 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:58 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '2545' + - '2541' Location: - "/pulp/api/v2/consumers/integration_test_consumer_support/" Content-Type: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b87629bd6cc06041d38e569"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b6fb1b5b8804458ab3ad"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQCeR25EaUlwPOVXenqpyGQKzCl4FuAORx4e/ppDFoQBSjqfEkCl\n9BszPrhMjBBCgB+hGPIDjI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ZmYjFiNWI4ODA0NDU4YWIzYWQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ\nAoGBAL1byDzsLQiSwEyvZReAS9rw/gBywMWGST7uyxfIe+P6v1HB9Llapl6cqfVK\nc8He6/0QQk0TyN+NWM3h8JzRvUS0mSTgkt1GSkswBNDGFfZxNUo8MnFdtZ66hnHw\nK471dEI5tEiSeqBrZdymwTv0d9VLsFGc43hetJkxmCSeCpHjAgMBAAEwDQYJKoZI\nhvcNAQEFBQADggIBADq204LaAfm3cJJBO7pfKxUl5CBShGI8BFcajdHGNGZxN6UU\nXz3cL/gvGB5ZmQ9mvxhTLYQDaCt4z3Wodtglnb1vSePSsAd8cS69GN2tDocG8xbV\nx3QmuEg61NlijywV7Ntat6UzQFNE7dPTaAyZemimZx/MHvSKxYsoxzXs5x15nd3I\n79Ft94kVy8FYN/LHLPnYcCZcfSFGNpyQgNi48dbTIGO83xVUDW77ZQ1CJySYAS5p\ni9nGmZJ4dWNX7j+iFNT0yj6z/8D+BffRS34XO93hqNzwOFpu3DegQvBySHq/nXwC\nd8KDw+LwNevGjc1MxGI8QH1GlX6VziK02sGnRwBqTmOFESfEVAyqx907GRnt+Q5W\nNeJKqRkcEKpUtu+qp6lQQdM1CW07fjl/Qc7D/B9k08P0zGfQObktRx8XmQvxcLJV\nP1fDXtkntHTH/QdDFeY5BvZlbRouGlQpU6+XtlgQ+82StAeMS0vSqwAqEgOTaHJ8\njMYba3E/y8WeVXyk8TKZG3x4EBsoFNPFfahSyjpEbQDVFgJBJQB0BjLyBYVGBe4O\n6gkES4l6GCXyAEtRJD4rFA1jcQIRfROUZAnu+q3CBuOtNFAY65Dex89Fu9lrdByT\n6zffQbynnvqdsV8qm2TELwqMl+dyPELeDNDwbUvThjL/Go9WKWpUKNj/aimz\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b87629bd6cc06041d38e56b"}, "id": "5b87629bd6cc06041d38e56b"}' + "_id": {"$oid": "5bf4b6fb1b5b8804458ab3af"}, "id": "5bf4b6fb1b5b8804458ab3af"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b87629bd6cc060423aae2df"}, "id": - "5b87629bd6cc060423aae2df"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fb1b5b8804458ab3b1"}, "id": + "5bf4b6fb1b5b8804458ab3b1"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -290,11 +290,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -303,11 +303,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -318,26 +318,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/ body: encoding: US-ASCII string: '' @@ -347,11 +347,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -360,7 +360,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -374,13 +374,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b87629bd6cc060423aae2df"}, "id": - "5b87629bd6cc060423aae2df"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6fb1b5b8804458ab3b1"}, "id": + "5bf4b6fb1b5b8804458ab3b1"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -390,11 +390,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -403,7 +403,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:59 GMT + - Wed, 21 Nov 2018 01:38:03 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -414,5 +414,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:59 GMT + recorded_at: Wed, 21 Nov 2018 01:38:03 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/uninstall_content.yml b/test/fixtures/vcr_cassettes/extensions/consumer/uninstall_content.yml index 6dd69003..4ce6bd0f 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/uninstall_content.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/uninstall_content.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,11 +111,11 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '2545' + - '2541' Location: - "/pulp/api/v2/consumers/integration_test_consumer_support/" Content-Type: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b876296d6cc06041e66e6d7"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b6ff1b5b88043c4c288a"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQC6IjGZBDymHTQgntg+OdvZB146p42HWAq7YKF2xuc4xps859S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ed, 21 Nov 2018 01:38:07 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b876296d6cc060423aae2b6"}, "id": "5b876296d6cc060423aae2b6"}' + "_id": {"$oid": "5bf4b6ff1b5b88043c4c288c"}, "id": "5bf4b6ff1b5b88043c4c288c"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b876296d6cc060423aae2b8"}, "id": - "5b876296d6cc060423aae2b8"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b6ff1b5b880441544f6b"}, "id": + "5bf4b6ff1b5b880441544f6b"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/actions/content/uninstall// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/actions/content/uninstall// body: encoding: UTF-8 string: '{"units":[{"type_id":"rpm","unit_key":{"name":"zsh"}},{"type_id":"rpm","unit_key":{"name":"foo"}}],"options":{}}' @@ -290,13 +290,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '112' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -305,7 +305,7 @@ http_interactions: message: Accepted headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -314,14 +314,14 @@ http_interactions: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/124aa8a2-375a-43d9-863e-609404fe9c87/", - "task_id": "124aa8a2-375a-43d9-863e-609404fe9c87"}], "result": null, "error": + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/8dafd21b-1f82-4cc0-88ed-7489d326954e/", + "task_id": "8dafd21b-1f82-4cc0-88ed-7489d326954e"}], "result": null, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -331,11 +331,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -344,7 +344,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:54 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -355,5 +355,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:54 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer/update_content.yml b/test/fixtures/vcr_cassettes/extensions/consumer/update_content.yml index 0629a816..539d5cc0 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer/update_content.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer/update_content.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -12,11 +12,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -25,7 +25,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:07 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -41,10 +41,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:07 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -54,11 +54,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -67,7 +67,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:08 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -83,10 +83,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -96,13 +96,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -111,11 +111,11 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:08 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '2545' + - '2541' Location: - "/pulp/api/v2/consumers/integration_test_consumer_support/" Content-Type: @@ -124,16 +124,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b876298d6cc06041e66e6e3"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b7001b5b88043c4c2890"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICXgIBAAKBgQDK/1b5zYQVQ5c/uy592bgtUfkYP0hJe0GJO2xo0KjDkMlss78O\nzJmS9WeLDZSkHT+0mf69L7sIBqcwJ0ommcr0cwQ10Jkp+2uGMsYf7BlcjaeNUqwb\nEsNbrOfha+tVU5qpX9L61TZ+X3rbGxDOaBE7an0jI7rrPxH+ylWtsqZl6wIDAQAB\nAoGBAI6CrdPXZQfsmK1EQoJVq8gdSUuteZkkr8Cg+B2phyEsb0wh8Fp6ZsJWCGgF\nk7mXUxb+GWlFrf8XdJ4IpzTsOR8bvURBt16ytBGj/ob/RE1UELxBJMepcgfkxmA/\nJCgxkk/Fk5p0iFhE4ksho8KbWozjSN9L/fXj1z4S+i4plp1pAkEA/9m8G1E54LyB\nj27I8LVN586yxrdvKGsp1LxoVHaM/WKZ6wC3pR2Gx0EZVmWTJ7wiZifcCI6rJRlg\nEX2geSMv5wJBAMsds0CgJMvO0LDk+vPT2S+GiUQ+vJtGPjE6To556SwXFHKuwIN4\ntz6EgV0jQmw+X1qfek1tN8MNnSseXWH+KV0CQHh6gp7mf/e5LNVrGMpoxffLmNoE\nlR6WYAticUqczM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WOGk5yQOcDMX5+7/YwDVbPFWPYRk9v+sWls3fNJ47d76Fnj2KvGhCnf\nF9LizmloT1myRNo4mSGHDwnhsA9uUQlY2Z3xDwBlgSp+L4TliSO75S/Hw9GxO+DK\n9eVA5OuzqorYaNfZs/TIlkqDP3riZCHAppWn6uEAxlNvpGkzoLUbfItC1gJSVuhj\nWZEF+Kwma8rDIcvb1WynCtNEhTijmDH7DpgDHKzhs1ltUDddEyH0BrCJnWUmQM/u\nReCECA8THzI8mNJAM/u7e3J0XCQ3dgoy4nfogFxLFSjPUphSLA3GKptnbt4QVt7W\nNEr+JwgJhBhnEhbPGxR0xb7bj6ixnNW80cOgQJ77AyXVXJ4bAGDQ7DfbS5KJ5/f5\ni+Pw5S9k0jbKm1YaFn2NFTUl8ws5snP9whKWjbXl8c+aOOV5UPtaEDjeXvHeezF1\nM7c13pnUb3fDEgrYzsIpD6HnhFs8JoCKDA04uAVoUr6nFf4vHCoPbJ/85GLo\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -143,13 +143,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -158,7 +158,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:08 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -173,12 +173,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b876298d6cc06041e66e6e5"}, "id": "5b876298d6cc06041e66e6e5"}' + "_id": {"$oid": "5bf4b7001b5b88043c4c2892"}, "id": "5bf4b7001b5b88043c4c2892"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -188,11 +188,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -201,11 +201,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:08 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"5d4e659e9940dca758a1aa74aac3002f-gzip"' + - '"94c1816a21d3f511bfa31c739e8b1b49-gzip"' Vary: - Accept-Encoding Content-Length: @@ -216,26 +216,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b876295d6cc060423aae2b5"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:20:54Z", + {"$oid": "5bf4b6f81b5b88043c4c287b"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:01Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:20:53Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:00Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:20:54Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b876295d6cc060423aae2b4"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:01Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b6f81b5b88043c4c287a"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b876295d6cc060423aae2b3"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b6f81b5b88043c4c2879"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -245,13 +245,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -260,7 +260,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:08 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -274,13 +274,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b876298d6cc06041e66e6e7"}, "id": - "5b876298d6cc06041e66e6e7"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b7001b5b88043c4c2894"}, "id": + "5bf4b7001b5b88043c4c2894"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/actions/content/update// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/actions/content/update// body: encoding: UTF-8 string: '{"units":[{"type_id":"rpm","unit_key":{"name":"zsh"}},{"type_id":"rpm","unit_key":{"name":"foo"}}],"options":{}}' @@ -290,13 +290,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '112' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -305,7 +305,7 @@ http_interactions: message: Accepted headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:08 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -314,14 +314,14 @@ http_interactions: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/1a50959a-0a66-40d2-a634-46e1a0123c80/", - "task_id": "1a50959a-0a66-40d2-a634-46e1a0123c80"}], "result": null, "error": + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/bb64a0b5-3aab-4991-8ae6-d2bbaaaa81ad/", + "task_id": "bb64a0b5-3aab-4991-8ae6-d2bbaaaa81ad"}], "result": null, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -331,11 +331,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -344,7 +344,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:20:56 GMT + - Wed, 21 Nov 2018 01:38:08 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -355,5 +355,5 @@ http_interactions: encoding: UTF-8 string: 'null' http_version: - recorded_at: Thu, 30 Aug 2018 03:20:56 GMT + recorded_at: Wed, 21 Nov 2018 01:38:08 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/applicability.yml b/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/applicability.yml index 90df7301..15146ab1 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/applicability.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/applicability.yml @@ -191,8 +191,8 @@ http_interactions: http_version: recorded_at: Thu, 30 Aug 2018 03:20:19 GMT - request: - method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + method: get + uri: https://alpha.partello.example.com/pulp/api/v2/tasks/00d0fb14-d373-4881-8be6-acf8bc4b4447/ body: encoding: US-ASCII string: '' @@ -209,13 +209,258 @@ http_interactions: - alpha.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 30 Aug 2018 03:21:03 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"73dcab6eb53d2b6ba20e20b2adb823a4-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/00d0fb14-d373-4881-8be6-acf8bc4b4447/", "task_id": + "00d0fb14-d373-4881-8be6-acf8bc4b4447", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-08-30T03:21:02Z", "_ns": "task_status", "start_time": + "2018-08-30T03:21:02Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5b87629e04b1e079c02f55c7"}, + "id": "5b87629e04b1e079c02f55c7"}' + http_version: + recorded_at: Thu, 30 Aug 2018 03:21:03 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/9032bade-61c9-4258-88d5-30003929747c/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:39 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"3c21833fc76f5ba1ecd3d85cc6552a46-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/9032bade-61c9-4258-88d5-30003929747c/", "task_id": + "9032bade-61c9-4258-88d5-30003929747c", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:28:38Z", "_ns": "task_status", "start_time": + "2018-11-21T01:28:38Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b4c64669e863061edc97"}, + "id": "5bf4b4c64669e863061edc97"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:39 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/35944a6f-c6cd-4c20-975f-bc4f15c4667b/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:33:58 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"23abbb6abbe223debdf969b307dc7fca-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/35944a6f-c6cd-4c20-975f-bc4f15c4667b/", "task_id": + "35944a6f-c6cd-4c20-975f-bc4f15c4667b", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:33:57Z", "_ns": "task_status", "start_time": + "2018-11-21T01:33:57Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6054669e863061ef538"}, + "id": "5bf4b6054669e863061ef538"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:33:58 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/2172eee5-4662-4295-bb6d-d72f2e61f66f/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:06 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"af9655aae618a6420b6a5039dad22a32-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/2172eee5-4662-4295-bb6d-d72f2e61f66f/", "task_id": + "2172eee5-4662-4295-bb6d-d72f2e61f66f", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:35:06Z", "_ns": "task_status", "start_time": + "2018-11-21T01:35:06Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b64a4669e863061f0999"}, + "id": "5bf4b64a4669e863061f0999"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:06 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/b73fd408-1285-4e8c-98dd-a4e3447e1929/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:46 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"3806dd43fd369e0fb392e6ecb91a2c6e-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/b73fd408-1285-4e8c-98dd-a4e3447e1929/", "task_id": + "b73fd408-1285-4e8c-98dd-a4e3447e1929", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:35:45Z", "_ns": "task_status", "start_time": + "2018-11-21T01:35:45Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6714669e863061f1b87"}, + "id": "5bf4b6714669e863061f1b87"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:46 GMT +- request: + method: delete + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= response: status: code: 404 message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:21:02 GMT + - Wed, 21 Nov 2018 01:38:12 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -231,10 +476,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:02 GMT + recorded_at: Wed, 21 Nov 2018 01:38:12 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ body: encoding: US-ASCII string: '' @@ -244,11 +489,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -257,7 +502,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:21:02 GMT + - Wed, 21 Nov 2018 01:38:12 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -273,10 +518,10 @@ http_interactions: "description": "Missing resource(s): consumer=integration_test_consumer_support", "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:02 GMT + recorded_at: Wed, 21 Nov 2018 01:38:12 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ body: encoding: UTF-8 string: '{"id":"integration_test_consumer_support"}' @@ -286,13 +531,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '42' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -301,11 +546,11 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:21:02 GMT + - Wed, 21 Nov 2018 01:38:12 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: - - '2541' + - '2545' Location: - "/pulp/api/v2/consumers/integration_test_consumer_support/" Content-Type: @@ -314,16 +559,16 @@ http_interactions: encoding: UTF-8 string: '{"consumer": {"display_name": "integration_test_consumer_support", "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": - {}, "_id": {"$oid": "5b87629ed6cc06041e66e6fe"}, "id": "integration_test_consumer_support", + {}, "_id": {"$oid": "5bf4b7041b5b880441544f74"}, "id": "integration_test_consumer_support", "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": - "-----BEGIN RSA PRIVATE KEY-----\nMIICWwIBAAKBgQCe9NeKicdZn7wFMkD1d8gWgtI5Q4qEChTX9zcGwkLZl3X8pxQ/\nzkxo1tOueHMKgCLyBxwyNcjpYQNGJHmlzMOKPK67Mrd8XKdzMeeBh2kb6ZejDHYi\nGbdMEHQSV1hgeYQFpmJFxTSrrcgIK+hYfjcjEaI3UKF+U70+vXFw8XKXtwIDAQAB\nAoGAOW4Aid8plSnvBnmXmphCRE/To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ZGy0mrYapibcLlmeFk5tiu2j0pEhkqlC6RCBuyU413K11Fe13s\nvHkio5vrq45xrfEIPCxePD6HwOTkE3Ek9l/I7fNJThllK9+tyQIDAQABMA0GCSqG\nSIb3DQEBBQUAA4ICAQCdYMGSqpx91vMqJVgsL4SYOnCrsxiuA4AwaPUbiv+5b6bo\n1tSBA7PK38IgsCLwmSPZambaCbJtzdMCHEp+oeWjmQUc6AKb+hya5HR5pKZ4MOEc\n3ls1Y4OkUGqIc7Ql0U5VNZngsCUJDhqfusf7cJo1r8wuO/wjL32PKD5YnaWtUKqu\naJppjr3M+BJtdQ4psRQEgpzp+fQ/PC12GrV3rQodUVeFoQDTMsoKnN6XCnKRFTqa\nobvtcPC8PqGyycbSwwhANn/TNesCNPbNKjI/WfGv+DmUI4xlUx1MV0rB5KlhwgxA\nYQRnE41w98LzoXzt1FoJoEwMF8A0c3wwDgckKM8RLiUI2tFzKT6W8rLDjKIsF4lC\ndDwUIYXAl0pwrCSymfnmCi7BbSvWGAqmDRYkiLgnoPOcNO5hrF1WpD+bHGE31/N9\n5s3Q3P497pybQL6cosJEg2fYz8CQgM+B60Sg+YIFFDf4llVD3Y2ReUj4LSZnk4G5\nLRzQ2X3W7Qf1wk8BGUVD5Skr9jkavT2Uy4f8Zu21IgvK7z0QP1Ta83nmZi2MzO1k\nyittyn2iUAVVQ2mwLhAHlf13jDYOVNbI3AzwrPYNjSO+RDfv1ibnpd8MqBCnKeV7\neWNTGK9N52Oi9LMQz6fjLaEq4G0P6N+kB5HlyLZTtgt+5WW9mG8z69QMM+GRUQ==\n-----END CERTIFICATE-----"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:02 GMT + recorded_at: Wed, 21 Nov 2018 01:38:12 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true body: encoding: US-ASCII string: '' @@ -333,11 +578,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -346,11 +591,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:02 GMT + - Wed, 21 Nov 2018 01:38:12 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"a063b5de6d54865161e8d7c31966a02e-gzip"' + - '"2500ab2f6afdb2d1bd2563ab36707389-gzip"' Vary: - Accept-Encoding Content-Length: @@ -361,26 +606,26 @@ http_interactions: encoding: ASCII-8BIT string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": - "2018-08-30T03:21:01Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "2018-11-21T01:38:11Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": - {"$oid": "5b87629dd6cc06041e66e6fd"}, "config": {"http": true, "https": true, - "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-08-30T03:21:02Z", + {"$oid": "5bf4b7031b5b880441544f73"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:11Z", "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", - "last_updated": "2018-08-30T03:21:01Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "last_updated": "2018-11-21T01:38:11Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": - {}, "last_sync": "2018-08-30T03:21:02Z", "scratchpad": {"repomd_revision": - 1535598944}, "_id": {"$oid": "5b87629dd6cc06041e66e6fc"}, "config": {"feed": + {}, "last_sync": "2018-11-21T01:38:11Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b7031b5b880441544f72"}, "config": {"feed": "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": - 30, "_id": {"$oid": "5b87629dd6cc06041e66e6fb"}, "total_repository_units": + 30, "_id": {"$oid": "5bf4b7031b5b880441544f71"}, "total_repository_units": 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:02 GMT + recorded_at: Wed, 21 Nov 2018 01:38:12 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// body: encoding: UTF-8 string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' @@ -390,13 +635,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '82' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -405,7 +650,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:02 GMT + - Wed, 21 Nov 2018 01:38:12 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -419,13 +664,13 @@ http_interactions: string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": - [], "binding_config": {}, "_id": {"$oid": "5b87629ed6cc06041d38e571"}, "id": - "5b87629ed6cc06041d38e571"}, "error": null}' + [], "binding_config": {}, "_id": {"$oid": "5bf4b7041b5b880441544f76"}, "id": + "5bf4b7041b5b880441544f76"}, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:02 GMT + recorded_at: Wed, 21 Nov 2018 01:38:12 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// body: encoding: UTF-8 string: '{"content_type":"rpm","profile":[{"name":"elephant","version":"0.2","release":"0.7","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' @@ -435,13 +680,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '130' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -450,7 +695,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:21:02 GMT + - Wed, 21 Nov 2018 01:38:12 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -465,12 +710,12 @@ http_interactions: "0.2", "release": "0.7", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "db16b75e977ae3fbbf27beb919693137b26ba59eb7be73f2888197b89521e50d", "consumer_id": "integration_test_consumer_support", "content_type": "rpm", - "_id": {"$oid": "5b87629ed6cc06041d38e573"}, "id": "5b87629ed6cc06041d38e573"}' + "_id": {"$oid": "5bf4b7041b5b880441544f78"}, "id": "5bf4b7041b5b880441544f78"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:02 GMT + recorded_at: Wed, 21 Nov 2018 01:38:12 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability// + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability// body: encoding: UTF-8 string: '{"consumer_criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}}}' @@ -480,13 +725,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '86' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -495,7 +740,7 @@ http_interactions: message: Accepted headers: Date: - - Thu, 30 Aug 2018 03:21:02 GMT + - Wed, 21 Nov 2018 01:38:12 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -504,14 +749,14 @@ http_interactions: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/00d0fb14-d373-4881-8be6-acf8bc4b4447/", - "task_id": "00d0fb14-d373-4881-8be6-acf8bc4b4447"}], "result": null, "error": + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/ecda1024-e800-4e44-9511-3037731dc558/", + "task_id": "ecda1024-e800-4e44-9511-3037731dc558"}], "result": null, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:02 GMT + recorded_at: Wed, 21 Nov 2018 01:38:12 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/tasks/00d0fb14-d373-4881-8be6-acf8bc4b4447/ + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/ecda1024-e800-4e44-9511-3037731dc558/ body: encoding: US-ASCII string: '' @@ -521,11 +766,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -534,11 +779,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:03 GMT + - Wed, 21 Nov 2018 01:38:13 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"73dcab6eb53d2b6ba20e20b2adb823a4-gzip"' + - '"e4e3d147217fed2f0ec83e72a7cec454-gzip"' Vary: - Accept-Encoding Content-Length: @@ -548,19 +793,19 @@ http_interactions: body: encoding: ASCII-8BIT string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", - "_href": "/pulp/api/v2/tasks/00d0fb14-d373-4881-8be6-acf8bc4b4447/", "task_id": - "00d0fb14-d373-4881-8be6-acf8bc4b4447", "tags": ["pulp:action:content_applicability_regeneration"], - "finish_time": "2018-08-30T03:21:02Z", "_ns": "task_status", "start_time": - "2018-08-30T03:21:02Z", "traceback": null, "spawned_tasks": [], "progress_report": - {}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", - "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", - "result": null, "error": null, "_id": {"$oid": "5b87629e04b1e079c02f55c7"}, - "id": "5b87629e04b1e079c02f55c7"}' + "_href": "/pulp/api/v2/tasks/ecda1024-e800-4e44-9511-3037731dc558/", "task_id": + "ecda1024-e800-4e44-9511-3037731dc558", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:38:12Z", "_ns": "task_status", "start_time": + "2018-11-21T01:38:12Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b7044669e863061f2f3c"}, + "id": "5bf4b7044669e863061f2f3c"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:03 GMT + recorded_at: Wed, 21 Nov 2018 01:38:13 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/consumers/content/applicability/ + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ body: encoding: UTF-8 string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["erratum"]}' @@ -570,13 +815,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '105' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -585,7 +830,7 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:03 GMT + - Wed, 21 Nov 2018 01:38:13 GMT Server: - Apache/2.4.6 (CentOS) Vary: @@ -596,8 +841,8 @@ http_interactions: - application/json; charset=utf-8 body: encoding: ASCII-8BIT - string: '[{"applicability": {"erratum": ["b9f25e8d-c728-4f36-949a-3b1bf3f68691"]}, + string: '[{"applicability": {"erratum": ["6eaf5d4a-ce89-4ed5-ac32-4d673fcd19ab"]}, "consumers": ["integration_test_consumer_support"]}]' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:03 GMT + recorded_at: Wed, 21 Nov 2018 01:38:13 GMT recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/modular_applicability.yml b/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/modular_applicability.yml new file mode 100644 index 00000000..48abc98b --- /dev/null +++ b/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/modular_applicability.yml @@ -0,0 +1,2153 @@ +--- +http_interactions: +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/d672e513-f40e-4179-8510-8c2dc21fd9ac/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Tue, 20 Nov 2018 22:54:41 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"aae80386e27d52e8487dbe31ee9010a1-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/d672e513-f40e-4179-8510-8c2dc21fd9ac/", "task_id": + "d672e513-f40e-4179-8510-8c2dc21fd9ac", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-20T22:54:40Z", "_ns": "task_status", "start_time": + "2018-11-20T22:54:40Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf490b0ed39ef8df663bb5c"}, + "id": "5bf490b0ed39ef8df663bb5c"}' + http_version: + recorded_at: Tue, 20 Nov 2018 22:54:41 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/d74a530b-70ff-4297-aadf-8703c2a29612/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Tue, 20 Nov 2018 22:57:33 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"39af90072756c072add17f47c68ea4e2-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/d74a530b-70ff-4297-aadf-8703c2a29612/", "task_id": + "d74a530b-70ff-4297-aadf-8703c2a29612", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-20T22:57:27Z", "_ns": "task_status", "start_time": + "2018-11-20T22:57:27Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf49157ed39ef8df663c551"}, + "id": "5bf49157ed39ef8df663c551"}' + http_version: + recorded_at: Tue, 20 Nov 2018 22:57:33 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/dfb0b605-0d4c-400e-9116-4f09c06ec3b2/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Tue, 20 Nov 2018 23:08:38 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"3077071c9a2a6063ee11a129be6cd58a-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/dfb0b605-0d4c-400e-9116-4f09c06ec3b2/", "task_id": + "dfb0b605-0d4c-400e-9116-4f09c06ec3b2", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-20T23:08:36Z", "_ns": "task_status", "start_time": + "2018-11-20T23:08:36Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf493f4ed39ef8df663d842"}, + "id": "5bf493f4ed39ef8df663d842"}' + http_version: + recorded_at: Tue, 20 Nov 2018 23:08:38 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/fad79236-d546-45b7-9764-6a39dd129b51/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Tue, 20 Nov 2018 23:41:58 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"64eecd1b434aed2f9f09a7780f244032-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/fad79236-d546-45b7-9764-6a39dd129b51/", "task_id": + "fad79236-d546-45b7-9764-6a39dd129b51", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-20T23:41:58Z", "_ns": "task_status", "start_time": + "2018-11-20T23:41:58Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf49bc6ed39ef8df664032d"}, + "id": "5bf49bc6ed39ef8df664032d"}' + http_version: + recorded_at: Tue, 20 Nov 2018 23:41:58 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/154ee5bd-a492-4db5-8270-31bf3a253dee/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Tue, 20 Nov 2018 23:44:00 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"663adc36de9d3f0cd82be39884fc9f74-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/154ee5bd-a492-4db5-8270-31bf3a253dee/", "task_id": + "154ee5bd-a492-4db5-8270-31bf3a253dee", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-20T23:43:59Z", "_ns": "task_status", "start_time": + "2018-11-20T23:43:59Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf49c3fed39ef8df6640c22"}, + "id": "5bf49c3fed39ef8df6640c22"}' + http_version: + recorded_at: Tue, 20 Nov 2018 23:44:00 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/22778eaa-5ee7-455e-b5cb-b04e5537fb2f/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:02:26 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"0e1f0900127fe11dcc38ea2353ea1f03-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/22778eaa-5ee7-455e-b5cb-b04e5537fb2f/", "task_id": + "22778eaa-5ee7-455e-b5cb-b04e5537fb2f", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:02:25Z", "_ns": "task_status", "start_time": + "2018-11-21T01:02:25Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4aea14669e863061e403a"}, + "id": "5bf4aea14669e863061e403a"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:02:26 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/86caac44-1b53-4ea0-b781-938f65c83c86/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:08:58 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"63df1ac96edacc5eae2d0a9cf20cc4ef-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/86caac44-1b53-4ea0-b781-938f65c83c86/", "task_id": + "86caac44-1b53-4ea0-b781-938f65c83c86", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:08:57Z", "_ns": "task_status", "start_time": + "2018-11-21T01:08:57Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b0294669e863061e4e0a"}, + "id": "5bf4b0294669e863061e4e0a"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:08:58 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/26357cae-eca2-48b9-993a-d29b14b8cdcf/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:10:53 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"e761e2c89bbcab80feaed25617969e69-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/26357cae-eca2-48b9-993a-d29b14b8cdcf/", "task_id": + "26357cae-eca2-48b9-993a-d29b14b8cdcf", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:10:53Z", "_ns": "task_status", "start_time": + "2018-11-21T01:10:53Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b09d4669e863061e5672"}, + "id": "5bf4b09d4669e863061e5672"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:10:53 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/3ab1672e-e179-40b2-ab2e-cd7b3e27df6b/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:12:35 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"61b2e6d225294350778cb51c53a0c0c7-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/3ab1672e-e179-40b2-ab2e-cd7b3e27df6b/", "task_id": + "3ab1672e-e179-40b2-ab2e-cd7b3e27df6b", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:12:35Z", "_ns": "task_status", "start_time": + "2018-11-21T01:12:35Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b1034669e863061e5f3d"}, + "id": "5bf4b1034669e863061e5f3d"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:12:36 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/b6c3842d-67b5-4a25-86f2-60087f4658f3/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:16:10 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"7b0294e16976290bbe0e8589dcb04aae-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/b6c3842d-67b5-4a25-86f2-60087f4658f3/", "task_id": + "b6c3842d-67b5-4a25-86f2-60087f4658f3", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:16:10Z", "_ns": "task_status", "start_time": + "2018-11-21T01:16:10Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b1da4669e863061e69a6"}, + "id": "5bf4b1da4669e863061e69a6"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:16:10 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/8ac06c99-a956-4c89-af29-9d7896a236a4/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:17:56 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"7416791bdae6f4086202351bb0ee1d3d-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/8ac06c99-a956-4c89-af29-9d7896a236a4/", "task_id": + "8ac06c99-a956-4c89-af29-9d7896a236a4", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:17:55Z", "_ns": "task_status", "start_time": + "2018-11-21T01:17:55Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b2434669e863061e71f1"}, + "id": "5bf4b2434669e863061e71f1"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:17:56 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/3ec447c6-2240-43c6-a68e-424019209e41/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:18:34 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"25095526e36d0ecbe4376ddbb0305aa1-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/3ec447c6-2240-43c6-a68e-424019209e41/", "task_id": + "3ec447c6-2240-43c6-a68e-424019209e41", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:18:34Z", "_ns": "task_status", "start_time": + "2018-11-21T01:18:34Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b26a4669e863061e7909"}, + "id": "5bf4b26a4669e863061e7909"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:18:34 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/d374cfc1-c1e3-42e1-8d4c-6150f7cb0750/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:19:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"500cca7d7617c3d7471c9efd062c71ee-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/d374cfc1-c1e3-42e1-8d4c-6150f7cb0750/", "task_id": + "d374cfc1-c1e3-42e1-8d4c-6150f7cb0750", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:19:07Z", "_ns": "task_status", "start_time": + "2018-11-21T01:19:07Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b28b4669e863061e8015"}, + "id": "5bf4b28b4669e863061e8015"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:19:08 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/146c6d01-28bb-43a5-ae6d-edd32545dcad/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:19:09 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"80a61f557c82fb44026fbad6efd35098-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/146c6d01-28bb-43a5-ae6d-edd32545dcad/", "task_id": + "146c6d01-28bb-43a5-ae6d-edd32545dcad", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:19:08Z", "_ns": "task_status", "start_time": + "2018-11-21T01:19:08Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b28c4669e863061e8050"}, + "id": "5bf4b28c4669e863061e8050"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:19:09 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/78442feb-0770-499c-abdb-dc0d0a01cf55/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:20:20 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"71dc447903af1234ef241bb1aaf98b58-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/78442feb-0770-499c-abdb-dc0d0a01cf55/", "task_id": + "78442feb-0770-499c-abdb-dc0d0a01cf55", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:20:19Z", "_ns": "task_status", "start_time": + "2018-11-21T01:20:19Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b2d34669e863061e880b"}, + "id": "5bf4b2d34669e863061e880b"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:20:20 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/ed122e25-6b4f-4e3c-ae3f-4768817c8927/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:20:20 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"4ab5c5e3c33c896d00baf45efcab7ebe-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/ed122e25-6b4f-4e3c-ae3f-4768817c8927/", "task_id": + "ed122e25-6b4f-4e3c-ae3f-4768817c8927", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:20:20Z", "_ns": "task_status", "start_time": + "2018-11-21T01:20:20Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b2d44669e863061e8845"}, + "id": "5bf4b2d44669e863061e8845"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:20:20 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/f8549732-fb50-4a5d-868b-d442d295ea9e/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:21:36 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"894fac2ef7c41872926f1c66c9ed548c-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/f8549732-fb50-4a5d-868b-d442d295ea9e/", "task_id": + "f8549732-fb50-4a5d-868b-d442d295ea9e", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:21:36Z", "_ns": "task_status", "start_time": + "2018-11-21T01:21:36Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b3204669e863061e900d"}, + "id": "5bf4b3204669e863061e900d"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:21:36 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/fbd72dc3-90ee-4b1f-9b67-bb7f0cc734b7/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:21:37 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"604cd8d720ce5c31f780fa88966e1f68-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/fbd72dc3-90ee-4b1f-9b67-bb7f0cc734b7/", "task_id": + "fbd72dc3-90ee-4b1f-9b67-bb7f0cc734b7", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:21:36Z", "_ns": "task_status", "start_time": + "2018-11-21T01:21:36Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b3204669e863061e9055"}, + "id": "5bf4b3204669e863061e9055"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:21:37 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/7204f4b4-49cb-4215-81d5-f23f51be39bf/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:22:23 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"2f6f4cdff2340b8f205e9aa0b0f88f7b-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/7204f4b4-49cb-4215-81d5-f23f51be39bf/", "task_id": + "7204f4b4-49cb-4215-81d5-f23f51be39bf", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:22:23Z", "_ns": "task_status", "start_time": + "2018-11-21T01:22:23Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b34f4669e863061ea1de"}, + "id": "5bf4b34f4669e863061ea1de"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:22:23 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/5f4d1c2d-84ae-4e0d-9d8f-9b5c037f2f5b/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:23:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"94bd3c4b7734f3dad44293a96658cbc4-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/5f4d1c2d-84ae-4e0d-9d8f-9b5c037f2f5b/", "task_id": + "5f4d1c2d-84ae-4e0d-9d8f-9b5c037f2f5b", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:23:07Z", "_ns": "task_status", "start_time": + "2018-11-21T01:23:07Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b37b4669e863061eb434"}, + "id": "5bf4b37b4669e863061eb434"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:23:08 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/75118731-1aa7-4559-a81e-da2a86912660/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:23:08 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"ea56d48320ea12ee6979c3a76dd6b1e3-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/75118731-1aa7-4559-a81e-da2a86912660/", "task_id": + "75118731-1aa7-4559-a81e-da2a86912660", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:23:08Z", "_ns": "task_status", "start_time": + "2018-11-21T01:23:08Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b37c4669e863061eb476"}, + "id": "5bf4b37c4669e863061eb476"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:23:08 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/40e32cc6-2f59-4a2d-9ce6-6161fc273d52/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:25:03 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"6f397814fb04970428dca63e2392b412-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/40e32cc6-2f59-4a2d-9ce6-6161fc273d52/", "task_id": + "40e32cc6-2f59-4a2d-9ce6-6161fc273d52", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:25:03Z", "_ns": "task_status", "start_time": + "2018-11-21T01:25:03Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b3ef4669e863061ec796"}, + "id": "5bf4b3ef4669e863061ec796"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:25:03 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/7ef8bccd-c273-4f33-bd69-c85aca15fa8b/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:25:04 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"d3f3777e09cb21dd9f3acfb6d4cf4de8-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/7ef8bccd-c273-4f33-bd69-c85aca15fa8b/", "task_id": + "7ef8bccd-c273-4f33-bd69-c85aca15fa8b", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:25:04Z", "_ns": "task_status", "start_time": + "2018-11-21T01:25:04Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b3f04669e863061ec7de"}, + "id": "5bf4b3f04669e863061ec7de"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:25:04 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/18901f62-2153-4eb8-a560-80dd83f1dd47/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:41 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"53ed8a73004cc3d1b161045210d58d4f-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/18901f62-2153-4eb8-a560-80dd83f1dd47/", "task_id": + "18901f62-2153-4eb8-a560-80dd83f1dd47", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:28:41Z", "_ns": "task_status", "start_time": + "2018-11-21T01:28:41Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b4c94669e863061edd96"}, + "id": "5bf4b4c94669e863061edd96"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:41 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["rpm"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '101' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:42 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '122' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"rpm": ["d412677d-d5ca-4596-b916-9deb8afd1616"]}, + "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:42 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/b5bbe27b-84f0-4ba8-bc3b-82a689a2aff1/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:34:00 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"e9750039d0d155f60c77549acf72fd4b-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/b5bbe27b-84f0-4ba8-bc3b-82a689a2aff1/", "task_id": + "b5bbe27b-84f0-4ba8-bc3b-82a689a2aff1", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:34:00Z", "_ns": "task_status", "start_time": + "2018-11-21T01:34:00Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6084669e863061ef63c"}, + "id": "5bf4b6084669e863061ef63c"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:34:00 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["rpm"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '101' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:34:00 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '122' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"rpm": ["d412677d-d5ca-4596-b916-9deb8afd1616"]}, + "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:34:00 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/ec1c2a1e-b09e-4399-af1b-090867f274d8/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:04 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"70bc74d6e951af4ce39340fbddb24504-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/ec1c2a1e-b09e-4399-af1b-090867f274d8/", "task_id": + "ec1c2a1e-b09e-4399-af1b-090867f274d8", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:35:03Z", "_ns": "task_status", "start_time": + "2018-11-21T01:35:03Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6474669e863061f08a5"}, + "id": "5bf4b6474669e863061f08a5"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:04 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["rpm"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '101' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:04 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '122' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"rpm": ["d412677d-d5ca-4596-b916-9deb8afd1616"]}, + "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:04 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability// + body: + encoding: UTF-8 + string: '{"consumer_criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '86' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 202 + message: Accepted + headers: + Date: + - Wed, 21 Nov 2018 01:35:44 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/44c63636-f9f2-4681-8137-beb20b1f99fb/", + "task_id": "44c63636-f9f2-4681-8137-beb20b1f99fb"}], "result": null, "error": + null}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:44 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/44c63636-f9f2-4681-8137-beb20b1f99fb/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:44 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"3b83b56bb73b34e6338f0b034666008c-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/44c63636-f9f2-4681-8137-beb20b1f99fb/", "task_id": + "44c63636-f9f2-4681-8137-beb20b1f99fb", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:35:44Z", "_ns": "task_status", "start_time": + "2018-11-21T01:35:44Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6704669e863061f1b0a"}, + "id": "5bf4b6704669e863061f1b0a"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:45 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["rpm"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '101' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:45 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '122' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"rpm": ["d412677d-d5ca-4596-b916-9deb8afd1616"]}, + "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:45 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["modulemd"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '106' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:45 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '127' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"modulemd": ["45bc4a06-78e7-4ca5-ad60-31fe45f67ef6"]}, + "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:45 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["erratum"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '105' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:45 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '126' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"erratum": ["71ca7ce2-5230-4da5-8334-97ee9d9ffe1e"]}, + "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:45 GMT +- request: + method: delete + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:14 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '4' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: 'null' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:14 GMT +- request: + method: delete + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 404 + message: Not Found + headers: + Date: + - Wed, 21 Nov 2018 01:38:14 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '513' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"http_request_method": "DELETE", "exception": null, "error_message": + "Missing resource(s): consumer=integration_test_consumer_support", "_href": + "/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": + 404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, + "description": "Missing resource(s): consumer=integration_test_consumer_support", + "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:14 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ + body: + encoding: UTF-8 + string: '{"id":"integration_test_consumer_support"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '42' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 201 + message: CREATED + headers: + Date: + - Wed, 21 Nov 2018 01:38:14 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '2549' + Location: + - "/pulp/api/v2/consumers/integration_test_consumer_support/" + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"consumer": {"display_name": "integration_test_consumer_support", + "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": + {}, "_id": {"$oid": "5bf4b7071b5b88043c4c28a2"}, "id": "integration_test_consumer_support", + "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": + "-----BEGIN RSA PRIVATE KEY-----\nMIICXgIBAAKBgQCY/YUGJ3NMQORcx/Pa4pyUDPl12KSLc+FuZhXcqEUPUALq0OZJ\nnc1ZX9bTifV6Arkz9wL9Ib6tDJQek5Jq98qA16FCevvbedPUn/vhMLO6ofkxbyTE\nplxjV5m3aSXHr/L04Ecwiotr87vLA07ZmwdHgI0d1e6xIEAU6QiLnf5kGQIDAQAB\nAoGBAIe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c1ZX9bT\nifV6Arkz9wL9Ib6tDJQek5Jq98qA16FCevvbedPUn/vhMLO6ofkxbyTEplxjV5m3\naSXHr/L04Ecwiotr87vLA07ZmwdHgI0d1e6xIEAU6QiLnf5kGQIDAQABMA0GCSqG\nSIb3DQEBBQUAA4ICAQCdCxlUdpxdKPeygcQHn9++sYfgENPaQp8WHAKYXNp96ncm\nU8d5eonmK8VohQ3UsFLOzCNJnMBj1Q9LP/RuMe+8QBVWAugBWDD7AyfQ+kRCGtQL\n+3+amPoZE8rNrC8is5Ad6gbudtIKFq1+s8LqhXhlGkD/d99CXfq5ZvlcLDvGBnDr\nvtFoKoPHlRYz6S+cD3sSSYfD4IQ0DQm4pqJ0zeJBtmw2DrwdINMPBhB+Y/QmgquQ\nVf4LNJh3VOjFzOeEdjBtlm9/0CbI6ysycESzR+zMiOxbrqYLjlM9ssoRstNnO6YD\nWql54dUcteXEj4XIdzLncDqJcLOJaMbkdvBmEOu/RZfI1mqyUUxjQL9EovEtuw4B\n+a6PeaJyf+W5vlXAI+uaxGOgX/B9mQBrahD/HcCJMrBeE1uQJmPsp1iJfKqZ2e8t\no41Vkw0/WHebwj9xIi3zhzfMDDdF5Y17LPqiKdleZbawS05ctecTeGECa8UVqdAW\nGJ3hPGpchQlWUKCPVjEFny684LogppZHkykylvRGEu/n9Nz8NmqtGCBvGf1AQF2N\nYfZR2KxRo6LARzgF7hATUSTTckuQpqH9ZsyR7HK9GVUYRlq8pNSD9Fh2lXtittiG\nYylyea9hOXi3MxqDg0VNBTfLKlRWoAr3MmIHOtoNPSuaZlVSJL+ptlDmxKVzDQ==\n-----END + CERTIFICATE-----"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:15 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:15 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"2500ab2f6afdb2d1bd2563ab36707389-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1478' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", + "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": + "2018-11-21T01:38:11Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", + "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": + {"$oid": "5bf4b7031b5b880441544f73"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:11Z", + "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": + 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": + 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", + "last_updated": "2018-11-21T01:38:11Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": + {}, "last_sync": "2018-11-21T01:38:11Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b7031b5b880441544f72"}, "config": {"feed": + "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": + 30, "_id": {"$oid": "5bf4b7031b5b880441544f71"}, "total_repository_units": + 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:15 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + body: + encoding: UTF-8 + string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '82' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:15 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '358' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": + "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": + "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": + [], "binding_config": {}, "_id": {"$oid": "5bf4b7071b5b880441544f7e"}, "id": + "5bf4b7071b5b880441544f7e"}, "error": null}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:15 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + body: + encoding: UTF-8 + string: '{"content_type":"modulemd","profile":[{"name":"kangaroo","stream":"0","version":"20180730223407","context":"deadbeef","arch":"noarch"}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '136' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 201 + message: CREATED + headers: + Date: + - Wed, 21 Nov 2018 01:38:15 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '484' + Location: + - "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/modulemd/" + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"profile": [{"stream": "0", "version": "20180730223407", "arch": "noarch", + "name": "kangaroo", "context": "deadbeef"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/modulemd/", + "_ns": "consumer_unit_profiles", "profile_hash": "f69375f21b302f40025ff8a2128004e81436407554972029cbfbe445d0a2b563", + "consumer_id": "integration_test_consumer_support", "content_type": "modulemd", + "_id": {"$oid": "5bf4b7071b5b880441544f80"}, "id": "5bf4b7071b5b880441544f80"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:15 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + body: + encoding: UTF-8 + string: '{"content_type":"rpm","profile":[{"name":"kangaroo","version":"0.2","release":"1","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '128' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 201 + message: CREATED + headers: + Date: + - Wed, 21 Nov 2018 01:38:15 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '473' + Location: + - "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/" + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"profile": [{"vendor": "Fedora", "name": "kangaroo", "epoch": 0, "version": + "0.2", "release": "1", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", + "_ns": "consumer_unit_profiles", "profile_hash": "5aff32bbb246349d13882416d74225de64a15d927dec5c1535fdf8c12b13c318", + "consumer_id": "integration_test_consumer_support", "content_type": "rpm", + "_id": {"$oid": "5bf4b7071b5b88043c4c28a4"}, "id": "5bf4b7071b5b88043c4c28a4"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:15 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability// + body: + encoding: UTF-8 + string: '{"consumer_criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '86' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 202 + message: Accepted + headers: + Date: + - Wed, 21 Nov 2018 01:38:15 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/00ac0d7f-dcd9-4762-8462-50775d0456fa/", + "task_id": "00ac0d7f-dcd9-4762-8462-50775d0456fa"}], "result": null, "error": + null}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:15 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/00ac0d7f-dcd9-4762-8462-50775d0456fa/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:15 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"a20cb6be957899e3949839286072efe3-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/00ac0d7f-dcd9-4762-8462-50775d0456fa/", "task_id": + "00ac0d7f-dcd9-4762-8462-50775d0456fa", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:38:15Z", "_ns": "task_status", "start_time": + "2018-11-21T01:38:15Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b7074669e863061f302c"}, + "id": "5bf4b7074669e863061f302c"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:15 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["rpm"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '101' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:15 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '122' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"rpm": ["d412677d-d5ca-4596-b916-9deb8afd1616"]}, + "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:16 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["modulemd"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '106' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:16 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '127' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"modulemd": ["45bc4a06-78e7-4ca5-ad60-31fe45f67ef6"]}, + "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:16 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["erratum"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '105' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:16 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '126' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"erratum": ["71ca7ce2-5230-4da5-8334-97ee9d9ffe1e"]}, + "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:16 GMT +recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/non_modular_applicability.yml b/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/non_modular_applicability.yml new file mode 100644 index 00000000..e973e05b --- /dev/null +++ b/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/non_modular_applicability.yml @@ -0,0 +1,685 @@ +--- +http_interactions: +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/e3c29819-d2e7-4954-88e6-d8f54e35caa8/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:40 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"93e0e6634434e88b8e24c2d2d8bf883b-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/e3c29819-d2e7-4954-88e6-d8f54e35caa8/", "task_id": + "e3c29819-d2e7-4954-88e6-d8f54e35caa8", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:28:40Z", "_ns": "task_status", "start_time": + "2018-11-21T01:28:40Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b4c74669e863061edd05"}, + "id": "5bf4b4c74669e863061edd05"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:40 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/64474a4d-506b-4ef4-b7e9-d7fe2e6018f9/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:33:59 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"f8ef17a9e635537cfeb73887659c6d1b-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/64474a4d-506b-4ef4-b7e9-d7fe2e6018f9/", "task_id": + "64474a4d-506b-4ef4-b7e9-d7fe2e6018f9", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:33:58Z", "_ns": "task_status", "start_time": + "2018-11-21T01:33:58Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6064669e863061ef5ab"}, + "id": "5bf4b6064669e863061ef5ab"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:33:59 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/f4bcf19b-16e2-4daa-9b7d-582a9e349044/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:05 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"93580e36a0192141aebdced39b2daa9a-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/f4bcf19b-16e2-4daa-9b7d-582a9e349044/", "task_id": + "f4bcf19b-16e2-4daa-9b7d-582a9e349044", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:35:04Z", "_ns": "task_status", "start_time": + "2018-11-21T01:35:04Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6484669e863061f0927"}, + "id": "5bf4b6484669e863061f0927"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:05 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/07e44ecb-2384-43ba-93c8-8f77ba254e7b/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:47 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"7b1797eb46e14778a65ac3c71af35e9e-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/07e44ecb-2384-43ba-93c8-8f77ba254e7b/", "task_id": + "07e44ecb-2384-43ba-93c8-8f77ba254e7b", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:35:47Z", "_ns": "task_status", "start_time": + "2018-11-21T01:35:47Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6734669e863061f1c02"}, + "id": "5bf4b6734669e863061f1c02"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:47 GMT +- request: + method: delete + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:13 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '4' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: 'null' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:13 GMT +- request: + method: delete + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 404 + message: Not Found + headers: + Date: + - Wed, 21 Nov 2018 01:38:13 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '513' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"http_request_method": "DELETE", "exception": null, "error_message": + "Missing resource(s): consumer=integration_test_consumer_support", "_href": + "/pulp/api/v2/consumers/integration_test_consumer_support/", "http_status": + 404, "error": {"code": "PLP0009", "data": {"resources": {"consumer": "integration_test_consumer_support"}}, + "description": "Missing resource(s): consumer=integration_test_consumer_support", + "sub_errors": []}, "traceback": null, "resources": {"consumer": "integration_test_consumer_support"}}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:13 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/ + body: + encoding: UTF-8 + string: '{"id":"integration_test_consumer_support"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '42' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 201 + message: CREATED + headers: + Date: + - Wed, 21 Nov 2018 01:38:13 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '2541' + Location: + - "/pulp/api/v2/consumers/integration_test_consumer_support/" + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"consumer": {"display_name": "integration_test_consumer_support", + "description": null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": + {}, "_id": {"$oid": "5bf4b7051b5b88043c4c28a0"}, "id": "integration_test_consumer_support", + "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/"}, "certificate": + "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDgSuRE2DbgEvC7tk+ZRhctqiV11DT2gGwTkLwelodkil19sp9/\n0nZ8CPJNE+IQuylz/1hxvHTSuwHn8ATDU6A/fV00dK8DROKQG6lXTM29q2+fMZW/\n9Ao4t/BZNDh0poGhQjJDvRviQBQq6pZqZb5BI8zncoSIQMxkzMdRLe+A+wIDAQAB\nAoGBANkcxbA6l4v56ZvbE1wsM92ZOR/A5e/DSlr6HI+DaNYS9gLp+GlUAit4wYuI\n9qj5c1v8zdFy+qbOLT8l4IZvGcrrdNqdIF3N5Quu6b7YJjBDAOBI4qvNefz53LV1\n2gy/hihE7/yDicfsR4use2wRxua3HxLdad70qbhWVqWXvFMZAkEA9XjjKbvujHBY\nfBVuO8QqvnxKoT5srXzoQ9rZlSce5+dVxBy5W4QQ9YFQEaCkiOloYvK1RcHJsZ+q\n9x1jF/wqNwJBAOnpd2YcmN2kCzGuRTwhidElb7b76MLnIbuGAN9AljQJVkpxREv6\nd+tvDqlcySFmjc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IowQj7+t6\nl46hT/T8nD/NzT034NkRhDTGEe5I6RQFNNmgDp8E2SLoZD124/Ew/gfxoQpQk67L\n54ujpvge7/WxLsM1qkjXkoB8apXerTXP391idyNNLRqjkGEAQwXgpAYn2zlon7HK\nxNEQ5sTGDfwdRHvCuu6buHx1LBsYa02M08re17wYo4aDmA7rjAAzDrNqOCSrpUIM\nWdbdzmG+taBMHTw2gSbVD531RNsKDP2FOvV5yVsliYCD7BMmg03g+2uaMI+Jf7/x\nzhMzzNheXFq84Vg9eDbFBC6zFjlnjRxVg7am8LjyFfELkefmhlmL/PPUYvF/Mgsr\n0FUNuS4OxGiXjt+vJJ+3uLK0FGKu3DKVdvp7CQCqoWZNsdQ8bwBQqTKiz4c3L7ZP\nK7J2M6WKRSSDfAj+z7thHV0ABTIr1Tza9067m58gE2ZgNNTDGoZL96a7O+TLoZ8A\noVxfGYDKXvfJy2KM4SitR7J2cQgsOKgxJ7BffK/oLlol13cI3pbvij68hjse\n-----END + CERTIFICATE-----"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:13 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/?details=true + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:13 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"2500ab2f6afdb2d1bd2563ab36707389-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1478' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id", + "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated": + "2018-11-21T01:38:11Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", + "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor", + "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id": + {"$oid": "5bf4b7031b5b880441544f73"}, "config": {"http": true, "https": true, + "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2018-11-21T01:38:11Z", + "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group": + 2, "package_category": 1, "modulemd_defaults": 3, "erratum": 3, "distribution": + 1, "modulemd": 6, "rpm": 14}, "_ns": "repos", "importers": [{"repo_id": "integration_test_id", + "last_updated": "2018-11-21T01:38:11Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/", + "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config": + {}, "last_sync": "2018-11-21T01:38:11Z", "scratchpad": {"repomd_revision": + 1535598944}, "_id": {"$oid": "5bf4b7031b5b880441544f72"}, "config": {"feed": + "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units": + 30, "_id": {"$oid": "5bf4b7031b5b880441544f71"}, "total_repository_units": + 30, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:13 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings// + body: + encoding: UTF-8 + string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '82' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:13 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '358' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id": + "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id": + "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions": + [], "binding_config": {}, "_id": {"$oid": "5bf4b7051b5b8804458ab3d7"}, "id": + "5bf4b7051b5b8804458ab3d7"}, "error": null}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:13 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/integration_test_consumer_support/profiles// + body: + encoding: UTF-8 + string: '{"content_type":"rpm","profile":[{"name":"kangaroo","version":"0.2","release":"1","epoch":0,"arch":"noarch","vendor":"Fedora"}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '128' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 201 + message: CREATED + headers: + Date: + - Wed, 21 Nov 2018 01:38:13 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '473' + Location: + - "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/" + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"profile": [{"vendor": "Fedora", "name": "kangaroo", "epoch": 0, "version": + "0.2", "release": "1", "arch": "noarch"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/rpm/", + "_ns": "consumer_unit_profiles", "profile_hash": "5aff32bbb246349d13882416d74225de64a15d927dec5c1535fdf8c12b13c318", + "consumer_id": "integration_test_consumer_support", "content_type": "rpm", + "_id": {"$oid": "5bf4b7051b5b8804458ab3d9"}, "id": "5bf4b7051b5b8804458ab3d9"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:13 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability// + body: + encoding: UTF-8 + string: '{"consumer_criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '86' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 202 + message: Accepted + headers: + Date: + - Wed, 21 Nov 2018 01:38:13 GMT + Server: + - Apache/2.4.6 (CentOS) + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/f7376e48-ff6b-45c8-b2a6-ad9ebb041b47/", + "task_id": "f7376e48-ff6b-45c8-b2a6-ad9ebb041b47"}], "result": null, "error": + null}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:14 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/f7376e48-ff6b-45c8-b2a6-ad9ebb041b47/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:14 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"ed85263c4bdcbac1b11d7961ba650672-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '733' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers", + "_href": "/pulp/api/v2/tasks/f7376e48-ff6b-45c8-b2a6-ad9ebb041b47/", "task_id": + "f7376e48-ff6b-45c8-b2a6-ad9ebb041b47", "tags": ["pulp:action:content_applicability_regeneration"], + "finish_time": "2018-11-21T01:38:14Z", "_ns": "task_status", "start_time": + "2018-11-21T01:38:14Z", "traceback": null, "spawned_tasks": [], "progress_report": + {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b7064669e863061f2fa8"}, + "id": "5bf4b7064669e863061f2fa8"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:14 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["rpm"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '101' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:14 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '84' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"rpm": []}, "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:14 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["modulemd"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '106' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:14 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '89' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"modulemd": []}, "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:14 GMT +- request: + method: post + uri: https://gamma.partello.example.com/pulp/api/v2/consumers/content/applicability/ + body: + encoding: UTF-8 + string: '{"criteria":{"filters":{"id":{"$in":["integration_test_consumer_support"]}}},"content_types":["erratum"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Content-Length: + - '105' + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:14 GMT + Server: + - Apache/2.4.6 (CentOS) + Vary: + - Accept-Encoding + Content-Length: + - '88' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '[{"applicability": {"erratum": []}, "consumers": ["integration_test_consumer_support"]}]' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:14 GMT +recorded_with: VCR 4.0.0 diff --git a/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/suite.yml b/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/suite.yml index 5efc7c66..d29dafcb 100644 --- a/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/suite.yml +++ b/test/fixtures/vcr_cassettes/extensions/consumer_applicability_scenario/suite.yml @@ -458,7 +458,591 @@ http_interactions: recorded_at: Thu, 30 Aug 2018 03:20:20 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/ + uri: https://alpha.partello.example.com/pulp/api/v2/tasks/e1be876b-bb47-4da5-a0c2-4070d39be9f8/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + Content-Type: + - application/json + Host: + - alpha.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 30 Aug 2018 03:21:02 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"50fa9d6f731e2822c3c2242b51e38179-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/e1be876b-bb47-4da5-a0c2-4070d39be9f8/", "task_id": + "e1be876b-bb47-4da5-a0c2-4070d39be9f8", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-08-30T03:21:02Z", "_ns": "task_status", + "start_time": "2018-08-30T03:21:01Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-08-30T03:21:01Z", + "_ns": "repo_sync_results", "completed": "2018-08-30T03:21:02Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5b87629ed6cc060873b59415", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5b87629d04b1e079c02f55a8"}, "id": "5b87629d04b1e079c02f55a8"}' + http_version: + recorded_at: Thu, 30 Aug 2018 03:21:02 GMT +- request: + method: get + uri: https://alpha.partello.example.com/pulp/api/v2/tasks/7889d45b-63c2-4824-9e4d-c7654270063d/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + Content-Type: + - application/json + Host: + - alpha.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 30 Aug 2018 03:21:04 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"33141d96b376a9be714bbfc999d8f9c9-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/7889d45b-63c2-4824-9e4d-c7654270063d/", "task_id": + "7889d45b-63c2-4824-9e4d-c7654270063d", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-08-30T03:21:03Z", "_ns": "task_status", + "start_time": "2018-08-30T03:21:03Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5b87629f04b1e079c02f55c8"}, + "id": "5b87629f04b1e079c02f55c8"}' + http_version: + recorded_at: Thu, 30 Aug 2018 03:21:04 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/e031417d-2568-4b6d-9b61-c62efc314eae/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:37 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"0d3eecdc54f4f9d0a4fda8158261cd77-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/e031417d-2568-4b6d-9b61-c62efc314eae/", "task_id": + "e031417d-2568-4b6d-9b61-c62efc314eae", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:28:37Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b4c54669e863061ed6c2"}, + "id": "5bf4b4c54669e863061ed6c2"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:37 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/e031417d-2568-4b6d-9b61-c62efc314eae/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:38 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"7341405516aa3c2e2d8102304bb0218c-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/e031417d-2568-4b6d-9b61-c62efc314eae/", "task_id": + "e031417d-2568-4b6d-9b61-c62efc314eae", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:28:37Z", "_ns": "task_status", + "start_time": "2018-11-21T01:28:37Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:28:37Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:28:37Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5bf4b4c51b5b8806d7ca664e", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5bf4b4c54669e863061ed6c2"}, "id": "5bf4b4c54669e863061ed6c2"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:38 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/a11e894c-2d6d-4367-a66e-7760d22aa5b8/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:28:42 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"9d4ee1168da27bd5df853d06b699a288-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/a11e894c-2d6d-4367-a66e-7760d22aa5b8/", "task_id": + "a11e894c-2d6d-4367-a66e-7760d22aa5b8", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:28:42Z", "_ns": "task_status", + "start_time": "2018-11-21T01:28:42Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b4ca4669e863061edde4"}, + "id": "5bf4b4ca4669e863061edde4"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:28:42 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/f1e357be-ac3d-4f20-aee9-5e1e4896ac09/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:33:56 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"d25587b6e3922fbe950799b4b994a02a-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/f1e357be-ac3d-4f20-aee9-5e1e4896ac09/", "task_id": + "f1e357be-ac3d-4f20-aee9-5e1e4896ac09", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:33:56Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6044669e863061eef5c"}, + "id": "5bf4b6044669e863061eef5c"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:33:56 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/f1e357be-ac3d-4f20-aee9-5e1e4896ac09/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:33:57 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"048bb5b0fde4247e63b207c2d9a37572-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/f1e357be-ac3d-4f20-aee9-5e1e4896ac09/", "task_id": + "f1e357be-ac3d-4f20-aee9-5e1e4896ac09", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:33:56Z", "_ns": "task_status", + "start_time": "2018-11-21T01:33:56Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:33:56Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:33:56Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5bf4b6041b5b8806d7ca6684", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5bf4b6044669e863061eef5c"}, "id": "5bf4b6044669e863061eef5c"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:33:57 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/ce8e35bb-3597-413c-88db-eb87e21407ed/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:34:01 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"19fd2cf29fc3bafc0ee3a99d778f32d5-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/ce8e35bb-3597-413c-88db-eb87e21407ed/", "task_id": + "ce8e35bb-3597-413c-88db-eb87e21407ed", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:34:01Z", "_ns": "task_status", + "start_time": "2018-11-21T01:34:01Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6094669e863061ef66f"}, + "id": "5bf4b6094669e863061ef66f"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:34:01 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/101d5bd5-e658-4bcc-829d-2281a5612c47/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:02 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"e48c90146e988627759e1c7081ce0fdd-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/101d5bd5-e658-4bcc-829d-2281a5612c47/", "task_id": + "101d5bd5-e658-4bcc-829d-2281a5612c47", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:35:01Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6454669e863061f02bf"}, + "id": "5bf4b6454669e863061f02bf"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:02 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/101d5bd5-e658-4bcc-829d-2281a5612c47/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:02 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"66447f38bdc84df5c7a8b84eda73aa7a-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/101d5bd5-e658-4bcc-829d-2281a5612c47/", "task_id": + "101d5bd5-e658-4bcc-829d-2281a5612c47", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:35:02Z", "_ns": "task_status", + "start_time": "2018-11-21T01:35:01Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:35:01Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:35:02Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5bf4b6461b5b8806d7ca66ba", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5bf4b6454669e863061f02bf"}, "id": "5bf4b6454669e863061f02bf"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:02 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/85fdf9be-3c7c-4452-a6eb-513ecc10106f/ body: encoding: US-ASCII string: '' @@ -468,11 +1052,232 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:07 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"49b906701f2cb7a5b7ae2cc172298ea8-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/85fdf9be-3c7c-4452-a6eb-513ecc10106f/", "task_id": + "85fdf9be-3c7c-4452-a6eb-513ecc10106f", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:35:06Z", "_ns": "task_status", + "start_time": "2018-11-21T01:35:06Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b64a4669e863061f09cb"}, + "id": "5bf4b64a4669e863061f09cb"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:07 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/2743ff6c-58cf-4d06-b91b-713aa0bbe3e5/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:43 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"0fd17e3dc2050082d438a72bd5b61d49-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/2743ff6c-58cf-4d06-b91b-713aa0bbe3e5/", "task_id": + "2743ff6c-58cf-4d06-b91b-713aa0bbe3e5", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:35:42Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b66e4669e863061f152d"}, + "id": "5bf4b66e4669e863061f152d"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:43 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/2743ff6c-58cf-4d06-b91b-713aa0bbe3e5/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:43 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"b59394199220c57fb0dd7ed9f03a59db-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/2743ff6c-58cf-4d06-b91b-713aa0bbe3e5/", "task_id": + "2743ff6c-58cf-4d06-b91b-713aa0bbe3e5", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:35:43Z", "_ns": "task_status", + "start_time": "2018-11-21T01:35:42Z", "traceback": null, "spawned_tasks": + [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": + "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, + "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": + 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, + "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], + "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": {"result": "success", "importer_id": "yum_importer", "exception": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:35:42Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:35:43Z", "importer_type_id": + "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, + "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": + {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": + 0, "updated_count": 0, "id": "5bf4b66f1b5b8806d7ca66f0", "details": {"modules": + {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": + 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": + "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": + "5bf4b66e4669e863061f152d"}, "id": "5bf4b66e4669e863061f152d"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:43 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/fdbbceaf-3fcf-4b82-bf9f-9492a1e627b7/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:35:48 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"098cb30edd5196dcc20db7c7dd83eb4e-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '697' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", + "_href": "/pulp/api/v2/tasks/fdbbceaf-3fcf-4b82-bf9f-9492a1e627b7/", "task_id": + "fdbbceaf-3fcf-4b82-bf9f-9492a1e627b7", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:35:47Z", "_ns": "task_status", + "start_time": "2018-11-21T01:35:47Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b6734669e863061f1c33"}, + "id": "5bf4b6734669e863061f1c33"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:35:48 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -481,7 +1286,7 @@ http_interactions: message: Not Found headers: Date: - - Thu, 30 Aug 2018 03:21:01 GMT + - Wed, 21 Nov 2018 01:38:11 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -498,10 +1303,10 @@ http_interactions: "integration_test_id"}}, "description": "Missing resource(s): repository=integration_test_id", "sub_errors": []}, "traceback": null, "resources": {"repository": "integration_test_id"}}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:01 GMT + recorded_at: Wed, 21 Nov 2018 01:38:11 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/ + uri: https://gamma.partello.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"},"distributors":[{"distributor_type_id":"yum_distributor","distributor_config":{"relative_url":"path","http":true,"https":true},"auto_publish":false,"distributor_id":"yum_dist"}]}' @@ -511,13 +1316,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '303' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -526,7 +1331,7 @@ http_interactions: message: CREATED headers: Date: - - Thu, 30 Aug 2018 03:21:01 GMT + - Wed, 21 Nov 2018 01:38:11 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -539,13 +1344,13 @@ http_interactions: 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": "5b87629dd6cc06041e66e6fb"}, "id": "integration_test_id", + {}, "_ns": "repos", "_id": {"$oid": "5bf4b7031b5b880441544f71"}, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:01 GMT + recorded_at: Wed, 21 Nov 2018 01:38:11 GMT - request: method: post - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/ + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/actions/sync/ body: encoding: UTF-8 string: "{}" @@ -555,13 +1360,13 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Content-Length: - '2' Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -570,7 +1375,7 @@ http_interactions: message: Accepted headers: Date: - - Thu, 30 Aug 2018 03:21:01 GMT + - Wed, 21 Nov 2018 01:38:11 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -579,14 +1384,14 @@ http_interactions: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/e1be876b-bb47-4da5-a0c2-4070d39be9f8/", - "task_id": "e1be876b-bb47-4da5-a0c2-4070d39be9f8"}], "result": null, "error": + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/e44141b7-a5b9-4928-9491-e0062176e155/", + "task_id": "e44141b7-a5b9-4928-9491-e0062176e155"}], "result": null, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:01 GMT + recorded_at: Wed, 21 Nov 2018 01:38:11 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/tasks/e1be876b-bb47-4da5-a0c2-4070d39be9f8/ + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/e44141b7-a5b9-4928-9491-e0062176e155/ body: encoding: US-ASCII string: '' @@ -596,11 +1401,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -609,11 +1414,66 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:02 GMT + - Wed, 21 Nov 2018 01:38:11 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"50fa9d6f731e2822c3c2242b51e38179-gzip"' + - '"41833deb4ee3873a10f1516cf132e36b-gzip"' + Vary: + - Accept-Encoding + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + body: + encoding: ASCII-8BIT + string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", + "_href": "/pulp/api/v2/tasks/e44141b7-a5b9-4928-9491-e0062176e155/", "task_id": + "e44141b7-a5b9-4928-9491-e0062176e155", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": null, "_ns": "task_status", "start_time": + "2018-11-21T01:38:11Z", "traceback": null, "spawned_tasks": [], "progress_report": + {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": + [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": + 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": + "FINISHED"}, "purge_duplicates": {"state": "IN_PROGRESS"}, "distribution": + {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": + 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": + {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "running", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b7034669e863061f2964"}, + "id": "5bf4b7034669e863061f2964"}' + http_version: + recorded_at: Wed, 21 Nov 2018 01:38:11 GMT +- request: + method: get + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/e44141b7-a5b9-4928-9491-e0062176e155/ + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + User-Agent: + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 + Content-Type: + - application/json + Host: + - gamma.partello.example.com + Authorization: + - Basic YWRtaW46YWRtaW4= + response: + status: + code: 200 + message: OK + headers: + Date: + - Wed, 21 Nov 2018 01:38:12 GMT + Server: + - Apache/2.4.6 (CentOS) + Etag: + - '"cff852c1deaf5de537e5ac89fe7060af-gzip"' Vary: - Accept-Encoding Content-Length: @@ -623,38 +1483,38 @@ http_interactions: body: encoding: ASCII-8BIT string: '{"exception": null, "task_type": "pulp.server.managers.repo.sync.sync", - "_href": "/pulp/api/v2/tasks/e1be876b-bb47-4da5-a0c2-4070d39be9f8/", "task_id": - "e1be876b-bb47-4da5-a0c2-4070d39be9f8", "tags": ["pulp:repository:integration_test_id", - "pulp:action:sync"], "finish_time": "2018-08-30T03:21:02Z", "_ns": "task_status", - "start_time": "2018-08-30T03:21:01Z", "traceback": null, "spawned_tasks": + "_href": "/pulp/api/v2/tasks/e44141b7-a5b9-4928-9491-e0062176e155/", "task_id": + "e44141b7-a5b9-4928-9491-e0062176e155", "tags": ["pulp:repository:integration_test_id", + "pulp:action:sync"], "finish_time": "2018-11-21T01:38:11Z", "_ns": "task_status", + "start_time": "2018-11-21T01:38:11Z", "traceback": null, "spawned_tasks": [], "progress_report": {"yum_importer": {"content": {"items_total": 0, "state": "FINISHED", "error_details": [], "details": {"rpm_total": 0, "rpm_done": 0, "drpm_total": 0, "drpm_done": 0}, "size_total": 0, "size_left": 0, "items_left": 0}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "modules": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, - "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", - "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", + "metadata": {"state": "FINISHED"}}}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", "result": {"result": "success", "importer_id": "yum_importer", "exception": - null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-08-30T03:21:01Z", - "_ns": "repo_sync_results", "completed": "2018-08-30T03:21:02Z", "importer_type_id": + null, "repo_id": "integration_test_id", "traceback": null, "started": "2018-11-21T01:38:11Z", + "_ns": "repo_sync_results", "completed": "2018-11-21T01:38:11Z", "importer_type_id": "yum_importer", "error_message": null, "summary": {"modules": {"state": "FINISHED"}, "content": {"state": "FINISHED"}, "comps": {"state": "FINISHED"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"state": "FINISHED"}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}, "added_count": 30, "removed_count": - 0, "updated_count": 0, "id": "5b87629ed6cc060873b59415", "details": {"modules": + 0, "updated_count": 0, "id": "5bf4b7031b5b8806d7ca6726", "details": {"modules": {"state": "FINISHED"}, "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"}, "purge_duplicates": {"state": "FINISHED"}, "distribution": {"items_total": 3, "state": "FINISHED", "error_details": [], "items_left": 0}, "errata": {"state": "FINISHED"}, "metadata": {"state": "FINISHED"}}}, "error": null, "_id": {"$oid": - "5b87629d04b1e079c02f55a8"}, "id": "5b87629d04b1e079c02f55a8"}' + "5bf4b7034669e863061f2964"}, "id": "5bf4b7034669e863061f2964"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:02 GMT + recorded_at: Wed, 21 Nov 2018 01:38:12 GMT - request: method: delete - uri: https://alpha.partello.example.com/pulp/api/v2/repositories/integration_test_id/ + uri: https://gamma.partello.example.com/pulp/api/v2/repositories/integration_test_id/ body: encoding: US-ASCII string: '' @@ -664,11 +1524,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -677,7 +1537,7 @@ http_interactions: message: Accepted headers: Date: - - Thu, 30 Aug 2018 03:21:03 GMT + - Wed, 21 Nov 2018 01:38:16 GMT Server: - Apache/2.4.6 (CentOS) Content-Length: @@ -686,14 +1546,14 @@ http_interactions: - application/json; charset=utf-8 body: encoding: UTF-8 - string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/7889d45b-63c2-4824-9e4d-c7654270063d/", - "task_id": "7889d45b-63c2-4824-9e4d-c7654270063d"}], "result": null, "error": + string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/a1d02e57-f29f-4a17-8416-1bb235633c28/", + "task_id": "a1d02e57-f29f-4a17-8416-1bb235633c28"}], "result": null, "error": null}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:03 GMT + recorded_at: Wed, 21 Nov 2018 01:38:16 GMT - request: method: get - uri: https://alpha.partello.example.com/pulp/api/v2/tasks/7889d45b-63c2-4824-9e4d-c7654270063d/ + uri: https://gamma.partello.example.com/pulp/api/v2/tasks/a1d02e57-f29f-4a17-8416-1bb235633c28/ body: encoding: US-ASCII string: '' @@ -703,11 +1563,11 @@ http_interactions: Accept-Encoding: - gzip, deflate User-Agent: - - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.1p111 + - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.5.1p57 Content-Type: - application/json Host: - - alpha.partello.example.com + - gamma.partello.example.com Authorization: - Basic YWRtaW46YWRtaW4= response: @@ -716,11 +1576,11 @@ http_interactions: message: OK headers: Date: - - Thu, 30 Aug 2018 03:21:04 GMT + - Wed, 21 Nov 2018 01:38:16 GMT Server: - Apache/2.4.6 (CentOS) Etag: - - '"33141d96b376a9be714bbfc999d8f9c9-gzip"' + - '"b222ed4b52791125b3a40b7a73963ebe-gzip"' Vary: - Accept-Encoding Content-Length: @@ -730,14 +1590,14 @@ http_interactions: body: encoding: ASCII-8BIT string: '{"exception": null, "task_type": "pulp.server.tasks.repository.delete", - "_href": "/pulp/api/v2/tasks/7889d45b-63c2-4824-9e4d-c7654270063d/", "task_id": - "7889d45b-63c2-4824-9e4d-c7654270063d", "tags": ["pulp:repository:integration_test_id", - "pulp:action:delete"], "finish_time": "2018-08-30T03:21:03Z", "_ns": "task_status", - "start_time": "2018-08-30T03:21:03Z", "traceback": null, "spawned_tasks": - [], "progress_report": {}, "queue": "reserved_resource_worker-0@alpha.partello.example.com.dq2", - "state": "finished", "worker_name": "reserved_resource_worker-0@alpha.partello.example.com", - "result": null, "error": null, "_id": {"$oid": "5b87629f04b1e079c02f55c8"}, - "id": "5b87629f04b1e079c02f55c8"}' + "_href": "/pulp/api/v2/tasks/a1d02e57-f29f-4a17-8416-1bb235633c28/", "task_id": + "a1d02e57-f29f-4a17-8416-1bb235633c28", "tags": ["pulp:repository:integration_test_id", + "pulp:action:delete"], "finish_time": "2018-11-21T01:38:16Z", "_ns": "task_status", + "start_time": "2018-11-21T01:38:16Z", "traceback": null, "spawned_tasks": + [], "progress_report": {}, "queue": "reserved_resource_worker-0@gamma.partello.example.com.dq2", + "state": "finished", "worker_name": "reserved_resource_worker-0@gamma.partello.example.com", + "result": null, "error": null, "_id": {"$oid": "5bf4b7084669e863061f3068"}, + "id": "5bf4b7084669e863061f3068"}' http_version: - recorded_at: Thu, 30 Aug 2018 03:21:04 GMT + recorded_at: Wed, 21 Nov 2018 01:38:16 GMT recorded_with: VCR 4.0.0