Project

General

Profile

Actions

Bug #3782

closed

API v2 wrong metadata while listing facts

Added by Martin Bacovsky over 10 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

hammer -v host facts --name vm1.mbacovsk.redhat.com
Retrieved data: {
"total" => 1,
"subtotal" => 1,
"page" => 1,
"per_page" => 20,
"search" => " host = vm1.mbacovsk.redhat.com",
"sort" => {
"by" => nil,
"order" => nil
},
"results" => {
"vm1.mbacovsk.redhat.com" => {
"uniqueid" => "00000000",
"augeasversion" => "0.9.0",
"physicalprocessorcount" => "1",
"processorcount" => "1",
"network_lo" => "127.0.0.0",
"ipaddress_lo" => "127.0.0.1",
"swapfree" => "1.47 GB",
"swapsize" => "1.47 GB",
"mtu_eth0" => "1500",
"facterversion" => "1.6.18",
"mtu_lo" => "16436",
"rubyversion" => "1.8.7",
"network_eth0" => "192.168.122.0",
"ipaddress_eth0" => "192.168.122.138",
"ipaddress" => "192.168.122.138",
"uptime_hours" => "197",
"selinux_policyversion" => "24",
"netmask_lo" => "255.0.0.0",
"netmask_eth0" => "255.255.255.0",
"netmask" => "255.255.255.0"
}
}
}

Pagination works, but from the metadata I wouldn't guess there are more pages


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #3018: API v2 metadata for pagination in index collection responseClosedJoseph Magen09/04/2013Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Related to Feature #3018: API v2 metadata for pagination in index collection response added
Actions #2

Updated by Leos Stejskal about 3 years ago

I'm closing the issue,
it have been here for some time and I wasn't able to reproduce it on the latest version.
If you think that the issue is still relevant feel free to reopen

Actions #3

Updated by Leos Stejskal almost 3 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF