Project

General

Profile

Actions

Feature #22488

closed

Don't fail hosts provisioning on A record creation failure

Added by James Shewey about 6 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Orchestration
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When the Foreman attempts to create an A record, but fails to do so, the entire provisioning process is roadblocked. This should be a warning instead - a user can manually add an A record later if needed. Or this behavior could be configurable.

Ref: https://community.theforeman.org/t/dns-smart-proxy-times-out/8175/3

Actions #1

Updated by Anonymous about 6 years ago

  • Category set to Orchestration

Orchestration events are triggered as a "group" and all of them are rollbacked when one of them fails to not leave behind a dirty state (e.g. then stale DHCP entries or TFTP files). This behaviour is intented and one of the core concepts of Orchestration in the Foreman provisioning model.

Personally I see a very low probability, a non-failing approach would lead to a better overall situation as things like "a user can manually..." are not intended to be part of the Foreman routine.

For that specific case: turn off DNS integration alltogether if DNS is not important for your environment.

Actions #2

Updated by Marek Hulán about 6 years ago

  • Status changed from New to Need more information

I agree with Michael, to disable DNS orchestration, just disassociate DNS proxy from you subnet/domain. The possible improvement I see in orchestration would be to pause the provisioning process and let user "retry" A record creation. Today that's is not possible. I'd suggest changing the issue subject asking for "need a way to retry orchestration steps", would that be fair representation?

Actions #3

Updated by Lukas Zapletal almost 5 years ago

  • Status changed from Need more information to Rejected

I believe this is related: https://github.com/theforeman/smart_proxy_dns_infoblox/pull/23 (WIP)

Going to close this one and will create a new ticket once this is confirmed.

Actions

Also available in: Atom PDF