Project

General

Profile

Bug #9158

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

Added by Sachin Ghai about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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.

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

Associated revisions

Revision 8e90541e (diff)
Added by Stephen Benjamin about 8 years ago

fixes #9158 - do not find foreman host by mac

Revision 2082cfe0
Added by Eric Helms about 8 years ago

Merge pull request #4964 from stbenjam/9158

fixes #9158 - do not find foreman host by mac

History

#1 Updated by Lukas Zapletal about 8 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.

#2 Updated by Dominic Cleal about 8 years ago

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

#3 Updated by The Foreman Bot about 8 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 ()

#4 Updated by Eric Helms about 8 years ago

  • Legacy Backlogs Release (now unused) set to 23
  • Triaged changed from No to Yes

#5 Updated by Anonymous about 8 years ago

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

Also available in: Atom PDF