Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When registering to a Satellite from a host, the Satellite will accept a registration if the UUID of the system is not passed. When removing the host from the Satellite webui that was registered not passing a UUID errors complaining about a host not having a UUID.
Version-Release number of selected component (if applicable):
Satellite 6.2.2
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Satellite delete host task fails due to missing UUID.
Expected results:
Host should delete reguardless of missing information based on host id
Additional info:
foreman=# \d katello_systems
Table "public.katello_systems"
Column | Type | Modifiers
-----------------+-----------------------------+--------------------------------------------------------------
id | integer | not null default nextval('katello_systems_id_seq'::regclass)
uuid | character varying(255) | **(THIS SHOULD BE NOT NULL)**
name | character varying(255) |
location | character varying(255) |
environment_id | integer |
created_at | timestamp without time zone | not null
updated_at | timestamp without time zone | not null
type | character varying(255) | default 'Katello::System'::character varying
content_view_id | integer |
host_id | integer |
Indexes:
"katello_systems_pkey" PRIMARY KEY, btree (id)
"index_katello_systems_on_host_id" btree (host_id)
"index_systems_on_content_view_id" btree (content_view_id)
"index_systems_on_environment_id" btree (environment_id)
Foreign-key constraints:
"katello_systems_host_id" FOREIGN KEY (host_id) REFERENCES hosts(id)
"systems_content_view_id_fk" FOREIGN KEY (content_view_id) REFERENCES katello_content_views(id)
"systems_environment_id_fk" FOREIGN KEY (environment_id) REFERENCES katello_environments(id)
Referenced by:
TABLE "katello_system_repositories" CONSTRAINT "katello_system_repositories_system_id_fk" FOREIGN KEY (system_id) REFERENCES katello_systems(id)
TABLE "katello_system_activation_keys" CONSTRAINT "system_activation_keys_system_id_fk" FOREIGN KEY (system_id) REFERENCES katello_systems(id)
This is fixed by the same patch that 1330072 fixes (removal of legacy system code and tables).
Marking as duplicate since it's the same root cause.
*** This bug has been marked as a duplicate of bug 1330072 ***
Description of problem: When registering to a Satellite from a host, the Satellite will accept a registration if the UUID of the system is not passed. When removing the host from the Satellite webui that was registered not passing a UUID errors complaining about a host not having a UUID. Version-Release number of selected component (if applicable): Satellite 6.2.2 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Satellite delete host task fails due to missing UUID. Expected results: Host should delete reguardless of missing information based on host id Additional info: foreman=# \d katello_systems Table "public.katello_systems" Column | Type | Modifiers -----------------+-----------------------------+-------------------------------------------------------------- id | integer | not null default nextval('katello_systems_id_seq'::regclass) uuid | character varying(255) | **(THIS SHOULD BE NOT NULL)** name | character varying(255) | location | character varying(255) | environment_id | integer | created_at | timestamp without time zone | not null updated_at | timestamp without time zone | not null type | character varying(255) | default 'Katello::System'::character varying content_view_id | integer | host_id | integer | Indexes: "katello_systems_pkey" PRIMARY KEY, btree (id) "index_katello_systems_on_host_id" btree (host_id) "index_systems_on_content_view_id" btree (content_view_id) "index_systems_on_environment_id" btree (environment_id) Foreign-key constraints: "katello_systems_host_id" FOREIGN KEY (host_id) REFERENCES hosts(id) "systems_content_view_id_fk" FOREIGN KEY (content_view_id) REFERENCES katello_content_views(id) "systems_environment_id_fk" FOREIGN KEY (environment_id) REFERENCES katello_environments(id) Referenced by: TABLE "katello_system_repositories" CONSTRAINT "katello_system_repositories_system_id_fk" FOREIGN KEY (system_id) REFERENCES katello_systems(id) TABLE "katello_system_activation_keys" CONSTRAINT "system_activation_keys_system_id_fk" FOREIGN KEY (system_id) REFERENCES katello_systems(id)