|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Initialization of Hammer CLI (0.15.1) has started...
|
|
[DEBUG [34m2018-12-03T09:38:50[0m [36mInit[0m] Running at ruby 2.5.0-p0
|
|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Configuration from the file /etc/hammer/cli_config.yml has been loaded
|
|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded
|
|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Configuration from the file /etc/hammer/cli.modules.d/foreman_bootdisk.yml has been loaded
|
|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Configuration from the file /etc/hammer/cli.modules.d/foreman_docker.yml has been loaded
|
|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Configuration from the file /etc/hammer/cli.modules.d/foreman_tasks.yml has been loaded
|
|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Configuration from the file /etc/hammer/cli.modules.d/import.yml has been loaded
|
|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Configuration from the file /etc/hammer/cli.modules.d/katello.yml has been loaded
|
|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Configuration from the file /root/.hammer/cli_config.yml has been loaded
|
|
[[32m INFO[0m [34m2018-12-03T09:38:50[0m [36mInit[0m] Configuration from the file /root/.hammer/cli.modules.d/foreman.yml has been loaded
|
|
[DEBUG [34m2018-12-03T09:38:50[0m [36mSSLoptions[0m] SSL options: {
|
|
:ssl_ca_file => "/etc/pki/katello/certs/katello-default-ca.crt",
|
|
:verify_ssl => true
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:50[0m [36mAPI[0m] Global headers: {
|
|
:content_type => "application/json",
|
|
:accept => "application/json;version=2",
|
|
"Accept-Language" => "en"
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:50[0m [36mAPI[0m] Follow redirects: always
|
|
[DEBUG [34m2018-12-03T09:38:50[0m [36mConnection[0m] Registered: foreman
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mModules[0m] Extension module hammer_cli_foreman (0.15.1) loaded.
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mModules[0m] Extension module hammer_cli_foreman_bootdisk (0.1.3) loaded.
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:27: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:45: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:45: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:48: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:49: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:50: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:51: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:51: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:51: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:52: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:52: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:53: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:53: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:54: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:55: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:55: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:55: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:57: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:57: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:57: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:59: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:60: warning: constant ::Fixnum is deprecated
|
|
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:60: warning: constant ::Fixnum is deprecated
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mModules[0m] Extension module hammer_cli_import (0.11.3) loaded.
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mHammerCLI::MainCommand[0m] subcommand organization (HammerCLIForeman::Organization) was removed.
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mHammerCLI::MainCommand[0m] subcommand organization (HammerCLIKatello::Organization) was created.
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mModules[0m] Extension module hammer_cli_katello (0.15.0) loaded.
|
|
[DEBUG [34m2018-12-03T09:38:51[0m [36mInit[0m] Using locale 'en'
|
|
[DEBUG [34m2018-12-03T09:38:51[0m [36mInit[0m] 'mo' files for locale domain 'hammer-cli' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.15.1/locale'
|
|
[DEBUG [34m2018-12-03T09:38:51[0m [36mInit[0m] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.15.1/locale'
|
|
[DEBUG [34m2018-12-03T09:38:51[0m [36mInit[0m] 'mo' files for locale domain 'hammer_cli_foreman_docker' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman_docker-0.0.4/locale'
|
|
[DEBUG [34m2018-12-03T09:38:51[0m [36mInit[0m] 'mo' files for locale domain 'hammer-cli-katello' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_katello-0.15.0/locale'
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mHammerCLI::MainCommand[0m] Called with options: {"option_debug"=>true}
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mHammerCLIKatello::Repository[0m] Called with options: {}
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mHammerCLIKatello::Repository::SyncCommand[0m] Called with options: {"option_id"=>5, "option_source_url"=>"http://epel.mirror.digitalpacific.com.au/7/x86_64/"}
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mAPI[0m] Server: https://vmpr-res-utils.unix.company.com
|
|
[[32m INFO[0m [34m2018-12-03T09:38:51[0m [36mAPI[0m] POST /katello/api/repositories/5/sync
|
|
[DEBUG [34m2018-12-03T09:38:51[0m [36mAPI[0m] Params: {
|
|
"source_url" => "http://epel.mirror.digitalpacific.com.au/7/x86_64/"
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:51[0m [36mAPI[0m] Headers: {}
|
|
[DEBUG [34m2018-12-03T09:38:51[0m [36mAPI[0m] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
|
|
[DEBUG [34m2018-12-03T09:38:52[0m [36mAPI[0m] Response: {
|
|
"id" => "050247d8-1738-49e1-88e0-738fd5ecbac0",
|
|
"label" => "Actions::Katello::Repository::Sync",
|
|
"pending" => true,
|
|
"action" => "Synchronize repository 'epel'; product 'Extra Packages for Enterprise Linux 7'; organization 'Org.Org'",
|
|
"username" => "admin",
|
|
"started_at" => "2018-12-02 22:38:51 UTC",
|
|
"ended_at" => nil,
|
|
"state" => "planned",
|
|
"result" => "pending",
|
|
"progress" => 0.0,
|
|
"input" => {
|
|
"repository" => {
|
|
"id" => 5,
|
|
"name" => "epel",
|
|
"label" => "epel"
|
|
},
|
|
"product" => {
|
|
"id" => 2,
|
|
"name" => "Extra Packages for Enterprise Linux 7",
|
|
"label" => "Extra_Packages_for_Enterprise_Linux_7_-_x86_64",
|
|
"cp_id" => "1464869283627"
|
|
},
|
|
"provider" => {
|
|
"id" => 1,
|
|
"name" => "Anonymous"
|
|
},
|
|
"organization" => {
|
|
"id" => 1,
|
|
"name" => "Org.Org",
|
|
"label" => "Org_Org"
|
|
},
|
|
"services_checked" => [
|
|
[0] "pulp",
|
|
[1] "pulp_auth"
|
|
],
|
|
"id" => 5,
|
|
"sync_result" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => []
|
|
},
|
|
"skip_metadata_check" => false,
|
|
"validate_contents" => false,
|
|
"contents_changed" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => [
|
|
[0] "contents_changed"
|
|
]
|
|
},
|
|
"current_user_id" => 3,
|
|
"current_organization_id" => nil,
|
|
"current_location_id" => nil
|
|
},
|
|
"output" => {},
|
|
"humanized" => {
|
|
"action" => "Synchronize",
|
|
"input" => [
|
|
[0] [
|
|
[0] "repository",
|
|
[1] {
|
|
"text" => "repository 'epel'",
|
|
"link" => nil
|
|
}
|
|
],
|
|
[1] [
|
|
[0] "product",
|
|
[1] {
|
|
"text" => "product 'Extra Packages for Enterprise Linux 7'",
|
|
"link" => "/products/2/"
|
|
}
|
|
],
|
|
[2] [
|
|
[0] "organization",
|
|
[1] {
|
|
"text" => "organization 'Org.Org'",
|
|
"link" => "/organizations/1/edit"
|
|
}
|
|
]
|
|
],
|
|
"output" => "",
|
|
"errors" => []
|
|
},
|
|
"cli_example" => nil
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:52[0m [36mAPI[0m] Response headers: {
|
|
:date => "Sun, 02 Dec 2018 22:38:51 GMT",
|
|
:server => "Apache/2.4.6 (CentOS)",
|
|
:foreman_version => "1.20.0",
|
|
:foreman_api_version => "2",
|
|
:apipie_checksum => "2f913986da6db1fa8c3d1edc704d157ab2f17390",
|
|
:cache_control => "no-cache",
|
|
:x_request_id => "b0dcda67-5aba-461c-b9c1-7d5a4926904c",
|
|
:x_runtime => "0.534131",
|
|
:strict_transport_security => "max-age=631139040; includeSubdomains",
|
|
:x_frame_options => "sameorigin",
|
|
:x_content_type_options => "nosniff",
|
|
:x_xss_protection => "1; mode=block",
|
|
:x_download_options => "noopen",
|
|
:x_permitted_cross_domain_policies => "none",
|
|
: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_powered_by => "Phusion Passenger 4.0.53",
|
|
:set_cookie => [
|
|
[0] "request_method=POST; path=/; secure; HttpOnly; SameSite=Lax",
|
|
[1] "_session_id=ec70eff56f482fe36414d0c0ac469b12; path=/; secure; HttpOnly; SameSite=Lax"
|
|
],
|
|
:status => "202 Accepted",
|
|
:transfer_encoding => "chunked",
|
|
:content_type => "application/json; charset=utf-8"
|
|
}
|
|
[[32m INFO[0m [34m2018-12-03T09:38:52[0m [36mAPI[0m] Server: https://vmpr-res-utils.unix.company.com
|
|
[[32m INFO[0m [34m2018-12-03T09:38:52[0m [36mAPI[0m] GET /foreman_tasks/api/tasks/050247d8-1738-49e1-88e0-738fd5ecbac0
|
|
[DEBUG [34m2018-12-03T09:38:52[0m [36mAPI[0m] Params: {}
|
|
[DEBUG [34m2018-12-03T09:38:52[0m [36mAPI[0m] Headers: {
|
|
:params => {}
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:52[0m [36mAPI[0m] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
|
|
[DEBUG [34m2018-12-03T09:38:52[0m [36mAPI[0m] Response: {
|
|
"id" => "050247d8-1738-49e1-88e0-738fd5ecbac0",
|
|
"label" => "Actions::Katello::Repository::Sync",
|
|
"pending" => true,
|
|
"action" => "Synchronize repository 'epel'; product 'Extra Packages for Enterprise Linux 7'; organization 'Org.Org'",
|
|
"username" => "admin",
|
|
"started_at" => "2018-12-02 22:38:51 UTC",
|
|
"ended_at" => nil,
|
|
"state" => "running",
|
|
"result" => "pending",
|
|
"progress" => 0.0,
|
|
"input" => {
|
|
"repository" => {
|
|
"id" => 5,
|
|
"name" => "epel",
|
|
"label" => "epel"
|
|
},
|
|
"product" => {
|
|
"id" => 2,
|
|
"name" => "Extra Packages for Enterprise Linux 7",
|
|
"label" => "Extra_Packages_for_Enterprise_Linux_7_-_x86_64",
|
|
"cp_id" => "1464869283627"
|
|
},
|
|
"provider" => {
|
|
"id" => 1,
|
|
"name" => "Anonymous"
|
|
},
|
|
"organization" => {
|
|
"id" => 1,
|
|
"name" => "Org.Org",
|
|
"label" => "Org_Org"
|
|
},
|
|
"services_checked" => [
|
|
[0] "pulp",
|
|
[1] "pulp_auth"
|
|
],
|
|
"id" => 5,
|
|
"sync_result" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => []
|
|
},
|
|
"skip_metadata_check" => false,
|
|
"validate_contents" => false,
|
|
"contents_changed" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => [
|
|
[0] "contents_changed"
|
|
]
|
|
},
|
|
"current_user_id" => 3,
|
|
"current_organization_id" => nil,
|
|
"current_location_id" => nil
|
|
},
|
|
"output" => {},
|
|
"humanized" => {
|
|
"action" => "Synchronize",
|
|
"input" => [
|
|
[0] [
|
|
[0] "repository",
|
|
[1] {
|
|
"text" => "repository 'epel'",
|
|
"link" => nil
|
|
}
|
|
],
|
|
[1] [
|
|
[0] "product",
|
|
[1] {
|
|
"text" => "product 'Extra Packages for Enterprise Linux 7'",
|
|
"link" => "/products/2/"
|
|
}
|
|
],
|
|
[2] [
|
|
[0] "organization",
|
|
[1] {
|
|
"text" => "organization 'Org.Org'",
|
|
"link" => "/organizations/1/edit"
|
|
}
|
|
]
|
|
],
|
|
"output" => "",
|
|
"errors" => []
|
|
},
|
|
"cli_example" => nil
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:52[0m [36mAPI[0m] Response headers: {
|
|
:date => "Sun, 02 Dec 2018 22:38:52 GMT",
|
|
:server => "Apache/2.4.6 (CentOS)",
|
|
:foreman_version => "1.20.0",
|
|
:foreman_api_version => "2",
|
|
:apipie_checksum => "2f913986da6db1fa8c3d1edc704d157ab2f17390",
|
|
:cache_control => "max-age=0, private, must-revalidate",
|
|
:x_request_id => "2e31cfb8-0724-4398-a870-03a469d15880",
|
|
:x_runtime => "0.077207",
|
|
:strict_transport_security => "max-age=631139040; includeSubdomains",
|
|
:x_frame_options => "sameorigin",
|
|
:x_content_type_options => "nosniff",
|
|
:x_xss_protection => "1; mode=block",
|
|
:x_download_options => "noopen",
|
|
:x_permitted_cross_domain_policies => "none",
|
|
: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_powered_by => "Phusion Passenger 4.0.53",
|
|
:set_cookie => [
|
|
[0] "_session_id=74658f98cbf697daf785767ceb8a17ec; path=/; secure; HttpOnly; SameSite=Lax"
|
|
],
|
|
:etag => "W/\"4625e739e7ab9389a6ff8ec3eb53d73c-gzip\"",
|
|
:status => "200 OK",
|
|
:vary => "Accept-Encoding",
|
|
:content_encoding => "gzip",
|
|
:content_length => "699",
|
|
:content_type => "application/json; charset=utf-8"
|
|
}
|
|
Task 050247d8-1738-49e1-88e0-738fd5ecbac0 running: 0.0/1, 0%, elapsed: 00:00:00
|
|
[[32m INFO[0m [34m2018-12-03T09:38:54[0m [36mAPI[0m] Server: https://vmpr-res-utils.unix.company.com
|
|
[[32m INFO[0m [34m2018-12-03T09:38:54[0m [36mAPI[0m] GET /foreman_tasks/api/tasks/050247d8-1738-49e1-88e0-738fd5ecbac0
|
|
[DEBUG [34m2018-12-03T09:38:54[0m [36mAPI[0m] Params: {}
|
|
[DEBUG [34m2018-12-03T09:38:54[0m [36mAPI[0m] Headers: {
|
|
:params => {}
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:54[0m [36mAPI[0m] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
|
|
[DEBUG [34m2018-12-03T09:38:54[0m [36mAPI[0m] Response: {
|
|
"id" => "050247d8-1738-49e1-88e0-738fd5ecbac0",
|
|
"label" => "Actions::Katello::Repository::Sync",
|
|
"pending" => true,
|
|
"action" => "Synchronize repository 'epel'; product 'Extra Packages for Enterprise Linux 7'; organization 'Org.Org'",
|
|
"username" => "admin",
|
|
"started_at" => "2018-12-02 22:38:51 UTC",
|
|
"ended_at" => nil,
|
|
"state" => "running",
|
|
"result" => "pending",
|
|
"progress" => 0.004761904761904762,
|
|
"input" => {
|
|
"repository" => {
|
|
"id" => 5,
|
|
"name" => "epel",
|
|
"label" => "epel"
|
|
},
|
|
"product" => {
|
|
"id" => 2,
|
|
"name" => "Extra Packages for Enterprise Linux 7",
|
|
"label" => "Extra_Packages_for_Enterprise_Linux_7_-_x86_64",
|
|
"cp_id" => "1464869283627"
|
|
},
|
|
"provider" => {
|
|
"id" => 1,
|
|
"name" => "Anonymous"
|
|
},
|
|
"organization" => {
|
|
"id" => 1,
|
|
"name" => "Org.Org",
|
|
"label" => "Org_Org"
|
|
},
|
|
"services_checked" => [
|
|
[0] "pulp",
|
|
[1] "pulp_auth"
|
|
],
|
|
"id" => 5,
|
|
"sync_result" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => []
|
|
},
|
|
"skip_metadata_check" => false,
|
|
"validate_contents" => false,
|
|
"contents_changed" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => [
|
|
[0] "contents_changed"
|
|
]
|
|
},
|
|
"current_user_id" => 3,
|
|
"current_organization_id" => nil,
|
|
"current_location_id" => nil
|
|
},
|
|
"output" => {},
|
|
"humanized" => {
|
|
"action" => "Synchronize",
|
|
"input" => [
|
|
[0] [
|
|
[0] "repository",
|
|
[1] {
|
|
"text" => "repository 'epel'",
|
|
"link" => nil
|
|
}
|
|
],
|
|
[1] [
|
|
[0] "product",
|
|
[1] {
|
|
"text" => "product 'Extra Packages for Enterprise Linux 7'",
|
|
"link" => "/products/2/"
|
|
}
|
|
],
|
|
[2] [
|
|
[0] "organization",
|
|
[1] {
|
|
"text" => "organization 'Org.Org'",
|
|
"link" => "/organizations/1/edit"
|
|
}
|
|
]
|
|
],
|
|
"output" => "",
|
|
"errors" => []
|
|
},
|
|
"cli_example" => nil
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:54[0m [36mAPI[0m] Response headers: {
|
|
:date => "Sun, 02 Dec 2018 22:38:54 GMT",
|
|
:server => "Apache/2.4.6 (CentOS)",
|
|
:foreman_version => "1.20.0",
|
|
:foreman_api_version => "2",
|
|
:apipie_checksum => "2f913986da6db1fa8c3d1edc704d157ab2f17390",
|
|
:cache_control => "max-age=0, private, must-revalidate",
|
|
:x_request_id => "01a5e69e-9bfd-41d9-a97e-b98092a622ef",
|
|
:x_runtime => "0.068097",
|
|
:strict_transport_security => "max-age=631139040; includeSubdomains",
|
|
:x_frame_options => "sameorigin",
|
|
:x_content_type_options => "nosniff",
|
|
:x_xss_protection => "1; mode=block",
|
|
:x_download_options => "noopen",
|
|
:x_permitted_cross_domain_policies => "none",
|
|
: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_powered_by => "Phusion Passenger 4.0.53",
|
|
:set_cookie => [
|
|
[0] "_session_id=939691b7065883fd9d38aeacd1ec1db9; path=/; secure; HttpOnly; SameSite=Lax"
|
|
],
|
|
:etag => "W/\"45c7733128e8a2245dc4c011aa52dd3b-gzip\"",
|
|
:status => "200 OK",
|
|
:vary => "Accept-Encoding",
|
|
:content_encoding => "gzip",
|
|
:content_length => "707",
|
|
:content_type => "application/json; charset=utf-8"
|
|
}
|
|
Task 050247d8-1738-49e1-88e0-738fd5ecbac0 running: 0.004761904761904762/1, 0%, 0.0/s, elapsed: 00:00:02, ETA: 00:07:15
|
|
[[32m INFO[0m [34m2018-12-03T09:38:56[0m [36mAPI[0m] Server: https://vmpr-res-utils.unix.company.com
|
|
[[32m INFO[0m [34m2018-12-03T09:38:56[0m [36mAPI[0m] GET /foreman_tasks/api/tasks/050247d8-1738-49e1-88e0-738fd5ecbac0
|
|
[DEBUG [34m2018-12-03T09:38:56[0m [36mAPI[0m] Params: {}
|
|
[DEBUG [34m2018-12-03T09:38:56[0m [36mAPI[0m] Headers: {
|
|
:params => {}
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:56[0m [36mAPI[0m] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
|
|
[DEBUG [34m2018-12-03T09:38:56[0m [36mAPI[0m] Response: {
|
|
"id" => "050247d8-1738-49e1-88e0-738fd5ecbac0",
|
|
"label" => "Actions::Katello::Repository::Sync",
|
|
"pending" => true,
|
|
"action" => "Synchronize repository 'epel'; product 'Extra Packages for Enterprise Linux 7'; organization 'Org.Org'",
|
|
"username" => "admin",
|
|
"started_at" => "2018-12-02 22:38:51 UTC",
|
|
"ended_at" => nil,
|
|
"state" => "running",
|
|
"result" => "pending",
|
|
"progress" => 0.004761904761904762,
|
|
"input" => {
|
|
"repository" => {
|
|
"id" => 5,
|
|
"name" => "epel",
|
|
"label" => "epel"
|
|
},
|
|
"product" => {
|
|
"id" => 2,
|
|
"name" => "Extra Packages for Enterprise Linux 7",
|
|
"label" => "Extra_Packages_for_Enterprise_Linux_7_-_x86_64",
|
|
"cp_id" => "1464869283627"
|
|
},
|
|
"provider" => {
|
|
"id" => 1,
|
|
"name" => "Anonymous"
|
|
},
|
|
"organization" => {
|
|
"id" => 1,
|
|
"name" => "Org.Org",
|
|
"label" => "Org_Org"
|
|
},
|
|
"services_checked" => [
|
|
[0] "pulp",
|
|
[1] "pulp_auth"
|
|
],
|
|
"id" => 5,
|
|
"sync_result" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => []
|
|
},
|
|
"skip_metadata_check" => false,
|
|
"validate_contents" => false,
|
|
"contents_changed" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => [
|
|
[0] "contents_changed"
|
|
]
|
|
},
|
|
"current_user_id" => 3,
|
|
"current_organization_id" => nil,
|
|
"current_location_id" => nil
|
|
},
|
|
"output" => {},
|
|
"humanized" => {
|
|
"action" => "Synchronize",
|
|
"input" => [
|
|
[0] [
|
|
[0] "repository",
|
|
[1] {
|
|
"text" => "repository 'epel'",
|
|
"link" => nil
|
|
}
|
|
],
|
|
[1] [
|
|
[0] "product",
|
|
[1] {
|
|
"text" => "product 'Extra Packages for Enterprise Linux 7'",
|
|
"link" => "/products/2/"
|
|
}
|
|
],
|
|
[2] [
|
|
[0] "organization",
|
|
[1] {
|
|
"text" => "organization 'Org.Org'",
|
|
"link" => "/organizations/1/edit"
|
|
}
|
|
]
|
|
],
|
|
"output" => "Processing metadata",
|
|
"errors" => []
|
|
},
|
|
"cli_example" => nil
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:56[0m [36mAPI[0m] Response headers: {
|
|
:date => "Sun, 02 Dec 2018 22:38:56 GMT",
|
|
:server => "Apache/2.4.6 (CentOS)",
|
|
:foreman_version => "1.20.0",
|
|
:foreman_api_version => "2",
|
|
:apipie_checksum => "2f913986da6db1fa8c3d1edc704d157ab2f17390",
|
|
:cache_control => "max-age=0, private, must-revalidate",
|
|
:x_request_id => "3099891c-d79b-4554-b96d-e426c092f247",
|
|
:x_runtime => "0.080765",
|
|
:strict_transport_security => "max-age=631139040; includeSubdomains",
|
|
:x_frame_options => "sameorigin",
|
|
:x_content_type_options => "nosniff",
|
|
:x_xss_protection => "1; mode=block",
|
|
:x_download_options => "noopen",
|
|
:x_permitted_cross_domain_policies => "none",
|
|
: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_powered_by => "Phusion Passenger 4.0.53",
|
|
:set_cookie => [
|
|
[0] "_session_id=aa7ef51b3948eff32e0536fcc2f15d44; path=/; secure; HttpOnly; SameSite=Lax"
|
|
],
|
|
:etag => "W/\"96bd31fb0f2a62a6f028768d6e70bea2-gzip\"",
|
|
:status => "200 OK",
|
|
:vary => "Accept-Encoding",
|
|
:content_encoding => "gzip",
|
|
:content_length => "716",
|
|
:content_type => "application/json; charset=utf-8"
|
|
}
|
|
Task 050247d8-1738-49e1-88e0-738fd5ecbac0 running: 0.004761904761904762/1, 0%, 0.0/s, elapsed: 00:00:04, ETA: 00:14:30
|
|
[[32m INFO[0m [34m2018-12-03T09:38:58[0m [36mAPI[0m] Server: https://vmpr-res-utils.unix.company.com
|
|
[[32m INFO[0m [34m2018-12-03T09:38:58[0m [36mAPI[0m] GET /foreman_tasks/api/tasks/050247d8-1738-49e1-88e0-738fd5ecbac0
|
|
[DEBUG [34m2018-12-03T09:38:58[0m [36mAPI[0m] Params: {}
|
|
[DEBUG [34m2018-12-03T09:38:58[0m [36mAPI[0m] Headers: {
|
|
:params => {}
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:58[0m [36mAPI[0m] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
|
|
[DEBUG [34m2018-12-03T09:38:58[0m [36mAPI[0m] Response: {
|
|
"id" => "050247d8-1738-49e1-88e0-738fd5ecbac0",
|
|
"label" => "Actions::Katello::Repository::Sync",
|
|
"pending" => true,
|
|
"action" => "Synchronize repository 'epel'; product 'Extra Packages for Enterprise Linux 7'; organization 'Org.Org'",
|
|
"username" => "admin",
|
|
"started_at" => "2018-12-02 22:38:51 UTC",
|
|
"ended_at" => nil,
|
|
"state" => "running",
|
|
"result" => "pending",
|
|
"progress" => 0.004761904761904762,
|
|
"input" => {
|
|
"repository" => {
|
|
"id" => 5,
|
|
"name" => "epel",
|
|
"label" => "epel"
|
|
},
|
|
"product" => {
|
|
"id" => 2,
|
|
"name" => "Extra Packages for Enterprise Linux 7",
|
|
"label" => "Extra_Packages_for_Enterprise_Linux_7_-_x86_64",
|
|
"cp_id" => "1464869283627"
|
|
},
|
|
"provider" => {
|
|
"id" => 1,
|
|
"name" => "Anonymous"
|
|
},
|
|
"organization" => {
|
|
"id" => 1,
|
|
"name" => "Org.Org",
|
|
"label" => "Org_Org"
|
|
},
|
|
"services_checked" => [
|
|
[0] "pulp",
|
|
[1] "pulp_auth"
|
|
],
|
|
"id" => 5,
|
|
"sync_result" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => []
|
|
},
|
|
"skip_metadata_check" => false,
|
|
"validate_contents" => false,
|
|
"contents_changed" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => [
|
|
[0] "contents_changed"
|
|
]
|
|
},
|
|
"current_user_id" => 3,
|
|
"current_organization_id" => nil,
|
|
"current_location_id" => nil
|
|
},
|
|
"output" => {},
|
|
"humanized" => {
|
|
"action" => "Synchronize",
|
|
"input" => [
|
|
[0] [
|
|
[0] "repository",
|
|
[1] {
|
|
"text" => "repository 'epel'",
|
|
"link" => nil
|
|
}
|
|
],
|
|
[1] [
|
|
[0] "product",
|
|
[1] {
|
|
"text" => "product 'Extra Packages for Enterprise Linux 7'",
|
|
"link" => "/products/2/"
|
|
}
|
|
],
|
|
[2] [
|
|
[0] "organization",
|
|
[1] {
|
|
"text" => "organization 'Org.Org'",
|
|
"link" => "/organizations/1/edit"
|
|
}
|
|
]
|
|
],
|
|
"output" => "Processing metadata.",
|
|
"errors" => []
|
|
},
|
|
"cli_example" => nil
|
|
}
|
|
[DEBUG [34m2018-12-03T09:38:58[0m [36mAPI[0m] Response headers: {
|
|
:date => "Sun, 02 Dec 2018 22:38:58 GMT",
|
|
:server => "Apache/2.4.6 (CentOS)",
|
|
:foreman_version => "1.20.0",
|
|
:foreman_api_version => "2",
|
|
:apipie_checksum => "2f913986da6db1fa8c3d1edc704d157ab2f17390",
|
|
:cache_control => "max-age=0, private, must-revalidate",
|
|
:x_request_id => "1ad077c0-d2bc-410a-aff5-40a4e278095d",
|
|
:x_runtime => "0.059449",
|
|
:strict_transport_security => "max-age=631139040; includeSubdomains",
|
|
:x_frame_options => "sameorigin",
|
|
:x_content_type_options => "nosniff",
|
|
:x_xss_protection => "1; mode=block",
|
|
:x_download_options => "noopen",
|
|
:x_permitted_cross_domain_policies => "none",
|
|
: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_powered_by => "Phusion Passenger 4.0.53",
|
|
:set_cookie => [
|
|
[0] "_session_id=c0454ac17a5756be0d66c9b0d8618007; path=/; secure; HttpOnly; SameSite=Lax"
|
|
],
|
|
:etag => "W/\"ee19fd196af82dc211f27f2a3913485d-gzip\"",
|
|
:status => "200 OK",
|
|
:vary => "Accept-Encoding",
|
|
:content_encoding => "gzip",
|
|
:content_length => "717",
|
|
:content_type => "application/json; charset=utf-8"
|
|
}
|
|
Task 050247d8-1738-49e1-88e0-738fd5ecbac0 running: 0.004761904761904762/1, 0%, 0.0/s, elapsed: 00:00:06, ETA: 00:21:45
|
|
[[32m INFO[0m [34m2018-12-03T09:39:00[0m [36mAPI[0m] Server: https://vmpr-res-utils.unix.company.com
|
|
[[32m INFO[0m [34m2018-12-03T09:39:00[0m [36mAPI[0m] GET /foreman_tasks/api/tasks/050247d8-1738-49e1-88e0-738fd5ecbac0
|
|
[DEBUG [34m2018-12-03T09:39:00[0m [36mAPI[0m] Params: {}
|
|
[DEBUG [34m2018-12-03T09:39:00[0m [36mAPI[0m] Headers: {
|
|
:params => {}
|
|
}
|
|
[DEBUG [34m2018-12-03T09:39:00[0m [36mAPI[0m] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
|
|
[DEBUG [34m2018-12-03T09:39:00[0m [36mAPI[0m] Response: {
|
|
"id" => "050247d8-1738-49e1-88e0-738fd5ecbac0",
|
|
"label" => "Actions::Katello::Repository::Sync",
|
|
"pending" => false,
|
|
"action" => "Synchronize repository 'epel'; product 'Extra Packages for Enterprise Linux 7'; organization 'Org.Org'",
|
|
"username" => "admin",
|
|
"started_at" => "2018-12-02 22:38:51 UTC",
|
|
"ended_at" => "2018-12-02 22:38:59 UTC",
|
|
"state" => "stopped",
|
|
"result" => "warning",
|
|
"progress" => 1.0,
|
|
"input" => {
|
|
"repository" => {
|
|
"id" => 5,
|
|
"name" => "epel",
|
|
"label" => "epel"
|
|
},
|
|
"product" => {
|
|
"id" => 2,
|
|
"name" => "Extra Packages for Enterprise Linux 7",
|
|
"label" => "Extra_Packages_for_Enterprise_Linux_7_-_x86_64",
|
|
"cp_id" => "1464869283627"
|
|
},
|
|
"provider" => {
|
|
"id" => 1,
|
|
"name" => "Anonymous"
|
|
},
|
|
"organization" => {
|
|
"id" => 1,
|
|
"name" => "Org.Org",
|
|
"label" => "Org_Org"
|
|
},
|
|
"services_checked" => [
|
|
[0] "pulp",
|
|
[1] "pulp_auth"
|
|
],
|
|
"id" => 5,
|
|
"sync_result" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => []
|
|
},
|
|
"skip_metadata_check" => false,
|
|
"validate_contents" => false,
|
|
"contents_changed" => {
|
|
"class" => "Dynflow::ExecutionPlan::OutputReference",
|
|
"execution_plan_id" => "168f0858-c780-45df-b698-941873542d91",
|
|
"step_id" => 3,
|
|
"action_id" => 2,
|
|
"subkeys" => [
|
|
[0] "contents_changed"
|
|
]
|
|
},
|
|
"current_user_id" => 3,
|
|
"current_organization_id" => nil,
|
|
"current_location_id" => nil
|
|
},
|
|
"output" => {},
|
|
"humanized" => {
|
|
"action" => "Synchronize",
|
|
"input" => [
|
|
[0] [
|
|
[0] "repository",
|
|
[1] {
|
|
"text" => "repository 'epel'",
|
|
"link" => nil
|
|
}
|
|
],
|
|
[1] [
|
|
[0] "product",
|
|
[1] {
|
|
"text" => "product 'Extra Packages for Enterprise Linux 7'",
|
|
"link" => "/products/2/"
|
|
}
|
|
],
|
|
[2] [
|
|
[0] "organization",
|
|
[1] {
|
|
"text" => "organization 'Org.Org'",
|
|
"link" => "/organizations/1/edit"
|
|
}
|
|
]
|
|
],
|
|
"output" => "No new packages.",
|
|
"errors" => [
|
|
[0] "RPM1004: Error retrieving metadata: Not Found"
|
|
]
|
|
},
|
|
"cli_example" => nil
|
|
}
|
|
[DEBUG [34m2018-12-03T09:39:00[0m [36mAPI[0m] Response headers: {
|
|
:date => "Sun, 02 Dec 2018 22:39:00 GMT",
|
|
:server => "Apache/2.4.6 (CentOS)",
|
|
:foreman_version => "1.20.0",
|
|
:foreman_api_version => "2",
|
|
:apipie_checksum => "2f913986da6db1fa8c3d1edc704d157ab2f17390",
|
|
:cache_control => "max-age=0, private, must-revalidate",
|
|
:x_request_id => "89a72c51-62d4-4a6b-9dce-1aa034765c72",
|
|
:x_runtime => "0.074374",
|
|
:strict_transport_security => "max-age=631139040; includeSubdomains",
|
|
:x_frame_options => "sameorigin",
|
|
:x_content_type_options => "nosniff",
|
|
:x_xss_protection => "1; mode=block",
|
|
:x_download_options => "noopen",
|
|
:x_permitted_cross_domain_policies => "none",
|
|
: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_powered_by => "Phusion Passenger 4.0.53",
|
|
:set_cookie => [
|
|
[0] "_session_id=407272cd478725ac01ec47e8f209f59d; path=/; secure; HttpOnly; SameSite=Lax"
|
|
],
|
|
:etag => "W/\"b6fd1a9b312d6ef14b0db6f5162ad955-gzip\"",
|
|
:status => "200 OK",
|
|
:vary => "Accept-Encoding",
|
|
:content_encoding => "gzip",
|
|
:content_length => "739",
|
|
:content_type => "application/json; charset=utf-8"
|
|
}
|
|
Task 050247d8-1738-49e1-88e0-738fd5ecbac0 warning: 1.0/1, 100%, 0.1/s, elapsed: 00:00:08
|
|
Task 050247d8-1738-49e1-88e0-738fd5ecbac0 warning: 1.0/1, 100%, 0.1/s, elapsed: 00:00:08
|
|
Error: RPM1004: Error retrieving metadata: Not Found
|
|
No new packages.
|