Project

General

Profile

Actions

Bug #20353

closed

cli - hammer repository create --content-type missing ostree option

Added by Partha Aji almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1439835

Description of problem:
after enabling ostree on el7, hammer repository create|update subcommads do not recognize 'ostree' as a valid content-type parameter.

I verified the ostree is indeed enabled by issuing an API request which worked.

ostree-related packages and their version can be seen in the attached log

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

Steps to Reproduce:
1. enable ostree on satellite nightly
2. hammer repository create --name foo --content-type ostree
3.

Actual results:
[ERROR 2017-04-05 12:23:42 Exception] Error: option '--content-type': value must be one of 'yum', 'file', 'puppet', 'docker'

Apipie needs to get rerun after ostree is installed

Actions

Also available in: Atom PDF