-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.12.65: make the cluster object profile optional? #124
Comments
After discussion, the problem happens probably only if you attach a host feature to a cluster archetype rather than a cluster personality as the cluster personality is not included into the cluster. Will check. |
Unfortunately, I checked after our discussion and the cluster personality is included in the cluster object template. For example:
In a host profile, you would have:
which mainly does the personality include. So the issue remains valid for me... |
Have you tried setting the archetype to non-compilable? I think that achieves the same thing. |
@ned21 yes, you are right but if you do this you cannot use 'aq make cluster' anymore to rebuild all the hosts in the cluster... |
Interesting if that is a feature of the broker, I always assumed it was a side-effect of the PAN compilation because there are dependencies from the cluster object to the host objects.
|
I missed that, thanks! Then marking the cluster archetype does the job. I'll update my doc PR about clusters then! |
Currently, when a cluster is defined, a plenary object profile is created and compiled when
aq make cluster
is executed. I have the feeling that in general this object profile is not needed as it is not consumed by standard components. On the other hand, getting it to compile successfully can be painful, in particular if features are added to the archetype or the personality. It is the case if the feature templates need variables related to the OS (likeOS_VERSION_PARAMS
) for example, as the OS configuration is not part of the cluster object.My proposal would be to have an option to make the creation of this object profile optional. Any objection?
The text was updated successfully, but these errors were encountered: