Bug 1482890 - Provisioning ends up in endless loop
Summary: Provisioning ends up in endless loop
Keywords:
Status: CLOSED DUPLICATE of bug 1467925
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-18 10:05 UTC by Tomas Strachota
Modified: 2017-09-04 12:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-18 10:49:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17903 0 Normal Closed Unattended template doesn't call 'built' 2021-02-15 15:00:51 UTC

Description Tomas Strachota 2017-08-18 10:05:54 UTC
Description of problem:

During the provisioning process, satellite is never informed that the host has been built and it starts provisioning again after reboot.

Version-Release number of selected component (if applicable):
Satellite 6.3 snap 10

How reproducible:
Always

Steps to Reproduce:
1. Set up a provisioning environment, make sure it uses template "Satellite Kickstart Default"
2. Create and build a new host
3. Wait until the moment when the host should notify satellite that it has been built

Actual results:
The host hits wrong url and the provisioning starts over after reboot.

Expected results:
The host should trigger request to /unattended/built and notify the satellite that it has been built.


Additional info:
The "Satellite Kickstart Default" contains lines:
  echo "Informing Foreman that we are built"
  wget -q -O /dev/null --no-check-certificate <%= foreman_url %>

The 'foreman_url' macro takes parameter action, that defaults to 'provision'. The template should contain 'foreman_url("built")' on that line.

The current wget command only downloads a provisioning template.

Comment 3 Marek Hulan 2017-08-18 10:49:04 UTC
I suppose this is a dup of BZ 1467925, please reopen if I misunderstood.

*** This bug has been marked as a duplicate of bug 1467925 ***


Note You need to log in before you can comment on or make changes to this bug.