Project

General

Profile

Actions

Bug #5731

open

provisioning templates associated with an org reference snippets not associated with same org

Added by Thomas McKay almost 10 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Organizations and Locations
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Unsure what the implications of this are: Will the snippets not be found a build time? Specifically looking at the subscription manager snippet referenced in katello kickstart.


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #6631: Provisioning Template ImprovementsNew07/16/2014

Actions
Actions #1

Updated by Lukas Zapletal almost 10 years ago

Can you ellaborate? Not following.

Actions #2

Updated by Thomas McKay almost 10 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1098521
Actions #3

Updated by Dominic Cleal almost 10 years ago

  • Tracker changed from Bug to Support
  • Status changed from New to Resolved

Official answer is undefined behaviour, all associated resources should be available to the organisations you need them in to prevent mismatches.

Unofficially, I expect it depends on the context of where you're using the template. If triggering an action from the web UI and if you have current taxonomies then it will probably restrict to those taxonomies (e.g. creating a host and PXE/finish template rendering). If accessing templates via the API (e.g. kickstart fetch), I expect they'd resolve.

Actions #4

Updated by Thomas McKay almost 10 years ago

  • Tracker changed from Support to Bug
  • Status changed from Resolved to Assigned

Please don't close my issues without discussion. Clearly there is an issue in this area if the behavior is undefined. As this would seem to impact foretello when orgs and locations are enabled, I would like more justification as to why it won't be addressed as a bug. Thanks you.

Actions #5

Updated by Dominic Cleal almost 10 years ago

  • Status changed from Assigned to Feedback

If snippets are associated to the same org(s) as the templates, then they should resolve. Is the bug description implying that this isn't occurring?

Actions #6

Updated by Thomas McKay almost 10 years ago

The scenario is that only the templates were in an org, not the referenced snippets. So a couple of questions:

1) If a template references a snippet that the user cannot see due to permissions, what will happen? What should happen?
2) If a template references a snippet that does not belong to the same org, what will happen? What should happen?
3) If a template references a snippet that does not exist at all, what will happen? What should happen?

Actions #7

Updated by Bryan Kearney almost 10 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1103933
Actions #8

Updated by Stephen Benjamin almost 10 years ago

  • Related to Tracker #6631: Provisioning Template Improvements added
Actions #9

Updated by Thomas McKay almost 9 years ago

  • Status changed from Feedback to New
Actions

Also available in: Atom PDF