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 1297324 - Missing hammer command to generate subnet bootdisk iso
Summary: Missing hammer command to generate subnet bootdisk iso
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Bootdisk Plugin
Version: 6.1.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Roman Plevka
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1498454
TreeView+ depends on / blocked
 
Reported: 2016-01-11 08:40 UTC by Sachin Ghai
Modified: 2019-09-26 16:23 UTC (History)
6 users (show)

Fixed In Version: rubygem-hammer_cli_foreman_bootdisk-0.1.3.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1498454 (view as bug list)
Environment:
Last Closed: 2016-07-27 11:02:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 13036 0 None None None 2016-04-22 16:07:28 UTC

Description Sachin Ghai 2016-01-11 08:40:52 UTC
Description of problem:
I was verifying bugzilla #1193933 and found that command to generate subnet bootdisk iso via hammer is missing.

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

How reproducible:
always

Steps to Reproduce:
1. hammer bootdisk subnet 
2.
3.

Actual results:
Missing hammer command to generate subnet bootdisk iso

Expected results:
cmd to generate subnet bootdisk iso should available via hammer:

hammer bootdisk subnet --subnet <local.lan>

Additional info:

Comment 3 Bryan Kearney 2016-01-12 18:11:48 UTC
Created redmine issue http://projects.theforeman.org/issues/13162 from this bug

Comment 5 Bryan Kearney 2016-02-10 22:00:34 UTC
This was addressed in 

commit b1052b60ff27d99f9635da8242c60d9808b1935a

of the hammer-cli-foreman-bootdisk 

I am moving this to POST and moving it to 6.2

Comment 6 Bryan Kearney 2016-02-18 17:37:59 UTC
Connecting redmine issue http://projects.theforeman.org/issues/13036 from this bug

Comment 7 Bryan Kearney 2016-02-18 19:12:57 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/13036 has been closed

Comment 10 Roman Plevka 2016-04-05 09:33:45 UTC
FAILEDQA

this doesn't seem to exist in sat6.2.0 Snap6.1:

# hammer bootdisk -h
Usage:
    hammer bootdisk [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    subcommand
 [ARG] ...                     subcommand arguments

Subcommands:
 generic                       Download generic image
 host                          Download host image

Options:
 -h, --help                    print help

# hammer bootdisk subnet -h
Error: No such sub-command 'subnet'

See: 'hammer bootdisk --help'


# rpm -qa | grep bootdisk
tfm-rubygem-foreman_bootdisk-6.1.0-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-4.el7sat.noarch

moving back to Assigned

Comment 11 Lukas Zapletal 2016-04-06 08:00:52 UTC
No upstream release was done yet, the patch was merged on Jan 2016, I am asking Dominic for a release (gem-only release would be fine). Please rebase then over 0.1.4+ version.

commit b1052b60ff27d99f9635da8242c60d9808b1935a
Refs: 0.1.3-1-gb1052b6
Author:     Lukas Zapletal <lzap+git>
AuthorDate: Mon Jun 1 15:42:45 2015 +0200
Commit:     Dominic Cleal <dcleal>
CommitDate: Wed Feb 10 12:43:50 2016 +0000

    Fixes #13036 - added subnet subcommand

Comment 13 Bryan Kearney 2016-05-23 19:48:59 UTC
verified
version tested: satellite-6.2.0-12.1.el7sat.noarch
Steps to verify:



[vagrant@sat-test-rhel7 ~]$ hammer bootdisk subnet --subnet "bk"
[Foreman] Password for admin: 
Failed to download subnet disk image:
  ERF42-7296 [Foreman::Exception]: TFTP feature not enabled for subnet bk

Comment 14 Bryan Kearney 2016-07-27 11:02:31 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.