Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1455823 Details for
Bug 1597046
can not create a content view: one of repositories not found.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
hammer -d -u admin -p changeme content-view create --organization 'Default Organization' --product 'Red Hat Enterprise Linux Server' --repositories 'Red Hat Enterprise Linux 7 Server RPMs x86_64 7Serv
file_1597046.txt (text/plain), 17.88 KB, created by
Jan Hutař
on 2018-07-01 21:00:51 UTC
(
hide
)
Description:
hammer -d -u admin -p changeme content-view create --organization 'Default Organization' --product 'Red Hat Enterprise Linux Server' --repositories 'Red Hat Enterprise Linux 7 Server RPMs x86_64 7Serv
Filename:
MIME Type:
Creator:
Jan Hutař
Created:
2018-07-01 21:00:51 UTC
Size:
17.88 KB
patch
obsolete
>[root@satellite ~]# hammer -d -u admin -p changeme content-view create --organization 'Default Organization' --product 'Red Hat Enterprise Linux Server' --repositories 'Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server','Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server','Red Hat Enterprise Linux 7 Server - Optional RPMs x86_64 7Server' --name 'BenchContentViewXYZ' >[ INFO 2018-07-01T16:52:12 Init] Initialization of Hammer CLI (0.13.0) has started... >[DEBUG 2018-07-01T16:52:12 Init] Running at ruby 2.4.3-p205 >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/csv.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_admin.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_admin_logging_core.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_admin_logging_katello.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_bootdisk.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_discovery.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_docker.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_openscap.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_remote_execution.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_tasks.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_templates.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_virt_who_configure.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /etc/hammer/cli.modules.d/katello.yml has been loaded >[ INFO 2018-07-01T16:52:12 Init] Configuration from the file /root/.hammer/cli.modules.d/foreman.yml has been loaded >[DEBUG 2018-07-01T16:52:12 SSLoptions] SSL options: { > :ssl_ca_file => "/etc/pki/katello/certs/katello-server-ca.crt", > :verify_ssl => true >} >[DEBUG 2018-07-01T16:52:12 API] Global headers: { > :content_type => "application/json", > :accept => "application/json;version=2", > "Accept-Language" => "en" >} >[DEBUG 2018-07-01T16:52:12 API] Follow redirects: never >[DEBUG 2018-07-01T16:52:12 Connection] Registered: foreman >[ INFO 2018-07-01T16:52:12 Modules] Extension module hammer_cli_foreman (0.13.0) loaded. >[ INFO 2018-07-01T16:52:12 Modules] Extension module hammer_cli_foreman_admin (0.0.8) loaded. >[ INFO 2018-07-01T16:52:12 Modules] Extension module hammer_cli_foreman_bootdisk (0.1.3.3) loaded. >[ INFO 2018-07-01T16:52:12 Modules] Extension module hammer_cli_foreman_discovery (1.0.0) loaded. >[ INFO 2018-07-01T16:52:13 Modules] Extension module hammer_cli_foreman_openscap (0.1.6) loaded. >[ INFO 2018-07-01T16:52:13 Modules] Extension module hammer_cli_foreman_templates (0.1.0) loaded. >[ INFO 2018-07-01T16:52:13 HammerCLI::MainCommand] subcommand organization (HammerCLIForeman::Organization) was removed. >[ INFO 2018-07-01T16:52:13 HammerCLI::MainCommand] subcommand organization (HammerCLIKatello::Organization) was created. >[ INFO 2018-07-01T16:52:13 Modules] Extension module hammer_cli_katello (0.13.1) loaded. >[DEBUG 2018-07-01T16:52:13 Init] Using locale 'en' >[DEBUG 2018-07-01T16:52:13 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/locale' >[DEBUG 2018-07-01T16:52:13 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/locale' >[DEBUG 2018-07-01T16:52:13 Init] 'mo' files for locale domain 'hammer-cli-csv' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_csv-2.3.1/locale' >[DEBUG 2018-07-01T16:52:13 Init] '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.6/locale' >[DEBUG 2018-07-01T16:52:13 Init] 'mo' files for locale domain 'hammer-cli-foreman-virt-who-configure' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman_virt_who_configure-0.0.3/locale' >[DEBUG 2018-07-01T16:52:13 Init] 'mo' files for locale domain 'hammer-cli-katello' loaded from '/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_katello-0.13.1/locale' >[ INFO 2018-07-01T16:52:13 HammerCLI::MainCommand] Called with options: {"option_debug"=>true, "option_username"=>"admin", "option_password"=>"***"} >[ INFO 2018-07-01T16:52:13 HammerCLIKatello::ContentView] Called with options: {} >[ INFO 2018-07-01T16:52:13 API] Server: https://satellite.satperf.local >[ INFO 2018-07-01T16:52:13 API] GET /katello/api/organizations >[DEBUG 2018-07-01T16:52:13 API] Params: { > :search => "name = \"Default Organization\"" >} >[DEBUG 2018-07-01T16:52:13 API] Headers: { > :params => { > :search => "name = \"Default Organization\"" > } >} >[DEBUG 2018-07-01T16:52:13 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth >[DEBUG 2018-07-01T16:52:13 API] Response: { > "total" => 1, > "subtotal" => 1, > "page" => 1, > "per_page" => 20, > "search" => "name = \"Default Organization\"", > "sort" => { > "by" => nil, > "order" => nil > }, > "results" => [ > [0] { > "label" => "Default_Organization", > "created_at" => "2018-07-01 14:21:11 UTC", > "updated_at" => "2018-07-01 15:06:21 UTC", > "id" => 1, > "name" => "Default Organization", > "title" => "Default Organization", > "description" => nil > } > ] >} >[DEBUG 2018-07-01T16:52:13 API] Response headers: { > :date => "Sun, 01 Jul 2018 20:52:13 GMT", > :server => "Apache/2.4.6 (Red Hat Enterprise Linux)", > :foreman_version => "1.18.0-RC2", > :foreman_api_version => "2", > :apipie_checksum => "22eb09e74e70eb15e462da28c25802175215fa57", > :cache_control => "max-age=0, private, must-revalidate", > :x_request_id => "433d6bd5-0ef2-4773-a4e3-e2a100f83976", > :x_runtime => "0.064870", > :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'", > :strict_transport_security => "max-age=631139040; includeSubdomains", > :x_content_type_options => "nosniff", > :x_download_options => "noopen", > :x_frame_options => "sameorigin", > :x_permitted_cross_domain_policies => "none", > :x_xss_protection => "1; mode=block", > :x_powered_by => "Phusion Passenger 4.0.18", > :set_cookie => [ > [0] "_session_id=03d0ea7523c1195033ab94ccdbda9305; path=/; secure; HttpOnly; SameSite=Lax" > ], > :etag => "W/\"6a06fbd58a1cd8c76de55992bd83d1c8-gzip\"", > :status => "200 OK", > :vary => "Accept-Encoding", > :content_encoding => "gzip", > :content_length => "225", > :content_type => "application/json; charset=utf-8" >} >[ INFO 2018-07-01T16:52:13 API] Server: https://satellite.satperf.local >[ INFO 2018-07-01T16:52:13 API] GET /katello/api/organizations/1/products >[DEBUG 2018-07-01T16:52:13 API] Params: { > "name" => "Red Hat Enterprise Linux Server" >} >[DEBUG 2018-07-01T16:52:13 API] Headers: { > :params => { > "name" => "Red Hat Enterprise Linux Server" > } >} >[DEBUG 2018-07-01T16:52:13 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth >[DEBUG 2018-07-01T16:52:13 API] Response: { > "total" => 1, > "subtotal" => 1, > "page" => 1, > "per_page" => 20, > "error" => nil, > "search" => nil, > "sort" => { > "by" => "name", > "order" => "asc" > }, > "results" => [ > [0] { > "id" => 125, > "cp_id" => "69", > "name" => "Red Hat Enterprise Linux Server", > "label" => "Red_Hat_Enterprise_Linux_Server", > "description" => nil, > "provider_id" => 2, > "sync_plan_id" => nil, > "sync_summary" => { > "pending" => 1 > }, > "gpg_key_id" => nil, > "ssl_ca_cert_id" => nil, > "ssl_client_cert_id" => nil, > "ssl_client_key_id" => nil, > "sync_state" => "Running", > "last_sync" => "2018-07-01 20:42:59 UTC", > "last_sync_words" => "9 minutes", > "organization_id" => 1, > "organization" => { > "name" => "Default Organization", > "label" => "Default_Organization", > "id" => 1 > }, > "sync_plan" => nil, > "repository_count" => 3 > } > ] >} >[DEBUG 2018-07-01T16:52:13 API] Response headers: { > :date => "Sun, 01 Jul 2018 20:52:13 GMT", > :server => "Apache/2.4.6 (Red Hat Enterprise Linux)", > :foreman_version => "1.18.0-RC2", > :foreman_api_version => "2", > :apipie_checksum => "22eb09e74e70eb15e462da28c25802175215fa57", > :cache_control => "max-age=0, private, must-revalidate", > :x_request_id => "0bcb915d-bfbc-471b-b74d-3a2d8f8dae63", > :x_runtime => "0.141506", > :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'", > :strict_transport_security => "max-age=631139040; includeSubdomains", > :x_content_type_options => "nosniff", > :x_download_options => "noopen", > :x_frame_options => "sameorigin", > :x_permitted_cross_domain_policies => "none", > :x_xss_protection => "1; mode=block", > :x_powered_by => "Phusion Passenger 4.0.18", > :set_cookie => [ > [0] "_session_id=2bb914178f784b7fcb04a9fe5bb82ca4; path=/; secure; HttpOnly; SameSite=Lax" > ], > :etag => "W/\"305aaa33d7840741d866d86a71f6012e-gzip\"", > :status => "200 OK", > :vary => "Accept-Encoding", > :content_encoding => "gzip", > :content_length => "354", > :content_type => "application/json; charset=utf-8" >} >[ INFO 2018-07-01T16:52:13 API] Server: https://satellite.satperf.local >[ INFO 2018-07-01T16:52:13 API] GET /katello/api/products/125/repositories >[DEBUG 2018-07-01T16:52:13 API] Params: { > "name" => "BenchContentViewXYZ", > "names" => [ > [0] "Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server", > [1] "Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server", > [2] "Red Hat Enterprise Linux 7 Server - Optional RPMs x86_64 7Server" > ] >} >[DEBUG 2018-07-01T16:52:13 API] Headers: { > :params => { > "name" => "BenchContentViewXYZ", > "names" => [ > [0] "Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server", > [1] "Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server", > [2] "Red Hat Enterprise Linux 7 Server - Optional RPMs x86_64 7Server" > ] > } >} >[DEBUG 2018-07-01T16:52:13 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth >[DEBUG 2018-07-01T16:52:14 API] Response: { > "total" => 0, > "subtotal" => 0, > "page" => 1, > "per_page" => 20, > "error" => nil, > "search" => nil, > "sort" => { > "by" => "name", > "order" => "asc" > }, > "results" => [] >} >[DEBUG 2018-07-01T16:52:14 API] Response headers: { > :date => "Sun, 01 Jul 2018 20:52:13 GMT", > :server => "Apache/2.4.6 (Red Hat Enterprise Linux)", > :foreman_version => "1.18.0-RC2", > :foreman_api_version => "2", > :apipie_checksum => "22eb09e74e70eb15e462da28c25802175215fa57", > :cache_control => "max-age=0, private, must-revalidate", > :x_request_id => "c58f7b1a-a46e-4c55-ba32-900a44bd5da5", > :x_runtime => "0.084450", > :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'", > :strict_transport_security => "max-age=631139040; includeSubdomains", > :x_content_type_options => "nosniff", > :x_download_options => "noopen", > :x_frame_options => "sameorigin", > :x_permitted_cross_domain_policies => "none", > :x_xss_protection => "1; mode=block", > :x_powered_by => "Phusion Passenger 4.0.18", > :set_cookie => [ > [0] "_session_id=aa4b4e11ea800ee9e49174d5f4ca2ff8; path=/; secure; HttpOnly; SameSite=Lax" > ], > :etag => "W/\"956e0fd5b832fbda8d01b01a5b7de844-gzip\"", > :status => "200 OK", > :vary => "Accept-Encoding", > :content_encoding => "gzip", > :content_length => "112", > :content_type => "application/json; charset=utf-8" >} >[DEBUG 2018-07-01T16:52:14 Exception] Using exception handler HammerCLIKatello::ExceptionHandler#handle_general_exception >[ERROR 2018-07-01T16:52:14 Exception] Error: one of repositories not found. >Could not create the content view: > Error: one of repositories not found. >[ERROR 2018-07-01T16:52:14 Exception] > >HammerCLIForeman::ResolverError (one of repositories not found.): > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/id_resolver.rb:176:in `find_resources' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_katello-0.13.1/lib/hammer_cli_katello/id_resolver.rb:112:in `repository_ids' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/commands.rb:144:in `get_resource_ids' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/option_sources/ids_params.rb:22:in `block in get_options' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/option_sources/ids_params.rb:19:in `each' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/option_sources/ids_params.rb:19:in `get_options' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/options/option_collector.rb:13:in `block in all_options_raw' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/options/option_collector.rb:12:in `each' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/options/option_collector.rb:12:in `inject' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/options/option_collector.rb:12:in `all_options_raw' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/options/option_collector.rb:18:in `all_options' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/options/option_collector.rb:22:in `options' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/abstract.rb:239:in `options' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/abstract.rb:42:in `parse' > /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:62:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/abstract.rb:29:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' > /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/abstract.rb:29:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' > /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/lib/hammer_cli/abstract.rb:29:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.13.0/bin/hammer:143:in `<top (required)>' > /usr/bin/hammer:23:in `load' > /usr/bin/hammer:23:in `<main>'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1597046
: 1455823