Project

General

Profile

Actions

Bug #16688

closed

It's impossible to use hammer or the API to set the installation source to a synced content (product)

Added by Simone Caldana over 7 years ago. Updated almost 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Katello version is 3.2.
The scenario is as follows
  1. a product is created pointing to a Centos repo
  2. Katello creates the corresponding installation media
  3. the installation media (as synced content) is associated to an hostgroup: this is only possible via the UI
  4. any new host created via hammer and using the aforementioned hostgroup requires a --medium parameter, or it will say
      Failed to generate PXELinux template : undefined method `path' for nil:NilClass
    
  5. by using the UI it is possible to create a host that uses the synced product as installation source. hammer host info show no difference between such a host and another created using the corresponding medium. The relevant difference is that while the host with synced content source draws the packages from the content source (in my case a capsule) the other one always refers to the URL, which points to the main katello instance.

Summarizing, the bugs are:
1. it's not possible to manage or point to a synced content as installation source
2. it's not possible to set a synced content as installation source using hammer or the api
3. the synced content set in the hostgroup is not correctly inherited by a host
4. it's not possible to create a host that uses the content source as installation media without using the UI.


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #16776: Kickstart repository not exposed on host group APIClosedStephen Benjamin10/03/2016Actions
Actions #1

Updated by Simone Caldana over 7 years ago

Katello version is 3.1, sorry

Actions #2

Updated by Eric Helms over 7 years ago

  • Is duplicate of Bug #16776: Kickstart repository not exposed on host group API added
Actions #3

Updated by Eric Helms over 7 years ago

  • Status changed from New to Duplicate
  • translation missing: en.field_release changed from 162 to 166
Actions

Also available in: Atom PDF