Project

General

Profile

Actions

Bug #17056

closed

[Hammer-CLI] Exception is raised for discovery facts command

Added by Swapnil Abnave over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
medium
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Description of problem:
When I try to get all associated facts for specific discovered hosts, error is raised:

hammer -u admin -p changeme discovery facts --id=2
-----------------------|---------------------------------------------------------------------------------
FACT                   | VALUE                                                                           
-----------------------|---------------------------------------------------------------------------------
link_lo                | true                                                                            
link_eth0              | true
...
lib                    | /usr/share/fdi/facts:/opt/extension/facts                                       
-----------------------|---------------------------------------------------------------------------------
Error: undefined method `meta' for #<Array:0x0000000391d270>

Version-Release number of selected component (if applicable):
Satellite ​6.2.3-1.1

How reproducible:
Always

Steps to Reproduce:
1. Discover PXE or PXEless host
2. Try to get facts for it

Actual results:
Error is raised

Expected results:
Facts are returned successfully

Actions

Also available in: Atom PDF