Project

General

Profile

Actions

Bug #9158

closed

registering a client with nightly(katello+foreman) server raises: PGError: ERROR: column hosts.mac does not exist

Added by Sachin Ghai about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

on registering a client with server, production.log raises error

Description of problem:
On registering a rhel6 client with nightly server, subscription-manager throwing this error:

--
failed to register client:: PGError: ERROR: column hosts.mac does not exist
LINE 1: ...55218576' AND "hosts"."organization_id" = 256 AND "hosts"."m...
^
: SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."name" = '55218576' AND "hosts"."organization_id" = 256 AND "hosts"."mac" IN ('52:54:00:50:16:f5') LIMIT 1
--
more info in bz link.


Files

rhsm_production.log rhsm_production.log 18.8 KB Sachin Ghai, 01/29/2015 03:50 AM
Actions #1

Updated by Lukas Zapletal about 9 years ago

This is a bug for Katello, can't change the project field tho.

Marek recommends to include .include(:primary_interface) to fix this.

Actions #2

Updated by Dominic Cleal about 9 years ago

  • Project changed from Foreman to Katello
  • Category changed from Host creation to 83
  • Triaged set to No
Actions #3

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 66
  • Pull request https://github.com/Katello/katello/pull/4964 added
  • Pull request deleted ()
Actions #4

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions #5

Updated by Anonymous about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF