Bug 1467925 - Host provisioning is in infinite loop w/ 6.3
Summary: Host provisioning is in infinite loop w/ 6.3
Keywords:
Status: CLOSED ERRATA
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: Roman Plevka
URL:
Whiteboard:
: 1482890 (view as bug list)
Depends On:
Blocks: 1490499
TreeView+ depends on / blocked
 
Reported: 2017-07-05 14:20 UTC by Sachin Ghai
Modified: 2019-09-26 16:14 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:42:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1569586 0 unspecified CLOSED Continuous PXE Boot Loop 2023-12-15 16:04:18 UTC
Red Hat Bugzilla 1596042 0 unspecified CLOSED [DOCS] document change in endpoint to end installation successfully 2021-02-22 00:41:40 UTC

Internal Links: 1569586 1596042

Description Sachin Ghai 2017-07-05 14:20:33 UTC
Description of problem:
I'm trying to provision a host using satellite6.3 snap4 on libvirt CR. Host
is getting provisioned but on next boot it again starts the provisioning.

-- 
# Inform the build system that we are done.
echo "Informing Foreman that we are built"
wget -q -O /dev/null --no-check-certificate http://SAT_SERVER.redhat.com/unattended/provision?token=aff922ea-d868-4d94-8ed4-54573177b8e0
) 2>&1 | tee /root/install.post.log
-- 

ideally it should be like:

# Inform the build system that we are done.
echo "Informing Foreman that we are built"
wget -q -O /dev/null --no-check-certificate http://SAT_SERVER.redhat.com/unattended/built
) 2>&1 | tee /root/install.post.log 


Version-Release number of selected component (if applicable):
sat6.3 snap4

How reproducible:


Steps to Reproduce:
1. create a host on libvirt
2.
3.

Actual results:
 Host is getting provisioned but on next boot it again starts the provisioning.

Expected results:


Additional info:

As per dev Daniel Lobato :

we are probably hitting http://projects.theforeman.org/issues/19745

It was fixed on
https://github.com/Katello/katello/commit/d3541c40379d9dab7f4511199c0f9a0b1228d183

Comment 8 Marek Hulan 2017-08-18 10:49:04 UTC
*** Bug 1482890 has been marked as a duplicate of this bug. ***

Comment 9 Roman Plevka 2017-09-27 19:57:55 UTC
VERIFIED
this has been in since snap #16.

now, testing on snap #17:

```
# Inform the build system that we are done.
echo "Informing Foreman that we are built"
wget -q -O /dev/null --no-check-certificate http://dell-pe-fm120-1b.rhts.eng.bos.redhat.com/unattended/built
) 2>&1 | tee /root/install.post.log
```

- provisioning works as expected, the /built endpoint now renders correctly, updates the host files on tftp to boot from local by default and flips the host.build status to 'installed' successfully.

Comment 10 Bryan Kearney 2018-02-21 16:40:00 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336

Comment 11 Bryan Kearney 2018-02-21 16:42:04 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336


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