Revision ff467024
Added by Thomas McKay almost 6 years ago
test/fixtures/vcr_cassettes/resources/content_hosts/import_search.yml | ||
---|---|---|
2277 | 2277 |
recorded_at: Mon, 19 Dec 2016 16:41:32 GMT |
2278 | 2278 |
- request: |
2279 | 2279 |
method: get |
2280 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/190/subscriptions?full_results=true |
|
2281 |
body: |
|
2282 |
encoding: US-ASCII |
|
2283 |
string: '' |
|
2284 |
headers: |
|
2285 |
Accept: |
|
2286 |
- application/json;version=2 |
|
2287 |
Accept-Encoding: |
|
2288 |
- gzip, deflate |
|
2289 |
User-Agent: |
|
2290 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
2291 |
Content-Type: |
|
2292 |
- application/json |
|
2293 |
Accept-Language: |
|
2294 |
- en |
|
2295 |
Host: |
|
2296 |
- devel.example.com:50083 |
|
2297 |
response: |
|
2298 |
status: |
|
2299 |
code: 200 |
|
2300 |
message: OK |
|
2301 |
headers: |
|
2302 |
Date: |
|
2303 |
- Mon, 27 Mar 2017 18:05:06 GMT |
|
2304 |
Server: |
|
2305 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2306 |
X-Frame-Options: |
|
2307 |
- SAMEORIGIN |
|
2308 |
X-Xss-Protection: |
|
2309 |
- 1; mode=block |
|
2310 |
X-Content-Type-Options: |
|
2311 |
- nosniff |
|
2312 |
Foreman-Version: |
|
2313 |
- 1.11.0.54 |
|
2314 |
Foreman-Api-Version: |
|
2315 |
- '2' |
|
2316 |
Apipie-Checksum: |
|
2317 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
2318 |
Cache-Control: |
|
2319 |
- max-age=0, private, must-revalidate |
|
2320 |
X-Request-Id: |
|
2321 |
- 7586e7e6-b10a-4abc-bf5c-cea22f3f4648 |
|
2322 |
X-Runtime: |
|
2323 |
- '0.087571' |
|
2324 |
X-Powered-By: |
|
2325 |
- Phusion Passenger 4.0.18 |
|
2326 |
Etag: |
|
2327 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
2328 |
Status: |
|
2329 |
- 200 OK |
|
2330 |
Vary: |
|
2331 |
- Accept-Encoding |
|
2332 |
Content-Length: |
|
2333 |
- '119' |
|
2334 |
Content-Type: |
|
2335 |
- application/json; charset=utf-8 |
|
2336 |
Set-Cookie: |
|
2337 |
- _session_id=35dfbf8ab1ac0f128c486973ab859d98; path=/; secure; HttpOnly |
|
2338 |
body: |
|
2339 |
encoding: ASCII-8BIT |
|
2340 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
2341 |
|
|
2342 |
' |
|
2343 |
http_version: |
|
2344 |
recorded_at: Mon, 27 Mar 2017 18:05:13 GMT |
|
2345 |
- request: |
|
2346 |
method: get |
|
2347 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/191/subscriptions?full_results=true |
|
2348 |
body: |
|
2349 |
encoding: US-ASCII |
|
2350 |
string: '' |
|
2351 |
headers: |
|
2352 |
Accept: |
|
2353 |
- application/json;version=2 |
|
2354 |
Accept-Encoding: |
|
2355 |
- gzip, deflate |
|
2356 |
User-Agent: |
|
2357 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
2358 |
Content-Type: |
|
2359 |
- application/json |
|
2360 |
Accept-Language: |
|
2361 |
- en |
|
2362 |
Host: |
|
2363 |
- devel.example.com:50083 |
|
2364 |
response: |
|
2365 |
status: |
|
2366 |
code: 200 |
|
2367 |
message: OK |
|
2368 |
headers: |
|
2369 |
Date: |
|
2370 |
- Mon, 27 Mar 2017 18:05:09 GMT |
|
2371 |
Server: |
|
2372 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2373 |
X-Frame-Options: |
|
2374 |
- SAMEORIGIN |
|
2375 |
X-Xss-Protection: |
|
2376 |
- 1; mode=block |
|
2377 |
X-Content-Type-Options: |
|
2378 |
- nosniff |
|
2379 |
Foreman-Version: |
|
2380 |
- 1.11.0.54 |
|
2381 |
Foreman-Api-Version: |
|
2382 |
- '2' |
|
2383 |
Apipie-Checksum: |
|
2384 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
2385 |
Cache-Control: |
|
2386 |
- max-age=0, private, must-revalidate |
|
2387 |
X-Request-Id: |
|
2388 |
- df880298-19dd-4eb6-a7a6-64590a9ead35 |
|
2389 |
X-Runtime: |
|
2390 |
- '0.091557' |
|
2391 |
X-Powered-By: |
|
2392 |
- Phusion Passenger 4.0.18 |
|
2393 |
Etag: |
|
2394 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
2395 |
Status: |
|
2396 |
- 200 OK |
|
2397 |
Vary: |
|
2398 |
- Accept-Encoding |
|
2399 |
Content-Length: |
|
2400 |
- '119' |
|
2401 |
Content-Type: |
|
2402 |
- application/json; charset=utf-8 |
|
2403 |
Set-Cookie: |
|
2404 |
- _session_id=ac5c13ed3fb8b60c54579dff166d787e; path=/; secure; HttpOnly |
|
2405 |
body: |
|
2406 |
encoding: ASCII-8BIT |
|
2407 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
2408 |
|
|
2409 |
' |
|
2410 |
http_version: |
|
2411 |
recorded_at: Mon, 27 Mar 2017 18:05:15 GMT |
|
2412 |
- request: |
|
2413 |
method: get |
|
2414 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/192/subscriptions?full_results=true |
|
2415 |
body: |
|
2416 |
encoding: US-ASCII |
|
2417 |
string: '' |
|
2418 |
headers: |
|
2419 |
Accept: |
|
2420 |
- application/json;version=2 |
|
2421 |
Accept-Encoding: |
|
2422 |
- gzip, deflate |
|
2423 |
User-Agent: |
|
2424 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
2425 |
Content-Type: |
|
2426 |
- application/json |
|
2427 |
Accept-Language: |
|
2428 |
- en |
|
2429 |
Host: |
|
2430 |
- devel.example.com:50083 |
|
2431 |
response: |
|
2432 |
status: |
|
2433 |
code: 200 |
|
2434 |
message: OK |
|
2435 |
headers: |
|
2436 |
Date: |
|
2437 |
- Mon, 27 Mar 2017 18:05:11 GMT |
|
2438 |
Server: |
|
2439 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2440 |
X-Frame-Options: |
|
2441 |
- SAMEORIGIN |
|
2442 |
X-Xss-Protection: |
|
2443 |
- 1; mode=block |
|
2444 |
X-Content-Type-Options: |
|
2445 |
- nosniff |
|
2446 |
Foreman-Version: |
|
2447 |
- 1.11.0.54 |
|
2448 |
Foreman-Api-Version: |
|
2449 |
- '2' |
|
2450 |
Apipie-Checksum: |
|
2451 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
2452 |
Cache-Control: |
|
2453 |
- max-age=0, private, must-revalidate |
|
2454 |
X-Request-Id: |
|
2455 |
- 649df43b-7b49-4be7-aaec-6913accdacbc |
|
2456 |
X-Runtime: |
|
2457 |
- '0.096849' |
|
2458 |
X-Powered-By: |
|
2459 |
- Phusion Passenger 4.0.18 |
|
2460 |
Etag: |
|
2461 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
2462 |
Status: |
|
2463 |
- 200 OK |
|
2464 |
Vary: |
|
2465 |
- Accept-Encoding |
|
2466 |
Content-Length: |
|
2467 |
- '119' |
|
2468 |
Content-Type: |
|
2469 |
- application/json; charset=utf-8 |
|
2470 |
Set-Cookie: |
|
2471 |
- _session_id=c1b739baad2e1ff7ec8a2a3931809a03; path=/; secure; HttpOnly |
|
2472 |
body: |
|
2473 |
encoding: ASCII-8BIT |
|
2474 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
2475 |
|
|
2476 |
' |
|
2477 |
http_version: |
|
2478 |
recorded_at: Mon, 27 Mar 2017 18:05:17 GMT |
|
2479 |
- request: |
|
2480 |
method: get |
|
2481 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/193/subscriptions?full_results=true |
|
2482 |
body: |
|
2483 |
encoding: US-ASCII |
|
2484 |
string: '' |
|
2485 |
headers: |
|
2486 |
Accept: |
|
2487 |
- application/json;version=2 |
|
2488 |
Accept-Encoding: |
|
2489 |
- gzip, deflate |
|
2490 |
User-Agent: |
|
2491 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
2492 |
Content-Type: |
|
2493 |
- application/json |
|
2494 |
Accept-Language: |
|
2495 |
- en |
|
2496 |
Host: |
|
2497 |
- devel.example.com:50083 |
|
2498 |
response: |
|
2499 |
status: |
|
2500 |
code: 200 |
|
2501 |
message: OK |
|
2502 |
headers: |
|
2503 |
Date: |
|
2504 |
- Mon, 27 Mar 2017 18:05:13 GMT |
|
2505 |
Server: |
|
2506 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2507 |
X-Frame-Options: |
|
2508 |
- SAMEORIGIN |
|
2509 |
X-Xss-Protection: |
|
2510 |
- 1; mode=block |
|
2511 |
X-Content-Type-Options: |
|
2512 |
- nosniff |
|
2513 |
Foreman-Version: |
|
2514 |
- 1.11.0.54 |
|
2515 |
Foreman-Api-Version: |
|
2516 |
- '2' |
|
2517 |
Apipie-Checksum: |
|
2518 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
2519 |
Cache-Control: |
|
2520 |
- max-age=0, private, must-revalidate |
|
2521 |
X-Request-Id: |
|
2522 |
- 2efcaf6f-7dab-48a1-b213-41ba9afead09 |
|
2523 |
X-Runtime: |
|
2524 |
- '0.164382' |
|
2525 |
X-Powered-By: |
|
2526 |
- Phusion Passenger 4.0.18 |
|
2527 |
Etag: |
|
2528 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
2529 |
Status: |
|
2530 |
- 200 OK |
|
2531 |
Vary: |
|
2532 |
- Accept-Encoding |
|
2533 |
Content-Length: |
|
2534 |
- '119' |
|
2535 |
Content-Type: |
|
2536 |
- application/json; charset=utf-8 |
|
2537 |
Set-Cookie: |
|
2538 |
- _session_id=ab5102644a627c9c100ecfd243df9b7c; path=/; secure; HttpOnly |
|
2539 |
body: |
|
2540 |
encoding: ASCII-8BIT |
|
2541 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
2542 |
|
|
2543 |
' |
|
2544 |
http_version: |
|
2545 |
recorded_at: Mon, 27 Mar 2017 18:05:19 GMT |
|
2546 |
- request: |
|
2547 |
method: get |
|
2548 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/194/subscriptions?full_results=true |
|
2549 |
body: |
|
2550 |
encoding: US-ASCII |
|
2551 |
string: '' |
|
2552 |
headers: |
|
2553 |
Accept: |
|
2554 |
- application/json;version=2 |
|
2555 |
Accept-Encoding: |
|
2556 |
- gzip, deflate |
|
2557 |
User-Agent: |
|
2558 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
2559 |
Content-Type: |
|
2560 |
- application/json |
|
2561 |
Accept-Language: |
|
2562 |
- en |
|
2563 |
Host: |
|
2564 |
- devel.example.com:50083 |
|
2565 |
response: |
|
2566 |
status: |
|
2567 |
code: 200 |
|
2568 |
message: OK |
|
2569 |
headers: |
|
2570 |
Date: |
|
2571 |
- Mon, 27 Mar 2017 18:05:15 GMT |
|
2572 |
Server: |
|
2573 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2574 |
X-Frame-Options: |
|
2575 |
- SAMEORIGIN |
|
2576 |
X-Xss-Protection: |
|
2577 |
- 1; mode=block |
|
2578 |
X-Content-Type-Options: |
|
2579 |
- nosniff |
|
2580 |
Foreman-Version: |
|
2581 |
- 1.11.0.54 |
|
2582 |
Foreman-Api-Version: |
|
2583 |
- '2' |
|
2584 |
Apipie-Checksum: |
|
2585 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
2586 |
Cache-Control: |
|
2587 |
- max-age=0, private, must-revalidate |
|
2588 |
X-Request-Id: |
|
2589 |
- a0d1187b-850e-4649-903c-318e1b27acab |
|
2590 |
X-Runtime: |
|
2591 |
- '0.148307' |
|
2592 |
X-Powered-By: |
|
2593 |
- Phusion Passenger 4.0.18 |
|
2594 |
Etag: |
|
2595 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
2596 |
Status: |
|
2597 |
- 200 OK |
|
2598 |
Vary: |
|
2599 |
- Accept-Encoding |
|
2600 |
Content-Length: |
|
2601 |
- '119' |
|
2602 |
Content-Type: |
|
2603 |
- application/json; charset=utf-8 |
|
2604 |
Set-Cookie: |
|
2605 |
- _session_id=16b4f5ec9fcf9d8b7860921895c3d971; path=/; secure; HttpOnly |
|
2606 |
body: |
|
2607 |
encoding: ASCII-8BIT |
|
2608 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
2609 |
|
|
2610 |
' |
|
2611 |
http_version: |
|
2612 |
recorded_at: Mon, 27 Mar 2017 18:05:22 GMT |
|
2613 |
- request: |
|
2614 |
method: put |
|
2615 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/190 |
|
2616 |
body: |
|
2617 |
encoding: UTF-8 |
|
2618 |
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red |
|
2619 |
Hat Enterprise Linux Server","arch":"x86_64","version":"6.4"}],"service_level":"Standard","autoheal":true}}}' |
|
2620 |
headers: |
|
2621 |
Accept: |
|
2622 |
- application/json;version=2 |
|
2623 |
Accept-Encoding: |
|
2624 |
- gzip, deflate |
|
2625 |
User-Agent: |
|
2626 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
2627 |
Content-Type: |
|
2628 |
- application/json |
|
2629 |
Accept-Language: |
|
2630 |
- en |
|
2631 |
Content-Length: |
|
2632 |
- '289' |
|
2633 |
Host: |
|
2634 |
- devel.example.com:50083 |
|
2635 |
response: |
|
2636 |
status: |
|
2637 |
code: 200 |
|
2638 |
message: OK |
|
2639 |
headers: |
|
2640 |
Date: |
|
2641 |
- Mon, 27 Mar 2017 18:05:17 GMT |
|
2642 |
Server: |
|
2643 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2644 |
X-Frame-Options: |
|
2645 |
- SAMEORIGIN |
|
2646 |
X-Xss-Protection: |
|
2647 |
- 1; mode=block |
|
2648 |
X-Content-Type-Options: |
|
2649 |
- nosniff |
|
2650 |
Foreman-Version: |
|
2651 |
- 1.11.0.54 |
|
2652 |
Foreman-Api-Version: |
|
2653 |
- '2' |
|
2654 |
Apipie-Checksum: |
|
2655 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
2656 |
Cache-Control: |
|
2657 |
- max-age=0, private, must-revalidate |
|
2658 |
X-Request-Id: |
|
2659 |
- 3c5dd497-9d04-4ce8-b405-2349a8c92c9f |
|
2660 |
X-Runtime: |
|
2661 |
- '0.703672' |
|
2662 |
X-Powered-By: |
|
2663 |
- Phusion Passenger 4.0.18 |
|
2664 |
Etag: |
|
2665 |
- '"9baa65d7a386295f07ea7657513064cc-gzip"' |
|
2666 |
Status: |
|
2667 |
- 200 OK |
|
2668 |
Vary: |
|
2669 |
- Accept-Encoding |
|
2670 |
Content-Length: |
|
2671 |
- '3820' |
|
2672 |
Content-Type: |
|
2673 |
- application/json; charset=utf-8 |
|
2674 |
Set-Cookie: |
|
2675 |
- _session_id=b6838550d8b4b1b78c27280baa4e4f86; path=/; secure; HttpOnly |
|
2676 |
- request_method=PUT; path=/ |
|
2677 |
body: |
|
2678 |
encoding: ASCII-8BIT |
|
2679 |
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":"testaaa0","image_id":null,"image_name":null,"created_at":"2017-03-27 |
|
2680 |
18:05:05 UTC","updated_at":"2017-03-27 18:05:06 UTC","last_compile":"2017-03-27 |
|
2681 |
18:05:06 UTC","global_status":2,"global_status_label":"Error","organization_id":3,"organization_name":"Test |
|
2682 |
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could |
|
2683 |
not calculate errata status, ensure host is registered and katello-agent is |
|
2684 |
installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa0","id":190,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":189,"uuid":"054b8832-9ba9-43b9-b6b3-436ac7e5c7a8","content_view_id":2,"content_view_name":"Default |
|
2685 |
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default |
|
2686 |
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":195,"uuid":"054b8832-9ba9-43b9-b6b3-436ac7e5c7a8","last_checkin":"2017-03-27 |
|
2687 |
18:05:05 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2017-03-27 |
|
2688 |
18:05:05 UTC","activation_keys":[],"compliance_reasons":["Red Hat Enterprise |
|
2689 |
Linux Server: Not supported by a valid subscription."],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff8080815adcc9a9015b10f15f010c02","productId":"69","productName":"Red |
|
2690 |
Hat Enterprise Linux Server","version":null,"arch":"x86_64,ia64,x86","status":"red","startDate":null,"endDate":null,"created":"2017-03-27T18:05:05.665+0000","updated":"2017-03-27T18:05:05.665+0000"}]},"content_host_id":195,"parameters":[],"interfaces":[{"id":191,"name":"testaaa0","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":"testaaa0","cpu::core(s)_per_socket":"4","cpu::cpu_socket(s)":"2","memory::memtotal":"4 |
|
2691 |
GB","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:06+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}}' |
|
2692 |
http_version: |
|
2693 |
recorded_at: Mon, 27 Mar 2017 18:05:24 GMT |
|
2694 |
- request: |
|
2695 |
method: get |
|
2696 |
uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/054b8832-9ba9-43b9-b6b3-436ac7e5c7a8 |
|
2697 |
body: |
|
2698 |
encoding: US-ASCII |
|
2699 |
string: '' |
|
2700 |
headers: |
|
2701 |
Accept-Encoding: |
|
2702 |
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 |
|
2703 |
Accept: |
|
2704 |
- "*/*" |
|
2705 |
User-Agent: |
|
2706 |
- Ruby |
|
2707 |
response: |
|
2708 |
status: |
|
2709 |
code: 200 |
|
2710 |
message: OK |
|
2711 |
headers: |
|
2712 |
Date: |
|
2713 |
- Mon, 27 Mar 2017 18:05:18 GMT |
|
2714 |
Server: |
|
2715 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2716 |
X-Frame-Options: |
|
2717 |
- SAMEORIGIN |
|
2718 |
X-Xss-Protection: |
|
2719 |
- 1; mode=block |
|
2720 |
X-Content-Type-Options: |
|
2721 |
- nosniff |
|
2722 |
Foreman-Version: |
|
2723 |
- 1.11.0.54 |
|
2724 |
Foreman-Api-Version: |
|
2725 |
- '2' |
|
2726 |
X-Candlepin-Version: |
|
2727 |
- katello/3.0.0.82 |
|
2728 |
Cache-Control: |
|
2729 |
- max-age=0, private, must-revalidate |
|
2730 |
X-Request-Id: |
|
2731 |
- ff6af31d-2519-40a2-bdde-0690155e696d |
|
2732 |
X-Runtime: |
|
2733 |
- '0.087268' |
|
2734 |
X-Powered-By: |
|
2735 |
- Phusion Passenger 4.0.18 |
|
2736 |
Etag: |
|
2737 |
- '"bef4771f9c9f9b984de1aceea7c041ad-gzip"' |
|
2738 |
Status: |
|
2739 |
- 200 OK |
|
2740 |
Vary: |
|
2741 |
- Accept-Encoding |
|
2742 |
Content-Length: |
|
2743 |
- '3233' |
|
2744 |
Content-Type: |
|
2745 |
- application/json; charset=utf-8 |
|
2746 |
Set-Cookie: |
|
2747 |
- _session_id=403ebf9cebf4cf30a2b7153037c99c9a; path=/; secure; HttpOnly |
|
2748 |
body: |
|
2749 |
encoding: ASCII-8BIT |
|
2750 |
string: '{"id":"ff8080815adcc9a9015b10f15f010c01","uuid":"054b8832-9ba9-43b9-b6b3-436ac7e5c7a8","name":"testaaa0","username":"foreman_admin","entitlementStatus":"invalid","serviceLevel":"Standard","releaseVer":{"releaseVer":null},"idCert":{"key":"-----BEGIN |
|
2751 |
RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAx48EazQ5TToNb+FWZapBXKITPNOZx43M+4cMMTvexwiwO1NQ\nvSO8HHJuGcVkWYsnGoWQmhgEER6NU4DtvHaYU7I1020pqYJgzsFiWE4rlHvkNY01\nFAKISbdaFmvisV2BJ1wSEXioNl98IxU5PX+2ny3hB/QeBzaTN3DGHJE+uIiGTQ8Y\nO9BEGnbYt4Zb8cdGFZHRI+NMiRjQxUC3GCh2cfqXLBeHHGT9KLelHyKK4P5Y07bn\n91jZgS3dW3drgt8/9+0NTx0Mu/uK3fAHthWqX2kwiMI6bhQ3n1LjBW59f39bNvtW\neRvwM0DSgGdn4xLjJ7yjMfUjEL3jcJ6sOWE24wIDAQABAoIBABUzwcFuHARzfYf8\nhgRpMWaZJbgZt0X3b+btc0Mr3ECDUM4MzRA7YroXAlGkokPNQAtWU4W7tXroJxXP\nJfMXGpoR3hwnhfyniIePDlbZf1HYU+fIp/IHTtmeLGkjb0Nu7tDyvEy06BJW1MaZ\nc6pwDkQdSMJikmorxzpltfbFC8fpMWrWG1+mXVKparRrqUVeKdjEbE/8VTcobwAW\nc/+97TwzDCbsUicl/F7s0hywzFIHgURqDzU2B7c00S28KToY2FumLH9S8daQ7Ko5\nWmRKyE0xRlEI7XHdy691Vq6UAIsbQJovai8JXgH7xeHj1g7b9Scx07l67XMXeTEL\nFSseywECgYEA5Y8nrr53n5R7iTzA/EBEujJSW7pfWLFf/F3sDOP9rabPOJ+kcoZZ\nsHVer8vdHR/3N24CHowcpw1ql26lF1otTj9dbQArUpE8FBenozoy6strL264SM/s\nzeJWaSz4+G1aadjXERkeBH/q6MQq6E6K7+qW9EzGlJMgad43A3Gx7IECgYEA3otC\nGwDwx8fgIIkiCOzVe2tO3E30Q7d0XbRgBbTjBLeZgbKhu74mhiHI6J9OXMZKse0t\nD73pn7Ya+2rXlnAqQwdUnJ0OJCTWXEw4RDd1T8Y61TqRTDdZGZ3FbrVlaXSvHolq\nE1tgOxCeT0tzBh4I0E5H4Nk+64Hh/vBnpsmGQWMCgYA/e9Nxk+LpEtsHHPIR0IQx\nKfF0xJnRoVv2ItNAzVw+Rb9Q3XVQ5q6vCgZhf3Nqtohbn+SeJglWeXNc5ZBqYNne\npc9kcYOJlfiTZedKULH8FL1TpL76A+ZtGYbkFzfTHArA8uKnK9cNT4LbVES5cd8i\ncjHE5eaU+Asiu/1iynJ2AQKBgAugevOuOOY3Kx6IC58rwHuSP6yC5iAjlZDPu7SQ\nnsvAS+Ta0FhetuSLH1QH/rAaLAzft1r7MRmHCiHYkyro8UxPNbx4+CQrSIfJ86ac\nvyRL1wcM6EpzGdScyZPfJk08K2oNA92/CGgNljfOWVQYfZ1keZzlvMPRJV2Mcd3k\n6X7BAoGAItTp68zam2YXL/kW3kn3T22S+N6B6ItBxMo7RLE47j6hEBp25W4zqwK6\nciygVFEImQHfP0/kZ4K+hGgpeOWUZe1l/LtU7rDSuDmK3bKdQWN0ffpDGfTxmPZh\nJW+crADMqJ9bpLUMp+twKezbtiadDgt8AUN8r2QloaPqvID69kE=\n-----END |
|
2752 |
RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIEUTCCAzmgAwIBAgIIYNxVa4xhIiYwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UE\nBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdo\nMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEaMBgGA1UE\nAxMRc2F0NjIuZXhhbXBsZS5jb20wHhcNMTcwMzI3MTgwNTA1WhcNMzMwMzI3MTgw\nNTA1WjAvMS0wKwYDVQQDEyQwNTRiODgzMi05YmE5LTQzYjktYjZiMy00MzZhYzdl\nNWM3YTgwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDHjwRrNDlNOg1v\n4VZlqkFcohM805nHjcz7hwwxO97HCLA7U1C9I7wccm4ZxWRZiycahZCaGAQRHo1T\ngO28dphTsjXTbSmpgmDOwWJYTiuUe+Q1jTUUAohJt1oWa+KxXYEnXBIReKg2X3wj\nFTk9f7afLeEH9B4HNpM3cMYckT64iIZNDxg70EQadti3hlvxx0YVkdEj40yJGNDF\nQLcYKHZx+pcsF4ccZP0ot6UfIorg/ljTtuf3WNmBLd1bd2uC3z/37Q1PHQy7+4rd\n8Ae2FapfaTCIwjpuFDefUuMFbn1/f1s2+1Z5G/AzQNKAZ2fjEuMnvKMx9SMQveNw\nnqw5YTbjAgMBAAGjggEiMIIBHjARBglghkgBhvhCAQEEBAMCBaAwCwYDVR0PBAQD\nAgSwMIGvBgNVHSMEgacwgaSAFE0a7C+GbR8izagxm3Zq6NJUOCLhoYGApH4wfDEL\nMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdS\nYWxlaWdoMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEa\nMBgGA1UEAxMRc2F0NjIuZXhhbXBsZS5jb22CCQCOJqql+xfH2TAdBgNVHQ4EFgQU\nwdeEvnqb1VM+OlFTNHElgFM9BB4wEwYDVR0lBAwwCgYIKwYBBQUHAwIwFgYDVR0R\nBA8wDYYLQ049dGVzdGFhYTAwDQYJKoZIhvcNAQEFBQADggEBAKRsl14yitZUYQ3W\nciZ/OLgwY5oEjc5q67ereKtpG++hKSmuFwbttQqXDh2QBQxwNPaVgjMYBSMiDYOa\nnIb+3tFmVu0wmLYGgEIG7QakQDu+eTMAEeS+Pl/aSHAbxHFCbeBsDhzlJ9XMw2ly\nzpnZTpL11oX/UDLiCnkbURrbCN5zxvlxnuv8+4Uweo5MHhgMz1mAIgMHwmAsWZaV\n866gxGQ0o4cHesxiAkVn3l9w1FycAXVhywlLLx2anKoCt0+KfJ4mo26PRtBxU50N\njvO+vgscqV4SyDNQFZ8lwdTATOffr3ACKZe7bpXL9vp+n3SLDp5qaVFgr3ltxBI3\nZU78MJw=\n-----END |
|
2753 |
CERTIFICATE-----\n","id":"ff8080815adcc9a9015b10f160570c04","serial":{"id":6979547442922463782,"revoked":false,"collected":false,"expiration":"2033-03-27T18:05:05.668+0000","serial":6979547442922463782,"created":"2017-03-27T18:05:05.668+0000","updated":"2017-03-27T18:05:05.668+0000"},"created":"2017-03-27T18:05:06.007+0000","updated":"2017-03-27T18:05:06.007+0000"},"type":{"id":"1000","label":"system","manifest":false},"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test |
|
2754 |
Corporation","href":"/owners/testcorp"},"environment":{"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test |
|
2755 |
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":"testaaa0","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:05:05+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"2","memory.memtotal":"4 |
|
2756 |
GB","cpu.core(s)_per_socket":"4","cpu.cpu(s)":"1","virt.is_guest":"false"},"lastCheckin":null,"installedProducts":[{"id":"ff8080815adcc9a9015b10f15f010c02","productId":"69","productName":"Red |
|
2757 |
Hat Enterprise Linux Server","version":null,"arch":"x86_64,ia64,x86","status":"red","startDate":null,"endDate":null,"created":"2017-03-27T18:05:05.665+0000","updated":"2017-03-27T18:05:05.665+0000"}],"canActivate":false,"guestIds":[],"capabilities":[],"hypervisorId":null,"contentTags":[],"autoheal":true,"dev":false,"href":"/consumers/054b8832-9ba9-43b9-b6b3-436ac7e5c7a8","created":"2017-03-27T18:05:05.665+0000","updated":"2017-03-27T18:05:06.016+0000"}' |
|
2758 |
http_version: |
|
2759 |
recorded_at: Mon, 27 Mar 2017 18:05:24 GMT |
|
2760 |
- request: |
|
2761 |
method: put |
|
2762 |
uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/054b8832-9ba9-43b9-b6b3-436ac7e5c7a8 |
|
2763 |
body: |
|
2764 |
encoding: UTF-8 |
|
2765 |
string: '{"facts":{"network.hostname":"testaaa0","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:05:05+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"2","memory.memtotal":"4 |
|
2766 |
GB","cpu.core(s)_per_socket":"4","cpu.cpu(s)":"1","virt.is_guest":false}}' |
|
2767 |
headers: |
|
2768 |
Content-Type: |
|
2769 |
- application/json |
|
2770 |
Accept-Encoding: |
|
2771 |
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 |
|
2772 |
Accept: |
|
2773 |
- "*/*" |
|
2774 |
User-Agent: |
|
2775 |
- Ruby |
|
2776 |
response: |
|
2777 |
status: |
|
2778 |
code: 403 |
|
2779 |
message: Forbidden |
|
2780 |
headers: |
|
2781 |
Date: |
|
2782 |
- Mon, 27 Mar 2017 18:05:18 GMT |
|
2783 |
Server: |
|
2784 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2785 |
X-Frame-Options: |
|
2786 |
- SAMEORIGIN |
|
2787 |
X-Xss-Protection: |
|
2788 |
- 1; mode=block |
|
2789 |
X-Content-Type-Options: |
|
2790 |
- nosniff |
|
2791 |
Foreman-Version: |
|
2792 |
- 1.11.0.54 |
|
2793 |
Foreman-Api-Version: |
|
2794 |
- '2' |
|
2795 |
Cache-Control: |
|
2796 |
- no-cache |
|
2797 |
X-Request-Id: |
|
2798 |
- 6031bcca-80d7-4568-b747-90b17d4b27ae |
|
2799 |
X-Runtime: |
|
2800 |
- '0.014627' |
|
2801 |
X-Powered-By: |
|
2802 |
- Phusion Passenger 4.0.18 |
|
2803 |
Status: |
|
2804 |
- 403 Forbidden |
|
2805 |
Content-Type: |
|
2806 |
- application/json; charset=utf-8 |
|
2807 |
Set-Cookie: |
|
2808 |
- _session_id=21bd47590d61995f1a14ddae70203df4; path=/; secure; HttpOnly |
|
2809 |
- request_method=PUT; path=/ |
|
2810 |
Transfer-Encoding: |
|
2811 |
- chunked |
|
2812 |
body: |
|
2813 |
encoding: UTF-8 |
|
2814 |
string: '{"displayMessage":"Access denied","errors":["Access denied"]}' |
|
2815 |
http_version: |
|
2816 |
recorded_at: Mon, 27 Mar 2017 18:05:24 GMT |
|
2817 |
- request: |
|
2818 |
method: get |
|
2819 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/190/subscriptions?full_results=true |
|
2820 |
body: |
|
2821 |
encoding: US-ASCII |
|
2822 |
string: '' |
|
2823 |
headers: |
|
2824 |
Accept: |
|
2825 |
- application/json;version=2 |
|
2826 |
Accept-Encoding: |
|
2827 |
- gzip, deflate |
|
2828 |
User-Agent: |
|
2829 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
2830 |
Content-Type: |
|
2831 |
- application/json |
|
2832 |
Accept-Language: |
|
2833 |
- en |
|
2834 |
Host: |
|
2835 |
- devel.example.com:50083 |
|
2836 |
response: |
|
2837 |
status: |
|
2838 |
code: 200 |
|
2839 |
message: OK |
|
2840 |
headers: |
|
2841 |
Date: |
|
2842 |
- Mon, 27 Mar 2017 18:05:18 GMT |
|
2843 |
Server: |
|
2844 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2845 |
X-Frame-Options: |
|
2846 |
- SAMEORIGIN |
|
2847 |
X-Xss-Protection: |
|
2848 |
- 1; mode=block |
|
2849 |
X-Content-Type-Options: |
|
2850 |
- nosniff |
|
2851 |
Foreman-Version: |
|
2852 |
- 1.11.0.54 |
|
2853 |
Foreman-Api-Version: |
|
2854 |
- '2' |
|
2855 |
Apipie-Checksum: |
|
2856 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
2857 |
Cache-Control: |
|
2858 |
- max-age=0, private, must-revalidate |
|
2859 |
X-Request-Id: |
|
2860 |
- 57c1ee22-86f9-4b6b-ba47-6fd87a271121 |
|
2861 |
X-Runtime: |
|
2862 |
- '0.105423' |
|
2863 |
X-Powered-By: |
|
2864 |
- Phusion Passenger 4.0.18 |
|
2865 |
Etag: |
|
2866 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
2867 |
Status: |
|
2868 |
- 200 OK |
|
2869 |
Vary: |
|
2870 |
- Accept-Encoding |
|
2871 |
Content-Length: |
|
2872 |
- '119' |
|
2873 |
Content-Type: |
|
2874 |
- application/json; charset=utf-8 |
|
2875 |
Set-Cookie: |
|
2876 |
- _session_id=443eb7fc9f7b76d011e43a2c670742b2; path=/; secure; HttpOnly |
|
2877 |
body: |
|
2878 |
encoding: ASCII-8BIT |
|
2879 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
2880 |
|
|
2881 |
' |
|
2882 |
http_version: |
|
2883 |
recorded_at: Mon, 27 Mar 2017 18:05:24 GMT |
|
2884 |
- request: |
|
2885 |
method: put |
|
2886 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/190/subscriptions/add_subscriptions |
|
2887 |
body: |
|
2888 |
encoding: UTF-8 |
|
2889 |
string: '{"subscriptions":[{"id":19,"quantity":2}]}' |
|
2890 |
headers: |
|
2891 |
Accept: |
|
2892 |
- application/json;version=2 |
|
2893 |
Accept-Encoding: |
|
2894 |
- gzip, deflate |
|
2895 |
User-Agent: |
|
2896 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
2897 |
Content-Type: |
|
2898 |
- application/json |
|
2899 |
Accept-Language: |
|
2900 |
- en |
|
2901 |
Content-Length: |
|
2902 |
- '42' |
|
2903 |
Host: |
|
2904 |
- devel.example.com:50083 |
|
2905 |
response: |
|
2906 |
status: |
|
2907 |
code: 200 |
|
2908 |
message: OK |
|
2909 |
headers: |
|
2910 |
Date: |
|
2911 |
- Mon, 27 Mar 2017 18:05:19 GMT |
|
2912 |
Server: |
|
2913 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2914 |
X-Frame-Options: |
|
2915 |
- SAMEORIGIN |
|
2916 |
X-Xss-Protection: |
|
2917 |
- 1; mode=block |
|
2918 |
X-Content-Type-Options: |
|
2919 |
- nosniff |
|
2920 |
Foreman-Version: |
|
2921 |
- 1.11.0.54 |
|
2922 |
Foreman-Api-Version: |
|
2923 |
- '2' |
|
2924 |
Apipie-Checksum: |
|
2925 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
2926 |
Cache-Control: |
|
2927 |
- max-age=0, private, must-revalidate |
|
2928 |
X-Request-Id: |
|
2929 |
- 9c0c34a3-9147-449c-b90c-1e0d50d60d0e |
|
2930 |
X-Runtime: |
|
2931 |
- '0.560362' |
|
2932 |
X-Powered-By: |
|
2933 |
- Phusion Passenger 4.0.18 |
|
2934 |
Etag: |
|
2935 |
- '"88ef5b4711bf00237866d7f4ab39e794-gzip"' |
|
2936 |
Status: |
|
2937 |
- 200 OK |
|
2938 |
Vary: |
|
2939 |
- Accept-Encoding |
|
2940 |
Content-Length: |
|
2941 |
- '770' |
|
2942 |
Content-Type: |
|
2943 |
- application/json; charset=utf-8 |
|
2944 |
Set-Cookie: |
|
2945 |
- _session_id=f801e6fe6e1deb5108842ea53fbf0570; path=/; secure; HttpOnly |
|
2946 |
- request_method=PUT; path=/ |
|
2947 |
body: |
|
2948 |
encoding: ASCII-8BIT |
|
2949 |
string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":2,"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red |
|
2950 |
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red |
|
2951 |
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]} |
|
2952 |
|
|
2953 |
' |
|
2954 |
http_version: |
|
2955 |
recorded_at: Mon, 27 Mar 2017 18:05:25 GMT |
|
2956 |
- request: |
|
2957 |
method: put |
|
2958 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/191 |
|
2959 |
body: |
|
2960 |
encoding: UTF-8 |
|
2961 |
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red |
|
2962 |
Hat Enterprise Linux Server","arch":"x86_64","version":"6.4"}],"service_level":"Standard","autoheal":true}}}' |
|
2963 |
headers: |
|
2964 |
Accept: |
|
2965 |
- application/json;version=2 |
|
2966 |
Accept-Encoding: |
|
2967 |
- gzip, deflate |
|
2968 |
User-Agent: |
|
2969 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
2970 |
Content-Type: |
|
2971 |
- application/json |
|
2972 |
Accept-Language: |
|
2973 |
- en |
|
2974 |
Content-Length: |
|
2975 |
- '289' |
|
2976 |
Host: |
|
2977 |
- devel.example.com:50083 |
|
2978 |
response: |
|
2979 |
status: |
|
2980 |
code: 200 |
|
2981 |
message: OK |
|
2982 |
headers: |
|
2983 |
Date: |
|
2984 |
- Mon, 27 Mar 2017 18:05:19 GMT |
|
2985 |
Server: |
|
2986 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
2987 |
X-Frame-Options: |
|
2988 |
- SAMEORIGIN |
|
2989 |
X-Xss-Protection: |
|
2990 |
- 1; mode=block |
|
2991 |
X-Content-Type-Options: |
|
2992 |
- nosniff |
|
2993 |
Foreman-Version: |
|
2994 |
- 1.11.0.54 |
|
2995 |
Foreman-Api-Version: |
|
2996 |
- '2' |
|
2997 |
Apipie-Checksum: |
|
2998 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
2999 |
Cache-Control: |
|
3000 |
- max-age=0, private, must-revalidate |
|
3001 |
X-Request-Id: |
|
3002 |
- 19bcc0be-d625-4912-89b4-de07f22e0262 |
|
3003 |
X-Runtime: |
|
3004 |
- '0.697060' |
|
3005 |
X-Powered-By: |
|
3006 |
- Phusion Passenger 4.0.18 |
|
3007 |
Etag: |
|
3008 |
- '"5af19b71fbb050a7cb9bbebe79562a7f-gzip"' |
|
3009 |
Status: |
|
3010 |
- 200 OK |
|
3011 |
Vary: |
|
3012 |
- Accept-Encoding |
|
3013 |
Content-Length: |
|
3014 |
- '3812' |
|
3015 |
Content-Type: |
|
3016 |
- application/json; charset=utf-8 |
|
3017 |
Set-Cookie: |
|
3018 |
- _session_id=dcfb4016ddc97abdf342cabe20d87356; path=/; secure; HttpOnly |
|
3019 |
- request_method=PUT; path=/ |
|
3020 |
body: |
|
3021 |
encoding: ASCII-8BIT |
|
3022 |
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":"testaaa1","image_id":null,"image_name":null,"created_at":"2017-03-27 |
|
3023 |
18:05:07 UTC","updated_at":"2017-03-27 18:05:09 UTC","last_compile":"2017-03-27 |
|
3024 |
18:05:08 UTC","global_status":2,"global_status_label":"Error","organization_id":3,"organization_name":"Test |
|
3025 |
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could |
|
3026 |
not calculate errata status, ensure host is registered and katello-agent is |
|
3027 |
installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa1","id":191,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":190,"uuid":"0fba0d55-8784-4127-9483-1f9988d783c2","content_view_id":2,"content_view_name":"Default |
|
3028 |
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default |
|
3029 |
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":196,"uuid":"0fba0d55-8784-4127-9483-1f9988d783c2","last_checkin":"2017-03-27 |
|
3030 |
18:05:07 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2017-03-27 |
|
3031 |
18:05:07 UTC","activation_keys":[],"compliance_reasons":["Red Hat Enterprise |
|
3032 |
Linux Server: Not supported by a valid subscription."],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff8080815adcc9a9015b10f197570c26","productId":"69","productName":"Red |
|
3033 |
Hat Enterprise Linux Server","version":"6.4","arch":"x86_64","status":"red","startDate":null,"endDate":null,"created":"2017-03-27T18:05:20.087+0000","updated":"2017-03-27T18:05:20.087+0000"}]},"content_host_id":196,"parameters":[],"interfaces":[{"id":192,"name":"testaaa1","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"cpu::core(s)_per_socket":"4","system::certificate_version":"3.2","network::hostname":"testaaa1","cpu::cpu_socket(s)":"2","memory::memtotal":"4 |
|
3034 |
GB","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:08+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}}' |
|
3035 |
http_version: |
|
3036 |
recorded_at: Mon, 27 Mar 2017 18:05:26 GMT |
|
3037 |
- request: |
|
3038 |
method: get |
|
3039 |
uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/0fba0d55-8784-4127-9483-1f9988d783c2 |
|
3040 |
body: |
|
3041 |
encoding: US-ASCII |
|
3042 |
string: '' |
|
3043 |
headers: |
|
3044 |
Accept-Encoding: |
|
3045 |
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 |
|
3046 |
Accept: |
|
3047 |
- "*/*" |
|
3048 |
User-Agent: |
|
3049 |
- Ruby |
|
3050 |
response: |
|
3051 |
status: |
|
3052 |
code: 200 |
|
3053 |
message: OK |
|
3054 |
headers: |
|
3055 |
Date: |
|
3056 |
- Mon, 27 Mar 2017 18:05:20 GMT |
|
3057 |
Server: |
|
3058 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3059 |
X-Frame-Options: |
|
3060 |
- SAMEORIGIN |
|
3061 |
X-Xss-Protection: |
|
3062 |
- 1; mode=block |
|
3063 |
X-Content-Type-Options: |
|
3064 |
- nosniff |
|
3065 |
Foreman-Version: |
|
3066 |
- 1.11.0.54 |
|
3067 |
Foreman-Api-Version: |
|
3068 |
- '2' |
|
3069 |
X-Candlepin-Version: |
|
3070 |
- katello/3.0.0.82 |
|
3071 |
Cache-Control: |
|
3072 |
- max-age=0, private, must-revalidate |
|
3073 |
X-Request-Id: |
|
3074 |
- 43bac90d-a3c5-40ee-be7f-b7370dea21f3 |
|
3075 |
X-Runtime: |
|
3076 |
- '0.097609' |
|
3077 |
X-Powered-By: |
|
3078 |
- Phusion Passenger 4.0.18 |
|
3079 |
Etag: |
|
3080 |
- '"ed2ca5ef2e51a7cb5bedb1cb89517603-gzip"' |
|
3081 |
Status: |
|
3082 |
- 200 OK |
|
3083 |
Vary: |
|
3084 |
- Accept-Encoding |
|
3085 |
Content-Length: |
|
3086 |
- '3260' |
|
3087 |
Content-Type: |
|
3088 |
- application/json; charset=utf-8 |
|
3089 |
Set-Cookie: |
|
3090 |
- _session_id=02c1285afa719a8ebcef29adee6849cc; path=/; secure; HttpOnly |
|
3091 |
body: |
|
3092 |
encoding: ASCII-8BIT |
|
3093 |
string: '{"id":"ff8080815adcc9a9015b10f165f30c07","uuid":"0fba0d55-8784-4127-9483-1f9988d783c2","name":"testaaa1","username":"foreman_admin","entitlementStatus":"valid","serviceLevel":"Standard","releaseVer":{"releaseVer":null},"idCert":{"key":"-----BEGIN |
|
3094 |
RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAnR5sf/CDSiSKZZG09ldjzpguHXDOQsoU95P2xsR8NYyJTzSN\nly9OusTi1GmcD1qj3SN+lLl2AadHbMszry/14I/lFsPKO2XHTGt5xEyScCdiskb9\nXjKfAAE2AakzcikGNq5w3OnvjGbpVR9a0CnorLf6vye7gxcq8NfNR6tKnhISEN73\nB1uIkYHTi1cCZo1fDg/bUb495hq+JRPDfN8XjzpUOw5DQs98GiMLQDZmieyy/Ap0\nW5eHViHdBRKacdeNACrfoWK6T0Q+LAJXuL+RRe3EAN2djGL3IQUsBxkTqcJjUIvr\ncgzB0A6eBjAejOHIZKgGWsk+RJ3F66iJJrhMfwIDAQABAoIBAAzAdl/f3lf7JTxf\nGgfQSepvkXaUPDlRe2gomyPAuLAD6vUBt+goT8R6zEofFCpu2dPN2K0rbDdwIyzi\nRRyX0OXb5+T0GQq/FPDP3D8hU9VEbQ85EcE+bIcskfyKhgFi8P0pJUHYvrdvdsqQ\n0+cHL7os6G3xRJe8HqETcra5YUH45u4qrO2KFMmbXADQXYSeo7P4VxbryXtoWxeR\nY/p51RMWvlUV8WTb3Iutl3abvOeKRrekyOjjw6u+VufkKIxSlld42Qj8brfI1M3W\nZlM60TaVcr/UDqXPFgl/gk+ywczCb+QktM3LviaTggX1ANmHSRrTISCGoshUj0sj\nW51XyqkCgYEAyjUAfSFwboi+qkPlWOxJDWbJIOlhQNi/Bo5c1JQk0Nx54LVSMRTK\nTnb3Pejeots9TRAceitT8EBaWLW5JsDyvP6AsAOpSHIL6dRQttpqwKx6HF8g4tbk\n5LCIXhqQniKlad3rK0xHgDBYCzQgFxOFa6qoAnAwbycLcO1FR2qj3EsCgYEAxurC\njny1CWWAIsX1U/PVgnmyGhOEYxO4GfgCRwpUvrBB/sTRqHL6L3C5lZkHmrX9+yBd\nzaLsf0jkaUxcwG8kgPmqi++qifdskdHWGkS+Y6nVASOZecn100P9XfcR8M9wsCq9\n97Z4G4nIWj8Gs48b1qIFNzDUO+O0IwzLkKISCB0CgYBOW0OZOcAL1UmtSSoyzz1v\nyAjgjA93xYYg0EIAzneFyCoifaEgC+JpjYg5oWfEzBhxKHEglnGshAN+pMzey55E\nxoqvqnuK60bakb/FW9ZKW4vmOqbPwF5qkE4HyVuJK/vVjn13BdQfRJyZmtVkm9fz\n5Om+KCNcr1CrrgZOqnBdCQKBgDNHi/ZtocIVX44XWGJXJsCnHMnqJCPijoBrVjL4\nL9ak266RELeLRIH8Xmt5cuNobVxTALuld7Bsmy2mGPcm79MsCdJfa6h7l4qT/Mzy\n0d4hhx7vDX6/GNdo3KVfr0lUQOm5axWz/Yyj3Xmea9zYVMXlKNEMjnoN/n9WqhfU\nIC/lAoGBALN+KWDPu3LVKiGAnwthby7N0rFpVsswf9E5r0DC44vXTLBrvrSnz7D6\nrExZ4MjdC0t+MZ1mvG5WVJ2RWx4CAcuVTqZN0UO79LwZt+d9rTy6Yg+aZHQCYI8u\ntoK4+qMLsxON3VoLViIDP25TogcbKhnxanf6YCVgKjWrCkAUpKoN\n-----END |
|
3095 |
RSA PRIVATE KEY-----\n","cert":"-----BEGIN CERTIFICATE-----\nMIIEUTCCAzmgAwIBAgIIQrhShsvX6hIwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UE\nBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdo\nMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEaMBgGA1UE\nAxMRc2F0NjIuZXhhbXBsZS5jb20wHhcNMTcwMzI3MTgwNTA3WhcNMzMwMzI3MTgw\nNTA3WjAvMS0wKwYDVQQDEyQwZmJhMGQ1NS04Nzg0LTQxMjctOTQ4My0xZjk5ODhk\nNzgzYzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdHmx/8INKJIpl\nkbT2V2POmC4dcM5CyhT3k/bGxHw1jIlPNI2XL066xOLUaZwPWqPdI36UuXYBp0ds\nyzOvL/Xgj+UWw8o7ZcdMa3nETJJwJ2KyRv1eMp8AATYBqTNyKQY2rnDc6e+MZulV\nH1rQKeist/q/J7uDFyrw181Hq0qeEhIQ3vcHW4iRgdOLVwJmjV8OD9tRvj3mGr4l\nE8N83xePOlQ7DkNCz3waIwtANmaJ7LL8CnRbl4dWId0FEppx140AKt+hYrpPRD4s\nAle4v5FF7cQA3Z2MYvchBSwHGROpwmNQi+tyDMHQDp4GMB6M4chkqAZayT5EncXr\nqIkmuEx/AgMBAAGjggEiMIIBHjARBglghkgBhvhCAQEEBAMCBaAwCwYDVR0PBAQD\nAgSwMIGvBgNVHSMEgacwgaSAFE0a7C+GbR8izagxm3Zq6NJUOCLhoYGApH4wfDEL\nMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdS\nYWxlaWdoMRAwDgYDVQQKEwdLYXRlbGxvMRQwEgYDVQQLEwtTb21lT3JnVW5pdDEa\nMBgGA1UEAxMRc2F0NjIuZXhhbXBsZS5jb22CCQCOJqql+xfH2TAdBgNVHQ4EFgQU\nbnBpKpjiXkHrDh42agsFPg0lWCEwEwYDVR0lBAwwCgYIKwYBBQUHAwIwFgYDVR0R\nBA8wDYYLQ049dGVzdGFhYTEwDQYJKoZIhvcNAQEFBQADggEBACzNRH/vjkUAuMMn\nhnAjer88zkZglCmvS24t0zkn6J5XWSu0OTNIkxjVqVRiGUWiuWHOmRWfSUL6LQrp\nMeN3SqIAmchI7PumCu0B63R2/03PIjAqk1JF9ykOZn2yQ4baxypMjqoATwf1jWEU\nbiEiIp7Nxf5DyBQhJxFCsyEOa+/pX0L3QcMBG2ilNdt0AiGpyAd8luFsUig/mkV4\n2aGxYQefmcGaTWDLKs3ViFlgymZIEh6nhW1He349kEpgBdJ+wO4eM2r7/7lDEsVu\nrZmv8iy+Nf4jkPBecEBxiDf44+Okad+4GKVz5+W07MYNKkDOAlaPkHFXYRCunNoo\nvlZ066c=\n-----END |
|
3096 |
CERTIFICATE-----\n","id":"ff8080815adcc9a9015b10f1691b0c0a","serial":{"id":4807683341117024786,"revoked":false,"collected":false,"expiration":"2033-03-27T18:05:07.445+0000","serial":4807683341117024786,"created":"2017-03-27T18:05:07.445+0000","updated":"2017-03-27T18:05:07.445+0000"},"created":"2017-03-27T18:05:08.251+0000","updated":"2017-03-27T18:05:08.251+0000"},"type":{"id":"1000","label":"system","manifest":false},"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test |
|
3097 |
Corporation","href":"/owners/testcorp"},"environment":{"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test |
|
3098 |
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":2,"facts":{"network.hostname":"testaaa1","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:05:07+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"2","memory.memtotal":"4 |
|
3099 |
GB","cpu.core(s)_per_socket":"4","cpu.cpu(s)":"1","virt.is_guest":"false"},"lastCheckin":null,"installedProducts":[{"id":"ff8080815adcc9a9015b10f197570c26","productId":"69","productName":"Red |
|
3100 |
Hat Enterprise Linux Server","version":"6.4","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2017-03-27T18:05:20.087+0000","updated":"2017-03-27T18:05:20.087+0000"}],"canActivate":false,"guestIds":[],"capabilities":[],"hypervisorId":null,"contentTags":[],"autoheal":true,"dev":false,"href":"/consumers/0fba0d55-8784-4127-9483-1f9988d783c2","created":"2017-03-27T18:05:07.443+0000","updated":"2017-03-27T18:05:20.277+0000"}' |
|
3101 |
http_version: |
|
3102 |
recorded_at: Mon, 27 Mar 2017 18:05:26 GMT |
|
3103 |
- request: |
|
3104 |
method: put |
|
3105 |
uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/0fba0d55-8784-4127-9483-1f9988d783c2 |
|
3106 |
body: |
|
3107 |
encoding: UTF-8 |
|
3108 |
string: '{"facts":{"network.hostname":"testaaa1","distribution.name":"RHEL","distribution.version":"6.4","system.certificate_version":"3.2","_timestamp":"2017-03-27T18:05:07+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"2","memory.memtotal":"4 |
|
3109 |
GB","cpu.core(s)_per_socket":"4","cpu.cpu(s)":"1","virt.is_guest":false}}' |
|
3110 |
headers: |
|
3111 |
Content-Type: |
|
3112 |
- application/json |
|
3113 |
Accept-Encoding: |
|
3114 |
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 |
|
3115 |
Accept: |
|
3116 |
- "*/*" |
|
3117 |
User-Agent: |
|
3118 |
- Ruby |
|
3119 |
response: |
|
3120 |
status: |
|
3121 |
code: 403 |
|
3122 |
message: Forbidden |
|
3123 |
headers: |
|
3124 |
Date: |
|
3125 |
- Mon, 27 Mar 2017 18:05:20 GMT |
|
3126 |
Server: |
|
3127 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3128 |
X-Frame-Options: |
|
3129 |
- SAMEORIGIN |
|
3130 |
X-Xss-Protection: |
|
3131 |
- 1; mode=block |
|
3132 |
X-Content-Type-Options: |
|
3133 |
- nosniff |
|
3134 |
Foreman-Version: |
|
3135 |
- 1.11.0.54 |
|
3136 |
Foreman-Api-Version: |
|
3137 |
- '2' |
|
3138 |
Cache-Control: |
|
3139 |
- no-cache |
|
3140 |
X-Request-Id: |
|
3141 |
- 351992c5-204b-428c-916c-6deae927c105 |
|
3142 |
X-Runtime: |
|
3143 |
- '0.064579' |
|
3144 |
X-Powered-By: |
|
3145 |
- Phusion Passenger 4.0.18 |
|
3146 |
Status: |
|
3147 |
- 403 Forbidden |
|
3148 |
Content-Type: |
|
3149 |
- application/json; charset=utf-8 |
|
3150 |
Set-Cookie: |
|
3151 |
- _session_id=c2f793dcb3505fc52b80f8da0ec11ef1; path=/; secure; HttpOnly |
|
3152 |
- request_method=PUT; path=/ |
|
3153 |
Transfer-Encoding: |
|
3154 |
- chunked |
|
3155 |
body: |
|
3156 |
encoding: UTF-8 |
|
3157 |
string: '{"displayMessage":"Access denied","errors":["Access denied"]}' |
|
3158 |
http_version: |
|
3159 |
recorded_at: Mon, 27 Mar 2017 18:05:26 GMT |
|
3160 |
- request: |
|
3161 |
method: get |
|
3162 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/191/subscriptions?full_results=true |
|
3163 |
body: |
|
3164 |
encoding: US-ASCII |
|
3165 |
string: '' |
|
3166 |
headers: |
|
3167 |
Accept: |
|
3168 |
- application/json;version=2 |
|
3169 |
Accept-Encoding: |
|
3170 |
- gzip, deflate |
|
3171 |
User-Agent: |
|
3172 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
3173 |
Content-Type: |
|
3174 |
- application/json |
|
3175 |
Accept-Language: |
|
3176 |
- en |
|
3177 |
Host: |
|
3178 |
- devel.example.com:50083 |
|
3179 |
response: |
|
3180 |
status: |
|
3181 |
code: 200 |
|
3182 |
message: OK |
|
3183 |
headers: |
|
3184 |
Date: |
|
3185 |
- Mon, 27 Mar 2017 18:05:20 GMT |
|
3186 |
Server: |
|
3187 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3188 |
X-Frame-Options: |
|
3189 |
- SAMEORIGIN |
|
3190 |
X-Xss-Protection: |
|
3191 |
- 1; mode=block |
|
3192 |
X-Content-Type-Options: |
|
3193 |
- nosniff |
|
3194 |
Foreman-Version: |
|
3195 |
- 1.11.0.54 |
|
3196 |
Foreman-Api-Version: |
|
3197 |
- '2' |
|
3198 |
Apipie-Checksum: |
|
3199 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
3200 |
Cache-Control: |
|
3201 |
- max-age=0, private, must-revalidate |
|
3202 |
X-Request-Id: |
|
3203 |
- 682ff8f3-b292-4933-aa1a-0b3adc9a8b7d |
|
3204 |
X-Runtime: |
|
3205 |
- '0.280447' |
|
3206 |
X-Powered-By: |
|
3207 |
- Phusion Passenger 4.0.18 |
|
3208 |
Etag: |
|
3209 |
- '"88ef5b4711bf00237866d7f4ab39e794-gzip"' |
|
3210 |
Status: |
|
3211 |
- 200 OK |
|
3212 |
Vary: |
|
3213 |
- Accept-Encoding |
|
3214 |
Content-Length: |
|
3215 |
- '770' |
|
3216 |
Content-Type: |
|
3217 |
- application/json; charset=utf-8 |
|
3218 |
Set-Cookie: |
|
3219 |
- _session_id=3043c8d370c6f46d583bd5502d6ccb63; path=/; secure; HttpOnly |
|
3220 |
body: |
|
3221 |
encoding: ASCII-8BIT |
|
3222 |
string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":2,"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red |
|
3223 |
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red |
|
3224 |
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]} |
|
3225 |
|
|
3226 |
' |
|
3227 |
http_version: |
|
3228 |
recorded_at: Mon, 27 Mar 2017 18:05:27 GMT |
|
3229 |
- request: |
|
3230 |
method: put |
|
3231 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/191/subscriptions/remove_subscriptions |
|
3232 |
body: |
|
3233 |
encoding: UTF-8 |
|
3234 |
string: '{"subscriptions":[{"id":19,"quantity":2}]}' |
|
3235 |
headers: |
|
3236 |
Accept: |
|
3237 |
- application/json;version=2 |
|
3238 |
Accept-Encoding: |
|
3239 |
- gzip, deflate |
|
3240 |
User-Agent: |
|
3241 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
3242 |
Content-Type: |
|
3243 |
- application/json |
|
3244 |
Accept-Language: |
|
3245 |
- en |
|
3246 |
Content-Length: |
|
3247 |
- '42' |
|
3248 |
Host: |
|
3249 |
- devel.example.com:50083 |
|
3250 |
response: |
|
3251 |
status: |
|
3252 |
code: 200 |
|
3253 |
message: OK |
|
3254 |
headers: |
|
3255 |
Date: |
|
3256 |
- Mon, 27 Mar 2017 18:05:20 GMT |
|
3257 |
Server: |
|
3258 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3259 |
X-Frame-Options: |
|
3260 |
- SAMEORIGIN |
|
3261 |
X-Xss-Protection: |
|
3262 |
- 1; mode=block |
|
3263 |
X-Content-Type-Options: |
|
3264 |
- nosniff |
|
3265 |
Foreman-Version: |
|
3266 |
- 1.11.0.54 |
|
3267 |
Foreman-Api-Version: |
|
3268 |
- '2' |
|
3269 |
Apipie-Checksum: |
|
3270 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
3271 |
Cache-Control: |
|
3272 |
- max-age=0, private, must-revalidate |
|
3273 |
X-Request-Id: |
|
3274 |
- 93392e7f-0d9d-4be0-ae02-2132ea410091 |
|
3275 |
X-Runtime: |
|
3276 |
- '1.032798' |
|
3277 |
X-Powered-By: |
|
3278 |
- Phusion Passenger 4.0.18 |
|
3279 |
Etag: |
|
3280 |
- '"5b7cf73d45bc8f06b224ef8c6fdb8b6b-gzip"' |
|
3281 |
Status: |
|
3282 |
- 200 OK |
|
3283 |
Vary: |
|
3284 |
- Accept-Encoding |
|
3285 |
Content-Length: |
|
3286 |
- '770' |
|
3287 |
Content-Type: |
|
3288 |
- application/json; charset=utf-8 |
|
3289 |
Set-Cookie: |
|
3290 |
- _session_id=570b4c9749db62be20d191f9a9d9abb6; path=/; secure; HttpOnly |
|
3291 |
- request_method=PUT; path=/ |
|
3292 |
body: |
|
3293 |
encoding: ASCII-8BIT |
|
3294 |
string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":2,"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red |
|
3295 |
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":196,"quantity":200,"consumed":4,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red |
|
3296 |
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]} |
|
3297 |
|
|
3298 |
' |
|
3299 |
http_version: |
|
3300 |
recorded_at: Mon, 27 Mar 2017 18:05:28 GMT |
|
3301 |
- request: |
|
3302 |
method: put |
|
3303 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/191/subscriptions/add_subscriptions |
|
3304 |
body: |
|
3305 |
encoding: UTF-8 |
|
3306 |
string: '{"subscriptions":[{"id":19,"quantity":2}]}' |
|
3307 |
headers: |
|
3308 |
Accept: |
|
3309 |
- application/json;version=2 |
|
3310 |
Accept-Encoding: |
|
3311 |
- gzip, deflate |
|
3312 |
User-Agent: |
|
3313 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
3314 |
Content-Type: |
|
3315 |
- application/json |
|
3316 |
Accept-Language: |
|
3317 |
- en |
|
3318 |
Content-Length: |
|
3319 |
- '42' |
|
3320 |
Host: |
|
3321 |
- devel.example.com:50083 |
|
3322 |
response: |
|
3323 |
status: |
|
3324 |
code: 200 |
|
3325 |
message: OK |
|
3326 |
headers: |
|
3327 |
Date: |
|
3328 |
- Mon, 27 Mar 2017 18:05:22 GMT |
|
3329 |
Server: |
|
3330 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3331 |
X-Frame-Options: |
|
3332 |
- SAMEORIGIN |
|
3333 |
X-Xss-Protection: |
|
3334 |
- 1; mode=block |
|
3335 |
X-Content-Type-Options: |
|
3336 |
- nosniff |
|
3337 |
Foreman-Version: |
|
3338 |
- 1.11.0.54 |
|
3339 |
Foreman-Api-Version: |
|
3340 |
- '2' |
|
3341 |
Apipie-Checksum: |
|
3342 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
3343 |
Cache-Control: |
|
3344 |
- max-age=0, private, must-revalidate |
|
3345 |
X-Request-Id: |
|
3346 |
- 111cf2f5-7eb1-426a-8528-2eeafbb1267e |
|
3347 |
X-Runtime: |
|
3348 |
- '0.948940' |
|
3349 |
X-Powered-By: |
|
3350 |
- Phusion Passenger 4.0.18 |
|
3351 |
Etag: |
|
3352 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
3353 |
Status: |
|
3354 |
- 200 OK |
|
3355 |
Vary: |
|
3356 |
- Accept-Encoding |
|
3357 |
Content-Length: |
|
3358 |
- '119' |
|
3359 |
Content-Type: |
|
3360 |
- application/json; charset=utf-8 |
|
3361 |
Set-Cookie: |
|
3362 |
- _session_id=770d5da6c61b527a21ee83d10fa07dc0; path=/; secure; HttpOnly |
|
3363 |
- request_method=PUT; path=/ |
|
3364 |
body: |
|
3365 |
encoding: ASCII-8BIT |
|
3366 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
3367 |
|
|
3368 |
' |
|
3369 |
http_version: |
|
3370 |
recorded_at: Mon, 27 Mar 2017 18:05:29 GMT |
|
3371 |
- request: |
|
3372 |
method: delete |
|
3373 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/190 |
|
3374 |
body: |
|
3375 |
encoding: US-ASCII |
|
3376 |
string: '' |
|
3377 |
headers: |
|
3378 |
Accept: |
|
3379 |
- application/json;version=2 |
|
3380 |
Accept-Encoding: |
|
3381 |
- gzip, deflate |
|
3382 |
User-Agent: |
|
3383 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
3384 |
Content-Type: |
|
3385 |
- application/json |
|
3386 |
Accept-Language: |
|
3387 |
- en |
|
3388 |
Host: |
|
3389 |
- devel.example.com:50083 |
|
3390 |
response: |
|
3391 |
status: |
|
3392 |
code: 200 |
|
3393 |
message: OK |
|
3394 |
headers: |
|
3395 |
Date: |
|
3396 |
- Mon, 27 Mar 2017 18:05:23 GMT |
|
3397 |
Server: |
|
3398 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3399 |
X-Frame-Options: |
|
3400 |
- SAMEORIGIN |
|
3401 |
X-Xss-Protection: |
|
3402 |
- 1; mode=block |
|
3403 |
X-Content-Type-Options: |
|
3404 |
- nosniff |
|
3405 |
Foreman-Version: |
|
3406 |
- 1.11.0.54 |
|
3407 |
Foreman-Api-Version: |
|
3408 |
- '2' |
|
3409 |
Apipie-Checksum: |
|
3410 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
3411 |
Cache-Control: |
|
3412 |
- max-age=0, private, must-revalidate |
|
3413 |
X-Request-Id: |
|
3414 |
- b6549333-d83e-4b1a-8ce9-296d516f86fd |
|
3415 |
X-Runtime: |
|
3416 |
- '1.160302' |
|
3417 |
X-Powered-By: |
|
3418 |
- Phusion Passenger 4.0.18 |
|
3419 |
Etag: |
|
3420 |
- '"d921eca3278c1b1dd1726a55b8017e41-gzip"' |
|
3421 |
Status: |
|
3422 |
- 200 OK |
|
3423 |
Vary: |
|
3424 |
- Accept-Encoding |
|
3425 |
Content-Length: |
|
3426 |
- '1361' |
|
3427 |
Content-Type: |
|
3428 |
- application/json; charset=utf-8 |
|
3429 |
Set-Cookie: |
|
3430 |
- _session_id=50b71ff71cbbfec607f0c4e44a5ce56a; path=/; secure; HttpOnly |
|
3431 |
- request_method=DELETE; path=/ |
|
3432 |
body: |
|
3433 |
encoding: ASCII-8BIT |
|
3434 |
string: '{"id":190,"name":"testaaa0","last_compile":"2017-03-27T18:05:06.000Z","last_report":null,"updated_at":"2017-03-27T18:05:19.481Z","created_at":"2017-03-27T18:05:05.427Z","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":"testaaa0","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=testaaa0","openscap_proxy_id":null,"content_facet_attributes":{"id":189,"host_id":190,"uuid":"054b8832-9ba9-43b9-b6b3-436ac7e5c7a8","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":195,"host_id":190,"uuid":"054b8832-9ba9-43b9-b6b3-436ac7e5c7a8","last_checkin":"2017-03-27T18:05:05.448Z","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2017-03-27T18:05:05.665Z"}}' |
|
3435 |
http_version: |
|
3436 |
recorded_at: Mon, 27 Mar 2017 18:05:31 GMT |
|
3437 |
- request: |
|
3438 |
method: delete |
|
3439 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/191 |
|
3440 |
body: |
|
3441 |
encoding: US-ASCII |
|
3442 |
string: '' |
|
3443 |
headers: |
|
3444 |
Accept: |
|
3445 |
- application/json;version=2 |
|
3446 |
Accept-Encoding: |
|
3447 |
- gzip, deflate |
|
3448 |
User-Agent: |
|
3449 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
3450 |
Content-Type: |
|
3451 |
- application/json |
|
3452 |
Accept-Language: |
|
3453 |
- en |
|
3454 |
Host: |
|
3455 |
- devel.example.com:50083 |
|
3456 |
response: |
|
3457 |
status: |
|
3458 |
code: 200 |
|
3459 |
message: OK |
|
3460 |
headers: |
|
3461 |
Date: |
|
3462 |
- Mon, 27 Mar 2017 18:05:25 GMT |
|
3463 |
Server: |
|
3464 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3465 |
X-Frame-Options: |
|
3466 |
- SAMEORIGIN |
|
3467 |
X-Xss-Protection: |
|
3468 |
- 1; mode=block |
|
3469 |
X-Content-Type-Options: |
|
3470 |
- nosniff |
|
3471 |
Foreman-Version: |
|
3472 |
- 1.11.0.54 |
|
3473 |
Foreman-Api-Version: |
|
3474 |
- '2' |
|
3475 |
Apipie-Checksum: |
|
3476 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
3477 |
Cache-Control: |
|
3478 |
- max-age=0, private, must-revalidate |
|
3479 |
X-Request-Id: |
|
3480 |
- 7dbc29a0-7f35-48c4-91df-a95f067a2588 |
|
3481 |
X-Runtime: |
|
3482 |
- '1.016859' |
|
3483 |
X-Powered-By: |
|
3484 |
- Phusion Passenger 4.0.18 |
|
3485 |
Etag: |
|
3486 |
- '"c1019f70d46faaa919839eb6159c8a67-gzip"' |
|
3487 |
Status: |
|
3488 |
- 200 OK |
|
3489 |
Vary: |
|
3490 |
- Accept-Encoding |
|
3491 |
Content-Length: |
|
3492 |
- '1361' |
|
3493 |
Content-Type: |
|
3494 |
- application/json; charset=utf-8 |
|
3495 |
Set-Cookie: |
|
3496 |
- _session_id=dba6826190d96f31090015c740856582; path=/; secure; HttpOnly |
|
3497 |
- request_method=DELETE; path=/ |
|
3498 |
body: |
|
3499 |
encoding: ASCII-8BIT |
|
3500 |
string: '{"id":191,"name":"testaaa1","last_compile":"2017-03-27T18:05:08.000Z","last_report":null,"updated_at":"2017-03-27T18:05:23.451Z","created_at":"2017-03-27T18:05:07.235Z","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":"testaaa1","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=testaaa1","openscap_proxy_id":null,"content_facet_attributes":{"id":190,"host_id":191,"uuid":"0fba0d55-8784-4127-9483-1f9988d783c2","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":196,"host_id":191,"uuid":"0fba0d55-8784-4127-9483-1f9988d783c2","last_checkin":"2017-03-27T18:05:07.264Z","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2017-03-27T18:05:07.443Z"}}' |
|
3501 |
http_version: |
|
3502 |
recorded_at: Mon, 27 Mar 2017 18:05:32 GMT |
|
3503 |
- request: |
|
3504 |
method: delete |
|
3505 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/192 |
|
3506 |
body: |
|
3507 |
encoding: US-ASCII |
|
3508 |
string: '' |
|
3509 |
headers: |
|
3510 |
Accept: |
|
3511 |
- application/json;version=2 |
|
3512 |
Accept-Encoding: |
|
3513 |
- gzip, deflate |
|
3514 |
User-Agent: |
|
3515 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
3516 |
Content-Type: |
|
3517 |
- application/json |
|
3518 |
Accept-Language: |
|
3519 |
- en |
|
3520 |
Host: |
|
3521 |
- devel.example.com:50083 |
|
3522 |
response: |
|
3523 |
status: |
|
3524 |
code: 200 |
|
3525 |
message: OK |
|
3526 |
headers: |
|
3527 |
Date: |
|
3528 |
- Mon, 27 Mar 2017 18:05:26 GMT |
|
3529 |
Server: |
|
3530 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3531 |
X-Frame-Options: |
|
3532 |
- SAMEORIGIN |
|
3533 |
X-Xss-Protection: |
|
3534 |
- 1; mode=block |
|
3535 |
X-Content-Type-Options: |
|
3536 |
- nosniff |
|
3537 |
Foreman-Version: |
|
3538 |
- 1.11.0.54 |
|
3539 |
Foreman-Api-Version: |
|
3540 |
- '2' |
|
3541 |
Apipie-Checksum: |
|
3542 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
3543 |
Cache-Control: |
|
3544 |
- max-age=0, private, must-revalidate |
|
3545 |
X-Request-Id: |
|
3546 |
- 164bb26a-b6b2-4b86-a130-4352426d7371 |
|
3547 |
X-Runtime: |
|
3548 |
- '0.804451' |
|
3549 |
X-Powered-By: |
|
3550 |
- Phusion Passenger 4.0.18 |
|
3551 |
Etag: |
|
3552 |
- '"ba00067b8e88740d625c6f0cc9ed66c4-gzip"' |
|
3553 |
Status: |
|
3554 |
- 200 OK |
|
3555 |
Vary: |
|
3556 |
- Accept-Encoding |
|
3557 |
Content-Length: |
|
3558 |
- '1360' |
|
3559 |
Content-Type: |
|
3560 |
- application/json; charset=utf-8 |
|
3561 |
Set-Cookie: |
|
3562 |
- _session_id=f72f80e5dbdef40c6d3d47194a8833ae; path=/; secure; HttpOnly |
|
3563 |
- request_method=DELETE; path=/ |
|
3564 |
body: |
|
3565 |
encoding: ASCII-8BIT |
|
3566 |
string: '{"id":192,"name":"testbbb0","last_compile":"2017-03-27T18:05:11.000Z","last_report":null,"updated_at":"2017-03-27T18:05:11.270Z","created_at":"2017-03-27T18:05:09.607Z","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":"testbbb0","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":2,"lookup_value_matcher":"fqdn=testbbb0","openscap_proxy_id":null,"content_facet_attributes":{"id":191,"host_id":192,"uuid":"9233695a-9c8f-40aa-bdd0-344e7b40d5c2","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":197,"host_id":192,"uuid":"9233695a-9c8f-40aa-bdd0-344e7b40d5c2","last_checkin":"2017-03-27T18:05:09.668Z","service_level":"Premium","release_version":null,"autoheal":true,"registered_at":"2017-03-27T18:05:09.900Z"}}' |
|
3567 |
http_version: |
|
3568 |
recorded_at: Mon, 27 Mar 2017 18:05:33 GMT |
|
3569 |
- request: |
|
3570 |
method: delete |
|
3571 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/193 |
|
3572 |
body: |
|
3573 |
encoding: US-ASCII |
|
3574 |
string: '' |
|
3575 |
headers: |
|
3576 |
Accept: |
|
3577 |
- application/json;version=2 |
|
3578 |
Accept-Encoding: |
|
3579 |
- gzip, deflate |
|
3580 |
User-Agent: |
|
3581 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
3582 |
Content-Type: |
|
3583 |
- application/json |
|
3584 |
Accept-Language: |
|
3585 |
- en |
|
3586 |
Host: |
|
3587 |
- devel.example.com:50083 |
|
3588 |
response: |
|
3589 |
status: |
|
3590 |
code: 200 |
|
3591 |
message: OK |
|
3592 |
headers: |
|
3593 |
Date: |
|
3594 |
- Mon, 27 Mar 2017 18:05:27 GMT |
|
3595 |
Server: |
|
3596 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3597 |
X-Frame-Options: |
|
3598 |
- SAMEORIGIN |
|
3599 |
X-Xss-Protection: |
|
3600 |
- 1; mode=block |
|
3601 |
X-Content-Type-Options: |
|
3602 |
- nosniff |
|
3603 |
Foreman-Version: |
|
3604 |
- 1.11.0.54 |
|
3605 |
Foreman-Api-Version: |
|
3606 |
- '2' |
|
3607 |
Apipie-Checksum: |
|
3608 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
3609 |
Cache-Control: |
|
3610 |
- max-age=0, private, must-revalidate |
|
3611 |
X-Request-Id: |
|
3612 |
- d9846b57-7b26-4503-9500-e237efa0b5b0 |
|
3613 |
X-Runtime: |
|
3614 |
- '0.901724' |
|
3615 |
X-Powered-By: |
|
3616 |
- Phusion Passenger 4.0.18 |
|
3617 |
Etag: |
|
3618 |
- '"24e1e4e62c1397c7f36cb9fb0d7c633e-gzip"' |
|
3619 |
Status: |
|
3620 |
- 200 OK |
|
3621 |
Vary: |
|
3622 |
- Accept-Encoding |
|
3623 |
Content-Length: |
|
3624 |
- '1360' |
|
3625 |
Content-Type: |
|
3626 |
- application/json; charset=utf-8 |
|
3627 |
Set-Cookie: |
|
3628 |
- _session_id=beb6ea4be16af418fc8d3cd80b148ad9; path=/; secure; HttpOnly |
|
3629 |
- request_method=DELETE; path=/ |
|
3630 |
body: |
|
3631 |
encoding: ASCII-8BIT |
|
3632 |
string: '{"id":193,"name":"testbbb1","last_compile":"2017-03-27T18:05:13.000Z","last_report":null,"updated_at":"2017-03-27T18:05:13.459Z","created_at":"2017-03-27T18:05:11.853Z","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":"testbbb1","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":2,"lookup_value_matcher":"fqdn=testbbb1","openscap_proxy_id":null,"content_facet_attributes":{"id":192,"host_id":193,"uuid":"e826aa2d-851f-4f3a-8843-cfb49df58023","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":198,"host_id":193,"uuid":"e826aa2d-851f-4f3a-8843-cfb49df58023","last_checkin":"2017-03-27T18:05:11.898Z","service_level":"Premium","release_version":null,"autoheal":true,"registered_at":"2017-03-27T18:05:12.152Z"}}' |
|
3633 |
http_version: |
|
3634 |
recorded_at: Mon, 27 Mar 2017 18:05:34 GMT |
|
3635 |
- request: |
|
3636 |
method: delete |
|
3637 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/194 |
|
3638 |
body: |
|
3639 |
encoding: US-ASCII |
|
3640 |
string: '' |
|
3641 |
headers: |
|
3642 |
Accept: |
|
3643 |
- application/json;version=2 |
|
3644 |
Accept-Encoding: |
|
3645 |
- gzip, deflate |
|
3646 |
User-Agent: |
|
3647 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
3648 |
Content-Type: |
|
3649 |
- application/json |
|
3650 |
Accept-Language: |
|
3651 |
- en |
|
3652 |
Host: |
|
3653 |
- devel.example.com:50083 |
|
3654 |
response: |
|
3655 |
status: |
|
3656 |
code: 200 |
|
3657 |
message: OK |
|
3658 |
headers: |
|
3659 |
Date: |
|
3660 |
- Mon, 27 Mar 2017 18:05:28 GMT |
|
3661 |
Server: |
|
3662 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
3663 |
X-Frame-Options: |
|
3664 |
- SAMEORIGIN |
|
3665 |
X-Xss-Protection: |
|
3666 |
- 1; mode=block |
|
3667 |
X-Content-Type-Options: |
|
3668 |
- nosniff |
|
3669 |
Foreman-Version: |
|
3670 |
- 1.11.0.54 |
|
3671 |
Foreman-Api-Version: |
|
3672 |
- '2' |
|
3673 |
Apipie-Checksum: |
|
3674 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
3675 |
Cache-Control: |
|
3676 |
- max-age=0, private, must-revalidate |
|
3677 |
X-Request-Id: |
|
3678 |
- 4618cb18-35f3-4b66-ace8-36b53340343d |
|
3679 |
X-Runtime: |
|
3680 |
- '1.534768' |
|
3681 |
X-Powered-By: |
|
3682 |
- Phusion Passenger 4.0.18 |
|
3683 |
Etag: |
|
3684 |
- '"b5db717a6abf6741773fbc55f46bcf9c-gzip"' |
|
3685 |
Status: |
|
3686 |
- 200 OK |
|
3687 |
Vary: |
|
3688 |
- Accept-Encoding |
|
3689 |
Content-Length: |
|
3690 |
- '1360' |
|
3691 |
Content-Type: |
|
3692 |
- application/json; charset=utf-8 |
|
3693 |
Set-Cookie: |
|
3694 |
- _session_id=862b0c25458581748ae98984b8ebf3f5; path=/; secure; HttpOnly |
|
3695 |
- request_method=DELETE; path=/ |
|
3696 |
body: |
|
3697 |
encoding: ASCII-8BIT |
|
3698 |
string: '{"id":194,"name":"testbbb2","last_compile":"2017-03-27T18:05:15.000Z","last_report":null,"updated_at":"2017-03-27T18:05:15.505Z","created_at":"2017-03-27T18:05:13.943Z","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":"testbbb2","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":2,"lookup_value_matcher":"fqdn=testbbb2","openscap_proxy_id":null,"content_facet_attributes":{"id":193,"host_id":194,"uuid":"47795636-712a-4dca-bf8e-8698f771add1","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":199,"host_id":194,"uuid":"47795636-712a-4dca-bf8e-8698f771add1","last_checkin":"2017-03-27T18:05:13.978Z","service_level":"Premium","release_version":null,"autoheal":true,"registered_at":"2017-03-27T18:05:14.221Z"}}' |
|
3699 |
http_version: |
|
3700 |
recorded_at: Mon, 27 Mar 2017 18:05:36 GMT |
|
3701 |
- request: |
|
3702 |
method: get |
|
2280 | 3703 |
uri: https://admin:changeme@devel.example.com:50083/api/status |
2281 | 3704 |
body: |
2282 | 3705 |
encoding: US-ASCII |
... | ... | |
2296 | 3719 |
message: OK |
2297 | 3720 |
headers: |
2298 | 3721 |
Date: |
2299 |
- Mon, 27 Mar 2017 18:05:03 GMT
|
|
3722 |
- Mon, 27 Mar 2017 18:34:44 GMT
|
|
2300 | 3723 |
Server: |
2301 | 3724 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
2302 | 3725 |
X-Frame-Options: |
... | ... | |
2314 | 3737 |
Cache-Control: |
2315 | 3738 |
- max-age=0, private, must-revalidate |
2316 | 3739 |
X-Request-Id: |
2317 |
- 9a4a1076-6e58-4b69-8619-28af18fe6cfa
|
|
3740 |
- 6ffe3d8b-407e-4007-ab13-c6539d5cd9e4
|
|
2318 | 3741 |
X-Runtime: |
2319 |
- '0.073394'
|
|
3742 |
- '0.058285'
|
|
2320 | 3743 |
X-Powered-By: |
2321 | 3744 |
- Phusion Passenger 4.0.18 |
2322 | 3745 |
Etag: |
... | ... | |
2328 | 3751 |
Content-Type: |
2329 | 3752 |
- application/json; charset=utf-8 |
2330 | 3753 |
Set-Cookie: |
2331 |
- _session_id=6e8089eb049c1ac2986532fd5c069cd1; path=/; secure; HttpOnly
|
|
3754 |
- _session_id=06addf2984c4e9e9bc8c61e2b30e1403; path=/; secure; HttpOnly
|
|
2332 | 3755 |
body: |
2333 | 3756 |
encoding: UTF-8 |
2334 | 3757 |
string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}' |
2335 | 3758 |
http_version: |
2336 |
recorded_at: Mon, 27 Mar 2017 18:05:10 GMT
|
|
3759 |
recorded_at: Mon, 27 Mar 2017 18:34:50 GMT
|
|
2337 | 3760 |
- request: |
2338 | 3761 |
method: get |
2339 | 3762 |
uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins |
... | ... | |
2355 | 3778 |
message: OK |
2356 | 3779 |
headers: |
2357 | 3780 |
Date: |
2358 |
- Mon, 27 Mar 2017 18:05:04 GMT
|
|
3781 |
- Mon, 27 Mar 2017 18:34:44 GMT
|
|
2359 | 3782 |
Server: |
2360 | 3783 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
2361 | 3784 |
X-Frame-Options: |
... | ... | |
2373 | 3796 |
Cache-Control: |
2374 | 3797 |
- max-age=0, private, must-revalidate |
2375 | 3798 |
X-Request-Id: |
2376 |
- 025e7e00-b04e-44b0-bdc4-215fe5ae78be
|
|
3799 |
- d8bab1d2-3826-4668-b9bc-7eedbc54463b
|
|
2377 | 3800 |
X-Runtime: |
2378 |
- '0.048934'
|
|
3801 |
- '0.050350'
|
|
2379 | 3802 |
X-Powered-By: |
2380 | 3803 |
- Phusion Passenger 4.0.18 |
2381 | 3804 |
Etag: |
... | ... | |
2389 | 3812 |
Content-Type: |
2390 | 3813 |
- application/json; charset=utf-8 |
2391 | 3814 |
Set-Cookie: |
Also available in: Unified diff
vcr - full re-record