acs-aem-commons icon indicating copy to clipboard operation
acs-aem-commons copied to clipboard

AEMaaCS | Missing users in Publishers

Open learn-design-develop opened this issue 1 year ago • 4 comments

Required Information

  • [x] AEM Version, including Service Packs, Cumulative Fix Packs, etc: AEMaaCS 2023.12.14697.20231215T125030Z
  • [x] ACS AEM Commons Version: 6.0.8
  • [x] Reproducible on Latest? yes/no: yes

Expected Behavior

On publishers, errors appear in logs for missing service users. 2024-01-01T16:23:34+01:00 01.01.2024 15:23:34.744 [cm-p23958-e477620-aem-publish-856487b4bb-xznlf] ERROR [pool-7-thread-1] com.adobe.granite.repository.impl.SystemPrincipalsValidation Principal 'acs-commons-twitter-updater-service' does not exist. Unable to validate.

2024-01-01T16:23:34+01:00 01.01.2024 15:23:34.730 [cm-p23958-e477620-aem-publish-856487b4bb-xznlf] ERROR [pool-7-thread-1] com.adobe.granite.repository.impl.SystemPrincipalsValidation Principal 'acs-commons-package-replication-status-event-service' does not exist. Unable to validate.

Actual Behavior

These errors shouldn't appear in logs.

Steps to Reproduce

Deploy mentioned version of ACS common on AEM as cloud service and these logs would start to appear with missing service user information.

Links

Links to related assets, e.g. content packages containing test components Following config doesn't have mentioned service users defined for Publisher.

learn-design-develop avatar Mar 05 '24 08:03 learn-design-develop

It looks like the service user mappings are set in the config but the repo init scripts that create the users are only in config.author .. we should move the user mappings to config.author as well

davidjgonzalez avatar Mar 22 '24 14:03 davidjgonzalez

@davidjgonzalez Thanks and yes, it's exactly the same. I want to raise a PR for the same but not able to create branch. Is it possible for me to do so?

learn-design-develop avatar Apr 02 '24 10:04 learn-design-develop

Please create a PR from a branch in your fork.

kwin avatar Apr 02 '24 11:04 kwin

@kwin @davidjgonzalez Here's the PR https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/3310

learn-design-develop avatar Apr 02 '24 15:04 learn-design-develop