ITS plugin : constant "Did you forget to configure the ITS project association in project.config?" errors

72 views
Skip to first unread message

Ian Wienand

unread,
Sep 28, 2021, 2:50:59 AM9/28/21
to repo-d...@googlegroups.com
Hello,

We constantly see errors like

ERROR com.googlesource.gerrit.plugins.its.base.workflow.ActionController : Could not process project event. No its-project associated with project <project>. Did you forget to configure the ITS project association in project.config?

I'm trying to understand how we're getting into this path. It seems
like every event is falling into this path @ [1].

AFAICT this was added from [2] to provide
"create-version-from-property"; which seems to basically allow you to
set things up in your bug-tracker, etc. when a tag is pushed to a
project.

We do not use this at all, and do not have the project association
setup for our repositories. So I'm wondering how to get this path
ignored and stop these errors?

Thanks

-i

[1] https://gerrit.googlesource.com/plugins/its-base/+/refs/heads/master/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/ActionController.java#65
[2] https://gerrit.googlesource.com/plugins/its-base/+/3c1b1ca070a5d54894174b86099c7b572079b541

Sven Selberg

unread,
Sep 28, 2021, 3:35:56 AM9/28/21
to Repo and Gerrit Discussion
On Tuesday, September 28, 2021 at 8:50:59 AM UTC+2 iwie...@redhat.com wrote:
Hello,

We constantly see errors like

ERROR com.googlesource.gerrit.plugins.its.base.workflow.ActionController : Could not process project event. No its-project associated with project <project>. Did you forget to configure the ITS project association in project.config?

Ian Wienand

unread,
Sep 28, 2021, 4:15:09 AM9/28/21
to Sven Selberg, Repo and Gerrit Discussion
On Tue, Sep 28, 2021 at 12:35:56AM -0700, Sven Selberg wrote:
> Seems to me like you must set up ITS project association:
> https://gerrit.googlesource.com/plugins/its-base/+/refs/heads/master/src/main/resources/Documentation/config-common.md#associating-a-gerrit-project-with-its-its-project-counterpart

This is what I'm trying to avoid; we don't use the version tagging
feature and setting this up requires a bunch of work around config
management (it's also not exactly clear what the setting would even be
for our ITS plugin using storyboard). That documentation makes it
feel optional; "To be able to make use of actions acting at the ITS
project level, ..." but without it, we are getting all these spurious
ERROR level messages.

-i

Luca Milanesio

unread,
Sep 28, 2021, 4:34:31 AM9/28/21
to Repo and Gerrit Discussion, Luca Milanesio, Sven Selberg, Ian Wienand
I believe that warning should be rather be a debug message IMHO.

Luca.

Ian Wienand

unread,
Sep 28, 2021, 6:28:25 AM9/28/21
to Luca Milanesio, Repo and Gerrit Discussion, Sven Selberg
Heh, well if it is really that easy ...

https://gerrit-review.googlesource.com/c/plugins/its-base/+/319135

Futher opinions welcome :)

-i

elzoc...@gmail.com

unread,
Sep 28, 2021, 2:03:39 PM9/28/21
to Repo and Gerrit Discussion
Another solution is to just set the log level on that event to FATAL. 
Can be done via [1] or, if you want it to persist across restarts I use the log-level plugin [2][3]

 
-i

Reply all
Reply to author
Forward
0 new messages