| Newsgroups |
gmane.comp.sysutils.cfengine.general |
| Message-ID |
<[email protected]> |
------=_Part_100882_1120425415.1734697845775
Content-Type: multipart/alternative;
boundary="----=_Part_100883_562982256.1734697845775"
------=_Part_100883_562982256.1734697845775
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Argh! It's just started hitting us also.
As part of our move towards 3.21 and 3.24, we are trying to pull up to the=
=20
latest 3.18 to give ourselves a stable jumping-off point. (Yes, I know=20
3.18 is now EOL, but we've still got a 3.12 lurking locally, and I even saw=
=20
a 3.10. So I'm working hard to try to do the right thing.)
This new reporting glitch is a new bug WITHIN the 3.18 series. Things were=
=20
good all the way up to and including 3.18.7. But this suddenly appeared at=
=20
3.18.8, and is causing us some annoyance.
Why introduce such a visible change just before EOL-ing a release-series?
I know 3.18 is now EOL. But given that this NEW BUG was introduced at the=
=20
last minute, please could the fix (presumably CFE-4398) be applied=20
(cherry-picked) to the 3.18 series? Please?
CFE-4398 makes the inaccurate claim "fixed". "Inaccurate"? Yes, because=
=20
it was not fixed in all the places it had been introduced.
I would re-open CFE-4398 and add a comment there but I don't have that=20
access.
Thanks.
And happy Christmas!
-- David Lee
On Tuesday, 16 July 2024 at 13:14:20 UTC+1 Bas van der Vlies wrote:
> This is a bug. The message should be =E2=80=9CDEBUG=E2=80=9D but is =E2=
=80=9CINFO=E2=80=9D. They have=20
> fixed it but not yet released a new cfengine 3.21 version, see:
> * https://northerntech.atlassian.net/browse/CFE-4398
>
>
>
> > On 16 Jul 2024, at 00:34, Beto <[email protected]> wrote:
> >=20
> > I tried=20
> >=20
> > "control_executor_mailfilter_exclude": {
> > "value": [ ".*no package_method attribute.*" ]
> >=20
> > but it's not working for some reason. :(
> >=20
> > On Monday, July 15, 2024 at 5:18:20=E2=80=AFPM UTC-5 Beto wrote:
> > Since upgrading from cfengine-community 3.18 to CFEngine Enterprise=20
> 3.21.5 I'm seeing this on every host every time the agent runs:
> >=20
> > info: Package promise had no package_method attribute so it's being=20
> assigned a value of 'generic' as default.
> > .
> > This is repeated from 6 to ~150 times during each execution probably=20
> depending on classes.
> >=20
> > This seems like a misclassed message that should only be written in=20
> verbose or debug mode.
> >=20
> > Any ideas?
> >=20
> > Here's a sample bundle to show the issue:
> >=20
> > body common control
> > {
> > bundlesequence =3D> {
> > "main",
> > };
> > }
> >=20
> > body file control
> > {
> > inputs =3D> { "/var/cfengine/inputs/lib/packages.cf" };
> > }
> >=20
> > bundle agent main
> > {
> > methods:
> >=20
> > "any" usebundle =3D> packages;
> > }
> >=20
> > bundle agent packages {
> > vars:=20
> > redhat_7::
> > "redhat_7_baseline_packages"
> > comment =3D> "install rhel7 baseline packages",
> > slist =3D> {
> > "at",
> > "audispd-plugins",
> > };
> >=20
> > "redhat_7_baseline_packages"
> > comment =3D> "install rhel7 baseline packages",
> > if =3D> "g_ovpa",
> > slist =3D> {
> > @(redhat_7_baseline_packages),
> > "xinetd"
> > };
> >=20
> > "redhat_7_real_packages"
> > comment =3D> "install rhel7 real machine packages",
> > slist =3D> {
> > "device-mapper-multipath",
> > "device-mapper-multipath-libs",
> > "sg3_utils"
> > };
> >=20
> > "redhat_7_developer_packages"
> > comment =3D> "install rhel7 developer packages",
> > slist =3D> {
> > "gcc"
> > };
> >=20
> > "redhat_7_delete_packages"
> > comment =3D> "rhel7 wireless packages",
> > slist =3D> {
> > "iwl6050-firmware",
> > };
> >=20
> > "redhat_7_delete_packages"
> > comment =3D> "rhel7 firmware packages",
> > slist =3D> {
> > @(redhat_7_delete_packages),
> > "ivtv-firmware" };
> >=20
> > "redhat_7_delete_packages"
> > comment =3D> "rhel7 miscelleneous packages",
> > slist =3D> {
> > @(redhat_7_delete_packages),
> > "NetworkManager-tui",
> > "NetworkManager-team",
> > "NetworkManager-config-server",
> > };
> >=20
> > "redhat_7_delete_packages"
> > comment =3D> "rhel7 ovpa packages",
> > slist =3D> {
> > @(redhat_7_delete_packages),
> > "xinetd"
> > };
> >=20
> > packages:
> > redhat_7::
> > "$(redhat_7_baseline_packages)"
> > comment =3D> "Install rhel7 baseline packages",
> > policy =3D> "present",
> > version =3D> "latest",
> > package_module =3D> yum;
> >=20
> > "$(redhat_7_real_packages)"
> > comment =3D> "Install rhel7 real machine packages",
> > policy =3D> "present",
> > version =3D> "latest",
> > package_module =3D> yum;
> >=20
> > "$(redhat_7_developer_packages)"
> > comment =3D> "Install rhel7 developer packages",
> > policy =3D> "present",
> > version =3D> "latest",
> > package_module =3D> yum;
> >=20
> > "$(redhat_7_delete_packages)"
> > comment =3D> "Delete rhel7 packages",
> > policy =3D> "absent",
> > package_module =3D> yum;
> >=20
> > }
> >=20
> >=20
> >=20
> >=20
> > --=20
> > You received this message because you are subscribed to the Google=20
> Groups "help-cfengine" group.
> > To unsubscribe from this group and stop receiving emails from it, send=
=20
> an email to [email protected].
> > To view this discussion on the web visit=20
> https://groups.google.com/d/msgid/help-cfengine/87e1a57d-4e2c-4b27-a160-c=
a1815a3a739n%40googlegroups.com
> .
>
>
--=20
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 e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/help-cfengi=
ne/ba85da62-6046-47b2-a5ed-cf217ee6fff5n%40googlegroups.com.
------=_Part_100883_562982256.1734697845775
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Argh!=C2=A0 It's just started hitting us also.<br /><br />As part of our mo=
ve towards 3.21 and 3.24, we are trying to pull up to the latest 3.18 to gi=
ve ourselves a stable jumping-off point.=C2=A0 (Yes, I know 3.18 is now EOL=
, but we've still got a 3.12 lurking locally, and I even saw a 3.10.=C2=A0 =
So I'm working hard to try to do the right thing.)<br /><br />This new repo=
rting glitch is a new bug WITHIN the 3.18 series.=C2=A0 Things were good al=
l the way up to and including 3.18.7.=C2=A0 But this suddenly appeared at 3=
.18.8, and is causing us some annoyance.<br /><br /><div>Why introduce such=
a visible change just before EOL-ing a release-series?</div><div><br /></d=
iv><div>I know 3.18 is now EOL.=C2=A0 But given that this NEW BUG was intro=
duced at the last minute, please could the fix (presumably CFE-4398) be app=
lied (cherry-picked) to the 3.18 series?=C2=A0 Please?</div><div><br /></di=
v><div>CFE-4398 makes the inaccurate claim "fixed".=C2=A0 "Inaccurate"?=C2=
=A0 Yes, because it was not fixed in all the places it had been introduced.=
</div><div><br /></div><div>I would re-open CFE-4398 and add a comment ther=
e but I don't have that access.</div><div><br /></div><div>Thanks.</div><di=
v><br /></div><div>And happy Christmas!<br /></div><div><br /></div><div>--=
David Lee<br /></div><br /><div class=3D"gmail_quote"><div dir=3D"auto" cl=
ass=3D"gmail_attr">On Tuesday, 16 July 2024 at 13:14:20 UTC+1 Bas van der V=
lies wrote:<br/></div><blockquote class=3D"gmail_quote" style=3D"margin: 0 =
0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">T=
his is a bug. The message should be =E2=80=9CDEBUG=E2=80=9D but is =E2=80=
=9CINFO=E2=80=9D. They have fixed it but not yet released a new cfengine 3.=
21 version, see:
<br> * <a href=3D"https://northerntech.atlassian.net/browse/CFE-4398" targe=
t=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.co=
m/url?hl=3Den-GB&q=3Dhttps://northerntech.atlassian.net/browse/CFE-4398=
&source=3Dgmail&ust=3D1734783282084000&usg=3DAOvVaw3ON9TKHD--SM=
t2hxblWhmw">https://northerntech.atlassian.net/browse/CFE-4398</a>
<br>
<br>
<br>
<br>> On 16 Jul 2024, at 00:34, Beto <<a href data-email-masked rel=
=3D"nofollow">[email protected]</a>> wrote:
<br>>=20
<br>> I tried=20
<br>>=20
<br>> "control_executor_mailfilter_exclude": {
<br>> "value": [ ".*no package_method attribute=
.*" ]
<br>>=20
<br>> but it's not working for some reason. :(
<br>>=20
<br>> On Monday, July 15, 2024 at 5:18:20=E2=80=AFPM UTC-5 Beto wrote:
<br>> Since upgrading from cfengine-community 3.18 to CFEngine Enterpris=
e 3.21.5 I'm seeing this on every host every time the agent runs:
<br>>=20
<br>> info: Package promise had no package_method attribute so it's =
being assigned a value of 'generic' as default.
<br>> .
<br>> This is repeated from 6 to ~150 times during each execution probab=
ly depending on classes.
<br>>=20
<br>> This seems like a misclassed message that should only be written i=
n verbose or debug mode.
<br>>=20
<br>> Any ideas?
<br>>=20
<br>> Here's a sample bundle to show the issue:
<br>>=20
<br>> body common control
<br>> {
<br>> bundlesequence =3D> {
<br>> "main",
<br>> };
<br>> }
<br>>=20
<br>> body file control
<br>> {
<br>> inputs =3D> { "/var/cfengine/inputs/lib/<a href=3D"http:=
//packages.cf" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"h=
ttps://www.google.com/url?hl=3Den-GB&q=3Dhttp://packages.cf&source=
=3Dgmail&ust=3D1734783282084000&usg=3DAOvVaw1epToWgo1rgf4lEoR4rk8d"=
>packages.cf</a>" };
<br>> }
<br>>=20
<br>> bundle agent main
<br>> {
<br>> methods:
<br>>=20
<br>> "any" usebundle =3D> packages;
<br>> }
<br>>=20
<br>> bundle agent packages {
<br>> vars:=20
<br>> redhat_7::
<br>> "redhat_7_baseline_packages"
<br>> comment =3D> "install rhel7 baseline packages"=
;,
<br>> slist =3D> {
<br>> "at",
<br>> "audispd-plugins",
<br>> };
<br>>=20
<br>> "redhat_7_baseline_packages"
<br>> comment =3D> "install rhel7 baseline packages"=
;,
<br>> if =3D> "g_ovpa",
<br>> slist =3D> {
<br>> @(redhat_7_baseline_packages),
<br>> "xinetd"
<br>> };
<br>>=20
<br>> "redhat_7_real_packages"
<br>> comment =3D> "install rhel7 real machine packages&=
quot;,
<br>> slist =3D> {
<br>> "device-mapper-multipath",
<br>> "device-mapper-multipath-libs",
<br>> "sg3_utils"
<br>> };
<br>>=20
<br>> "redhat_7_developer_packages"
<br>> comment =3D> "install rhel7 developer packages&quo=
t;,
<br>> slist =3D> {
<br>> "gcc"
<br>> };
<br>>=20
<br>> "redhat_7_delete_packages"
<br>> comment =3D> "rhel7 wireless packages",
<br>> slist =3D> {
<br>> "iwl6050-firmware",
<br>> };
<br>>=20
<br>> "redhat_7_delete_packages"
<br>> comment =3D> "rhel7 firmware packages",
<br>> slist =3D> {
<br>> @(redhat_7_delete_packages),
<br>> "ivtv-firmware" };
<br>>=20
<br>> "redhat_7_delete_packages"
<br>> comment =3D> "rhel7 miscelleneous packages",
<br>> slist =3D> {
<br>> @(redhat_7_delete_packages),
<br>> "NetworkManager-tui",
<br>> "NetworkManager-team",
<br>> "NetworkManager-config-server",
<br>> };
<br>>=20
<br>> "redhat_7_delete_packages"
<br>> comment =3D> "rhel7 ovpa packages",
<br>> slist =3D> {
<br>> @(redhat_7_delete_packages),
<br>> "xinetd"
<br>> };
<br>>=20
<br>> packages:
<br>> redhat_7::
<br>> "$(redhat_7_baseline_packages)"
<br>> comment =3D> "Install rhel7 baseline packa=
ges",
<br>> policy =3D> "present",
<br>> version =3D> "latest",
<br>> package_module =3D> yum;
<br>>=20
<br>> "$(redhat_7_real_packages)"
<br>> comment =3D> "Install rhel7 real machine p=
ackages",
<br>> policy =3D> "present",
<br>> version =3D> "latest",
<br>> package_module =3D> yum;
<br>>=20
<br>> "$(redhat_7_developer_packages)"
<br>> comment =3D> "Install rhel7 developer pack=
ages",
<br>> policy =3D> "present",
<br>> version =3D> "latest",
<br>> package_module =3D> yum;
<br>>=20
<br>> "$(redhat_7_delete_packages)"
<br>> comment =3D> "Delete rhel7 packages",
<br>> policy =3D> "absent",
<br>> package_module =3D> yum;
<br>>=20
<br>> }
<br>>=20
<br>>=20
<br>>=20
<br>>=20
<br>> --=20
<br>> You received this message because you are subscribed to the Google=
Groups "help-cfengine" group.
<br>> To unsubscribe from this group and stop receiving emails from it, =
send an email to <a href data-email-masked rel=3D"nofollow">help-cfengin...=
@googlegroups.com</a>.
<br>> To view this discussion on the web visit <a href=3D"https://groups=
.google.com/d/msgid/help-cfengine/87e1a57d-4e2c-4b27-a160-ca1815a3a739n%40g=
ooglegroups.com" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D=
"https://www.google.com/url?hl=3Den-GB&q=3Dhttps://groups.google.com/d/=
msgid/help-cfengine/87e1a57d-4e2c-4b27-a160-ca1815a3a739n%2540googlegroups.=
com&source=3Dgmail&ust=3D1734783282084000&usg=3DAOvVaw3mFhM-3SL=
rWSAo_YCqETJK">https://groups.google.com/d/msgid/help-cfengine/87e1a57d-4e2=
c-4b27-a160-ca1815a3a739n%40googlegroups.com</a>.
<br>
<br></blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;help-cfengine" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">help-=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
help-cfengine/ba85da62-6046-47b2-a5ed-cf217ee6fff5n%40googlegroups.com?utm_=
medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/help-=
cfengine/ba85da62-6046-47b2-a5ed-cf217ee6fff5n%40googlegroups.com</a>.<br /=
>
------=_Part_100883_562982256.1734697845775--
------=_Part_100882_1120425415.1734697845775--