Bug 1462588
Summary: | When updating a snippet with hammer and --type parameter is missing the error message says Template kind can't be blank | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Mark Barry <mwbarry> |
Component: | Provisioning Templates | Assignee: | Tomas Strachota <tstrachota> |
Status: | CLOSED ERRATA | QA Contact: | Nikhil Kathole <nkathole> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | Unspecified | CC: | bbuckingham, bkearney, dhlavacd, jcallaha, nkathole, tstrachota |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | hammer-cli-foreman 0.11 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:54:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mark Barry
2017-06-19 01:53:02 UTC
This happens only when updating snippets. The message is incorrect but the main issue here is that the kind parameter shouldn't be required at all. I updated the title accordingly. Upstream bug assigned to tstrachota Upstream bug assigned to tstrachota Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20145 has been resolved. VERIFIED Version Tested: Satellite-6.3 Snap 17 steps: # hammer template create --name test --type snippet --file test.erb Provisioning template created # hammer template update --name test --locked true Provisioning template updated # hammer template update --name test --locked false Provisioning template updated # hammer template update --name "pxelinux_discovery" --locked false Provisioning template updated Successfully updated template when kind parameter in UI is missing. 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
|