Project

General

Profile

Revision ff467024

Added by Thomas McKay almost 6 years ago

vcr - full re-record

View differences:

test/fixtures/vcr_cassettes/resources/content_hosts/create_and_update.yml
1019 1019
  recorded_at: Mon, 19 Dec 2016 16:41:01 GMT
1020 1020
- request:
1021 1021
    method: get
1022
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/195/subscriptions?full_results=true
1023
    body:
1024
      encoding: US-ASCII
1025
      string: ''
1026
    headers:
1027
      Accept:
1028
      - application/json;version=2
1029
      Accept-Encoding:
1030
      - gzip, deflate
1031
      User-Agent:
1032
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1033
      Content-Type:
1034
      - application/json
1035
      Accept-Language:
1036
      - en
1037
      Host:
1038
      - devel.example.com:50083
1039
  response:
1040
    status:
1041
      code: 200
1042
      message: OK
1043
    headers:
1044
      Date:
1045
      - Mon, 27 Mar 2017 18:05:33 GMT
1046
      Server:
1047
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1048
      X-Frame-Options:
1049
      - SAMEORIGIN
1050
      X-Xss-Protection:
1051
      - 1; mode=block
1052
      X-Content-Type-Options:
1053
      - nosniff
1054
      Foreman-Version:
1055
      - 1.11.0.54
1056
      Foreman-Api-Version:
1057
      - '2'
1058
      Apipie-Checksum:
1059
      - e1df2e8d43e22495b02a53b48e3b5298
1060
      Cache-Control:
1061
      - max-age=0, private, must-revalidate
1062
      X-Request-Id:
1063
      - 9f13f483-0e96-41ae-9300-c1f0aa67306a
1064
      X-Runtime:
1065
      - '0.087983'
1066
      X-Powered-By:
1067
      - Phusion Passenger 4.0.18
1068
      Etag:
1069
      - '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
1070
      Status:
1071
      - 200 OK
1072
      Vary:
1073
      - Accept-Encoding
1074
      Content-Length:
1075
      - '119'
1076
      Content-Type:
1077
      - application/json; charset=utf-8
1078
      Set-Cookie:
1079
      - _session_id=1bd4a22bf246b65913618f8a216294bb; path=/; secure; HttpOnly
1080
    body:
1081
      encoding: ASCII-8BIT
1082
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
1083

  
1084
'
1085
    http_version: 
1086
  recorded_at: Mon, 27 Mar 2017 18:05:39 GMT
1087
- request:
1088
    method: put
1089
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/195
1090
    body:
1091
      encoding: UTF-8
1092
      string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":null,"service_level":null,"autoheal":true}}}'
1093
    headers:
1094
      Accept:
1095
      - application/json;version=2
1096
      Accept-Encoding:
1097
      - gzip, deflate
1098
      User-Agent:
1099
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1100
      Content-Type:
1101
      - application/json
1102
      Accept-Language:
1103
      - en
1104
      Content-Length:
1105
      - '185'
1106
      Host:
1107
      - devel.example.com:50083
1108
  response:
1109
    status:
1110
      code: 200
1111
      message: OK
1112
    headers:
1113
      Date:
1114
      - Mon, 27 Mar 2017 18:05:34 GMT
1115
      Server:
1116
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1117
      X-Frame-Options:
1118
      - SAMEORIGIN
1119
      X-Xss-Protection:
1120
      - 1; mode=block
1121
      X-Content-Type-Options:
1122
      - nosniff
1123
      Foreman-Version:
1124
      - 1.11.0.54
1125
      Foreman-Api-Version:
1126
      - '2'
1127
      Apipie-Checksum:
1128
      - e1df2e8d43e22495b02a53b48e3b5298
1129
      Cache-Control:
1130
      - max-age=0, private, must-revalidate
1131
      X-Request-Id:
1132
      - 2682a51f-2a61-4603-8b21-5209cd3fd737
1133
      X-Runtime:
1134
      - '0.452454'
1135
      X-Powered-By:
1136
      - Phusion Passenger 4.0.18
1137
      Etag:
1138
      - '"9011f50c4213133d93cc9b4e38e06d98-gzip"'
1139
      Status:
1140
      - 200 OK
1141
      Vary:
1142
      - Accept-Encoding
1143
      Content-Length:
1144
      - '3473'
1145
      Content-Type:
1146
      - application/json; charset=utf-8
1147
      Set-Cookie:
1148
      - _session_id=02f594e37f728de3ecb9c24b8d442771; path=/; secure; HttpOnly
1149
      - request_method=PUT; path=/
1150
    body:
1151
      encoding: ASCII-8BIT
1152
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27
1153
        18:05:31 UTC","updated_at":"2017-03-27 18:05:33 UTC","last_compile":"2017-03-27
1154
        18:05:32 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
1155
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
1156
        not calculate errata status, ensure host is registered and katello-agent is
1157
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":195,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":194,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","content_view_id":2,"content_view_name":"Default
1158
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
1159
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":200,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","last_checkin":"2017-03-27
1160
        18:05:31 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27
1161
        18:05:32 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[]},"content_host_id":200,"parameters":[],"interfaces":[{"id":196,"name":"testhost1","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testhost1","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"1","memory::memtotal":"4","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2017-03-27T18:05:32+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
1162
    http_version: 
1163
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
1164
- request:
1165
    method: get
1166
    uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/a65947ce-a64a-48de-aa1c-3e1a75a0ce1d
1167
    body:
1168
      encoding: US-ASCII
1169
      string: ''
1170
    headers:
1171
      Accept-Encoding:
1172
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1173
      Accept:
1174
      - "*/*"
1175
      User-Agent:
1176
      - Ruby
1177
  response:
1178
    status:
1179
      code: 200
1180
      message: OK
1181
    headers:
1182
      Date:
1183
      - Mon, 27 Mar 2017 18:05:34 GMT
1184
      Server:
1185
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1186
      X-Frame-Options:
1187
      - SAMEORIGIN
1188
      X-Xss-Protection:
1189
      - 1; mode=block
1190
      X-Content-Type-Options:
1191
      - nosniff
1192
      Foreman-Version:
1193
      - 1.11.0.54
1194
      Foreman-Api-Version:
1195
      - '2'
1196
      X-Candlepin-Version:
1197
      - katello/3.0.0.82
1198
      Cache-Control:
1199
      - max-age=0, private, must-revalidate
1200
      X-Request-Id:
1201
      - 7353b9f9-1e4b-4f41-8132-6ad88349a6ab
1202
      X-Runtime:
1203
      - '0.090456'
1204
      X-Powered-By:
1205
      - Phusion Passenger 4.0.18
1206
      Etag:
1207
      - '"97183d12e8cb96d559ff807ee28cab3d-gzip"'
1208
      Status:
1209
      - 200 OK
1210
      Vary:
1211
      - Accept-Encoding
1212
      Content-Length:
1213
      - '3132'
1214
      Content-Type:
1215
      - application/json; charset=utf-8
1216
      Set-Cookie:
1217
      - _session_id=e383532f5e55676193edce622fa4511d; path=/; secure; HttpOnly
1218
    body:
1219
      encoding: ASCII-8BIT
1220
      string: '{"id":"ff8080815adcc9a9015b10f1c5e60c42","uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","name":"testhost1","username":"foreman_admin","entitlementStatus":"valid","serviceLevel":"","releaseVer":{"releaseVer":null},"idCert":{"key":"-----BEGIN
1221
        RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAlrE8FX5Nvu9iNRk2A0HABOUnqaONOv4ZoxHlUx5XouTCuLN6\nOwO7ywCK+Hd1mcZ89K4f4KJWK27duxUY97nflO+SCst2+t2HlEn+NQMkCRm9vT5e\niRo565D+iNPCM2R+8oHVBJMpa5VZGwpeL3NLGshGTlWKgLz6vuZ85IZvMr2Yenmc\nJeQ+G/Rh9A4TinnOU1yn8yStYlhgWc8yZake6b46s1lJwXXeg5/HmPgsnYSbALfm\npYShw+UCs+Vt/9B4rq0xhui469SjruT3GotH9qq1hivP6UjJECNf2z9EEytTGaoA\n9Wn1dEUIZbjSnhq/Vs7Iexnfa+XVl7AgdbtXOwIDAQABAoIBADQx94nKUcuMxwt1\nTAwcvhHz/aT4jXadhOvCyxfbLqexbPDk2bWPOYC7E2e0mPtGkQl/NnNsR0SMBilC\nyX8k1piT0pYCm5eRG+D1MCPUjqrIS7w82inK97zsX/2su1tpt77v0YTgJDyrYk3H\nbZAp8x23uQJxBqRI0OFGnIPbPLDqCHCagSSi/VVkzvtMobPrqGUpNR0o2+dW/I1E\nm/J3W1/d2WTvaay0ALYi3qSsfnifW9+wwfwJN2G/Y6/nxOEdfM+XDo90kInjmTYj\nvibZi80aIeoUXuxkLUeoTne0lNTSuWdSmhWLZv603hAdbw2IemeWB0dA5iM1vZGM\nm0/HAwECgYEA7MHiPtpzj+oI+j/XQAYAjKN3klqCv/lnGCDlJBrc5rHji+rXhe6H\n6J654Wlbk8OvUO1C12WkRoOlifOUEtI3xVfYOpoBbsz56zwWeftIzQ0/H99envDP\nPhbSzSENbNVI81i/r3dgEQWhT1si9GvIvnXB4b6VnSB1v5ZN+LsCG1sCgYEAovCh\nRNrMdRTMosB9DSl4nxnXKi9Sv0KQ+SQyFT/jkN5L/DS3jUjUGLHtpjmXPRWVXNpA\nIGHmAHS5kZHcSVmBztgeeEXe2qAu/xJCmVTxs/3JyR6tsW+H0u0ph2eQS5wrYdnF\nW3XESAL2lNoZAzLSYzfteOyDBno36kGvmX4o2aECgYEAtPfmJcD4wDJVtmMB9xAf\nb2CrzxScCH1sjgbm31ghLb0ffx18rAUNoYNh9aiAtUvIQAV7KAWrMbMC35Vtw40n\n0BI7V1/MZJMNHP+K9qZamVHcxFIKk1biMkVj0CPJjTziTA+0RTzsE1bIXE3/Q/D3\nOo3sKs9wsO/U0SLkapEXJS0CgYA/V3YJ81jKJxTKLDQw2q9WglAfyRfM3E7JW6XQ\nlu6bUZ+OYtv8I5S4KOsu1HKTv4E6AGovbH9iK/47tc1CAnaw91kY/mh86wp6BBo5\ny0jO5Nj9w1xYfvf5KlMbnUn96q7+sg7D2Es+h1BeW06f7LDW+1XozWC+MuLrwS9H\nZ0DwIQKBgQDAmDTf6SChY+ZEyoS6Bx9Utj8RxTvP4292k77kkrk5mCY9e0P/ndtc\nZWQCnSuEROt/Ni3DA4JbKlzYUMoZ+dwSQXiKuZErr43fUJdj+fz8rF7o96GjfzVO\nYm3rPpuescTGudraWzGawJ4vAPt/mzl8Qsfq6lxAOCcKECuJWDi+MQ==\n-----END
1222
        RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIEUjCCAzqgAwIBAgIIW7LRzeQUnfEwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UE\nBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdo\nMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEaMBgGA1UE\nAxMRc2F0NjIuZXhhbXBsZS5jb20wHhcNMTcwMzI3MTgwNTMyWhcNMzMwMzI3MTgw\nNTMyWjAvMS0wKwYDVQQDEyRhNjU5NDdjZS1hNjRhLTQ4ZGUtYWExYy0zZTFhNzVh\nMGNlMWQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCWsTwVfk2+72I1\nGTYDQcAE5Sepo406/hmjEeVTHlei5MK4s3o7A7vLAIr4d3WZxnz0rh/golYrbt27\nFRj3ud+U75IKy3b63YeUSf41AyQJGb29Pl6JGjnrkP6I08IzZH7ygdUEkylrlVkb\nCl4vc0sayEZOVYqAvPq+5nzkhm8yvZh6eZwl5D4b9GH0DhOKec5TXKfzJK1iWGBZ\nzzJlqR7pvjqzWUnBdd6Dn8eY+CydhJsAt+alhKHD5QKz5W3/0HiurTGG6Ljr1KOu\n5Pcai0f2qrWGK8/pSMkQI1/bP0QTK1MZqgD1afV0RQhluNKeGr9Wzsh7Gd9r5dWX\nsCB1u1c7AgMBAAGjggEjMIIBHzARBglghkgBhvhCAQEEBAMCBaAwCwYDVR0PBAQD\nAgSwMIGvBgNVHSMEgacwgaSAFE0a7C+GbR8izagxm3Zq6NJUOCLhoYGApH4wfDEL\nMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdS\nYWxlaWdoMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEa\nMBgGA1UEAxMRc2F0NjIuZXhhbXBsZS5jb22CCQCOJqql+xfH2TAdBgNVHQ4EFgQU\nAWUBgYFnDfb+8omtfQMbKTV9kKowEwYDVR0lBAwwCgYIKwYBBQUHAwIwFwYDVR0R\nBBAwDoYMQ049dGVzdGhvc3QxMA0GCSqGSIb3DQEBBQUAA4IBAQC5S8iMyxtHmj0v\nz7a+ihJkAuYtyz6sLW0Zsw9bEFyI5bfdtXGSF32tSGY3DrcGgJ/MPHk78pMu6/NJ\nwYulSy6Vr7y2C1LF9lRWjfpgMy0rhUGqc90NwAGXaJxg0Pce3Q34Wj7rs1hVj5sm\nGyfSISH37VQFQOjbm/cpdoGaUY5CnJb6BLo7fMkM91m5oMLqZuHLbovp9cJs4VFf\nU63bN+XA0weTIUo01DDRtV8P0DlirfVind8091wjmOtC1RWyQaeG7pBD1bI7X3Lm\nuFbwm3x0EaIwUt9T4UWy01XAteUBJV1hAC2UVJCr31p+maNDg+aoXq2a5Vm77R6s\nZ/DFvqpC\n-----END
1223
        CERTIFICATE-----\n","id":"ff8080815adcc9a9015b10f1c6840c44","serial":{"id":6607574285530996209,"revoked":false,"collected":false,"expiration":"2033-03-27T18:05:32.008+0000","serial":6607574285530996209,"created":"2017-03-27T18:05:32.008+0000","updated":"2017-03-27T18:05:32.008+0000"},"created":"2017-03-27T18:05:32.164+0000","updated":"2017-03-27T18:05:32.164+0000"},"type":{"id":"1000","label":"system","manifest":false},"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
1224
        Corporation","href":"/owners/testcorp"},"environment":{"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
1225
        Corporation","href":"/owners/testcorp"},"name":"Library","description":null,"id":"2","environmentContent":[],"created":"2016-12-01T19:35:27.852+0000","updated":"2016-12-01T19:35:27.852+0000"},"entitlementCount":0,"facts":{"network.hostname":"testhost1","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:05:31+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"1","memory.memtotal":"4","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":"false"},"lastCheckin":null,"installedProducts":[],"canActivate":false,"guestIds":[],"capabilities":[],"hypervisorId":null,"contentTags":[],"autoheal":true,"dev":false,"href":"/consumers/a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","created":"2017-03-27T18:05:32.006+0000","updated":"2017-03-27T18:05:32.172+0000"}'
