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 908176 Details for
Bug 1108779
hammer content-host create does not work with lifecycle-env name
[?]
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.
the bedug info for the above command
content-host create via lifecycle env name (text/plain), 6.21 KB, created by
Kedar Bidarkar
on 2014-06-12 14:36:23 UTC
(
hide
)
Description:
the bedug info for the above command
Filename:
MIME Type:
Creator:
Kedar Bidarkar
Created:
2014-06-12 14:36:23 UTC
Size:
6.21 KB
patch
obsolete
>[root@dhcp207-55 ~]# hammer -v -d content-host create --name="test_host" --environment='Library' --content-view-id=2 --organization-id 1 >[ INFO 2014-06-12 20:00:05 Init] Initialization of Hammer CLI (0.1.1) has started... >[DEBUG 2014-06-12 20:00:05 Init] Running at ruby 1.8.7-p352 >[ INFO 2014-06-12 20:00:05 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded >[ INFO 2014-06-12 20:00:05 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded >[ INFO 2014-06-12 20:00:05 Init] Configuration from the file /etc/hammer/cli.modules.d/katello.yml has been loaded >[DEBUG 2014-06-12 20:00:05 Connection] Registered: foreman >[DEBUG 2014-06-12 20:00:05 API] Global headers: { > :accept => "application/json;version=2", > :content_type => "application/json", > "Accept-Language" => "en" >} >[ INFO 2014-06-12 20:00:05 API] GET /apidoc/apipie_checksum >[DEBUG 2014-06-12 20:00:05 API] Params: {} >[DEBUG 2014-06-12 20:00:05 API] Headers: { > :params => {}, > :accept => "application/json" >} >[DEBUG 2014-06-12 20:00:05 API] Response { > "checksum" => "d423ac987551faf0c2e1e8b069830e28" >} >[ INFO 2014-06-12 20:00:06 HammerCLI::MainCommand] subcommand organization (HammerCLIForeman::Organization) was removed. >[ INFO 2014-06-12 20:00:06 HammerCLI::MainCommand] subcommand organization (HammerCLIKatello::Organization) was created. >[ INFO 2014-06-12 20:00:07 Modules] Extension module hammer_cli_katello (0.0.4) loaded >[ INFO 2014-06-12 20:00:07 Modules] Extension module hammer_cli_foreman (0.1.1) loaded >[DEBUG 2014-06-12 20:00:07 Init] Using locale 'en' >[DEBUG 2014-06-12 20:00:07 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/locale' >[DEBUG 2014-06-12 20:00:07 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/locale' >[DEBUG 2014-06-12 20:00:07 Init] 'mo' files for locale domain 'hammer-cli-katello' loaded from '/usr/lib/ruby/gems/1.8/gems/hammer_cli_katello-0.0.4/locale' >[ INFO 2014-06-12 20:00:07 HammerCLI::MainCommand] Called with options: {"option_debug"=>true, "option_verbose"=>true} >[ INFO 2014-06-12 20:00:07 HammerCLIKatello::ContentHostCommand] Called with options: {} >[ INFO 2014-06-12 20:00:07 HammerCLIKatello::ContentHostCommand::CreateCommand] Called with options: {"option_environment_name"=>"Library", "option_name"=>"test_host", "option_content_view_id"=>"2", "option_organization_id"=>"1"} >[ INFO 2014-06-12 20:00:07 API] GET /apidoc/apipie_checksum >[DEBUG 2014-06-12 20:00:07 API] Params: {} >[DEBUG 2014-06-12 20:00:07 API] Headers: { > :params => {}, > :accept => "application/json" >} >[DEBUG 2014-06-12 20:00:08 API] Response { > "checksum" => "d423ac987551faf0c2e1e8b069830e28" >} >[ INFO 2014-06-12 20:00:08 API] GET /api/environments >[DEBUG 2014-06-12 20:00:08 API] Params: { > "name" => "Library" >} >[DEBUG 2014-06-12 20:00:08 API] Headers: { > :params => { > "name" => "Library" > } >} >[DEBUG 2014-06-12 20:00:08 API] Response { > "subtotal" => 2, > "total" => 2, > "page" => 1, > "results" => [ > [0] { > "updated_at" => "2014-06-12T13:28:26Z", > "name" => "KT_ACME_Corporation_Library_cv_common_2", > "created_at" => "2014-06-12T13:28:26Z", > "id" => 2 > }, > [1] { > "updated_at" => "2014-06-12T08:30:36Z", > "name" => "production", > "created_at" => "2014-06-12T08:30:36Z", > "id" => 1 > } > ], > "sort" => { > "by" => nil, > "order" => nil > }, > "per_page" => 20, > "search" => nil >} >[ERROR 2014-06-12 20:00:08 Exception] Error: environment found more than once >Could not create content host: > Error: environment found more than once >[ERROR 2014-06-12 20:00:08 Exception] > >HammerCLIForeman::ResolverError (environment found more than once): > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/id_resolver.rb:109:in `pick_result' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/id_resolver.rb:104:in `find_resource' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/id_resolver.rb:82:in `get_id' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/id_resolver.rb:76:in `environment_id' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/commands.rb:133:in `send' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/commands.rb:133:in `get_resource_id' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/commands.rb:164:in `request_params' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/commands.rb:161:in `each' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/commands.rb:161:in `request_params' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_katello-0.0.4/lib/hammer_cli_katello/content_host.rb:54:in `request_params' > /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/./apipie/command.rb:42:in `send_request' > /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/commands.rb:154:in `send_request' > /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/./apipie/command.rb:33:in `execute' > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run' > /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/./apipie/../abstract.rb:22:in `run' > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:in `execute' > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run' > /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/./apipie/../abstract.rb:22:in `run' > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:in `execute' > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run' > /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/./apipie/../abstract.rb:22:in `run' > /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run' > /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/bin/hammer:100 > /usr/bin/hammer:19:in `load' > /usr/bin/hammer:19 >
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 1108779
: 908176