Re: problem/regression update cfengine 3.18 to 3.20

thierry thunot <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Hello Nick thanks again for your quick response. Since the beginning of the 
implementation of the multienvironment since 3.12 3.15 3.17 and 3.18 the 
structure is the same.
 I changed my promses.cf and everything seems to work normally. 
I made this mistake from the beginning!!! 
And i'm going to declare my specifics bundlesequence in my def.json 

Thanks again for your  help.

Le vendredi 16 septembre 2022 à 16:10:17 UTC, [email protected] a 
écrit :

> 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 <(785)%20550-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/ad14c38a-a6ee-4b73-8f19-a9dabaed988fn%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.