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.
Created attachment 1508759[details]
foremain-tail
Description of problem:
When creating host on libvirt compute resource, it fails to retrieve provision template due to ISE: Net::HTTPNotFound
Version-Release number of selected component (if applicable):
satellite-6.5.0-5.beta.el7sat.noarch
How reproducible:
always
Steps to Reproduce:
1. Setup provisioning
2. Create libvirt CR
3. Attempt to create a host in that compute resource
Actual results:
VM fails to boot into the anaconda with "failed to fetch kickstart from ...". See attached screenshot.
Expected results:
Should work
Additional info:
On the Satellite, there is:
==> /var/log/foreman/production.log <==
2018-11-27T07:22:36 [I|app|] Started GET "/unattended/provision?token=26ddb4cf-067c-4fe8-b97e-02eac53bef96&url=http%3A%2F%2Fsatellite.nodhcp.local%3A8000" for satellite.nodhcp.local at 2018-11-27 07:22:36 +0100
2018-11-27T07:22:36 [I|app|1125d] Processing by UnattendedController#host_template as TEXT
2018-11-27T07:22:36 [I|app|1125d] Parameters: {"token"=>"26ddb4cf-067c-4fe8-b97e-02eac53bef96", "url"=>"http://satellite.nodhcp.local:8000", "kind"=>"provision", "unattended"=>{}}
2018-11-27T07:22:36 [E|app|1125d] unattended: unable to find a host that matches the request from 192.168.11.3
2018-11-27T07:22:36 [I|app|1125d] Rendering text template
2018-11-27T07:22:36 [I|app|1125d] Rendered text template (0.0ms)
2018-11-27T07:22:36 [I|app|1125d] Completed 404 Not Found in 11ms (Views: 0.3ms | ActiveRecord: 5.2ms)
Jan, are you sure your VM can correctly resolve http://satellite.nodhcp.local:8000? The Net::HTTPNotFound means some server resolved under this name returned 404. Based on the port, I suppose you're fetching the KS via capsule. Could you provide capsule logs with debug log level from the time the server asks for the template? Could you please also give us production.log with debug log level set? It may be, that the token is expired or was not found for whatever reason. If you have the reproducer, we can take a look together.