+++ This bug was initially created as a clone of Bug #1297324 +++ Description of problem: I was verifying bugzilla #1193933 and found that command to generate subnet bootdisk iso via hammer is missing. --- No upstream release was done yet, the patch was merged into Satellite 6.2 (https://access.redhat.com/errata/RHBA-2016:1501) but since it is not in upstream yet it is missing from 6.3. Regression.
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/13036 has been resolved.
Verified with sat6.3 GA snap25. hammer cmd is there to generate subnet bootdisk. ~]# hammer -u admin -p changeme bootdisk --help Usage: hammer bootdisk [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: generic Download generic image host Download host image subnet Download subnet generic image Options: -h, --help print help [root@qe-sat6-feature-rhel6 ~]# hammer -u admin -p changeme bootdisk subnet --help Usage: hammer bootdisk subnet [OPTIONS] Options: --file PATH File or device to write image to --force Force writing to existing destination (device etc.) --subnet SUBNET_NAME Subnet name --subnet-id SUBNET_ID --sudo Use sudo to write to device -h, --help print help
~]# hammer -u admin -p changeme bootdisk subnet --subnet sfeature_el6 Successfully downloaded subnet disk image to bootdisk_subnet_sfeature_el6.iso [root@qe-sat6-feature-rhel6 ~]# ll total 1352 -rw-------. 1 root root 3236 Aug 8 13:43 anaconda-ks.cfg -rw-r--r--. 1 root root 1048576 Nov 22 03:58 bootdisk_subnet_sfeature_el6.iso ~]# hammer -u admin -p changeme bootdisk subnet --subnet-id 2 --file /root/subnet_bootdisk.iso Successfully downloaded subnet disk image to /root/subnet_bootdisk.iso [root@qe-sat6-feature-rhel6 ~]# ll total 2376 -rw-r--r--. 1 root root 1048576 Nov 22 03:59 subnet_bootdisk.iso
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/RHSA-2018:0336