Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1213437 - Unable to get subnet ipam type
Summary: Unable to get subnet ipam type
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.1.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Corey Welton
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-20 14:44 UTC by Alex
Modified: 2019-09-25 20:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:00:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 11074 0 None None None 2016-04-22 16:32:49 UTC

Description Alex 2015-04-20 14:44:41 UTC
Description of problem:
I am trying to get information about subnet ipam type, but cannot find a way to do that. It is not a problem to set that information, but not to get.

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


How reproducible:
Always

Steps to Reproduce:
1. To set:
hammer subnet create --name "a0" --network "127.0.0.1" --mask "255.0.0.0" --ipam "Internal DB"
2. To get:
hammer subnet info --name "a0"
3. There are no information about "IPAM" in the output

Actual results:
Id:            8
Name:          a0
Network:       127.0.0.1
Mask:          255.0.0.0
Priority:      
DNS:           
Primary DNS:   
Secondary DNS: 
TFTP:          
DHCP:          
VLAN ID:       
Gateway:       
From:          
To:            
Domains:


Expected results:
Id:            8
Name:          a0
Network:       127.0.0.1
Mask:          255.0.0.0
Priority:      
DNS:           
Primary DNS:   
Secondary DNS: 
IPAM: 
TFTP:          
DHCP:          
VLAN ID:       
Gateway:       
From:          
To:            
Domains:


Additional info:

Comment 1 Alex 2015-04-20 14:47:07 UTC
More like this:

Expected results:
Id:            8
Name:          a0
Network:       127.0.0.1
Mask:          255.0.0.0
Priority:      
DNS:           
Primary DNS:   
Secondary DNS: 
IPAM: Internal DB
TFTP:           
DHCP:          
VLAN ID:       
Gateway:       
From:          
To:            
Domains:

Comment 3 Bryan Kearney 2015-07-09 17:28:47 UTC
Created redmine issue http://projects.theforeman.org/issues/11074 from this bug

Comment 4 Bryan Kearney 2015-10-14 12:01:51 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/11074 has been closed
-------------
Alon Goldboim
Applied in changeset commit:hammer-cli-foreman|ee7d698957fae81da3e212d8db9ba1f85d9d4eda.

Comment 5 Tazim Kolhar 2015-10-28 12:41:01 UTC
*** This bug is verified in upstream.  This fix should eventually land in future downstream builds ***
Version Tested:

# rpm -qa | grep foreman
foreman-proxy-1.11.0-0.develop.201510201341git00875b3.el7.noarch
foreman-selinux-1.11.0-0.develop.201510071426git6234447.el7.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-3.el7.noarch
tfm-rubygem-foreman_docker-1.4.1-2.fm1_10.el7.noarch
foreman-libvirt-1.11.0-0.develop.201510201422git6eb234a.el7.noarch
foreman-compute-1.11.0-0.develop.201510201422git6eb234a.el7.noarch
foreman-release-scl-1-1.el7.x86_64
foreman-gce-1.11.0-0.develop.201510201422git6eb234a.el7.noarch
foreman-debug-1.11.0-0.develop.201510201422git6eb234a.el7.noarch
tfm-rubygem-foreman_gutterball-0.0.1-3.el7.noarch
hp-sl2x170zg6-01.rhts.eng.bos.redhat.com-foreman-proxy-1.0-2.noarch
tfm-rubygem-foreman_discovery-4.1.1-1.fm1_11.el7.noarch
foreman-vmware-1.11.0-0.develop.201510201422git6eb234a.el7.noarch
tfm-rubygem-foreman_hooks-0.3.9-1.el7.noarch
tfm-rubygem-foreman-tasks-0.7.6-1.fm1_10.el7.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.8-1.el7.noarch
tfm-rubygem-foreman_bootdisk-6.0.0-2.fm1_10.el7.noarch
hp-sl2x170zg6-01.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch
hp-sl2x170zg6-01.rhts.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-ovirt-1.11.0-0.develop.201510201422git6eb234a.el7.noarch
foreman-1.11.0-0.develop.201510201422git6eb234a.el7.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.3-4.el7.noarch
foreman-release-1.11.0-0.develop.201510201422git6eb234a.el7.noarch
foreman-postgresql-1.11.0-0.develop.201510201422git6eb234a.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.4.0-1.201510201150gitab068d9.el7.noarch

steps:
# hammer subnet create --name "a0" --network "127.0.0.1" --mask "255.0.0.0" --ipam "Internal DB"
[Foreman] Password for admin: 
Subnet created

# hammer subnet info --name "a0"
[Foreman] Password for admin: 
Id:            1
Name:          a0
Network:       127.0.0.1
Mask:          255.0.0.0
Priority:      
DNS:           
Primary DNS:   
Secondary DNS: 
TFTP:          
DHCP:          
IPAM:          Internal DB
VLAN ID:       
Gateway:       
From:          
To:            
Domains:

Comment 8 Oleksandr Shtaier 2016-04-19 08:58:21 UTC
Verified on latest 6.2 SNAP 8.2

hammer -u user -p pass subnet create --name "a0" --network "127.0.0.1" --mask "255.0.0.0" --ipam "Internal DB"
Subnet created

hammer -u user -p pass subnet info --name "a0"
Id:            63
Name:          a0
Network:       127.0.0.1
Mask:          255.0.0.0
Priority:      
DNS:           
Primary DNS:   
Secondary DNS: 
TFTP:          
DHCP:          
IPAM:          Internal DB
VLAN ID:       
Gateway:       
From:          
To:            
Domains:

Comment 10 Bryan Kearney 2016-07-27 11:00:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501


Note You need to log in before you can comment on or make changes to this bug.