1226
    http_version: 
1227
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
1228
- request:
1229
    method: put
1230
    uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/a65947ce-a64a-48de-aa1c-3e1a75a0ce1d
1231
    body:
1232
      encoding: UTF-8
1233
      string: '{"facts":{"network.hostname":"testhost1","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:05:31+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"1","memory.memtotal":"4","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":false}}'
1234
    headers:
1235
      Content-Type:
1236
      - application/json
1237
      Accept-Encoding:
1238
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1239
      Accept:
1240
      - "*/*"
1241
      User-Agent:
1242
      - Ruby
1243
  response:
1244
    status:
1245
      code: 403
1246
      message: Forbidden
1247
    headers:
1248
      Date:
1249
      - Mon, 27 Mar 2017 18:05:35 GMT
1250
      Server:
1251
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1252
      X-Frame-Options:
1253
      - SAMEORIGIN
1254
      X-Xss-Protection:
1255
      - 1; mode=block
1256
      X-Content-Type-Options:
1257
      - nosniff
1258
      Foreman-Version:
1259
      - 1.11.0.54
1260
      Foreman-Api-Version:
1261
      - '2'
1262
      Cache-Control:
1263
      - no-cache
1264
      X-Request-Id:
1265
      - a8541352-a607-488f-b5e2-75ed01a1e79b
1266
      X-Runtime:
1267
      - '0.015168'
1268
      X-Powered-By:
1269
      - Phusion Passenger 4.0.18
1270
      Status:
1271
      - 403 Forbidden
1272
      Content-Type:
1273
      - application/json; charset=utf-8
1274
      Set-Cookie:
1275
      - _session_id=4542b1c197ed7c132ab79a251b65fd69; path=/; secure; HttpOnly
1276
      - request_method=PUT; path=/
1277
      Transfer-Encoding:
1278
      - chunked
1279
    body:
1280
      encoding: UTF-8
1281
      string: '{"displayMessage":"Access denied","errors":["Access denied"]}'
1282
    http_version: 
1283
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
1284
- request:
1285
    method: get
1286
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/195/subscriptions?full_results=true
1287
    body:
1288
      encoding: US-ASCII
1289
      string: ''
1290
    headers:
1291
      Accept:
1292
      - application/json;version=2
1293
      Accept-Encoding:
1294
      - gzip, deflate
1295
      User-Agent:
1296
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1297
      Content-Type:
1298
      - application/json
1299
      Accept-Language:
1300
      - en
1301
      Host:
1302
      - devel.example.com:50083
1303
  response:
1304
    status:
1305
      code: 200
1306
      message: OK
1307
    headers:
1308
      Date:
1309
      - Mon, 27 Mar 2017 18:05:35 GMT
1310
      Server:
1311
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1312
      X-Frame-Options:
1313
      - SAMEORIGIN
1314
      X-Xss-Protection:
1315
      - 1; mode=block
1316
      X-Content-Type-Options:
1317
      - nosniff
1318
      Foreman-Version:
1319
      - 1.11.0.54
1320
      Foreman-Api-Version:
1321
      - '2'
1322
      Apipie-Checksum:
1323
      - e1df2e8d43e22495b02a53b48e3b5298
1324
      Cache-Control:
1325
      - max-age=0, private, must-revalidate
1326
      X-Request-Id:
1327
      - b68f4f1b-4f96-4cb4-9bd2-40159de12753
1328
      X-Runtime:
1329
      - '0.097971'
1330
      X-Powered-By:
1331
      - Phusion Passenger 4.0.18
1332
      Etag:
1333
      - '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
1334
      Status:
1335
      - 200 OK
1336
      Vary:
1337
      - Accept-Encoding
1338
      Content-Length:
1339
      - '119'
1340
      Content-Type:
1341
      - application/json; charset=utf-8
1342
      Set-Cookie:
1343
      - _session_id=d8e17b9b25611cf714563994ddfe9874; path=/; secure; HttpOnly
1344
    body:
1345
      encoding: ASCII-8BIT
1346
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
1347

  
1348
'
1349
    http_version: 
1350
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
1351
- request:
1352
    method: delete
1353
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/195
1354
    body:
1355
      encoding: US-ASCII
1356
      string: ''
1357
    headers:
1358
      Accept:
1359
      - application/json;version=2
1360
      Accept-Encoding:
1361
      - gzip, deflate
1362
      User-Agent:
1363
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1364
      Content-Type:
1365
      - application/json
1366
      Accept-Language:
1367
      - en
1368
      Host:
1369
      - devel.example.com:50083
1370
  response:
1371
    status:
1372
      code: 200
1373
      message: OK
1374
    headers:
1375
      Date:
1376
      - Mon, 27 Mar 2017 18:05:35 GMT
1377
      Server:
1378
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1379
      X-Frame-Options:
1380
      - SAMEORIGIN
1381
      X-Xss-Protection:
1382
      - 1; mode=block
1383
      X-Content-Type-Options:
1384
      - nosniff
1385
      Foreman-Version:
1386
      - 1.11.0.54
1387
      Foreman-Api-Version:
1388
      - '2'
1389
      Apipie-Checksum:
1390
      - e1df2e8d43e22495b02a53b48e3b5298
1391
      Cache-Control:
1392
      - max-age=0, private, must-revalidate
1393
      X-Request-Id:
1394
      - 0fe689f3-d1bb-4288-be36-0d8b40e4a8e8
1395
      X-Runtime:
1396
      - '0.810904'
1397
      X-Powered-By:
1398
      - Phusion Passenger 4.0.18
1399
      Etag:
1400
      - '"2b3d6af5555fec5b70880caa5a9838a3-gzip"'
1401
      Status:
1402
      - 200 OK
1403
      Vary:
1404
      - Accept-Encoding
1405
      Content-Length:
1406
      - '1358'
1407
      Content-Type:
1408
      - application/json; charset=utf-8
1409
      Set-Cookie:
1410
      - _session_id=adb36c48063076169223831df44a34f3; path=/; secure; HttpOnly
1411
      - request_method=DELETE; path=/
1412
    body:
1413
      encoding: ASCII-8BIT
1414
      string: '{"id":195,"name":"testhost1","last_compile":"2017-03-27T18:05:32.000Z","last_report":null,"updated_at":"2017-03-27T18:05:33.114Z","created_at":"2017-03-27T18:05:31.806Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"testhost1","image_id":null,"organization_id":3,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":0,"lookup_value_matcher":"fqdn=testhost1","openscap_proxy_id":null,"content_facet_attributes":{"id":194,"host_id":195,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":200,"host_id":195,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","last_checkin":"2017-03-27T18:05:31.831Z","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27T18:05:32.006Z"}}'
