Project

General

Profile

Bug #23473 ยป hammer.log

Doug Forster, 05/07/2018 03:32 PM

 
[ INFO 2018-05-07 11:00:05 Init] Initialization of Hammer CLI (0.11.0) has started...
[DEBUG 2018-05-07 11:00:05 Init] Running at ruby 2.2.2-p95
[ INFO 2018-05-07 11:00:05 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:00:05 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded
[ INFO 2018-05-07 11:00:05 Init] Configuration from the file /var/lib/awx/.hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:00:05 Init] Configuration from the file /var/lib/awx/.hammer/cli.modules.d/foreman.yml has been loaded
[ WARN 2018-05-07 11:00:05 Modules] Legacy configuration of modules detected. Check section about configuration in user manual
[DEBUG 2018-05-07 11:00:06 SSLoptions] SSL options: {
:verify_ssl => true
}
[DEBUG 2018-05-07 11:00:06 API] Global headers: {
:content_type => "application/json",
:accept => "application/json;version=2",
"Accept-Language" => "en"
}
[DEBUG 2018-05-07 11:00:06 API] Follow redirects: never
[DEBUG 2018-05-07 11:00:06 Connection] Registered: foreman
[ INFO 2018-05-07 11:00:06 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[ INFO 2018-05-07 11:00:06 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[DEBUG 2018-05-07 11:00:06 Init] Using locale 'en'
[DEBUG 2018-05-07 11:00:06 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/locale'
[DEBUG 2018-05-07 11:00:06 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.11.0/locale'
[ INFO 2018-05-07 11:00:06 HammerCLI::MainCommand] Called with options: {"option_username"=>"builder", "option_server"=>"https://puppet.example.com:443"}
[ INFO 2018-05-07 11:00:06 HammerCLIForeman::Host] Called with options: {}
[ INFO 2018-05-07 11:00:06 HammerCLIForeman::Host::ListCommand] Called with options: {"option_search"=>"name = sandbox-2.example.com"}
[ INFO 2018-05-07 11:00:06 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:06 API] GET /api/hosts
[DEBUG 2018-05-07 11:00:06 API] Params: {
"search" => "name = sandbox-2.example.com",
"page" => 1,
"per_page" => 1000
}
[DEBUG 2018-05-07 11:00:06 API] Headers: {
:params => {
"search" => "name = sandbox-2.example.com",
"page" => 1,
"per_page" => 1000
}
}
[DEBUG 2018-05-07 11:00:06 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:06 API] Cache expired. (1cbdc7005fb9696dbd9df969a0b7f7f7 -> b5a06e66d2b567fe91088281695de70e)
[DEBUG 2018-05-07 11:00:06 API] Response: {
"total" => 609,
"subtotal" => 0,
"page" => 1,
"per_page" => 1000,
"search" => "name = sandbox-2.example.com",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => []
}
[DEBUG 2018-05-07 11:00:06 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:06 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "d8befba3-1c1c-4ad5-91e0-e3d7e5092961",
:x_download_options => "noopen",
:x_runtime => "0.252400",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=52ef5ed53672e12e5409f1496114c66c; path=/; secure; HttpOnly"
],
:etag => "W/\"3984accdf02cf5d4fcd11c5dc9f5f50e-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "145",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:00:07 Init] Initialization of Hammer CLI (0.11.0) has started...
[DEBUG 2018-05-07 11:00:07 Init] Running at ruby 2.2.2-p95
[ INFO 2018-05-07 11:00:07 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:00:07 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded
[ INFO 2018-05-07 11:00:07 Init] Configuration from the file /var/lib/awx/.hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:00:07 Init] Configuration from the file /var/lib/awx/.hammer/cli.modules.d/foreman.yml has been loaded
[ WARN 2018-05-07 11:00:07 Modules] Legacy configuration of modules detected. Check section about configuration in user manual
[DEBUG 2018-05-07 11:00:07 SSLoptions] SSL options: {
:verify_ssl => true
}
[DEBUG 2018-05-07 11:00:07 API] Global headers: {
:content_type => "application/json",
:accept => "application/json;version=2",
"Accept-Language" => "en"
}
[DEBUG 2018-05-07 11:00:07 API] Follow redirects: never
[DEBUG 2018-05-07 11:00:07 Connection] Registered: foreman
[ INFO 2018-05-07 11:00:07 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:07 API] GET /apidoc/v2.en.json
[DEBUG 2018-05-07 11:00:07 API] Params: {}
[DEBUG 2018-05-07 11:00:07 API] Headers: {
:accept => "application/json",
:params => {}
}
[DEBUG 2018-05-07 11:00:07 API] Cache expired. (default -> b5a06e66d2b567fe91088281695de70e)
[DEBUG 2018-05-07 11:00:07 API] Response: Received OK
[DEBUG 2018-05-07 11:00:07 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:07 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "private",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "54010169-3e94-44e1-ad1a-24d25b7bf238",
:content_disposition => "inline; filename=\"v2.en.json\"",
:x_download_options => "noopen",
:content_transfer_encoding => "binary",
:x_runtime => "0.039155",
:x_frame_options => "sameorigin",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=ee92326e8dec3faf777cb5b046635c0f; path=/; secure; HttpOnly"
],
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "31048",
:content_type => "text/html; charset=UTF-8"
}
[DEBUG 2018-05-07 11:00:07 API] New apidoc loaded from the server
[ INFO 2018-05-07 11:00:07 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[ INFO 2018-05-07 11:00:07 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[DEBUG 2018-05-07 11:00:07 Init] Using locale 'en'
[DEBUG 2018-05-07 11:00:07 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/locale'
[DEBUG 2018-05-07 11:00:07 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.11.0/locale'
[ INFO 2018-05-07 11:00:07 HammerCLI::MainCommand] Called with options: {"option_username"=>"builder", "option_server"=>"https://puppet.example.com:443"}
[ INFO 2018-05-07 11:00:07 HammerCLIForeman::Subnet] Called with options: {}
[ INFO 2018-05-07 11:00:07 HammerCLIForeman::Subnet::ListCommand] Called with options: {"option_search"=>"name ~ DEV-SBX-192.168.13.0"}
[ INFO 2018-05-07 11:00:07 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:07 API] GET /api/subnets
[DEBUG 2018-05-07 11:00:07 API] Params: {
"search" => "name ~ DEV-SBX-192.168.13.0",
"page" => 1,
"per_page" => 1000
}
[DEBUG 2018-05-07 11:00:07 API] Headers: {
:params => {
"search" => "name ~ DEV-SBX-192.168.13.0",
"page" => 1,
"per_page" => 1000
}
}
[DEBUG 2018-05-07 11:00:07 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:08 API] Response: {
"total" => 31,
"subtotal" => 1,
"page" => 1,
"per_page" => 1000,
"search" => "name ~ DEV-SBX-192.168.13.0",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"network" => "192.168.13.0",
"network_type" => "IPv4",
"cidr" => 24,
"mask" => "255.255.255.0",
"priority" => nil,
"vlanid" => "1052",
"gateway" => "192.168.13.1",
"dns_primary" => "192.168.24.41",
"dns_secondary" => "192.168.24.42",
"from" => "",
"to" => "",
"created_at" => "2017-08-22 22:38:58 UTC",
"updated_at" => "2017-11-17 18:18:38 UTC",
"ipam" => "None",
"boot_mode" => "Static",
"id" => 3,
"name" => "DEV-SBX-192.168.13.0-24",
"description" => nil,
"network_address" => "192.168.13.0/24",
"dhcp_id" => 3,
"dhcp_name" => "puppet-1.example.com",
"tftp_id" => 3,
"tftp_name" => "puppet-1.example.com",
"dns_id" => 3,
"dhcp" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
},
"tftp" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
},
"dns" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
}
}
]
}
[DEBUG 2018-05-07 11:00:08 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:07 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "8ec92b74-fd09-4c47-8b1e-362fbd82df67",
:x_download_options => "noopen",
:x_runtime => "0.207471",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=40609f2589bb445cab3b43d1f0e7ce2a; path=/; secure; HttpOnly"
],
:etag => "W/\"6e132e32ce7264f83b970b4982e83868-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "422",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:00:08 Init] Initialization of Hammer CLI (0.11.0) has started...
[DEBUG 2018-05-07 11:00:08 Init] Running at ruby 2.2.2-p95
[ INFO 2018-05-07 11:00:08 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:00:08 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded
[ INFO 2018-05-07 11:00:08 Init] Configuration from the file /var/lib/awx/.hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:00:08 Init] Configuration from the file /var/lib/awx/.hammer/cli.modules.d/foreman.yml has been loaded
[ WARN 2018-05-07 11:00:08 Modules] Legacy configuration of modules detected. Check section about configuration in user manual
[DEBUG 2018-05-07 11:00:08 SSLoptions] SSL options: {
:verify_ssl => true
}
[DEBUG 2018-05-07 11:00:08 API] Global headers: {
:content_type => "application/json",
:accept => "application/json;version=2",
"Accept-Language" => "en"
}
[DEBUG 2018-05-07 11:00:08 API] Follow redirects: never
[DEBUG 2018-05-07 11:00:08 Connection] Registered: foreman
[ INFO 2018-05-07 11:00:08 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[ INFO 2018-05-07 11:00:08 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[DEBUG 2018-05-07 11:00:08 Init] Using locale 'en'
[DEBUG 2018-05-07 11:00:08 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/locale'
[DEBUG 2018-05-07 11:00:08 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.11.0/locale'
[ INFO 2018-05-07 11:00:08 HammerCLI::MainCommand] Called with options: {"option_verbose"=>true, "option_username"=>"builder", "option_server"=>"https://puppet.example.com:443"}
[ INFO 2018-05-07 11:00:08 HammerCLIForeman::Host] Called with options: {}
[ INFO 2018-05-07 11:00:08 HammerCLIForeman::Host::CreateCommand] Called with options: {"option_managed"=>true, "option_build"=>true, "option_enabled"=>true, "option_overwrite"=>true, "option_volume_list"=>[], "option_interface_list"=>[], "option_location_name"=>"datacenter", "option_organization_name"=>"CardConnect", "option_architecture_name"=>"x86_64", "option_domain_name"=>"example.com", "option_compute_resource_name"=>"datacenter vCenter", "option_hostgroup_title"=>"linux", "option_compute_profile_name"=>"1x4"}
[ INFO 2018-05-07 11:00:08 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:08 API] GET /api/locations
[DEBUG 2018-05-07 11:00:08 API] Params: {
:search => "name = \"datacenter\""
}
[DEBUG 2018-05-07 11:00:08 API] Headers: {
:params => {
:search => "name = \"datacenter\""
}
}
[DEBUG 2018-05-07 11:00:08 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:08 API] Response: {
"total" => 4,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"datacenter\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"ancestry" => nil,
"parent_id" => nil,
"parent_name" => nil,
"created_at" => "2017-06-29 22:44:22 UTC",
"updated_at" => "2017-07-06 20:37:04 UTC",
"id" => 3,
"name" => "datacenter",
"title" => "datacenter",
"description" => ""
}
]
}
[DEBUG 2018-05-07 11:00:08 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:08 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "40dd55b4-0ecd-4a6d-af92-11bbf27425c1",
:x_download_options => "noopen",
:x_runtime => "0.082489",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=f0e47a4dbf4583eed85cef290005fa4d; path=/; secure; HttpOnly"
],
:etag => "W/\"afed9355497125895cd4273012b3c8f9-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "232",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:00:08 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:08 API] GET /api/organizations
[DEBUG 2018-05-07 11:00:08 API] Params: {
:search => "name = \"CardConnect\""
}
[DEBUG 2018-05-07 11:00:08 API] Headers: {
:params => {
:search => "name = \"CardConnect\""
}
}
[DEBUG 2018-05-07 11:00:08 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:09 API] Response: {
"total" => 1,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"CardConnect\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"ancestry" => nil,
"parent_id" => nil,
"parent_name" => nil,
"created_at" => "2017-06-29 22:28:49 UTC",
"updated_at" => "2017-09-05 22:25:31 UTC",
"id" => 1,
"name" => "CardConnect",
"title" => "CardConnect",
"description" => ""
}
]
}
[DEBUG 2018-05-07 11:00:09 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:09 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "c0331449-72b5-4edf-8a43-8498955c17a4",
:x_download_options => "noopen",
:x_runtime => "0.100851",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=069a52e4c39c5e4a4adbe50d27264a53; path=/; secure; HttpOnly"
],
:etag => "W/\"9c07d25de9f6a54286e43dc34170bf5d-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "227",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:00:09 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:09 API] GET /api/architectures
[DEBUG 2018-05-07 11:00:09 API] Params: {
:search => "name = \"x86_64\""
}
[DEBUG 2018-05-07 11:00:09 API] Headers: {
:params => {
:search => "name = \"x86_64\""
}
}
[DEBUG 2018-05-07 11:00:09 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:09 API] Response: {
"total" => 2,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"x86_64\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"created_at" => "2017-06-29 22:28:49 UTC",
"updated_at" => "2017-06-29 22:28:49 UTC",
"name" => "x86_64",
"id" => 1
}
]
}
[DEBUG 2018-05-07 11:00:09 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:09 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "b3e58fe5-bf63-4594-afa1-eac398f1f59e",
:x_download_options => "noopen",
:x_runtime => "0.077340",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=c4d06437ef5fe9b67e70b600447333dc; path=/; secure; HttpOnly"
],
:etag => "W/\"5f0365ac16b14fbce0083929cb679d0a-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "182",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:00:09 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:09 API] GET /api/domains
[DEBUG 2018-05-07 11:00:09 API] Params: {
:search => "name = \"example.com\""
}
[DEBUG 2018-05-07 11:00:09 API] Headers: {
:params => {
:search => "name = \"example.com\""
}
}
[DEBUG 2018-05-07 11:00:09 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:09 API] Response: {
"total" => 4,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"example.com\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"fullname" => "",
"created_at" => "2017-06-29 22:45:24 UTC",
"updated_at" => "2017-10-05 18:58:31 UTC",
"id" => 1,
"name" => "example.com",
"dns_id" => 3,
"dns" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
}
}
]
}
[DEBUG 2018-05-07 11:00:09 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:09 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "840967cd-3ee1-4541-9cd0-b6f6b3b22e47",
:x_download_options => "noopen",
:x_runtime => "0.163672",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=e1f5c4f3a328c8a4b09e2a86f82dc01a; path=/; secure; HttpOnly"
],
:etag => "W/\"405b95feb70458e05c9743fd4063cd3e-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "247",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:00:09 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:09 API] GET /api/compute_resources
[DEBUG 2018-05-07 11:00:09 API] Params: {
:search => "name = \"datacenter vCenter\""
}
[DEBUG 2018-05-07 11:00:09 API] Headers: {
:params => {
:search => "name = \"datacenter vCenter\""
}
}
[DEBUG 2018-05-07 11:00:09 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:09 API] Response: {
"total" => 3,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"datacenter vCenter\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"description" => "",
"url" => "vfp-vcenter.example.com",
"created_at" => "2017-07-19 20:28:44 UTC",
"updated_at" => "2018-02-23 21:55:16 UTC",
"id" => 1,
"name" => "datacenter vCenter",
"provider" => "Vmware",
"provider_friendly_name" => "VMware",
"user" => "svc_foreman@idm.example.com",
"datacenter" => "VFP",
"server" => "vfp-vcenter.example.com",
"set_console_password" => true,
"caching_enabled" => true
}
]
}
[DEBUG 2018-05-07 11:00:09 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:09 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "6e1cc3e2-e62d-4b4c-91d5-6006345fa9fa",
:x_download_options => "noopen",
:x_runtime => "0.148323",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=9f2a4ea03336efde962342a02d62039b; path=/; secure; HttpOnly"
],
:etag => "W/\"7c13cb0342de745df69ec53ce2146aac-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "329",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:00:09 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:09 API] GET /api/hostgroups
[DEBUG 2018-05-07 11:00:09 API] Params: {
:search => "title = \"linux\""
}
[DEBUG 2018-05-07 11:00:09 API] Headers: {
:params => {
:search => "title = \"linux\""
}
}
[DEBUG 2018-05-07 11:00:09 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:09 API] Response: {
"total" => 98,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "title = \"linux\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"subnet_id" => nil,
"subnet_name" => nil,
"operatingsystem_id" => 7,
"operatingsystem_name" => "RHEL Server 7.4",
"domain_id" => 1,
"domain_name" => "example.com",
"environment_id" => 1,
"environment_name" => "production",
"compute_profile_id" => nil,
"compute_profile_name" => nil,
"ancestry" => nil,
"parent_id" => nil,
"parent_name" => nil,
"ptable_id" => 229,
"ptable_name" => "Default Kickstart Backup",
"medium_id" => nil,
"medium_name" => nil,
"subnet6_id" => nil,
"subnet6_name" => nil,
"architecture_id" => 1,
"architecture_name" => "x86_64",
"realm_id" => 1,
"realm_name" => "idm.example.com",
"created_at" => "2017-07-06 20:33:04 UTC",
"updated_at" => "2017-11-15 21:18:09 UTC",
"id" => 1,
"name" => "linux",
"title" => "linux",
"description" => nil,
"puppet_proxy_id" => nil,
"puppet_proxy_name" => nil,
"puppet_ca_proxy_id" => nil,
"puppet_ca_proxy_name" => nil,
"openscap_proxy_id" => nil,
"openscap_proxy_name" => nil,
"puppet_proxy" => nil,
"puppet_ca_proxy" => nil,
"openscap_proxy" => nil
}
]
}
[DEBUG 2018-05-07 11:00:09 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:09 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "2c970cd2-32a7-40df-9896-350a450813ef",
:x_download_options => "noopen",
:x_runtime => "0.216395",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=2e976ccbf4b77e38efce62c253c464b0; path=/; secure; HttpOnly"
],
:etag => "W/\"f369219c027f45329f42be1cb0a56991-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "450",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:00:09 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:09 API] GET /api/compute_profiles
[DEBUG 2018-05-07 11:00:09 API] Params: {
:search => "name = \"1x4\""
}
[DEBUG 2018-05-07 11:00:09 API] Headers: {
:params => {
:search => "name = \"1x4\""
}
}
[DEBUG 2018-05-07 11:00:09 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:10 API] Response: {
"total" => 10,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"1x4\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"created_at" => "2017-11-17 18:14:19 UTC",
"updated_at" => "2017-11-17 18:17:40 UTC",
"id" => 23,
"name" => "1x4"
}
]
}
[DEBUG 2018-05-07 11:00:10 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:09 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "6949228c-e9d5-4777-8d87-ce015722f65b",
:x_download_options => "noopen",
:x_runtime => "0.069456",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=dd9772d7561563b939392a64d91ec7ca; path=/; secure; HttpOnly"
],
:etag => "W/\"91c80b0ff05223dc30f2e3694583e7ef-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "184",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:00:10 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:00:10 API] GET /api/domains
[DEBUG 2018-05-07 11:00:10 API] Params: {
:search => "name = \"example.com\""
}
[DEBUG 2018-05-07 11:00:10 API] Headers: {
:params => {
:search => "name = \"example.com\""
}
}
[DEBUG 2018-05-07 11:00:10 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:00:10 API] Response: {
"total" => 4,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"example.com\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"fullname" => "",
"created_at" => "2017-06-29 22:45:24 UTC",
"updated_at" => "2017-10-05 18:58:31 UTC",
"id" => 1,
"name" => "example.com",
"dns_id" => 3,
"dns" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
}
}
]
}
[DEBUG 2018-05-07 11:00:10 API] Response headers: {
:date => "Mon, 07 May 2018 15:00:10 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "2fcda479-5923-4a75-9888-78d45b300136",
:x_download_options => "noopen",
:x_runtime => "0.090794",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=aeb90889cbe59cf73f8a31e755e98e80; path=/; secure; HttpOnly"
],
:etag => "W/\"405b95feb70458e05c9743fd4063cd3e-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "247",
:content_type => "application/json; charset=utf-8"
}
[DEBUG 2018-05-07 11:00:10 Exception] Using exception handler HammerCLIForeman::ExceptionHandler#handle_apipie_missing_arguments_error
[ERROR 2018-05-07 11:00:10 Exception] Missing arguments for 'host[name]'
[ERROR 2018-05-07 11:00:10 Exception]

