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 1456836 Details for
Bug 1598569
can not create host - Error: lifecycle_environment 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.
full output of hammer command
file_1598569.txt (text/plain), 11.39 KB, created by
Jan Hutař
on 2018-07-05 20:18:06 UTC
(
hide
)
Description:
full output of hammer command
Filename:
MIME Type:
Creator:
Jan Hutař
Created:
2018-07-05 20:18:06 UTC
Size:
11.39 KB
patch
obsolete
>[root@sat640snap10 ~]# hammer -d -v -u admin -p changeme --output=csv host create --architecture-id="1" --domain-id="5" --environment="KT_iaEeE4_Library_xODchtIMtj_11" --ip="215.4.103.159" --location-id="2" --mac="10:9c:0f:ac:fe:cf" --medium-id="13" --name="RYXQNwUawm" --operatingsystem-id="2" --organization-id="9" --partition-table-id="94" --root-password="pkNKvAjF" --lifecycle-environment-id 12 >[ INFO 2018-07-05T22:17:12 Init] Initialization of Hammer CLI (0.13.0) has started... >[DEBUG 2018-07-05T22:17:12 Init] Running at ruby 2.4.3-p205 >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/csv.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_admin.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_admin_logging_core.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_admin_logging_katello.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_bootdisk.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_discovery.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_docker.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_openscap.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_remote_execution.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_tasks.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_templates.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_virt_who_configure.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /etc/hammer/cli.modules.d/katello.yml has been loaded >[ INFO 2018-07-05T22:17:12 Init] Configuration from the file /root/.hammer/cli.modules.d/foreman.yml has been loaded >[DEBUG 2018-07-05T22:17:12 SSLoptions] SSL options: { > :ssl_ca_file => "/etc/pki/katello/certs/katello-server-ca.crt", > :verify_ssl => true >} >[DEBUG 2018-07-05T22:17:12 API] Global headers: { > :content_type => "application/json", > :accept => "application/json;version=2", > "Accept-Language" => "en" >} >[DEBUG 2018-07-05T22:17:12 API] Follow redirects: never >[DEBUG 2018-07-05T22:17:12 Connection] Registered: foreman >[ INFO 2018-07-05T22:17:12 Modules] Extension module hammer_cli_foreman (0.13.0) loaded. >[ INFO 2018-07-05T22:17:12 Modules] Extension module hammer_cli_foreman_admin (0.0.8) loaded. >[ INFO 2018-07-05T22:17:12 Modules] Extension module hammer_cli_foreman_bootdisk (0.1.3.3) loaded. >[ INFO 2018-07-05T22:17:12 Modules] Extension module hammer_cli_foreman_discovery (1.0.0) loaded. >[ INFO 2018-07-05T22:17:12 Modules] Extension module hammer_cli_foreman_openscap (0.1.6) loaded. >[ INFO 2018-07-05T22:17:13 Modules] Extension module hammer_cli_foreman_templates (0.1.0) loaded. >[ INFO 2018-07-05T22:17:13 HammerCLI::MainCommand] subcommand organization (HammerCLIForeman::Organization) was removed. >[ INFO 2018-07-05T22:17:13 HammerCLI::MainCommand] subcommand organization (HammerCLIKatello::Organization) was created. >[ INFO 2018-07-05T22:17:13 Modules] Extension module hammer_cli_katello (0.13.1) loaded. >[DEBUG 2018-07-05T22:17:13 Init] Using locale 'en' >[DEBUG 2018-07-05T22:17: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-05T22:17: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-05T22:17: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-05T22:17: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-05T22:17: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-05T22:17: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-05T22:17:13 HammerCLI::MainCommand] Called with options: {"option_verbose"=>true, "option_debug"=>true, "option_username"=>"admin", "option_password"=>"***", "option_output"=>"csv"} >[ INFO 2018-07-05T22:17:13 HammerCLIForeman::Host] Called with options: {} >[ INFO 2018-07-05T22:17:13 API] Server: https://sat640snap10.example.com >[ INFO 2018-07-05T22:17:13 API] GET /katello/api/organizations/9/environments >[DEBUG 2018-07-05T22:17:13 API] Params: { > "name" => "KT_iaEeE4_Library_xODchtIMtj_11" >} >[DEBUG 2018-07-05T22:17:13 API] Headers: { > :params => { > "name" => "KT_iaEeE4_Library_xODchtIMtj_11" > } >} >[DEBUG 2018-07-05T22:17:13 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth >[DEBUG 2018-07-05T22:17:15 API] Response: { > "total" => 0, > "subtotal" => 0, > "page" => 1, > "per_page" => 20, > "error" => nil, > "search" => nil, > "sort" => { > "by" => "name", > "order" => "asc" > }, > "results" => [] >} >[DEBUG 2018-07-05T22:17:15 API] Response headers: { > :date => "Thu, 05 Jul 2018 20:17:13 GMT", > :server => "Apache/2.4.6 (Red Hat Enterprise Linux)", > :foreman_version => "1.18.0-RC2", > :foreman_api_version => "2", > :apipie_checksum => "776b126762a1b2042eb0a5ca2f173c93db550863", > :cache_control => "max-age=0, private, must-revalidate", > :x_request_id => "dc5badbf-8ca6-4024-a6de-3dc28c8e764c", > :x_runtime => "1.900032", > :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=05c6178d8567edb409f7b9ce1b8eaa6a; 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-05T22:17:15 Exception] Using exception handler HammerCLIForeman::ExceptionHandler#handle_general_exception >[ERROR 2018-07-05T22:17:15 Exception] Error: lifecycle_environment not found. >Could not create the host: > Error: lifecycle_environment not found. >[ERROR 2018-07-05T22:17:15 Exception] > >HammerCLIForeman::ResolverError (lifecycle_environment not found.): > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/id_resolver.rb:241:in `pick_result' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/id_resolver.rb:198:in `find_resource' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/id_resolver.rb:146:in `get_id' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/id_resolver.rb:134:in `block (2 levels) in define_id_finders' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_katello-0.13.1/lib/hammer_cli_katello/id_resolver.rb:69:in `environment_id' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/commands.rb:131:in `get_resource_id' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/option_sources/id_params.rb:23: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/id_params.rb:20:in `each' > /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.13.0/lib/hammer_cli_foreman/option_sources/id_params.rb:20: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 1598569
: 1456836 |
1456839