1415
    http_version: 
1416
  recorded_at: Mon, 27 Mar 2017 18:05:42 GMT
1417
- request:
1418
    method: get
1022 1419
    uri: https://admin:changeme@devel.example.com:50083/api/status
1023 1420
    body:
1024 1421
      encoding: US-ASCII
......
1038 1435
      message: OK
1039 1436
    headers:
1040 1437
      Date:
1041
      - Mon, 27 Mar 2017 18:05:30 GMT
1438
      - Mon, 27 Mar 2017 18:34:22 GMT
1042 1439
      Server:
1043 1440
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1044 1441
      X-Frame-Options:
......
1056 1453
      Cache-Control:
1057 1454
      - max-age=0, private, must-revalidate
1058 1455
      X-Request-Id:
1059
      - ae59d4be-071b-4f3f-80a4-570f605a18f4
1456
      - bcaf36ae-0bb7-4206-a995-207c46aac3f1
1060 1457
      X-Runtime:
1061
      - '0.066499'
1458
      - '0.046953'
1062 1459
      X-Powered-By:
1063 1460
      - Phusion Passenger 4.0.18
1064 1461
      Etag:
......
1070 1467
      Content-Type:
1071 1468
      - application/json; charset=utf-8
1072 1469
      Set-Cookie:
1073
      - _session_id=bb0cc4ca4f9dfd145f6b8e3db72d22bb; path=/; secure; HttpOnly
1470
      - _session_id=9a1c86ff0228d574a2999841858f5a0d; path=/; secure; HttpOnly
1074 1471
    body:
1075 1472
      encoding: UTF-8
1076 1473
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
1077 1474
    http_version: 
1078
  recorded_at: Mon, 27 Mar 2017 18:05:36 GMT
1475
  recorded_at: Mon, 27 Mar 2017 18:34:28 GMT
1079 1476
- request:
1080 1477
    method: get
1081 1478
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
1097 1494
      message: OK
1098 1495
    headers:
1099 1496
      Date:
1100
      - Mon, 27 Mar 2017 18:05:30 GMT
1497
      - Mon, 27 Mar 2017 18:34:22 GMT
1101 1498
      Server:
1102 1499
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1103 1500
      X-Frame-Options:
......
1115 1512
      Cache-Control:
1116 1513
      - max-age=0, private, must-revalidate
1117 1514
      X-Request-Id:
1118
      - 7363208b-af5e-4573-89a7-68b230b28825
1515
      - 07a690be-0b04-4f96-bdcd-c27f360e3d34
1119 1516
      X-Runtime:
1120
      - '0.048465'
1517
      - '0.048324'
1121 1518
      X-Powered-By:
1122 1519
      - Phusion Passenger 4.0.18
1123 1520
      Etag:
......
1131 1528
      Content-Type:
1132 1529
      - application/json; charset=utf-8
1133 1530
      Set-Cookie:
1134
      - _session_id=2b30518558b4724f9e42de4cd051f013; path=/; secure; HttpOnly
1531
      - _session_id=ffa90c3f6ee322477093cac94b1a934f; path=/; secure; HttpOnly
1135 1532
    body:
1136 1533
      encoding: ASCII-8BIT
1137 1534
      string: !binary |-
......
1210 1607
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
1211 1608
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
1212 1609
    http_version: 
1213
  recorded_at: Mon, 27 Mar 2017 18:05:36 GMT
1610
  recorded_at: Mon, 27 Mar 2017 18:34:28 GMT
1214 1611
- request:
1215 1612
    method: get
1216 1613
    uri: https://devel.example.com:50083/apidoc/v2.en.json
......
1236 1633
      message: OK
1237 1634
    headers:
1238 1635
      Date:
1239
      - Mon, 27 Mar 2017 18:05:30 GMT
1636
      - Mon, 27 Mar 2017 18:34:22 GMT
1240 1637
      Server:
1241 1638
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1242 1639
      X-Frame-Options:
......
1254 1651
      Apipie-Checksum:
1255 1652
      - e1df2e8d43e22495b02a53b48e3b5298
1256 1653
      X-Request-Id:
1257
      - 2ab5f878-e23f-4e8e-8044-9cb713e2efdd
1654
      - 100240e0-4f1d-408c-8a9c-f921a469b357
1258 1655
      X-Runtime:
1259
      - '0.007272'
1656
      - '0.005375'
1260 1657
      X-Powered-By:
1261 1658
      - Phusion Passenger 4.0.18
1262 1659
      Status:
......
20895 21292
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
20896 21293
        ZW4uaHRtbCJ9fQ==
20897 21294
    http_version: 
20898
  recorded_at: Mon, 27 Mar 2017 18:05:37 GMT
21295
  recorded_at: Mon, 27 Mar 2017 18:34:28 GMT
20899 21296
- request:
20900 21297
    method: get
20901 21298
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
20921 21318
      message: OK
20922 21319
    headers:
20923 21320
      Date:
20924
      - Mon, 27 Mar 2017 18:05:30 GMT
21321
      - Mon, 27 Mar 2017 18:34:22 GMT
20925 21322
      Server:
20926 21323
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20927 21324
      X-Frame-Options:
......
20939 21336
      Cache-Control:
20940 21337
      - max-age=0, private, must-revalidate
20941 21338
      X-Request-Id:
20942
      - b4383cd6-5fee-4fd3-9adb-f8ba30800a67
21339
      - 2c64c354-7066-417c-bd73-48b3135e4e4a
20943 21340
      X-Runtime:
20944
      - '0.082358'
21341
      - '0.056567'
20945 21342
      X-Powered-By:
20946 21343
      - Phusion Passenger 4.0.18
20947 21344
      Etag:
20948
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
21345
      - '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
20949 21346
      Status:
20950 21347
      - 200 OK
20951 21348
      Vary:
......
20955 21352
      Content-Type:
20956 21353
      - application/json; charset=utf-8
20957 21354
      Set-Cookie:
20958
      - _session_id=fb0cfab8ed31d9d31750cb16c0aadad5; path=/; secure; HttpOnly
21355
      - _session_id=d060773a357c1e80868aadc526a4d967; path=/; secure; HttpOnly
20959 21356
    body:
20960 21357
      encoding: ASCII-8BIT
20961 21358
      string: |
......
20969 21366
            "by": null,
20970 21367
            "order": null
20971 21368
          },
20972
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01 19:45:39 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
21369
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20973 21370
        }
20974 21371
    http_version: 
20975
  recorded_at: Mon, 27 Mar 2017 18:05:37 GMT
21372
  recorded_at: Mon, 27 Mar 2017 18:34:28 GMT
20976 21373
- request:
20977 21374
    method: get
20978 21375
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?per_page=1
......
20998 21395
      message: OK
20999 21396
    headers:
21000 21397
      Date:
21001
      - Mon, 27 Mar 2017 18:05:30 GMT
21398
      - Mon, 27 Mar 2017 18:34:22 GMT
21002 21399
      Server:
21003 21400
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21004 21401
      X-Frame-Options:
......
21016 21413
      Cache-Control:
21017 21414
      - max-age=0, private, must-revalidate
21018 21415
      X-Request-Id:
21019
      - 304d1d41-3da0-4fee-b37e-81744080ea70
21416
      - 83b7df27-301d-4f26-ba92-b7202bbdc358
21020 21417
      X-Runtime:
21021
      - '0.158013'
21418
      - '0.135770'
21022 21419
      X-Powered-By:
21023 21420
      - Phusion Passenger 4.0.18
21024 21421
      Etag:
21025
      - '"c7b5f9500f4b16e2a0ccdab75fa46175-gzip"'
21422
      - '"aa071a3b0682e7e6e0310fa5e49927ac-gzip"'
21026 21423
      Status:
21027 21424
      - 200 OK
21028 21425
      Vary:
......
21032 21429
      Content-Type:
21033 21430
      - application/json; charset=utf-8
21034 21431
      Set-Cookie:
21035
      - _session_id=95edcb32f0b72e002474a5bccb69cc54; path=/; secure; HttpOnly
21432
      - _session_id=c24d1d06a2ce85ca53346535d6b8c208; path=/; secure; HttpOnly
21036 21433
    body:
21037 21434
      encoding: ASCII-8BIT
21038 21435
      string: |
......
21046 21443
            "by": null,
21047 21444
            "order": null
21048 21445
          },
21049
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6}]
21446
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6}]
21050 21447
        }
21051 21448
    http_version: 
21052
  recorded_at: Mon, 27 Mar 2017 18:05:37 GMT
21449
  recorded_at: Mon, 27 Mar 2017 18:34:28 GMT
21053 21450
- request:
21054 21451
    method: get
21055 21452
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?page=1&per_page=20
......
21075 21472
      message: OK
21076 21473
    headers:
21077 21474
      Date:
21078
      - Mon, 27 Mar 2017 18:05:31 GMT
21475
      - Mon, 27 Mar 2017 18:34:22 GMT
21079 21476
      Server:
21080 21477
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21081 21478
      X-Frame-Options:
......
21093 21490
      Cache-Control:
21094 21491
      - max-age=0, private, must-revalidate
21095 21492
      X-Request-Id:
21096
      - 37729416-9f4d-42ee-97fb-afb1652957b7
21493
      - d40e8cb4-e4ea-4a2d-b48a-9629b6499b2d
21097 21494
      X-Runtime:
21098
      - '0.165228'
21495
      - '0.384118'
21099 21496
      X-Powered-By:
21100 21497
      - Phusion Passenger 4.0.18
21101 21498
      Etag:
21102
      - '"45ecf6e7a477c9531ef71cc8635b2810-gzip"'
21499
      - '"790c22d6d1fcf8c0b08afacb06f8909f-gzip"'
21103 21500
      Status:
21104 21501
      - 200 OK
21105 21502
      Vary:
......
21109 21506
      Content-Type:
21110 21507
      - application/json; charset=utf-8
21111 21508
      Set-Cookie:
21112
      - _session_id=0e5f76c3e54431daa4fe40315e15ba25; path=/; secure; HttpOnly
21509
      - _session_id=41f899da6092cafb43396cbb3d2fd79c; path=/; secure; HttpOnly
21113 21510
    body:
21114 21511
      encoding: ASCII-8BIT
21115 21512
      string: |
......
21123 21520
            "by": null,
21124 21521
            "order": null
21125 21522
          },
21126
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
21523
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 19:37:05 UTC","updated_at":"2017-03-27 18:28:09 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
21127 21524
        }
21128 21525
    http_version: 
21129
  recorded_at: Mon, 27 Mar 2017 18:05:37 GMT
21526
  recorded_at: Mon, 27 Mar 2017 18:34:29 GMT
21130 21527
- request:
21131 21528
    method: get
21132 21529
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/environments?per_page=999999
......
21152 21549
      message: OK
21153 21550
    headers:
21154 21551
      Date:
21155
      - Mon, 27 Mar 2017 18:05:31 GMT
21552
      - Mon, 27 Mar 2017 18:34:23 GMT
21156 21553
      Server:
21157 21554
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21158 21555
      X-Frame-Options:
