Project

General

Profile

Actions

Bug #702

closed

remove pxe-config-link when changing the mac address

Added by Alexander Rusa about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
TFTP
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When I change the MAC-address of a machine that is marked as "Build",
then foreman should remove an existing link with the old mac-address from the TFTP-Server and create a new one.


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #718: Permission denied trying to write to tftp dir directly instead of using smart proxyDuplicate03/08/2011Actions
Actions #1

Updated by Ohad Levy about 13 years ago

Alex,

Which version of foreman are you using? afaik, the latest git develop branch already does that (assuming you are using the smart proxy to configure tftp).

Actions #2

Updated by Alexander Rusa about 13 years ago

I pulled the latest version now and there were some updates for foreman and smart-proxy, but the behavior is still reproducible.

  1. I set an existing machine to "Build"
  2. The symlink /tftpboot/pxelinux.cfg/<mac>gets created
  3. I change the MAC address of the Host
  4. The symlink does not change.

If I now click "Cancel Build" and "Build" I have symlinks for both MAC addresses.

Actions #3

Updated by Ohad Levy about 13 years ago

  • Category set to TFTP
  • Assignee set to Ohad Levy
  • Target version set to 0.2

You are correct - however :)

we left the old tftp behavior in place not to break anyones current foreman deployment.

the new way of managing tftp services is using a smart proxy, which would also remove the entry.

I agree we can fix the legacy setup as well - thanks.

Actions #4

Updated by Ohad Levy about 13 years ago

  • Status changed from New to Duplicate
Actions #5

Updated by Ohad Levy about 13 years ago

  • Status changed from Duplicate to New
Actions #6

Updated by Ohad Levy about 13 years ago

  • Status changed from New to Assigned

this will only be officially supported with a smart proxy.

Actions #7

Updated by Ohad Levy about 13 years ago

  • Status changed from Assigned to Ready For Testing
  • % Done changed from 0 to 100
Actions #8

Updated by Ohad Levy about 13 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF