Attribute inheritance is not propagated correctly in UI/API workflows
update method does not invoke #apply_inherited_attributes on the newly created host.
#1 Updated by Lukas Zapletal over 3 years ago
- Subject changed from PUT /discovered_hosts/:id is not inheriting attributes from selected hostgroup to Attribute inheritance is not propagated correctly in UI/API workflows
So after some chat it looks like we are not calling apply_inherited_attributes properly from API and also from UI (we call it in
edit but not in
#4 Updated by Jason Nance over 3 years ago
I believe this same issue exists with the realm as well. Please see attached screen shots for example. If I'm talking about something different let me know and I'll open a new bug.
In short, inherited Puppet CA, Puppet Master, and Realm are showing up in the host group but not on a newly created host.
#6 Updated by Shimon Shtein over 3 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|044cd42ffcb96819af0bd3d88bb348f2f9dc8ea9.