......
21170 21567
      Cache-Control:
21171 21568
      - max-age=0, private, must-revalidate
21172 21569
      X-Request-Id:
21173
      - 9b7c34e6-2be0-42ec-9e8a-2f3c0129edd9
21570
      - b559c0d1-05bc-4d1d-b784-6a6dfc81f7a6
21174 21571
      X-Runtime:
21175
      - '0.117466'
21572
      - '0.179800'
21176 21573
      X-Powered-By:
21177 21574
      - Phusion Passenger 4.0.18
21178 21575
      Etag:
......
21186 21583
      Content-Type:
21187 21584
      - application/json; charset=utf-8
21188 21585
      Set-Cookie:
21189
      - _session_id=774f4b9a8d4c8d7766a4aa13c1efd855; path=/; secure; HttpOnly
21586
      - _session_id=d8fa9f0aceea43f290f8f1bc2f3410a6; path=/; secure; HttpOnly
21190 21587
    body:
21191 21588
      encoding: ASCII-8BIT
21192 21589
      string: '{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test,
......
21203 21600

  
21204 21601
'
21205 21602
    http_version: 
21206
  recorded_at: Mon, 27 Mar 2017 18:05:37 GMT
21603
  recorded_at: Mon, 27 Mar 2017 18:34:29 GMT
21207 21604
- request:
21208 21605
    method: get
21209 21606
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/content_views?per_page=999999
......
21229 21626
      message: OK
21230 21627
    headers:
21231 21628
      Date:
21232
      - Mon, 27 Mar 2017 18:05:31 GMT
21629
      - Mon, 27 Mar 2017 18:34:23 GMT
21233 21630
      Server:
21234 21631
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21235 21632
      X-Frame-Options:
......
21247 21644
      Cache-Control:
21248 21645
      - max-age=0, private, must-revalidate
21249 21646
      X-Request-Id:
21250
      - 3fc20e3f-1fff-49f2-9bd0-653ffe688a6b
21647
      - 1150fa48-c745-4ec3-bdf4-360e8d6a87be
21251 21648
      X-Runtime:
21252
      - '0.053914'
21649
      - '0.079041'
21253 21650
      X-Powered-By:
21254 21651
      - Phusion Passenger 4.0.18
21255 21652
      Etag:
......
21263 21660
      Content-Type:
21264 21661
      - application/json; charset=utf-8
21265 21662
      Set-Cookie:
21266
      - _session_id=ed3193a972a1f7cb5a6f993ceb156b22; path=/; secure; HttpOnly
21663
      - _session_id=94e3ecdb88f012fe8619acefa8864086; path=/; secure; HttpOnly
21267 21664
    body:
21268 21665
      encoding: ASCII-8BIT
21269 21666
      string: '{"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
......
21280 21677

  
21281 21678
'
21282 21679
    http_version: 
21283
  recorded_at: Mon, 27 Mar 2017 18:05:37 GMT
21680
  recorded_at: Mon, 27 Mar 2017 18:34:29 GMT
21284 21681
- request:
21285 21682
    method: post
21286 21683
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/subscriptions
......
21308 21705
      message: OK
21309 21706
    headers:
21310 21707
      Date:
21311
      - Mon, 27 Mar 2017 18:05:31 GMT
21708
      - Mon, 27 Mar 2017 18:34:23 GMT
21312 21709
      Server:
21313 21710
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21314 21711
      X-Frame-Options:
......
21326 21723
      Cache-Control:
21327 21724
      - max-age=0, private, must-revalidate
21328 21725
      X-Request-Id:
21329
      - 94c1ccaa-33c2-464c-ac6f-ca41c89983f5
21726
      - ac9d699e-5189-482e-957b-70b607bf0787
21330 21727
      X-Runtime:
21331
      - '1.576842'
21728
      - '1.486182'
21332 21729
      X-Powered-By:
21333 21730
      - Phusion Passenger 4.0.18
21334 21731
      Etag:
21335
      - '"a28b112c718ac47604bf21a11d023de3-gzip"'
21732
      - '"ef5aa3547b6ba7cad7996c8d13dbdd62-gzip"'
21336 21733
      Status:
21337 21734
      - 200 OK
21338 21735
      Vary:
......
21342 21739
      Content-Type:
21343 21740
      - application/json; charset=utf-8
21344 21741
      Set-Cookie:
21345
      - _session_id=a551ef1827af1983e72a6691df2008c5; path=/; secure; HttpOnly
21742
      - _session_id=26c60b43e48f9120737e666bc827b0fd; path=/; secure; HttpOnly
21346 21743
      - request_method=POST; path=/
21347 21744
    body:
21348 21745
      encoding: ASCII-8BIT
21349
      string: '  {"id":195,"name":"testhost1","content_view":"Default Organization
21746
      string: '  {"id":211,"name":"testhost1","content_view":"Default Organization
21350 21747
        View","content_view_id":null,"environment":"Library"}
21351 21748

  
21352 21749
'
21353 21750
    http_version: 
21354
  recorded_at: Mon, 27 Mar 2017 18:05:39 GMT
21751
  recorded_at: Mon, 27 Mar 2017 18:34:31 GMT
21355 21752
- request:
21356 21753
    method: get
21357
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/195/subscriptions?full_results=true
21754
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/211/subscriptions?full_results=true
21358 21755
    body:
21359 21756
      encoding: US-ASCII
21360 21757
      string: ''
......
21377 21774
      message: OK
21378 21775
    headers:
21379 21776
      Date:
21380
      - Mon, 27 Mar 2017 18:05:33 GMT
21777
      - Mon, 27 Mar 2017 18:34:24 GMT
21381 21778
      Server:
21382 21779
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21383 21780
      X-Frame-Options:
......
21395 21792
      Cache-Control:
21396 21793
      - max-age=0, private, must-revalidate
21397 21794
      X-Request-Id:
21398
      - 9f13f483-0e96-41ae-9300-c1f0aa67306a
21795
      - 404e443e-1156-4423-82cd-63ca74800725
21399 21796
      X-Runtime:
21400
      - '0.087983'
21797
      - '0.099248'
21401 21798
      X-Powered-By:
21402 21799
      - Phusion Passenger 4.0.18
21403 21800
      Etag:
......
21411 21808
      Content-Type:
21412 21809
      - application/json; charset=utf-8
21413 21810
      Set-Cookie:
21414
      - _session_id=1bd4a22bf246b65913618f8a216294bb; path=/; secure; HttpOnly
21811
      - _session_id=5a10307bd011cb849835e4af5560d77d; path=/; secure; HttpOnly
21415 21812
    body:
21416 21813
      encoding: ASCII-8BIT
21417 21814
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
21418 21815

  
21419 21816
'
21420 21817
    http_version: 
21421
  recorded_at: Mon, 27 Mar 2017 18:05:39 GMT
21818
  recorded_at: Mon, 27 Mar 2017 18:34:31 GMT
21422 21819
- request:
21423 21820
    method: get
21424 21821
    uri: https://admin:changeme@devel.example.com:50083/api/status
......
21440 21837
      message: OK
21441 21838
    headers:
21442 21839
      Date:
21443
      - Mon, 27 Mar 2017 18:05:33 GMT
21840
      - Mon, 27 Mar 2017 18:34:25 GMT
21444 21841
      Server:
21445 21842
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21446 21843
      X-Frame-Options:
......
21458 21855
      Cache-Control:
21459 21856
      - max-age=0, private, must-revalidate
21460 21857
      X-Request-Id:
21461
      - f052bc72-a19c-4b02-bdbf-e060557d39d2
21858
      - f110b864-a98a-471a-a3bf-1069bf401337
21462 21859
      X-Runtime:
21463
      - '0.026889'
21860
      - '0.037066'
21464 21861
      X-Powered-By:
21465 21862
      - Phusion Passenger 4.0.18
21466 21863
      Etag:
......
21472 21869
      Content-Type:
21473 21870
      - application/json; charset=utf-8
21474 21871
      Set-Cookie:
21475
      - _session_id=a46130186b184505142e447147a035d5; path=/; secure; HttpOnly
21872
      - _session_id=523c40010018644af3030b656565a6a9; path=/; secure; HttpOnly
21476 21873
    body:
21477 21874
      encoding: UTF-8
21478 21875
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
21479 21876
    http_version: 
21480
  recorded_at: Mon, 27 Mar 2017 18:05:39 GMT
21877
  recorded_at: Mon, 27 Mar 2017 18:34:31 GMT
21481 21878
- request:
21482 21879
    method: get
21483 21880
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
21499 21896
      message: OK
21500 21897
    headers:
21501 21898
      Date:
21502
      - Mon, 27 Mar 2017 18:05:33 GMT
21899
      - Mon, 27 Mar 2017 18:34:25 GMT
21503 21900
      Server:
21504 21901
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21505 21902
      X-Frame-Options:
......
21517 21914
      Cache-Control:
21518 21915
      - max-age=0, private, must-revalidate
21519 21916
      X-Request-Id:
21520
      - 9dadfe04-9fa1-4fc4-9319-4513e79fb07c
21917
      - 76aedcc9-c663-4371-be48-f88bae13bfc8
21521 21918
      X-Runtime:
21522
      - '0.029085'
21919
      - '0.030747'
21523 21920
      X-Powered-By:
21524 21921
      - Phusion Passenger 4.0.18
21525 21922
      Etag:
......
21533 21930
      Content-Type:
21534 21931
      - application/json; charset=utf-8
21535 21932
      Set-Cookie:
21536
      - _session_id=e5a61fdd2715fd95df25d2e455057766; path=/; secure; HttpOnly
21933
      - _session_id=f1aafd7af8669e55234c63ccde8dab25; path=/; secure; HttpOnly
21537 21934
    body:
21538 21935
      encoding: ASCII-8BIT
21539 21936
      string: !binary |-
......
21612 22009
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
21613 22010
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
21614 22011
    http_version: 
21615
  recorded_at: Mon, 27 Mar 2017 18:05:39 GMT
22012
  recorded_at: Mon, 27 Mar 2017 18:34:31 GMT
21616 22013
- request:
21617 22014
    method: get
21618 22015
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
21638 22035
      message: OK
21639 22036
    headers:
21640 22037
      Date:
21641
      - Mon, 27 Mar 2017 18:05:33 GMT
22038
      - Mon, 27 Mar 2017 18:34:25 GMT
21642 22039
      Server:
21643 22040
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21644 22041
      X-Frame-Options:
......
21656 22053
      Cache-Control:
21657 22054
      - max-age=0, private, must-revalidate
21658 22055
      X-Request-Id:
21659
      - 0301cbbf-dc4a-43fa-b224-721cde579c82
22056
      - 0bcd351c-5ac1-4e0b-a9dd-025de82c04e2
21660 22057
      X-Runtime:
21661
      - '0.135013'
22058
      - '0.034916'
21662 22059
      X-Powered-By:
21663 22060
      - Phusion Passenger 4.0.18
21664 22061
      Etag:
21665
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
22062
      - '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
21666 22063
      Status:
21667 22064
      - 200 OK
21668 22065
      Vary:
......
21672 22069
      Content-Type:
21673 22070
      - application/json; charset=utf-8
21674 22071
      Set-Cookie:
21675
      - _session_id=28f8e566159d0d68c776597455b4cf0b; path=/; secure; HttpOnly
22072
      - _session_id=295d3686100e6c45c505f83c1ded7494; path=/; secure; HttpOnly
21676 22073
    body:
21677 22074
      encoding: ASCII-8BIT
21678 22075
      string: |
......
21686 22083
            "by": null,
21687 22084
            "order": null
21688 22085
          },
21689
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01 19:45:39 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
22086
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
21690 22087
        }
21691 22088
    http_version: 
21692
  recorded_at: Mon, 27 Mar 2017 18:05:39 GMT
22089
  recorded_at: Mon, 27 Mar 2017 18:34:31 GMT
21693 22090
- request:
21694 22091
    method: get
21695 22092
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?per_page=1
......
21715 22112
      message: OK
21716 22113
    headers:
21717 22114
      Date:
21718
      - Mon, 27 Mar 2017 18:05:33 GMT
22115
      - Mon, 27 Mar 2017 18:34:25 GMT
21719 22116
      Server:
21720 22117
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21721 22118
      X-Frame-Options:
......
21733 22130
      Cache-Control:
21734 22131
      - max-age=0, private, must-revalidate
21735 22132
      X-Request-Id:
21736
      - 841c1278-8783-4e59-92af-336d06864a4c
22133
      - b913f716-8841-4687-86eb-38082d336c4c
21737 22134
      X-Runtime:
21738
      - '0.139879'
22135
      - '0.156258'
21739 22136
      X-Powered-By:
21740 22137
      - Phusion Passenger 4.0.18
21741 22138
      Etag:
21742
      - '"d000217fb03c1a5784a9c37bb491ebcf-gzip"'
22139
      - '"cd70bdab123e342092864c4e276e09fb-gzip"'
21743 22140
      Status:
21744 22141
      - 200 OK
21745 22142
      Vary:
......
21749 22146
      Content-Type:
21750 22147
      - application/json; charset=utf-8
21751 22148
      Set-Cookie:
21752
      - _session_id=0310d7797b42d2cf7266bede72f43366; path=/; secure; HttpOnly
22149
      - _session_id=574c742fc6b935ea715d0ff148874c6a; path=/; secure; HttpOnly
21753 22150
    body:
21754 22151
      encoding: ASCII-8BIT
21755 22152
      string: |
......
21763 22160
            "by": null,
21764 22161
            "order": null
21765 22162
          },
21766
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27 18:05:31 UTC","updated_at":"2017-03-27 18:05:33 UTC","last_compile":"2017-03-27 18:05:32 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":195,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":194,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":200,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","last_checkin":"2017-03-27 18:05:31 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:05:32 UTC"},"content_host_id":200}]
22163
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27 18:34:23 UTC","updated_at":"2017-03-27 18:34:24 UTC","last_compile":"2017-03-27 18:34:24 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":211,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":210,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":216,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","last_checkin":"2017-03-27 18:34:23 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:34:23 UTC"},"content_host_id":216}]
21767 22164
        }
21768 22165
    http_version: 
21769
  recorded_at: Mon, 27 Mar 2017 18:05:39 GMT
22166
  recorded_at: Mon, 27 Mar 2017 18:34:31 GMT
21770 22167
- request:
21771 22168
    method: get
21772 22169
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?page=1&per_page=20
......
21792 22189
      message: OK
21793 22190
    headers:
21794 22191
      Date:
21795
      - Mon, 27 Mar 2017 18:05:33 GMT
22192
      - Mon, 27 Mar 2017 18:34:25 GMT
21796 22193
      Server:
21797 22194
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21798 22195
      X-Frame-Options:
......
21810 22207
      Cache-Control:
21811 22208
      - max-age=0, private, must-revalidate
21812 22209
      X-Request-Id:
21813
      - fd44b1a1-d9b6-4b5a-a4e6-376d72067021
22210
      - 609980d8-3f35-48c4-b3f5-60ca91cddbec
21814 22211
      X-Runtime:
21815
      - '0.308378'
22212
      - '0.231968'
21816 22213
      X-Powered-By:
21817 22214
      - Phusion Passenger 4.0.18
21818 22215
      Etag:
21819
      - '"dc347af1c3c825bd89df3500b5335a6c-gzip"'
22216
      - '"36cee6e03cc7b887894236a336cad227-gzip"'
21820 22217
      Status:
21821 22218
      - 200 OK
21822 22219
      Vary:
......
21826 22223
      Content-Type:
21827 22224
      - application/json; charset=utf-8
21828 22225
      Set-Cookie:
21829
      - _session_id=594a76ba1fbb88f83392efc13f9c54f8; path=/; secure; HttpOnly
22226
      - _session_id=13416800268be1ef4d736eefe8731c3a; path=/; secure; HttpOnly
21830 22227
    body:
21831 22228
      encoding: ASCII-8BIT
21832 22229
      string: |
......
21840 22237
            "by": null,
21841 22238
            "order": null
21842 22239
          },
21843
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27 18:05:31 UTC","updated_at":"2017-03-27 18:05:33 UTC","last_compile":"2017-03-27 18:05:32 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":195,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":194,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":200,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","last_checkin":"2017-03-27 18:05:31 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:05:32 UTC"},"content_host_id":200},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
22240
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27 18:34:23 UTC","updated_at":"2017-03-27 18:34:24 UTC","last_compile":"2017-03-27 18:34:24 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":211,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":210,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":216,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","last_checkin":"2017-03-27 18:34:23 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:34:23 UTC"},"content_host_id":216},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 19:37:05 UTC","updated_at":"2017-03-27 18:28:09 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
21844 22241
        }
21845 22242
    http_version: 
21846
  recorded_at: Mon, 27 Mar 2017 18:05:40 GMT
22243
  recorded_at: Mon, 27 Mar 2017 18:34:31 GMT
21847 22244
- request:
21848 22245
    method: get
21849 22246
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/environments?per_page=999999
......
21869 22266
      message: OK
21870 22267
    headers:
21871 22268
      Date:
21872
      - Mon, 27 Mar 2017 18:05:34 GMT
22269
      - Mon, 27 Mar 2017 18:34:25 GMT
21873 22270
      Server:
21874 22271
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21875 22272
      X-Frame-Options:
......
21887 22284
      Cache-Control:
21888 22285
      - max-age=0, private, must-revalidate
21889 22286
      X-Request-Id:
21890
      - fc2af7ab-d013-401c-8370-351a14aa35fb
22287
      - 50b7dc33-382e-4dea-b54d-cf93e51bbfb1
21891 22288
      X-Runtime:
21892
      - '0.257529'
22289
      - '0.188194'
21893 22290
      X-Powered-By:
21894 22291
      - Phusion Passenger 4.0.18
21895 22292
      Etag:
......
21903 22300
      Content-Type:
21904 22301
      - application/json; charset=utf-8
21905 22302
      Set-Cookie:
21906
      - _session_id=78dd685c74de8be3f8190dab540dd45a; path=/; secure; HttpOnly
22303
      - _session_id=a137d2ccbb7459f1067cbe98deb72031; path=/; secure; HttpOnly
21907 22304
    body:
21908 22305
      encoding: ASCII-8BIT
21909 22306
      string: '{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test,
......
21920 22317

  
21921 22318
'
21922 22319
    http_version: 
21923
  recorded_at: Mon, 27 Mar 2017 18:05:40 GMT
22320
  recorded_at: Mon, 27 Mar 2017 18:34:32 GMT
21924 22321
- request:
21925 22322
    method: get
21926 22323
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/content_views?per_page=999999
......
21946 22343
      message: OK
21947 22344
    headers:
21948 22345
      Date:
21949
      - Mon, 27 Mar 2017 18:05:34 GMT
22346
      - Mon, 27 Mar 2017 18:34:25 GMT
21950 22347
      Server:
21951 22348
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21952 22349
      X-Frame-Options:
......
21964 22361
      Cache-Control:
21965 22362
      - max-age=0, private, must-revalidate
21966 22363
      X-Request-Id:
21967
      - 760bc472-f5ca-4967-961b-00298b13532f
22364
      - 0b220f07-f588-4c3b-a34d-6664860ef3d0
21968 22365
      X-Runtime:
21969
      - '0.156533'
22366
      - '0.081745'
21970 22367
      X-Powered-By:
21971 22368
      - Phusion Passenger 4.0.18
21972 22369
      Etag:
......
21980 22377
      Content-Type:
21981 22378
      - application/json; charset=utf-8
21982 22379
      Set-Cookie:
21983
      - _session_id=6359e488cdc668d3497b798dddf99065; path=/; secure; HttpOnly
22380
      - _session_id=7c674ae930b3691cf98a7b71e21a1645; path=/; secure; HttpOnly
21984 22381
    body:
21985 22382
      encoding: ASCII-8BIT
21986 22383
      string: '{"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
......
21997 22394

  
21998 22395
'
21999 22396
    http_version: 
22000
  recorded_at: Mon, 27 Mar 2017 18:05:40 GMT
22397
  recorded_at: Mon, 27 Mar 2017 18:34:32 GMT
22001 22398
- request:
22002 22399
    method: put
22003
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/195
22400
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/211
22004 22401
    body:
22005 22402
      encoding: UTF-8
22006 22403
      string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":null,"service_level":null,"autoheal":true}}}'
......
22025 22422
      message: OK
22026 22423
    headers:
22027 22424
      Date:
22028
      - Mon, 27 Mar 2017 18:05:34 GMT
22425
      - Mon, 27 Mar 2017 18:34:25 GMT
22029 22426
      Server:
22030 22427
      - Apache/2.4.6 (Red Hat Enterprise Linux)
22031 22428
      X-Frame-Options:
......
22043 22440
      Cache-Control:
22044 22441
      - max-age=0, private, must-revalidate
22045 22442
      X-Request-Id:
22046
      - 2682a51f-2a61-4603-8b21-5209cd3fd737
22443
      - a2896fd0-ace2-40b7-83fb-d4891b087fb3
22047 22444
      X-Runtime:
22048
      - '0.452454'
22445
      - '0.357213'
22049 22446
      X-Powered-By:
22050 22447
      - Phusion Passenger 4.0.18
22051 22448
      Etag:
22052
      - '"9011f50c4213133d93cc9b4e38e06d98-gzip"'
22449
      - '"bcf428d35828ac0ae9f1294849fcb65a-gzip"'
22053 22450
      Status:
22054 22451
      - 200 OK
22055 22452
      Vary:
......
22059 22456
      Content-Type:
22060 22457
      - application/json; charset=utf-8
22061 22458
      Set-Cookie:
22062
      - _session_id=02f594e37f728de3ecb9c24b8d442771; path=/; secure; HttpOnly
22459
      - _session_id=93ab4e205eef03111366ae66a788b64a; path=/; secure; HttpOnly
22063 22460
      - request_method=PUT; path=/
22064 22461
    body:
