Bug #9158
closedregistering a client with nightly(katello+foreman) server raises: PGError: ERROR: column hosts.mac does not exist
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
Updated by Lukas Zapletal almost 10 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.
Updated by Dominic Cleal almost 10 years ago
- Project changed from Foreman to Katello
- Category changed from Host creation to 83
- Triaged set to No
Updated by The Foreman Bot almost 10 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 (
)
Updated by Eric Helms almost 10 years ago
- Translation missing: en.field_release set to 23
- Triaged changed from No to Yes
Updated by Anonymous almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|8e90541ed394e40f5cb47f4a33339aa9921306f8.