Re: problem/regression update cfengine 3.18 to 3.20
"'Nick Anderson' via help-cfengine" <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
thierry thunot <[email protected]> writes: > problem update cfengine 3.18 to 3.20 > everything works perfectly with 3.18 > when upgrading to 3.20 either at client level or at server and client > level, I get this error the error is : > .... error: Bundle 'regles_controle_acces' listed in the > bundlesequence is not a defined bundle error: Fatal CFEngine error: > Errors in promise bundles: could not verify bundlesequence .... Hi Thierry, I am unsure why it was working for you on 3.18 to begin with. I guess the error doesn't provide a hint as to why the bundle was not found: ,---- | error: Bundle 'regles_controle_acces' listed in the bundlesequence is not a defined bundle `---- Most commonly the issue is that the file containing the bundle was not included as part of inputs. But I see you have it included. First, rather than modifying the vendored policy (`promises.cf'), consider using Augments (`def.json') to specify files that should be part of the policy set and to extend the bundlesequence to cover your other custom policies. I suspect the real issue is that you have the bundle listed in the bundlesequence to begin with. The bundlesequence is really for `cf-agent' (seems like it never should have been in `body common control' to begin with, probably it should have been in `body agent control'. Anyway, `regles_controle_acces' is a /server/ bundle, processed by `cf-severd'. You just need to have the file the bundle lives in part of inputs and `cf-served' should pick up the bundle when it starts. So, try removing `regles_controle_access' from your bundlesequence and see if that clears the issue up. Possibly you had `ignore_missing_bundles' enabled previously which would have suppressed the error. -- Nick Anderson | Doer of Things | (+1) 785-550-1767 | <https://northern.tech> -- You received this message because you are subscribed to the Google Groups "help-cfengine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/87tu57uwpl.fsf%40precision-5570.home.cmdln.org.