22065 22462
      encoding: ASCII-8BIT
22066 22463
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27
22067
        18:05:31 UTC","updated_at":"2017-03-27 18:05:33 UTC","last_compile":"2017-03-27
22068
        18:05:32 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
22464
        18:34:23 UTC","updated_at":"2017-03-27 18:34:24 UTC","last_compile":"2017-03-27
22465
        18:34:24 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
22069 22466
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
22070 22467
        not calculate errata status, ensure host is registered and katello-agent is
22071
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":195,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":194,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","content_view_id":2,"content_view_name":"Default
22468
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":211,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":210,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","content_view_id":2,"content_view_name":"Default
22072 22469
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
22073
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":200,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","last_checkin":"2017-03-27
22074
        18:05:31 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27
22075
        18:05:32 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[]},"content_host_id":200,"parameters":[],"interfaces":[{"id":196,"name":"testhost1","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testhost1","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"1","memory::memtotal":"4","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2017-03-27T18:05:32+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
22470
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":216,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","last_checkin":"2017-03-27
22471
        18:34:23 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27
22472
        18:34:23 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[]},"content_host_id":216,"parameters":[],"interfaces":[{"id":212,"name":"testhost1","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"memory":null,"uname":null,"system::certificate_version":"3.2","network::hostname":"testhost1","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"1","memory::memtotal":"4","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"distribution":null,"virt":null,"_timestamp":"2017-03-27T18:34:24+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
22076 22473
    http_version: 
22077
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
22474
  recorded_at: Mon, 27 Mar 2017 18:34:32 GMT
22078 22475
- request:
22079 22476
    method: get
22080
    uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/a65947ce-a64a-48de-aa1c-3e1a75a0ce1d
22477
    uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9
22081 22478
    body:
22082 22479
      encoding: US-ASCII
22083 22480
      string: ''
......
22094 22491
      message: OK
22095 22492
    headers:
22096 22493
      Date:
22097
      - Mon, 27 Mar 2017 18:05:34 GMT
22494
      - Mon, 27 Mar 2017 18:34:26 GMT
22098 22495
      Server:
22099 22496
      - Apache/2.4.6 (Red Hat Enterprise Linux)
22100 22497
      X-Frame-Options:
......
22112 22509
      Cache-Control:
22113 22510
      - max-age=0, private, must-revalidate
22114 22511
      X-Request-Id:
22115
      - 7353b9f9-1e4b-4f41-8132-6ad88349a6ab
22512
      - 46ede3e1-4348-46da-b245-b76c09fc842f
22116 22513
      X-Runtime:
22117
      - '0.090456'
22514
      - '0.082760'
22118 22515
      X-Powered-By:
22119 22516
      - Phusion Passenger 4.0.18
22120 22517
      Etag:
22121
      - '"97183d12e8cb96d559ff807ee28cab3d-gzip"'
22518
      - '"715665ea8b456705a6b3e01c10ab9057-gzip"'
22122 22519
      Status:
22123 22520
      - 200 OK
22124 22521
      Vary:
22125 22522
      - Accept-Encoding
22126 22523
      Content-Length:
22127
      - '3132'
22524
      - '3130'
22128 22525
      Content-Type:
22129 22526
      - application/json; charset=utf-8
22130 22527
      Set-Cookie:
22131
      - _session_id=e383532f5e55676193edce622fa4511d; path=/; secure; HttpOnly
22528
      - _session_id=dee319fad21ac8976be9974bd4bf4742; path=/; secure; HttpOnly
22132 22529
    body:
22133 22530
      encoding: ASCII-8BIT
22134
      string: '{"id":"ff8080815adcc9a9015b10f1c5e60c42","uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","name":"testhost1","username":"foreman_admin","entitlementStatus":"valid","serviceLevel":"","releaseVer":{"releaseVer":null},"idCert":{"key":"-----BEGIN
22135
        RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAlrE8FX5Nvu9iNRk2A0HABOUnqaONOv4ZoxHlUx5XouTCuLN6\nOwO7ywCK+Hd1mcZ89K4f4KJWK27duxUY97nflO+SCst2+t2HlEn+NQMkCRm9vT5e\niRo565D+iNPCM2R+8oHVBJMpa5VZGwpeL3NLGshGTlWKgLz6vuZ85IZvMr2Yenmc\nJeQ+G/Rh9A4TinnOU1yn8yStYlhgWc8yZake6b46s1lJwXXeg5/HmPgsnYSbALfm\npYShw+UCs+Vt/9B4rq0xhui469SjruT3GotH9qq1hivP6UjJECNf2z9EEytTGaoA\n9Wn1dEUIZbjSnhq/Vs7Iexnfa+XVl7AgdbtXOwIDAQABAoIBADQx94nKUcuMxwt1\nTAwcvhHz/aT4jXadhOvCyxfbLqexbPDk2bWPOYC7E2e0mPtGkQl/NnNsR0SMBilC\nyX8k1piT0pYCm5eRG+D1MCPUjqrIS7w82inK97zsX/2su1tpt77v0YTgJDyrYk3H\nbZAp8x23uQJxBqRI0OFGnIPbPLDqCHCagSSi/VVkzvtMobPrqGUpNR0o2+dW/I1E\nm/J3W1/d2WTvaay0ALYi3qSsfnifW9+wwfwJN2G/Y6/nxOEdfM+XDo90kInjmTYj\nvibZi80aIeoUXuxkLUeoTne0lNTSuWdSmhWLZv603hAdbw2IemeWB0dA5iM1vZGM\nm0/HAwECgYEA7MHiPtpzj+oI+j/XQAYAjKN3klqCv/lnGCDlJBrc5rHji+rXhe6H\n6J654Wlbk8OvUO1C12WkRoOlifOUEtI3xVfYOpoBbsz56zwWeftIzQ0/H99envDP\nPhbSzSENbNVI81i/r3dgEQWhT1si9GvIvnXB4b6VnSB1v5ZN+LsCG1sCgYEAovCh\nRNrMdRTMosB9DSl4nxnXKi9Sv0KQ+SQyFT/jkN5L/DS3jUjUGLHtpjmXPRWVXNpA\nIGHmAHS5kZHcSVmBztgeeEXe2qAu/xJCmVTxs/3JyR6tsW+H0u0ph2eQS5wrYdnF\nW3XESAL2lNoZAzLSYzfteOyDBno36kGvmX4o2aECgYEAtPfmJcD4wDJVtmMB9xAf\nb2CrzxScCH1sjgbm31ghLb0ffx18rAUNoYNh9aiAtUvIQAV7KAWrMbMC35Vtw40n\n0BI7V1/MZJMNHP+K9qZamVHcxFIKk1biMkVj0CPJjTziTA+0RTzsE1bIXE3/Q/D3\nOo3sKs9wsO/U0SLkapEXJS0CgYA/V3YJ81jKJxTKLDQw2q9WglAfyRfM3E7JW6XQ\nlu6bUZ+OYtv8I5S4KOsu1HKTv4E6AGovbH9iK/47tc1CAnaw91kY/mh86wp6BBo5\ny0jO5Nj9w1xYfvf5KlMbnUn96q7+sg7D2Es+h1BeW06f7LDW+1XozWC+MuLrwS9H\nZ0DwIQKBgQDAmDTf6SChY+ZEyoS6Bx9Utj8RxTvP4292k77kkrk5mCY9e0P/ndtc\nZWQCnSuEROt/Ni3DA4JbKlzYUMoZ+dwSQXiKuZErr43fUJdj+fz8rF7o96GjfzVO\nYm3rPpuescTGudraWzGawJ4vAPt/mzl8Qsfq6lxAOCcKECuJWDi+MQ==\n-----END
22136
        RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIEUjCCAzqgAwIBAgIIW7LRzeQUnfEwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UE\nBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdo\nMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEaMBgGA1UE\nAxMRc2F0NjIuZXhhbXBsZS5jb20wHhcNMTcwMzI3MTgwNTMyWhcNMzMwMzI3MTgw\nNTMyWjAvMS0wKwYDVQQDEyRhNjU5NDdjZS1hNjRhLTQ4ZGUtYWExYy0zZTFhNzVh\nMGNlMWQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCWsTwVfk2+72I1\nGTYDQcAE5Sepo406/hmjEeVTHlei5MK4s3o7A7vLAIr4d3WZxnz0rh/golYrbt27\nFRj3ud+U75IKy3b63YeUSf41AyQJGb29Pl6JGjnrkP6I08IzZH7ygdUEkylrlVkb\nCl4vc0sayEZOVYqAvPq+5nzkhm8yvZh6eZwl5D4b9GH0DhOKec5TXKfzJK1iWGBZ\nzzJlqR7pvjqzWUnBdd6Dn8eY+CydhJsAt+alhKHD5QKz5W3/0HiurTGG6Ljr1KOu\n5Pcai0f2qrWGK8/pSMkQI1/bP0QTK1MZqgD1afV0RQhluNKeGr9Wzsh7Gd9r5dWX\nsCB1u1c7AgMBAAGjggEjMIIBHzARBglghkgBhvhCAQEEBAMCBaAwCwYDVR0PBAQD\nAgSwMIGvBgNVHSMEgacwgaSAFE0a7C+GbR8izagxm3Zq6NJUOCLhoYGApH4wfDEL\nMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdS\nYWxlaWdoMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEa\nMBgGA1UEAxMRc2F0NjIuZXhhbXBsZS5jb22CCQCOJqql+xfH2TAdBgNVHQ4EFgQU\nAWUBgYFnDfb+8omtfQMbKTV9kKowEwYDVR0lBAwwCgYIKwYBBQUHAwIwFwYDVR0R\nBBAwDoYMQ049dGVzdGhvc3QxMA0GCSqGSIb3DQEBBQUAA4IBAQC5S8iMyxtHmj0v\nz7a+ihJkAuYtyz6sLW0Zsw9bEFyI5bfdtXGSF32tSGY3DrcGgJ/MPHk78pMu6/NJ\nwYulSy6Vr7y2C1LF9lRWjfpgMy0rhUGqc90NwAGXaJxg0Pce3Q34Wj7rs1hVj5sm\nGyfSISH37VQFQOjbm/cpdoGaUY5CnJb6BLo7fMkM91m5oMLqZuHLbovp9cJs4VFf\nU63bN+XA0weTIUo01DDRtV8P0DlirfVind8091wjmOtC1RWyQaeG7pBD1bI7X3Lm\nuFbwm3x0EaIwUt9T4UWy01XAteUBJV1hAC2UVJCr31p+maNDg+aoXq2a5Vm77R6s\nZ/DFvqpC\n-----END
22137
        CERTIFICATE-----\n","id":"ff8080815adcc9a9015b10f1c6840c44","serial":{"id":6607574285530996209,"revoked":false,"collected":false,"expiration":"2033-03-27T18:05:32.008+0000","serial":6607574285530996209,"created":"2017-03-27T18:05:32.008+0000","updated":"2017-03-27T18:05:32.008+0000"},"created":"2017-03-27T18:05:32.164+0000","updated":"2017-03-27T18:05:32.164+0000"},"type":{"id":"1000","label":"system","manifest":false},"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
22531
      string: '{"id":"ff8080815adcc9a9015b110c32820d8c","uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","name":"testhost1","username":"foreman_admin","entitlementStatus":"valid","serviceLevel":"","releaseVer":{"releaseVer":null},"idCert":{"key":"-----BEGIN
22532
        RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAoH0vt9YXiW9Cn8Wz72CioU1uMRGfmLBSb/VLuMZrEmesn00X\nQbdsJjqjhuyzNDA82asRPipTWZHUz5Nu8cyiWosqftocbzL0Tc4pfB1pWAbrPE4v\n/YMDxMx/+PkNAm9EwrD9EQ7QdC6nCOzVsD+yDMbe4YA3ZPsUKKN9dFZ0UVtKhMlc\n9Kcjx0z/pAlrlQO6cR5KG7Aep55Dlrkv6n+elP/ZYSxEqzDli8YfQ36GYPgIwGTE\nAL0z17Wzegq2zMUoJJ/NfqxN4x4K2J0WQSmCfLEbX1mA7H61r7B2kxiLnxG8+Qrh\ncuTDmT/RXzxgi9+sX4q5b06+xvVpMrNzYha/7wIDAQABAoIBAQCGyd1D5vmJofow\nuhjvWRf9pUyAxa5mzN/PzBK2s17F7HDcsiBwPx8D1If3D+FKWaEhpz0qGt46AfLc\nC5VIW3eX1/3u4Dy1X/QzTI0nAoSxO85hrcE8h8aoiKCKeJFmlBEJ+x/wLaMBkRUU\nt+SYzEY72OLkPY1IsF8z6mu5Q8sZb+A/0E2qd47kM3lhBCNEg8GhMbcshG+fj4kh\nVX9FEQMoSvjrq0T1Lbc2LuDTLD+uDZ7RZuAdx/xq/CeqCxCddcB8tK2yCKEf7bE3\nOFrVRjdxawY/TcWFfmmipSUSTBbrzP7ZefZXJJZYdMD8e4DdFKKAe9e7bW9MMtuv\nR0OEfIrhAoGBANB6BCgzNvJxE6wl3mATUu5XSH4fOAEKdxzLn0A37x6VEQfP0vGA\nQ0DGIX0TMOqb2DPIuH6/jdrh1huQyb47jQiooVc3THbd5bsY1dXRGeGGa3jMx3S6\nqFaGaKPjUMfiUg/Exg3TYLrgUOGwKcQdoDrZ4KG/msBctLuY3RboXfJXAoGBAMUS\nxtrd7xDFjGUUo6v7QOcqT9/YSUnwF+cBbmoGfFUOQeE18lu20VhdsWaGhxAZabRI\n6vycwzYCI9uQRuJLvbDCuu1/wvJ8j4franuU3TfLoSirIK4zliLhI9gfIQe1GlcM\nBlFyKgyMylEikr1bYr8WER7ORfduU4GCRWBy1pApAoGBAMr2v61Tjx8hr4FdrM3k\ngkzAdTc0tZVt1uEV7Ijc69PeVKJCVp//u3oIavoWAP2nlCl2NQhQ/Y4naAeWQpMN\n7xSK9+itUag4CDzKxQRRetzxvRfyZgzi3JjAaoeD+1VepX3smNVFAVtun8/ZbhAc\nt64UCHnwzHySxPIOtNBkkXIpAoGAdDOdI2KnWxlQri1cUMUmwOd3D4Mlu74hKenz\nI/tNBo4QlG3NyPxkNhmQx+Zc70Y8yLwSKv94L3lVkVpiIX8Ni5NWy0GBPp/ptfg+\n4j2lrweXsDYvX+g1B73+96lrPXMw49DITO/nEV1W0j5zjcm70PZ/A84W/U2FWaDp\nrXQpRfkCgYAHrLQzfiU5r72FNpo4fUfI9al+iKHGN6zILD3gvUmacs+ZfNk/4pvg\n8a5bKIOZFbKBeYwIiHaMnnKPTNffmH4EmXGSp2AlSssVW220cW+VyyYkfnOLAO27\nTQuC/xX1hXZ39aQNlaTCL+lhTliPOY0P3aa++/gUUhdMnXA6E6AhIg==\n-----END
22533
        RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIEUjCCAzqgAwIBAgIIW2DUx1VkVv0wDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UE\nBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdo\nMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEaMBgGA1UE\nAxMRc2F0NjIuZXhhbXBsZS5jb20wHhcNMTcwMzI3MTgzNDIzWhcNMzMwMzI3MTgz\nNDIzWjAvMS0wKwYDVQQDEyQ1ZjBlYzkwMC04YzNhLTRiNGItYmNkNC05MGVhOTJl\nYmZmYzkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCgfS+31heJb0Kf\nxbPvYKKhTW4xEZ+YsFJv9Uu4xmsSZ6yfTRdBt2wmOqOG7LM0MDzZqxE+KlNZkdTP\nk27xzKJaiyp+2hxvMvRNzil8HWlYBus8Ti/9gwPEzH/4+Q0Cb0TCsP0RDtB0LqcI\n7NWwP7IMxt7hgDdk+xQoo310VnRRW0qEyVz0pyPHTP+kCWuVA7pxHkobsB6nnkOW\nuS/qf56U/9lhLESrMOWLxh9DfoZg+AjAZMQAvTPXtbN6CrbMxSgkn81+rE3jHgrY\nnRZBKYJ8sRtfWYDsfrWvsHaTGIufEbz5CuFy5MOZP9FfPGCL36xfirlvTr7G9Wky\ns3NiFr/vAgMBAAGjggEjMIIBHzARBglghkgBhvhCAQEEBAMCBaAwCwYDVR0PBAQD\nAgSwMIGvBgNVHSMEgacwgaSAFE0a7C+GbR8izagxm3Zq6NJUOCLhoYGApH4wfDEL\nMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdS\nYWxlaWdoMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEa\nMBgGA1UEAxMRc2F0NjIuZXhhbXBsZS5jb22CCQCOJqql+xfH2TAdBgNVHQ4EFgQU\nwlTAnD7RxRXrlC53uzV5YZ/WpkAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwFwYDVR0R\nBBAwDoYMQ049dGVzdGhvc3QxMA0GCSqGSIb3DQEBBQUAA4IBAQC9toBQnoCLRBgC\nefDr6i1lRyc4fwHHLXNl5cqP1SPvIMAa4zycGKnjOrA0nAW+PSYzhhhnr44BoTvt\nNAPZfphbk8/+7GZitQkD153HjM7SV799vzbX/+IZUtQkh1WjciobnfvDReSYa7p4\nuyTxIRMjWSHpz3pGkenwXnDRJBAvuixKCB+0WTmJs1328TdNLfiEHcS9l5k7hAqW\nYCAq2nM4lSOrm2K+sC2p+JoZ0VaDsP/zgeT4s+Lkhp7plzjJz+1hid8dPIkgYP02\nByF9/DlcsppYr2hBTmXFdbp4OvDey/ALLeIiVQrK9cRIE+9sdLEBf15wDtadKCOU\nIYj/x/q8\n-----END
22534
        CERTIFICATE-----\n","id":"ff8080815adcc9a9015b110c33600d8e","serial":{"id":6584496607811884797,"revoked":false,"collected":false,"expiration":"2033-03-27T18:34:23.749+0000","serial":6584496607811884797,"created":"2017-03-27T18:34:23.749+0000","updated":"2017-03-27T18:34:23.749+0000"},"created":"2017-03-27T18:34:23.968+0000","updated":"2017-03-27T18:34:23.968+0000"},"type":{"id":"1000","label":"system","manifest":false},"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
22138 22535
        Corporation","href":"/owners/testcorp"},"environment":{"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
22139
        Corporation","href":"/owners/testcorp"},"name":"Library","description":null,"id":"2","environmentContent":[],"created":"2016-12-01T19:35:27.852+0000","updated":"2016-12-01T19:35:27.852+0000"},"entitlementCount":0,"facts":{"network.hostname":"testhost1","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:05:31+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"1","memory.memtotal":"4","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":"false"},"lastCheckin":null,"installedProducts":[],"canActivate":false,"guestIds":[],"capabilities":[],"hypervisorId":null,"contentTags":[],"autoheal":true,"dev":false,"href":"/consumers/a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","created":"2017-03-27T18:05:32.006+0000","updated":"2017-03-27T18:05:32.172+0000"}'
22536
        Corporation","href":"/owners/testcorp"},"name":"Library","description":null,"id":"2","environmentContent":[],"created":"2016-12-01T19:35:27.852+0000","updated":"2016-12-01T19:35:27.852+0000"},"entitlementCount":0,"facts":{"network.hostname":"testhost1","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:34:23+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"1","memory.memtotal":"4","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":"false"},"lastCheckin":null,"installedProducts":[],"canActivate":false,"guestIds":[],"capabilities":[],"hypervisorId":null,"contentTags":[],"autoheal":true,"dev":false,"href":"/consumers/5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","created":"2017-03-27T18:34:23.746+0000","updated":"2017-03-27T18:34:23.974+0000"}'
22140 22537
    http_version: 
22141
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
22538
  recorded_at: Mon, 27 Mar 2017 18:34:32 GMT
22142 22539
- request:
22143 22540
    method: put
22144
    uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/a65947ce-a64a-48de-aa1c-3e1a75a0ce1d
22541
    uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9
22145 22542
    body:
22146 22543
      encoding: UTF-8
22147
      string: '{"facts":{"network.hostname":"testhost1","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:05:31+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"1","memory.memtotal":"4","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":false}}'
22544
      string: '{"facts":{"network.hostname":"testhost1","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:34:23+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"1","memory.memtotal":"4","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":false}}'
22148 22545
    headers:
22149 22546
      Content-Type:
22150 22547
      - application/json
......
22160 22557
      message: Forbidden
22161 22558
    headers:
22162 22559
      Date:
22163
      - Mon, 27 Mar 2017 18:05:35 GMT
22560
      - Mon, 27 Mar 2017 18:34:26 GMT
22164 22561
      Server:
22165 22562
      - Apache/2.4.6 (Red Hat Enterprise Linux)
22166 22563
      X-Frame-Options:
......
22176 22573
      Cache-Control:
22177 22574
      - no-cache
22178 22575
      X-Request-Id:
22179
      - a8541352-a607-488f-b5e2-75ed01a1e79b
22576
      - c11480c6-173c-4c4e-83d6-e64d295458be
22180 22577
      X-Runtime:
22181
      - '0.015168'
22578
      - '0.016676'
22182 22579
      X-Powered-By:
22183 22580
      - Phusion Passenger 4.0.18
22184 22581
      Status:
......
22186 22583
      Content-Type:
22187 22584
      - application/json; charset=utf-8
22188 22585
      Set-Cookie:
22189
      - _session_id=4542b1c197ed7c132ab79a251b65fd69; path=/; secure; HttpOnly
