Project

General

Profile

Actions

Bug #7774

open

Changing OS should trigger TFTP redeployment

Added by Lukas Zapletal about 10 years ago. Updated about 10 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Host creation
Target version:
-
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

When in build mode, TFTP files have been deployed and we should prevent from changing MAC address from the UI/CLI with error message

Cannot edit MAC when in build mode.

After build mode is cancelled, TFTP files are deleted and then MAC addresses can be changed.

Otherwise proxy would leave some garbage menus what could cause issues in future. This is trivial change I guess (a validator).


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #4006: Re-perform orchestration steps for a hostDuplicate01/13/2014Actions
Related to Foreman - Feature #2267: Need rake task and/or UI button for rebuilding all host tftp config filesClosedOndřej Pražák03/01/2013Actions
Actions #1

Updated by Lukas Zapletal about 10 years ago

Note: The same applies for OS. We should not allow users to change OS when in build mode.

Actions #2

Updated by Dominic Cleal about 10 years ago

  • Related to Feature #4006: Re-perform orchestration steps for a host added
Actions #3

Updated by Dominic Cleal about 10 years ago

  • Related to Feature #2267: Need rake task and/or UI button for rebuilding all host tftp config files added
Actions #4

Updated by Dominic Cleal about 10 years ago

This is actually meant to work, you might want to dig further into it. Maybe the orchestration isn't being triggered on some code path.

https://github.com/theforeman/foreman/blob/develop/app/models/concerns/orchestration/tftp.rb#L100-L118

Actions #5

Updated by Lukas Zapletal about 10 years ago

  • Priority changed from Normal to Low

Ok I haven't tested this, was just an idea while I was reading the code.

I see there might still be issue when changing OS (from PXELinux flavor to something like PXGGrub).

Actions #6

Updated by Lukas Zapletal about 10 years ago

  • Subject changed from Editing of MAC addresses should be disabled during build mode to Changing OS should trigger TFTP redeployment
Actions

Also available in: Atom PDF