Project

General

Profile

Actions

Bug #12981

closed

Host API does not return all parameters for locations

Added by Brad Buckingham almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1287223
Note param's are empty:

# hammer location info --name AM
Id:                 4
Name:               AM
Users:
    jhammant
    pcornel1
Smart proxies:
    usl10149335.am.hedani.net
    usl10149336.am.hedani.net (ENG)
    usl10149338.am.hedani.net (AM, PRD)
    usl10149340.am.hedani.net
Subnets:
    Linux_Build_VLAN9 (10.128.8.128/25)
Compute resources:
    VCenter5
Installation media:
    Credit_Suisse/Library/Red_Hat_Server/Red_Hat_Enterprise_Linux_7_Server_Kickstart_x86_64_7_1
    ENG-RHEL6.5
    ENG-RHEL7.1
Templates:
    CSL Satellite Kickstart Default (provision)
Domains:
    am.hedani.net
Environments:
    KT_Credit_Suisse_ENG_CCV_CSL3_1_27020_17
    KT_Credit_Suisse_ENG_CCV_CSL_4_0_24813_12
    KT_Credit_Suisse_ENG_CV_Capsule_6_7_4
    KT_Credit_Suisse_ENG_CV_CSL_3_1_7
Hostgroups:
    ENG
    27020
    24813
    HG_Capsule
Parameters:
     =>
     =>
     =>
     =>
     =>
     =>
     =>
     =>
     =>
     =>
     =>
Organizations:
    Credit Suisse
Created at:         2015/06/25 21:47:32
Updated at:         2015/11/23 19:07:20

and their hook script:

  1. pwd
    /usr/share/foreman/config/hooks/host/managed
  2. cat after_update/test.sh
    #/bin/bash

logger -t HOOK $1 and $2

cat /dev/stdin >> /tmp/HOOKIN
echo >> /tmp/HOOKIN

They've also provided a screen capture of the parameters section showing the data appearing.

I'll be attaching that momentarily.

Please let me know what other data from Credit Suisse you need to make forward progress or offer suggestions.

Document URL:

Section Number and Name:

Describe the issue:

Suggestions for improvement:

Additional information:

Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:

Additional info:


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #11763: Host API does not return all parameters (e.g. from locations, et al.)ClosedShlomi Zadok09/10/2015Actions
Actions

Also available in: Atom PDF