Project

General

Profile

Actions

Bug #11066

closed

Error when doing cancel build on non-built server

Added by Jon Skarpeteig almost 9 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

127.0.0.1 - - [09/Jul/2015 14:12:11] "GET /tftp/serverName HTTP/1.1" 200 28 0.0007
127.0.0.1 - - [09/Jul/2015 14:12:14] "DELETE /tftp/syslinux/00:50:56:bb:75:51 HTTP/1.1" 200 - 0.0007
127.0.0.1 - - [09/Jul/2015 14:12:15] "DELETE /puppet/ca/testmachine HTTP/1.1" 200 - 1.5914
E, [2015-07-09T14:12:20.558479 #32414] ERROR -- : Attempt to remove nonexistant client autosign for testmachine

Actions #1

Updated by Dominic Cleal almost 9 years ago

  • Status changed from New to Feedback

This seems normal, it's just attempting to delete an autosign entry which could potentially be on disk if the provision template had been requested.

Unless Foreman's flagging this as an error, the behaviour seems expected.

Actions #2

Updated by Jon Skarpeteig almost 9 years ago

The problem is that when creating a new host, the autosign stuff isn't added until the PXE boot sequence has triggered. It should be perfectly ok to cancel a build before the host has PXE booted.

Right now, I'm facing #3034, and I wanted to cancel and re-initiate build - but that is not possible in the current state of the host.

Actions #3

Updated by Dominic Cleal almost 9 years ago

Sure, so are you saying Foreman is failing to cancel the build? Could you include some logs from that? This ticket description isn't really showing the issue - it simply shows a 200 response from the proxy.

Actions #4

Updated by Jon Skarpeteig almost 9 years ago

Correct. Cancel build fails from the UI side, with the following log on the server side:

127.0.0.1 - - [09/Jul/2015 14:12:11] "GET /tftp/serverName HTTP/1.1" 200 28 0.0007
127.0.0.1 - - [09/Jul/2015 14:12:14] "DELETE /tftp/syslinux/00:50:56:bb:75:51 HTTP/1.1" 200 - 0.0007
127.0.0.1 - - [09/Jul/2015 14:12:15] "DELETE /puppet/ca/testmachine HTTP/1.1" 200 - 1.5914
E, [2015-07-09T14:12:20.558479 #32414] ERROR -- : Attempt to remove nonexistant client autosign for testmachine

Actions #5

Updated by Dominic Cleal almost 9 years ago

That's only the smart proxy log - can you provide the Foreman log when cancelling the build? /var/log/foreman/production.log

Actions #6

Updated by Anonymous about 7 years ago

  • Status changed from Feedback to Resolved

no reaction, closing

Actions

Also available in: Atom PDF