ApipieBindings::MissingArgumentsError (Missing arguments for 'host[name]'):
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/action.rb:63:in `validate!'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:182:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/resource.rb:21:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/apipie/command.rb:43:in `send_request'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.11.0/lib/hammer_cli_foreman/commands.rb:166:in `send_request'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/apipie/command.rb:34:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/abstract.rb:29:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/abstract.rb:29:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/abstract.rb:29:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/bin/hammer:147:in `<top (required)>'
/bin/hammer:23:in `load'
/bin/hammer:23:in `<main>'


[ INFO 2018-05-07 11:01:36 Init] Initialization of Hammer CLI (0.11.0) has started...
[DEBUG 2018-05-07 11:01:36 Init] Running at ruby 2.2.2-p95
[ INFO 2018-05-07 11:01:36 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:01:36 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded
[ INFO 2018-05-07 11:01:36 Init] Configuration from the file /var/lib/awx/.hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:01:36 Init] Configuration from the file /var/lib/awx/.hammer/cli.modules.d/foreman.yml has been loaded
[ WARN 2018-05-07 11:01:36 Modules] Legacy configuration of modules detected. Check section about configuration in user manual
[DEBUG 2018-05-07 11:01:36 SSLoptions] SSL options: {
:verify_ssl => true
}
[DEBUG 2018-05-07 11:01:36 API] Global headers: {
:content_type => "application/json",
:accept => "application/json;version=2",
"Accept-Language" => "en"
}
[DEBUG 2018-05-07 11:01:36 API] Follow redirects: never
[DEBUG 2018-05-07 11:01:36 Connection] Registered: foreman
[ INFO 2018-05-07 11:01:36 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[ INFO 2018-05-07 11:01:36 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[DEBUG 2018-05-07 11:01:36 Init] Using locale 'en'
[DEBUG 2018-05-07 11:01:36 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/locale'
[DEBUG 2018-05-07 11:01:36 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.11.0/locale'
[ INFO 2018-05-07 11:01:36 HammerCLI::MainCommand] Called with options: {"option_username"=>"builder", "option_server"=>"https://puppet.example.com:443"}
[ INFO 2018-05-07 11:01:36 HammerCLIForeman::Host] Called with options: {}
[ INFO 2018-05-07 11:01:36 HammerCLIForeman::Host::ListCommand] Called with options: {"option_search"=>"name = sandbox-2.example.com"}
[ INFO 2018-05-07 11:01:36 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:36 API] GET /api/hosts
[DEBUG 2018-05-07 11:01:36 API] Params: {
"search" => "name = sandbox-2.example.com",
"page" => 1,
"per_page" => 1000
}
[DEBUG 2018-05-07 11:01:36 API] Headers: {
:params => {
"search" => "name = sandbox-2.example.com",
"page" => 1,
"per_page" => 1000
}
}
[DEBUG 2018-05-07 11:01:36 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:36 API] Response: {
"total" => 609,
"subtotal" => 0,
"page" => 1,
"per_page" => 1000,
"search" => "name = sandbox-2.example.com",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => []
}
[DEBUG 2018-05-07 11:01:36 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:36 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "062d926a-ba61-4650-b3da-f2633c0af768",
:x_download_options => "noopen",
:x_runtime => "0.079557",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=37bc2a657a85f1968d18050c3d4d20ed; path=/; secure; HttpOnly"
],
:etag => "W/\"3984accdf02cf5d4fcd11c5dc9f5f50e-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "145",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:37 Init] Initialization of Hammer CLI (0.11.0) has started...
[DEBUG 2018-05-07 11:01:37 Init] Running at ruby 2.2.2-p95
[ INFO 2018-05-07 11:01:37 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:01:37 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded
[ INFO 2018-05-07 11:01:37 Init] Configuration from the file /var/lib/awx/.hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:01:37 Init] Configuration from the file /var/lib/awx/.hammer/cli.modules.d/foreman.yml has been loaded
[ WARN 2018-05-07 11:01:37 Modules] Legacy configuration of modules detected. Check section about configuration in user manual
[DEBUG 2018-05-07 11:01:37 SSLoptions] SSL options: {
:verify_ssl => true
}
[DEBUG 2018-05-07 11:01:37 API] Global headers: {
:content_type => "application/json",
:accept => "application/json;version=2",
"Accept-Language" => "en"
}
[DEBUG 2018-05-07 11:01:37 API] Follow redirects: never
[DEBUG 2018-05-07 11:01:37 Connection] Registered: foreman
[ INFO 2018-05-07 11:01:37 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[ INFO 2018-05-07 11:01:37 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[DEBUG 2018-05-07 11:01:37 Init] Using locale 'en'
[DEBUG 2018-05-07 11:01:37 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/locale'
[DEBUG 2018-05-07 11:01:37 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.11.0/locale'
[ INFO 2018-05-07 11:01:37 HammerCLI::MainCommand] Called with options: {"option_username"=>"builder", "option_server"=>"https://puppet.example.com:443"}
[ INFO 2018-05-07 11:01:37 HammerCLIForeman::Subnet] Called with options: {}
[ INFO 2018-05-07 11:01:37 HammerCLIForeman::Subnet::ListCommand] Called with options: {"option_search"=>"name ~ DEV-SBX-192.168.13.0"}
[ INFO 2018-05-07 11:01:37 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:37 API] GET /api/subnets
[DEBUG 2018-05-07 11:01:37 API] Params: {
"search" => "name ~ DEV-SBX-192.168.13.0",
"page" => 1,
"per_page" => 1000
}
[DEBUG 2018-05-07 11:01:37 API] Headers: {
:params => {
"search" => "name ~ DEV-SBX-192.168.13.0",
"page" => 1,
"per_page" => 1000
}
}
[DEBUG 2018-05-07 11:01:37 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:37 API] Response: {
"total" => 31,
"subtotal" => 1,
"page" => 1,
"per_page" => 1000,
"search" => "name ~ DEV-SBX-192.168.13.0",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"network" => "192.168.13.0",
"network_type" => "IPv4",
"cidr" => 24,
"mask" => "255.255.255.0",
"priority" => nil,
"vlanid" => "1052",
"gateway" => "192.168.13.1",
"dns_primary" => "192.168.24.41",
"dns_secondary" => "192.168.24.42",
"from" => "",
"to" => "",
"created_at" => "2017-08-22 22:38:58 UTC",
"updated_at" => "2017-11-17 18:18:38 UTC",
"ipam" => "None",
"boot_mode" => "Static",
"id" => 3,
"name" => "DEV-SBX-192.168.13.0-24",
"description" => nil,
"network_address" => "192.168.13.0/24",
"dhcp_id" => 3,
"dhcp_name" => "puppet-1.example.com",
"tftp_id" => 3,
"tftp_name" => "puppet-1.example.com",
"dns_id" => 3,
"dhcp" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
},
"tftp" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
},
"dns" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
}
}
]
}
[DEBUG 2018-05-07 11:01:37 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:37 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "780a5548-ef00-48c9-a75b-db33f5b6f2e2",
:x_download_options => "noopen",
:x_runtime => "0.134930",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=0ba263b188f5d317efacb0ea9d238ee5; path=/; secure; HttpOnly"
],
:etag => "W/\"6e132e32ce7264f83b970b4982e83868-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "422",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:37 Init] Initialization of Hammer CLI (0.11.0) has started...
[DEBUG 2018-05-07 11:01:37 Init] Running at ruby 2.2.2-p95
[ INFO 2018-05-07 11:01:37 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:01:37 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded
[ INFO 2018-05-07 11:01:37 Init] Configuration from the file /var/lib/awx/.hammer/cli_config.yml has been loaded
[ INFO 2018-05-07 11:01:37 Init] Configuration from the file /var/lib/awx/.hammer/cli.modules.d/foreman.yml has been loaded
[ WARN 2018-05-07 11:01:38 Modules] Legacy configuration of modules detected. Check section about configuration in user manual
[DEBUG 2018-05-07 11:01:38 SSLoptions] SSL options: {
:verify_ssl => true
}
[DEBUG 2018-05-07 11:01:38 API] Global headers: {
:content_type => "application/json",
:accept => "application/json;version=2",
"Accept-Language" => "en"
}
[DEBUG 2018-05-07 11:01:38 API] Follow redirects: never
[DEBUG 2018-05-07 11:01:38 Connection] Registered: foreman
[ INFO 2018-05-07 11:01:38 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[ INFO 2018-05-07 11:01:38 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[DEBUG 2018-05-07 11:01:38 Init] Using locale 'en'
[DEBUG 2018-05-07 11:01:38 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/locale'
[DEBUG 2018-05-07 11:01:38 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.11.0/locale'
[ INFO 2018-05-07 11:01:38 HammerCLI::MainCommand] Called with options: {"option_verbose"=>true, "option_username"=>"builder", "option_server"=>"https://puppet.example.com:443"}
[ INFO 2018-05-07 11:01:38 HammerCLIForeman::Host] Called with options: {}
[ INFO 2018-05-07 11:01:38 HammerCLIForeman::Host::CreateCommand] Called with options: {"option_puppet_proxy"=>"puppet-1.example.com", "option_puppet_ca_proxy"=>"puppet-1.example.com", "option_managed"=>true, "option_build"=>true, "option_enabled"=>true, "option_overwrite"=>true, "option_parameters"=>{"subscription_manager_certpkg_url"=>"http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm", "activation_key"=>"RHEL7-DEV"}, "option_volume_list"=>[], "option_interface_list"=>[{"ip"=>"192.168.13.52", "subnet_id"=>"3", "compute_network"=>"DEV-SBX-192.168.13.0"}], "option_location_name"=>"datacenter", "option_organization_name"=>"CardConnect", "option_environment_name"=>"development", "option_architecture_name"=>"x86_64", "option_domain_name"=>"example.com", "option_operatingsystem_title"=>"RHEL Server 7.4", "option_medium_name"=>"RHEL 7 Install Media - VF", "option_ptable_name"=>"Default Kickstart Backup", "option_compute_resource_name"=>"datacenter vCenter", "option_hostgroup_title"=>"linux", "option_compute_profile_name"=>"1x4", "option_name"=>"sandbox-2.example.com"}
[ INFO 2018-05-07 11:01:38 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:38 API] GET /api/locations
[DEBUG 2018-05-07 11:01:38 API] Params: {
:search => "name = \"datacenter\""
}
[DEBUG 2018-05-07 11:01:38 API] Headers: {
:params => {
:search => "name = \"datacenter\""
}
}
[DEBUG 2018-05-07 11:01:38 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:38 API] Response: {
"total" => 4,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"datacenter\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"ancestry" => nil,
"parent_id" => nil,
"parent_name" => nil,
"created_at" => "2017-06-29 22:44:22 UTC",
"updated_at" => "2017-07-06 20:37:04 UTC",
"id" => 3,
"name" => "datacenter",
"title" => "datacenter",
"description" => ""
}
]
}
[DEBUG 2018-05-07 11:01:38 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:38 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "a5a9cd8b-2c4b-4fcd-b505-f00efee825fc",
:x_download_options => "noopen",
:x_runtime => "0.047722",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=ecb66b5dee86395372f63d29587fee42; path=/; secure; HttpOnly"
],
:etag => "W/\"afed9355497125895cd4273012b3c8f9-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "232",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:38 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:38 API] GET /api/organizations
[DEBUG 2018-05-07 11:01:38 API] Params: {
:search => "name = \"CardConnect\""
}
[DEBUG 2018-05-07 11:01:38 API] Headers: {
:params => {
:search => "name = \"CardConnect\""
}
}
[DEBUG 2018-05-07 11:01:38 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:38 API] Response: {
"total" => 1,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"CardConnect\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"ancestry" => nil,
"parent_id" => nil,
"parent_name" => nil,
"created_at" => "2017-06-29 22:28:49 UTC",
"updated_at" => "2017-09-05 22:25:31 UTC",
"id" => 1,
"name" => "CardConnect",
"title" => "CardConnect",
"description" => ""
}
]
}
[DEBUG 2018-05-07 11:01:38 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:38 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "90a86fe0-29a5-4f22-a243-d019e676c175",
:x_download_options => "noopen",
:x_runtime => "0.042483",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=9927d329cecdf2a1e4c828b8d2130add; path=/; secure; HttpOnly"
],
:etag => "W/\"9c07d25de9f6a54286e43dc34170bf5d-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "227",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:38 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:38 API] GET /api/environments
[DEBUG 2018-05-07 11:01:38 API] Params: {
:search => "name = \"development\""
}
[DEBUG 2018-05-07 11:01:38 API] Headers: {
:params => {
:search => "name = \"development\""
}
}
[DEBUG 2018-05-07 11:01:38 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:38 API] Response: {
"total" => 4,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"development\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"created_at" => "2017-07-05 18:20:50 UTC",
"updated_at" => "2017-07-05 18:20:50 UTC",
"name" => "development",
"id" => 3
}
]
}
[DEBUG 2018-05-07 11:01:38 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:38 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "1aa358a2-d285-406f-9e42-a2f9d47006e2",
:x_download_options => "noopen",
:x_runtime => "0.093955",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=d9863df40e3487f9857e8aac821d8e30; path=/; secure; HttpOnly"
],
:etag => "W/\"90668efbbd97851c4835cbdd4a148c2b-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "185",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:38 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:38 API] GET /api/architectures
[DEBUG 2018-05-07 11:01:38 API] Params: {
:search => "name = \"x86_64\""
}
[DEBUG 2018-05-07 11:01:38 API] Headers: {
:params => {
:search => "name = \"x86_64\""
}
}
[DEBUG 2018-05-07 11:01:38 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:38 API] Response: {
"total" => 2,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"x86_64\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"created_at" => "2017-06-29 22:28:49 UTC",
"updated_at" => "2017-06-29 22:28:49 UTC",
"name" => "x86_64",
"id" => 1
}
]
}
[DEBUG 2018-05-07 11:01:38 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:38 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "0b239be7-8516-43c8-80f8-150b2951eb74",
:x_download_options => "noopen",
:x_runtime => "0.040845",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=581f7a41d3ee8fa39e0271ee2b7da511; path=/; secure; HttpOnly"
],
:etag => "W/\"5f0365ac16b14fbce0083929cb679d0a-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "182",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:38 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:38 API] GET /api/domains
[DEBUG 2018-05-07 11:01:38 API] Params: {
:search => "name = \"example.com\""
}
[DEBUG 2018-05-07 11:01:38 API] Headers: {
:params => {
:search => "name = \"example.com\""
}
}
[DEBUG 2018-05-07 11:01:38 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:38 API] Response: {
"total" => 4,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"example.com\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"fullname" => "",
"created_at" => "2017-06-29 22:45:24 UTC",
"updated_at" => "2017-10-05 18:58:31 UTC",
"id" => 1,
"name" => "example.com",
"dns_id" => 3,
"dns" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
}
}
]
}
[DEBUG 2018-05-07 11:01:38 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:38 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "6090b296-e058-4bd2-9c6a-2661bd1e10a4",
:x_download_options => "noopen",
:x_runtime => "0.092388",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=6ab81d5e8ee403b6ae50ee807fd2bd95; path=/; secure; HttpOnly"
],
:etag => "W/\"405b95feb70458e05c9743fd4063cd3e-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "247",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:38 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:38 API] GET /api/operatingsystems
[DEBUG 2018-05-07 11:01:38 API] Params: {
:search => "title = \"RHEL Server 7.4\""
}
[DEBUG 2018-05-07 11:01:38 API] Headers: {
:params => {
:search => "title = \"RHEL Server 7.4\""
}
}
[DEBUG 2018-05-07 11:01:38 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:38 API] Response: {
"total" => 8,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "title = \"RHEL Server 7.4\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"description" => "RHEL Server 7.4",
"major" => "7",
"minor" => "4",
"family" => "Redhat",
"release_name" => "",
"password_hash" => "SHA256",
"created_at" => "2017-08-09 20:21:04 UTC",
"updated_at" => "2017-09-21 18:29:41 UTC",
"id" => 7,
"name" => "RedHat",
"title" => "RHEL Server 7.4"
}
]
}
[DEBUG 2018-05-07 11:01:38 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:38 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "1c9b872f-15a0-471d-afb9-dc89bd4d1f3b",
:x_download_options => "noopen",
:x_runtime => "0.070427",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=bf52c4e6b172c50cd240e6c59ff182a7; path=/; secure; HttpOnly"
],
:etag => "W/\"ace492ccddc9bb9f6c9c034a2e650119-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "278",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:38 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:38 API] GET /api/media
[DEBUG 2018-05-07 11:01:38 API] Params: {
:search => "name = \"RHEL 7 Install Media - VF\""
}
[DEBUG 2018-05-07 11:01:38 API] Headers: {
:params => {
:search => "name = \"RHEL 7 Install Media - VF\""
}
}
[DEBUG 2018-05-07 11:01:38 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:39 API] Response: {
"total" => 15,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"RHEL 7 Install Media - VF\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"path" => "http://vfp-sysjump-1.example.com/repo/rhel/7/x86_64/media/",
"os_family" => "Redhat",
"created_at" => "2017-09-27 23:17:30 UTC",
"updated_at" => "2018-03-09 17:56:50 UTC",
"id" => 21,
"name" => "RHEL 7 Install Media - VF"
}
]
}
[DEBUG 2018-05-07 11:01:39 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:38 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "37676f1d-0b6c-4440-9fea-77a8daa9b89c",
:x_download_options => "noopen",
:x_runtime => "0.110666",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=214c52c38a72872e843ee4829acf6550; path=/; secure; HttpOnly"
],
:etag => "W/\"21b2f18770db1f1cbdbb4acf2d4d9e99-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "278",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:39 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:39 API] GET /api/ptables
[DEBUG 2018-05-07 11:01:39 API] Params: {
:search => "name = \"Default Kickstart Backup\""
}
[DEBUG 2018-05-07 11:01:39 API] Headers: {
:params => {
:search => "name = \"Default Kickstart Backup\""
}
}
[DEBUG 2018-05-07 11:01:39 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:39 API] Response: {
"total" => 17,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"Default Kickstart Backup\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"os_family" => "Redhat",
"created_at" => "2017-11-07 21:39:01 UTC",
"updated_at" => "2017-12-20 20:09:46 UTC",
"name" => "Default Kickstart Backup",
"id" => 229
}
]
}
[DEBUG 2018-05-07 11:01:39 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:39 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "b8831c73-9a9d-44f6-b5a4-0b2bb04433cc",
:x_download_options => "noopen",
:x_runtime => "0.119861",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=64dffaefdcd853c67036f8427d6f0c31; path=/; secure; HttpOnly"
],
:etag => "W/\"e2814ce25868cc6f686b1115585a5134-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "225",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:39 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:39 API] GET /api/compute_resources
[DEBUG 2018-05-07 11:01:39 API] Params: {
:search => "name = \"datacenter vCenter\""
}
[DEBUG 2018-05-07 11:01:39 API] Headers: {
:params => {
:search => "name = \"datacenter vCenter\""
}
}
[DEBUG 2018-05-07 11:01:39 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:39 API] Response: {
"total" => 3,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"datacenter vCenter\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"description" => "",
"url" => "vfp-vcenter.example.com",
"created_at" => "2017-07-19 20:28:44 UTC",
"updated_at" => "2018-02-23 21:55:16 UTC",
"id" => 1,
"name" => "datacenter vCenter",
"provider" => "Vmware",
"provider_friendly_name" => "VMware",
"user" => "svc_foreman@idm.example.com",
"datacenter" => "VFP",
"server" => "vfp-vcenter.example.com",
"set_console_password" => true,
"caching_enabled" => true
}
]
}
[DEBUG 2018-05-07 11:01:39 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:39 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "e58766df-61ed-4718-a77f-461fe7cf40ff",
:x_download_options => "noopen",
:x_runtime => "0.100454",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=3543bcd0100ac2d1b8143b586a9430ca; path=/; secure; HttpOnly"
],
:etag => "W/\"7c13cb0342de745df69ec53ce2146aac-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "329",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:39 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:39 API] GET /api/hostgroups
[DEBUG 2018-05-07 11:01:39 API] Params: {
:search => "title = \"linux\""
}
[DEBUG 2018-05-07 11:01:39 API] Headers: {
:params => {
:search => "title = \"linux\""
}
}
[DEBUG 2018-05-07 11:01:39 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:39 API] Response: {
"total" => 98,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "title = \"linux\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"subnet_id" => nil,
"subnet_name" => nil,
"operatingsystem_id" => 7,
"operatingsystem_name" => "RHEL Server 7.4",
"domain_id" => 1,
"domain_name" => "example.com",
"environment_id" => 1,
"environment_name" => "production",
"compute_profile_id" => nil,
"compute_profile_name" => nil,
"ancestry" => nil,
"parent_id" => nil,
"parent_name" => nil,
"ptable_id" => 229,
"ptable_name" => "Default Kickstart Backup",
"medium_id" => nil,
"medium_name" => nil,
"subnet6_id" => nil,
"subnet6_name" => nil,
"architecture_id" => 1,
"architecture_name" => "x86_64",
"realm_id" => 1,
"realm_name" => "idm.example.com",
"created_at" => "2017-07-06 20:33:04 UTC",
"updated_at" => "2017-11-15 21:18:09 UTC",
"id" => 1,
"name" => "linux",
"title" => "linux",
"description" => nil,
"puppet_proxy_id" => nil,
"puppet_proxy_name" => nil,
"puppet_ca_proxy_id" => nil,
"puppet_ca_proxy_name" => nil,
"openscap_proxy_id" => nil,
"openscap_proxy_name" => nil,
"puppet_proxy" => nil,
"puppet_ca_proxy" => nil,
"openscap_proxy" => nil
}
]
}
[DEBUG 2018-05-07 11:01:39 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:39 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "62d404d5-ebc6-4216-9c58-3ec443d3a05c",
:x_download_options => "noopen",
:x_runtime => "0.160472",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=5e9d414487bca4b469b8fc94a61ec961; path=/; secure; HttpOnly"
],
:etag => "W/\"f369219c027f45329f42be1cb0a56991-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "450",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:39 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:39 API] GET /api/compute_profiles
[DEBUG 2018-05-07 11:01:39 API] Params: {
:search => "name = \"1x4\""
}
[DEBUG 2018-05-07 11:01:39 API] Headers: {
:params => {
:search => "name = \"1x4\""
}
}
[DEBUG 2018-05-07 11:01:39 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:39 API] Response: {
"total" => 10,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"1x4\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"created_at" => "2017-11-17 18:14:19 UTC",
"updated_at" => "2017-11-17 18:17:40 UTC",
"id" => 23,
"name" => "1x4"
}
]
}
[DEBUG 2018-05-07 11:01:39 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:39 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "1bf2c1e9-f3c1-4006-8ccd-ddd2bd6d1cc9",
:x_download_options => "noopen",
:x_runtime => "0.041288",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=baf06dc00cefc27ea2a93b48a0617b10; path=/; secure; HttpOnly"
],
:etag => "W/\"91c80b0ff05223dc30f2e3694583e7ef-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "184",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:39 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:39 API] GET /api/domains
[DEBUG 2018-05-07 11:01:39 API] Params: {
:search => "name = \"example.com\""
}
[DEBUG 2018-05-07 11:01:39 API] Headers: {
:params => {
:search => "name = \"example.com\""
}
}
[DEBUG 2018-05-07 11:01:39 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:39 API] Response: {
"total" => 4,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"example.com\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"fullname" => "",
"created_at" => "2017-06-29 22:45:24 UTC",
"updated_at" => "2017-10-05 18:58:31 UTC",
"id" => 1,
"name" => "example.com",
"dns_id" => 3,
"dns" => {
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443"
}
}
]
}
[DEBUG 2018-05-07 11:01:39 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:39 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "9d31dc0b-61fb-405f-a0dd-1587c8d9547d",
:x_download_options => "noopen",
:x_runtime => "0.090682",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=0942a32daf32dfddf05ab81b999c3719; path=/; secure; HttpOnly"
],
:etag => "W/\"405b95feb70458e05c9743fd4063cd3e-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "247",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:39 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:39 API] GET /api/smart_proxies
[DEBUG 2018-05-07 11:01:39 API] Params: {
:search => "name = \"puppet-1.example.com\""
}
[DEBUG 2018-05-07 11:01:39 API] Headers: {
:params => {
:search => "name = \"puppet-1.example.com\""
}
}
[DEBUG 2018-05-07 11:01:39 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:39 API] Response: {
"total" => 9,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"puppet-1.example.com\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"created_at" => "2017-07-05 18:17:10 UTC",
"updated_at" => "2018-01-16 20:43:26 UTC",
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443",
"features" => [
[0] {
"name" => "Templates",
"id" => 1
},
[1] {
"name" => "TFTP",
"id" => 3
},
[2] {
"name" => "DNS",
"id" => 5
},
[3] {
"name" => "DHCP",
"id" => 7
},
[4] {
"name" => "Puppet",
"id" => 9
},
[5] {
"name" => "Puppet CA",
"id" => 11
},
[6] {
"name" => "Logs",
"id" => 19
},
[7] {
"name" => "Openscap",
"id" => 29
}
]
}
]
}
[DEBUG 2018-05-07 11:01:39 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:39 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "dcd0f20e-9aa0-4c75-9c83-5c7a18fd12e8",
:x_download_options => "noopen",
:x_runtime => "0.117077",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=9ee1e08b1aad10028d4fe997a24f87b4; path=/; secure; HttpOnly"
],
:etag => "W/\"fdfbdcf7ed7c86b06fbee70b7d213047-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "308",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:39 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:39 API] GET /api/smart_proxies
[DEBUG 2018-05-07 11:01:39 API] Params: {
:search => "name = \"puppet-1.example.com\""
}
[DEBUG 2018-05-07 11:01:39 API] Headers: {
:params => {
:search => "name = \"puppet-1.example.com\""
}
}
[DEBUG 2018-05-07 11:01:39 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[DEBUG 2018-05-07 11:01:40 API] Response: {
"total" => 9,
"subtotal" => 1,
"page" => 1,
"per_page" => 100,
"search" => "name = \"puppet-1.example.com\"",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => [
[0] {
"created_at" => "2017-07-05 18:17:10 UTC",
"updated_at" => "2018-01-16 20:43:26 UTC",
"name" => "puppet-1.example.com",
"id" => 3,
"url" => "https://puppet-1.example.com:8443",
"features" => [
[0] {
"name" => "Templates",
"id" => 1
},
[1] {
"name" => "TFTP",
"id" => 3
},
[2] {
"name" => "DNS",
"id" => 5
},
[3] {
"name" => "DHCP",
"id" => 7
},
[4] {
"name" => "Puppet",
"id" => 9
},
[5] {
"name" => "Puppet CA",
"id" => 11
},
[6] {
"name" => "Logs",
"id" => 19
},
[7] {
"name" => "Openscap",
"id" => 29
}
]
}
]
}
[DEBUG 2018-05-07 11:01:40 API] Response headers: {
:date => "Mon, 07 May 2018 15:01:39 GMT",
:server => "Apache/2.4.6 (Red Hat Enterprise Linux)",
:cache_control => "max-age=0, private, must-revalidate",
:strict_transport_security => "max-age=631152000; includeSubdomains",
:x_permitted_cross_domain_policies => "none",
:x_xss_protection => "1; mode=block",
:x_request_id => "9faa7572-c657-4636-a732-30e71704a844",
:x_download_options => "noopen",
:x_runtime => "0.091516",
:foreman_version => "1.16.1",
:foreman_api_version => "2",
:apipie_checksum => "b5a06e66d2b567fe91088281695de70e",
:content_security_policy => "default-src 'self'; child-src 'self'; connect-src 'self' ws: wss:; img-src 'self' data: *.gravatar.com; script-src 'unsafe-eval' 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self'",
:x_content_type_options => "nosniff",
:x_frame_options => "sameorigin",
:x_powered_by => "Phusion Passenger 5.2.3",
:set_cookie => [
[0] "_session_id=ac841a0202588e79f92cbaa5e869d2ad; path=/; secure; HttpOnly"
],
:etag => "W/\"fdfbdcf7ed7c86b06fbee70b7d213047-gzip\"",
:status => "200 OK",
:vary => "Accept-Encoding",
:content_encoding => "gzip",
:content_length => "308",
:content_type => "application/json; charset=utf-8"
}
[ INFO 2018-05-07 11:01:40 API] Server: https://puppet.example.com:443
[ INFO 2018-05-07 11:01:40 API] POST /api/hosts
[DEBUG 2018-05-07 11:01:40 API] Params: {
"host" => {
"name" => "sandbox-2.example.com",
"location_id" => 3,
"organization_id" => 1,
"environment_id" => 3,
"architecture_id" => 1,
"domain_id" => 1,
"operatingsystem_id" => 7,
"medium_id" => 21,
"ptable_id" => 229,
"compute_resource_id" => 1,
"hostgroup_id" => 1,
"build" => true,
"enabled" => true,
"managed" => true,
"compute_profile_id" => 23,
"compute_attributes" => {
"volumes_attributes" => {}
},
"puppet_proxy_id" => 3,
"puppet_ca_proxy_id" => 3,
"overwrite" => true,
"host_parameters_attributes" => [
[0] {
"name" => "subscription_manager_certpkg_url",
"value" => "http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm"
},
[1] {
"name" => "activation_key",
"value" => "RHEL7-DEV"
}
],
"interfaces_attributes" => [
[0] {
"ip" => "192.168.13.52",
"subnet_id" => "3",
"compute_attributes" => {
"network" => "DEV-SBX-192.168.13.0"
}
}
]
}
}
[DEBUG 2018-05-07 11:01:40 API] Headers: {}
[DEBUG 2018-05-07 11:01:40 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[ERROR 2018-05-07 11:01:53 API] 500 Internal Server Error
[DEBUG 2018-05-07 11:01:53 API] {
"error" => {
"message" => "resource have no errors"
}
}
[DEBUG 2018-05-07 11:01:53 Exception] Using exception handler HammerCLIForeman::ExceptionHandler#handle_internal_error
[ERROR 2018-05-07 11:01:53 Exception] resource have no errors
[ERROR 2018-05-07 11:01:53 Exception]

RestClient::InternalServerError (500 Internal Server Error):
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:in `return!'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:352:in `block in rest_client_call_block'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:493:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:493:in `process_result'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:421:in `block in transmit'
/opt/rh/rh-ruby22/root/usr/share/ruby/net/http.rb:853:in `start'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:413:in `transmit'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:176:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:41:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/resource.rb:67:in `post'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:324:in `call_client'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:240:in `http_call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:190:in `call_action'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/api.rb:185:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-bindings-0.2.0/lib/apipie_bindings/resource.rb:21:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/apipie/command.rb:43:in `send_request'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.11.0/lib/hammer_cli_foreman/commands.rb:166:in `send_request'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/apipie/command.rb:34:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/abstract.rb:29:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/abstract.rb:29:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/lib/hammer_cli/abstract.rb:29:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.11.0/bin/hammer:147:in `<top (required)>'
/bin/hammer:23:in `load'
/bin/hammer:23:in `<main>'
    (1-1/1)