22586
      - _session_id=7104bffeb612034e3f621d16b46fdde9; path=/; secure; HttpOnly
22190 22587
      - request_method=PUT; path=/
22191 22588
      Transfer-Encoding:
22192 22589
      - chunked
......
22194 22591
      encoding: UTF-8
22195 22592
      string: '{"displayMessage":"Access denied","errors":["Access denied"]}'
22196 22593
    http_version: 
22197
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
22594
  recorded_at: Mon, 27 Mar 2017 18:34:32 GMT
22198 22595
- request:
22199 22596
    method: get
22200
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/195/subscriptions?full_results=true
22597
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/211/subscriptions?full_results=true
22201 22598
    body:
22202 22599
      encoding: US-ASCII
22203 22600
      string: ''
......
22220 22617
      message: OK
22221 22618
    headers:
22222 22619
      Date:
22223
      - Mon, 27 Mar 2017 18:05:35 GMT
22620
      - Mon, 27 Mar 2017 18:34:26 GMT
22224 22621
      Server:
22225 22622
      - Apache/2.4.6 (Red Hat Enterprise Linux)
22226 22623
      X-Frame-Options:
......
22238 22635
      Cache-Control:
22239 22636
      - max-age=0, private, must-revalidate
22240 22637
      X-Request-Id:
22241
      - b68f4f1b-4f96-4cb4-9bd2-40159de12753
22638
      - 6b7f1979-eaba-4f4c-9103-e2d93a47cadf
22242 22639
      X-Runtime:
22243
      - '0.097971'
22640
      - '0.133222'
22244 22641
      X-Powered-By:
22245 22642
      - Phusion Passenger 4.0.18
22246 22643
      Etag:
......
22254 22651
      Content-Type:
22255 22652
      - application/json; charset=utf-8
22256 22653
      Set-Cookie:
22257
      - _session_id=d8e17b9b25611cf714563994ddfe9874; path=/; secure; HttpOnly
22654
      - _session_id=a865b759f6deb79ee2532da02d3d413c; path=/; secure; HttpOnly
22258 22655
    body:
22259 22656
      encoding: ASCII-8BIT
22260 22657
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
22261 22658

  
22262 22659
'
22263 22660
    http_version: 
22264
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
22661
  recorded_at: Mon, 27 Mar 2017 18:34:32 GMT
22265 22662
- request:
22266 22663
    method: get
22267 22664
    uri: https://admin:changeme@devel.example.com:50083/api/hosts?page=1&per_page=20&search=name=testhost1
......
22287 22684
      message: OK
22288 22685
    headers:
22289 22686
      Date:
22290
      - Mon, 27 Mar 2017 18:05:35 GMT
22687
      - Mon, 27 Mar 2017 18:34:26 GMT
22291 22688
      Server:
22292 22689
      - Apache/2.4.6 (Red Hat Enterprise Linux)
22293 22690
      X-Frame-Options:
......
22305 22702
      Cache-Control:
22306 22703
      - max-age=0, private, must-revalidate
22307 22704
      X-Request-Id:
22308
      - 62734157-2e2b-4e86-86d3-877a99f70a0c
22705
      - 1fb5cb58-49b0-414d-88a8-5be6fe1c0682
22309 22706
      X-Runtime:
22310
      - '0.164130'
22707
      - '0.134651'
22311 22708
      X-Powered-By:
22312 22709
      - Phusion Passenger 4.0.18
22313 22710
      Etag:
22314
      - '"20f732491f419ac1f1bba3bf1ec8c2ce-gzip"'
22711
      - '"616ced47db30b898bf18addcb49afc6b-gzip"'
22315 22712
      Status:
22316 22713
      - 200 OK
22317 22714
      Vary:
......
22321 22718
      Content-Type:
22322 22719
      - application/json; charset=utf-8
22323 22720
      Set-Cookie:
22324
      - _session_id=db7f601e6f9920c75df0d8c7463a88dc; path=/; secure; HttpOnly
22721
      - _session_id=d2687c6862ccf278854b2f93038b5fe4; path=/; secure; HttpOnly
22325 22722
    body:
22326 22723
      encoding: ASCII-8BIT
22327 22724
      string: |
......
22335 22732
            "by": null,
22336 22733
            "order": null
22337 22734
          },
22338
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27 18:05:31 UTC","updated_at":"2017-03-27 18:05:33 UTC","last_compile":"2017-03-27 18:05:32 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":195,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":194,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":200,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","last_checkin":"2017-03-27 18:05:31 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:05:32 UTC"},"content_host_id":200}]
22735
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27 18:34:23 UTC","updated_at":"2017-03-27 18:34:24 UTC","last_compile":"2017-03-27 18:34:24 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":211,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":210,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":216,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","last_checkin":"2017-03-27 18:34:23 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:34:23 UTC"},"content_host_id":216}]
22339 22736
        }
22340 22737
    http_version: 
22341
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
22738
  recorded_at: Mon, 27 Mar 2017 18:34:32 GMT
22342 22739
- request:
22343 22740
    method: get
22344 22741
    uri: https://admin:changeme@devel.example.com:50083/api/hosts?page=1&per_page=20&search=testhost1
......
22364 22761
      message: OK
22365 22762
    headers:
22366 22763
      Date:
22367
      - Mon, 27 Mar 2017 18:05:35 GMT
22764
      - Mon, 27 Mar 2017 18:34:26 GMT
22368 22765
      Server:
22369 22766
      - Apache/2.4.6 (Red Hat Enterprise Linux)
22370 22767
      X-Frame-Options:
......
22382 22779
      Cache-Control:
22383 22780
      - max-age=0, private, must-revalidate
22384 22781
      X-Request-Id:
22385
      - 2a9706fd-68c1-4c52-98e0-37bbb3bcfcad
22782
      - bafc838e-ef6f-4172-b09a-b856129cefd2
22386 22783
      X-Runtime:
22387
      - '0.226337'
22784
      - '0.267537'
22388 22785
      X-Powered-By:
22389 22786
      - Phusion Passenger 4.0.18
22390 22787
      Etag:
22391
      - '"d32025d57e4c757365c17baa56223de5-gzip"'
22788
      - '"b4bbccdacdf454f0b8b63ac75455e575-gzip"'
22392 22789
      Status:
22393 22790
      - 200 OK
22394 22791
      Vary:
......
22398 22795
      Content-Type:
22399 22796
      - application/json; charset=utf-8
22400 22797
      Set-Cookie:
22401
      - _session_id=95f5217115fa6a7f4f9b5c3cc981cebf; path=/; secure; HttpOnly
22798
      - _session_id=7392bf415aaec1e7474f5edd292b461a; path=/; secure; HttpOnly
22402 22799
    body:
22403 22800
      encoding: ASCII-8BIT
22404 22801
      string: |
......
22412 22809
            "by": null,
22413 22810
            "order": null
22414 22811
          },
22415
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27 18:05:31 UTC","updated_at":"2017-03-27 18:05:33 UTC","last_compile":"2017-03-27 18:05:32 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":195,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":194,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":200,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","last_checkin":"2017-03-27 18:05:31 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:05:32 UTC"},"content_host_id":200}]
22812
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testhost1","image_id":null,"image_name":null,"created_at":"2017-03-27 18:34:23 UTC","updated_at":"2017-03-27 18:34:24 UTC","last_compile":"2017-03-27 18:34:24 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":211,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":210,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":216,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","last_checkin":"2017-03-27 18:34:23 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:34:23 UTC"},"content_host_id":216}]
22416 22813
        }
22417 22814
    http_version: 
22418
  recorded_at: Mon, 27 Mar 2017 18:05:41 GMT
22815
  recorded_at: Mon, 27 Mar 2017 18:34:33 GMT
22419 22816
- request:
22420 22817
    method: delete
22421
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/195
22818
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/211
22422 22819
    body:
22423 22820
      encoding: US-ASCII
22424 22821
      string: ''
......
22441 22838
      message: OK
22442 22839
    headers:
22443 22840
      Date:
22444
      - Mon, 27 Mar 2017 18:05:35 GMT
22841
      - Mon, 27 Mar 2017 18:34:27 GMT
22445 22842
      Server:
22446 22843
      - Apache/2.4.6 (Red Hat Enterprise Linux)
22447 22844
      X-Frame-Options:
......
22459 22856
      Cache-Control:
22460 22857
      - max-age=0, private, must-revalidate
22461 22858
      X-Request-Id:
22462
      - 0fe689f3-d1bb-4288-be36-0d8b40e4a8e8
22859
      - 986b5f95-9735-4fe6-9c7d-208b898399c5
22463 22860
      X-Runtime:
22464
      - '0.810904'
22861
      - '0.831462'
22465 22862
      X-Powered-By:
22466 22863
      - Phusion Passenger 4.0.18
22467 22864
      Etag:
22468
      - '"2b3d6af5555fec5b70880caa5a9838a3-gzip"'
22865
      - '"1d41a7db781c5d0f454187d74f6f197b-gzip"'
22469 22866
      Status:
22470 22867
      - 200 OK
22471 22868
      Vary:
......
22475 22872
      Content-Type:
22476 22873
      - application/json; charset=utf-8
22477 22874
      Set-Cookie:
22478
      - _session_id=adb36c48063076169223831df44a34f3; path=/; secure; HttpOnly
22875
      - _session_id=91b7e21bbeacc580c5a8e7bfae55986c; path=/; secure; HttpOnly
22479 22876
      - request_method=DELETE; path=/
22480 22877
    body:
22481 22878
      encoding: ASCII-8BIT
22482
      string: '{"id":195,"name":"testhost1","last_compile":"2017-03-27T18:05:32.000Z","last_report":null,"updated_at":"2017-03-27T18:05:33.114Z","created_at":"2017-03-27T18:05:31.806Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"testhost1","image_id":null,"organization_id":3,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":0,"lookup_value_matcher":"fqdn=testhost1","openscap_proxy_id":null,"content_facet_attributes":{"id":194,"host_id":195,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":200,"host_id":195,"uuid":"a65947ce-a64a-48de-aa1c-3e1a75a0ce1d","last_checkin":"2017-03-27T18:05:31.831Z","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27T18:05:32.006Z"}}'
22879
      string: '{"id":211,"name":"testhost1","last_compile":"2017-03-27T18:34:24.000Z","last_report":null,"updated_at":"2017-03-27T18:34:24.825Z","created_at":"2017-03-27T18:34:23.521Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"testhost1","image_id":null,"organization_id":3,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":0,"lookup_value_matcher":"fqdn=testhost1","openscap_proxy_id":null,"content_facet_attributes":{"id":210,"host_id":211,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":216,"host_id":211,"uuid":"5f0ec900-8c3a-4b4b-bcd4-90ea92ebffc9","last_checkin":"2017-03-27T18:34:23.543Z","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27T18:34:23.746Z"}}'
22483 22880
    http_version: 
22484
  recorded_at: Mon, 27 Mar 2017 18:05:42 GMT
22881
  recorded_at: Mon, 27 Mar 2017 18:34:34 GMT
22485 22882
recorded_with: VCR 3.0.3

Also available in: Unified diff