Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1080981 Details for
Bug 1269876
On creating a host via hammer, webUI doesn't show the correct memory as input by user
Home
New
Search
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.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
debug logs while creating host and it clearly shows memory size
host_create.txt (text/plain), 13.57 KB, created by
Sachin Ghai
on 2015-10-08 12:00:23 UTC
(
hide
)
Description:
debug logs while creating host and it clearly shows memory size
Filename:
MIME Type:
Creator:
Sachin Ghai
Created:
2015-10-08 12:00:23 UTC
Size:
13.57 KB
patch
obsolete
>[root@cloud-qe-9 ~]# hammer -d -v -u admin -p changeme --output=csv host create --medium-id="7" --root-pass='foobarbaz' --organization-id="1" --interface="primary=true, type=network, network=foreman" --location-id="1" --architecture-id="1" --operatingsystem-id="1" --name="fioo12" --environment-id="1" --compute-resource-id="1" --domain-id="1" --puppet-proxy-id="1" --partition-table-id="7" --hostgroup=sgroup --compute-attributes="cpus=1, memory=1547483648, start=1" --volume="capacity=10G,format_type=qcow2" >[ INFO 2015-10-08 07:49:48 Init] Initialization of Hammer CLI (0.1.4.13) has started... >[DEBUG 2015-10-08 07:49:48 Init] Running at ruby 2.0.0-p598 >[ INFO 2015-10-08 07:49:48 Init] Configuration from the file /etc/hammer/cli_config.yml has been loaded >[ INFO 2015-10-08 07:49:48 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman.yml has been loaded >[ INFO 2015-10-08 07:49:48 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_bootdisk.yml has been loaded >[ INFO 2015-10-08 07:49:48 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_discovery.yml has been loaded >[ INFO 2015-10-08 07:49:48 Init] Configuration from the file /etc/hammer/cli.modules.d/foreman_docker.yml has been loaded >[ INFO 2015-10-08 07:49:48 Init] Configuration from the file /etc/hammer/cli.modules.d/gutterball.yml has been loaded >[ INFO 2015-10-08 07:49:48 Init] Configuration from the file /etc/hammer/cli.modules.d/import.yml has been loaded >[ INFO 2015-10-08 07:49:48 Init] Configuration from the file /etc/hammer/cli.modules.d/katello.yml has been loaded >[DEBUG 2015-10-08 07:49:49 Connection] Registered: foreman >[DEBUG 2015-10-08 07:49:49 API] Global headers: { > :content_type => "application/json", > :accept => "application/json;version=2", > "Accept-Language" => "en" >} >[ INFO 2015-10-08 07:49:49 Modules] Extension module hammer_cli_foreman (0.1.4.14) loaded >[ INFO 2015-10-08 07:49:49 Modules] Extension module hammer_cli_foreman_bootdisk (0.1.2.7) loaded >[ INFO 2015-10-08 07:49:49 Modules] Extension module hammer_cli_foreman_discovery (0.0.1.10) loaded >[ INFO 2015-10-08 07:49:49 HammerCLI::MainCommand] subcommand organization (HammerCLIForeman::Organization) was removed. >[ INFO 2015-10-08 07:49:49 HammerCLI::MainCommand] subcommand organization (HammerCLIKatello::Organization) was created. >[ INFO 2015-10-08 07:49:49 Modules] Extension module hammer_cli_gutterball (0.0.1.3) loaded >[ INFO 2015-10-08 07:49:49 Modules] Extension module hammer_cli_import (0.10.20) loaded >[ INFO 2015-10-08 07:49:49 Modules] Extension module hammer_cli_katello (0.0.7.18) loaded >[DEBUG 2015-10-08 07:49:49 Init] Using locale 'en' >[DEBUG 2015-10-08 07:49:49 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/usr/share/gems/gems/hammer_cli-0.1.4.13/locale' >[DEBUG 2015-10-08 07:49:49 Init] 'mo' files for locale domain 'hammer-cli@system' loaded from '/usr/share/locale' >[DEBUG 2015-10-08 07:49:49 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/usr/share/gems/gems/hammer_cli_foreman-0.1.4.14/locale' >[DEBUG 2015-10-08 07:49:49 Init] 'mo' files for locale domain 'hammer-cli-foreman@system' loaded from '/usr/share/locale' >[DEBUG 2015-10-08 07:49:49 Init] 'mo' files for locale domain 'hammer_cli_foreman_docker' loaded from '/usr/share/gems/gems/hammer_cli_foreman_docker-0.0.3.9/locale' >[DEBUG 2015-10-08 07:49:49 Init] 'mo' files for locale domain 'hammer-cli-katello' loaded from '/usr/share/gems/gems/hammer_cli_katello-0.0.7.18/locale' >[ INFO 2015-10-08 07:49:49 HammerCLI::MainCommand] Called with options: {"option_verbose"=>true, "option_debug"=>true, "option_username"=>"admin", "option_password"=>"***", "option_output"=>"csv"} >[ INFO 2015-10-08 07:49:49 HammerCLIForeman::Host] Called with options: {} >[ INFO 2015-10-08 07:49:49 HammerCLIForeman::Host::CreateCommand] Called with options: {"option_managed"=>true, "option_build"=>true, "option_enabled"=>true, "option_compute_attributes"=>{"cpus"=>"1", "memory"=>"1547483648", "start"=>"1"}, "option_volume_list"=>[{"capacity"=>"10G", "format_type"=>"qcow2"}], "option_interface_list"=>[{"primary"=>"true", "type"=>"network", "network"=>"foreman"}], "option_location_id"=>"1", "option_organization_id"=>"1", "option_environment_id"=>"1", "option_architecture_id"=>"1", "option_domain_id"=>"1", "option_operatingsystem_id"=>"1", "option_medium_id"=>"7", "option_ptable_id"=>"7", "option_compute_resource_id"=>"1", "option_hostgroup_name"=>"sgroup", "option_name"=>"fioo12", "option_puppet_proxy_id"=>"1", "option_root_pass"=>"foobarbaz"} >[ INFO 2015-10-08 07:49:50 API] GET /api/hostgroups >[DEBUG 2015-10-08 07:49:50 API] Params: { > :search => "name = \"sgroup\"" >} >[DEBUG 2015-10-08 07:49:50 API] Headers: { > :params => { > :search => "name = \"sgroup\"" > } >} >[DEBUG 2015-10-08 07:49:50 API] Response: { > "total" => 1, > "subtotal" => 1, > "page" => 1, > "per_page" => 20, > "search" => "name = \"sgroup\"", > "sort" => { > "by" => nil, > "order" => nil > }, > "results" => [ > [0] { > "id" => 1, > "name" => "sgroup", > "title" => "sgroup", > "subnet_id" => 1, > "subnet_name" => "libvirt", > "operatingsystem_id" => 1, > "operatingsystem_name" => "RHEL Server 7.1", > "domain_id" => 1, > "domain_name" => "idmqe.lab.eng.bos.redhat.com", > "environment_id" => 3, > "environment_name" => "KT_Default_Organization_Dev_cv_rhel71_2", > "compute_profile_id" => nil, > "compute_profile_name" => nil, > "ancestry" => nil, > "puppet_proxy_id" => 1, > "puppet_ca_proxy_id" => 1, > "ptable_id" => 7, > "ptable_name" => "Kickstart default", > "medium_id" => 7, > "medium_name" => "Default_Organization/Library/RHEL7_x86_64", > "architecture_id" => 1, > "architecture_name" => "x86_64", > "realm_id" => nil, > "realm_name" => nil, > "created_at" => "2015-10-06T09:49:35Z", > "updated_at" => "2015-10-06T09:51:53Z" > } > ] >} >[DEBUG 2015-10-08 07:49:50 API] Response headers: { > :date => "Thu, 08 Oct 2015 11:49:50 GMT", > :server => "Apache/2.4.6 (Red Hat Enterprise Linux)", > :foreman_version => "1.7.2", > :foreman_api_version => "2", > :apipie_checksum => "30141adc9c06f8e3e7a5453f38ba81c3", > :x_ua_compatible => "IE=Edge,chrome=1", > :cache_control => "must-revalidate, private, max-age=0", > :x_request_id => "d13e0e33c6e997f88d21324c11075007", > :x_runtime => "0.056150", > :x_rack_cache => "miss", > :x_powered_by => "Phusion Passenger 4.0.18", > :set_cookie => [ > [0] "_session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWQ5NWZkMjY1MzRjYzk1NzBiMWFmYzc0Yjk5YzNhOTY4BjsAVEkiC2xvY2FsZQY7AEYiB2Vu--5db74037d1580acc8bd3866203fef08b28d13d94; path=/; secure; HttpOnly" > ], > :etag => "\"aa65f23ba1ac1bf8c782d2dba5354b44\"", > :status => "200 OK", > :transfer_encoding => "chunked", > :content_type => "application/json; charset=utf-8" >} >[ INFO 2015-10-08 07:49:50 API] POST /api/hosts >[DEBUG 2015-10-08 07:49:50 API] Params: { > "host" => { > "name" => "fioo12", > "location_id" => "1", > "organization_id" => "1", > "environment_id" => "1", > "architecture_id" => "1", > "domain_id" => "1", > "puppet_proxy_id" => "1", > "operatingsystem_id" => "1", > "medium_id" => "7", > "ptable_id" => "7", > "compute_resource_id" => "1", > "root_pass" => "foobarbaz", > "hostgroup_id" => 1, > "build" => true, > "enabled" => true, > "managed" => true, > "compute_attributes" => { > "cpus" => "1", > "memory" => "1547483648", > "start" => "1", > "volumes_attributes" => { > "0" => { > "capacity" => "10G", > "format_type" => "qcow2" > } > }, > "interfaces_attributes" => { > "0" => { > "primary" => "true", > "type" => "network", > "network" => "foreman" > } > }, > "nics_attributes" => { > "0" => { > "primary" => "true", > "type" => "network", > "network" => "foreman" > } > } > }, > "owner_id" => nil, > "puppet_ca_proxy_id" => nil, > "puppetclass_ids" => nil, > "host_parameters_attributes" => {} > } >} >[DEBUG 2015-10-08 07:49:50 API] Headers: {} >[DEBUG 2015-10-08 07:49:54 API] Response: { > "name" => "fioo12.idmqe.lab.eng.bos.redhat.com", > "id" => 25, > "ip" => "192.168.100.35", > "environment_id" => 1, > "environment_name" => "production", > "last_report" => nil, > "mac" => "52:54:00:a2:31:2c", > "realm_id" => nil, > "realm_name" => nil, > "sp_mac" => nil, > "sp_ip" => nil, > "sp_name" => nil, > "domain_id" => 1, > "domain_name" => "idmqe.lab.eng.bos.redhat.com", > "architecture_id" => 1, > "architecture_name" => "x86_64", > "operatingsystem_id" => 1, > "operatingsystem_name" => "RHEL Server 7.1", > "subnet_id" => 1, > "subnet_name" => "libvirt", > "sp_subnet_id" => nil, > "ptable_id" => 7, > "ptable_name" => "Kickstart default", > "medium_id" => 7, > "medium_name" => "Default_Organization/Library/RHEL7_x86_64", > "build" => true, > "comment" => nil, > "disk" => nil, > "installed_at" => nil, > "model_id" => nil, > "model_name" => nil, > "hostgroup_id" => 1, > "hostgroup_name" => "sgroup", > "owner_id" => 3, > "owner_type" => "User", > "enabled" => true, > "puppet_ca_proxy_id" => 1, > "managed" => true, > "use_image" => nil, > "image_file" => "", > "uuid" => "1b34b090-1dd9-49db-b3a3-7f7b18e8a1ef", > "compute_resource_id" => 1, > "compute_resource_name" => "libvirt", > "compute_profile_id" => nil, > "compute_profile_name" => nil, > "capabilities" => [ > [0] "build", > [1] "image" > ], > "provision_method" => "build", > "puppet_proxy_id" => 1, > "certname" => "fioo12.idmqe.lab.eng.bos.redhat.com", > "image_id" => nil, > "image_name" => nil, > "created_at" => "2015-10-08T11:49:54Z", > "updated_at" => "2015-10-08T11:49:54Z", > "last_compile" => nil, > "last_freshcheck" => nil, > "serial" => nil, > "source_file_id" => nil, > "puppet_status" => 0, > "organization_id" => 1, > "organization_name" => "Default_Organization", > "location_id" => 1, > "location_name" => nil, > "all_parameters" => [ > [0] { > "id" => 1, > "name" => "kt_activation_keys", > "value" => "ak_rhel71" > }, > [1] { > "id" => 4, > "name" => "kt_cv", > "value" => "cv_rhel71" > }, > [2] { > "id" => 3, > "name" => "kt_env", > "value" => "Dev" > }, > [3] { > "id" => 2, > "name" => "kt_org", > "value" => "Default_Organization" > } > ], > "all_puppetclasses" => [], > "parameters" => [], > "interfaces" => [], > "puppetclasses" => [], > "config_groups" => [] >} >[DEBUG 2015-10-08 07:49:54 API] Response headers: { > :date => "Thu, 08 Oct 2015 11:49:50 GMT", > :server => "Apache/2.4.6 (Red Hat Enterprise Linux)", > :foreman_version => "1.7.2", > :foreman_api_version => "2", > :apipie_checksum => "30141adc9c06f8e3e7a5453f38ba81c3", > :x_ua_compatible => "IE=Edge,chrome=1", > :cache_control => "max-age=0, private, must-revalidate", > :x_request_id => "7dda59912bc6c479aae1b1def059618e", > :x_runtime => "4.577404", > :x_rack_cache => "invalidate, pass", > :x_powered_by => "Phusion Passenger 4.0.18", > :set_cookie => [ > [0] "_session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWFkYzQ5Y2Y1YzMxNGQ2OWRlMmE3ZTdhMmJiOGQxZGI2BjsAVEkiC2xvY2FsZQY7AEYiB2Vu--6ecf10839f7fb9e5370015005e0755f8b09bba06; path=/; secure; HttpOnly" > ], > :etag => "\"6a7f465b8e23d4f7214950244db79cda\"", > :status => "200 OK", > :transfer_encoding => "chunked", > :content_type => "application/json; charset=utf-8" >} >Message,Id,Name >Host created,25,fioo12.idmqe.lab.eng.bos.redhat.com >[root@cloud-qe-9 ~]# >
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 1269876
: 1080981 |
1080982
|
1080983