Project

General

Profile

Actions

Bug #14223

closed

Update katello-rhsm-consumer for atomic

Added by Partha Aji about 8 years ago. Updated over 5 years ago.

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

Description

The mechanism used by Katello to determine if a host is atomic is flawed at the provisioning time.
https://github.com/Katello/puppet-certs/blob/master/templates/rhsm-katello-reconfigure.erb#L27
Katello checks for

if [ -e "/run/ostree-booted" ] at the provisioning time, which doesnot exist.
then
  #atomic setup

This needs to be replaced with

grep -i 'Atomic Host' /etc/os-release 2>&1> /dev/null
 if [ $? -eq 0 ]
 then
   #atomic setup
Actions #1

Updated by Partha Aji about 8 years ago

  • Bugzilla link set to 1318066
Actions #2

Updated by Partha Aji about 8 years ago

  • Status changed from New to Closed
Actions #3

Updated by Partha Aji about 8 years ago

  • Pull request https://github.com/Katello/puppet-certs/pull/81 added
Actions

Also available in: Atom PDF