-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: The 'kernel' service is synthetic, it needs to be set at boot time when running update index command on 11.3.1 #202
Comments
related to pimcore/data-importer#420? |
@lucas-langa Thank you for sharing this bug with us. My first note would be, how does this even work with OpenSearch? Currently we are not supporting OpenSearch with the E-Commerce Framework. I would need some more details here if you are able to share them. @medovanx I trued to reproduce the issue with ES8 in our docker setup, but was not able to reproduce it. |
I used docker-compose with the following service
and contents of
The Product class is called "Products" so I specify by running
I have the following in services.yaml because it was complaining of this method not being public when running the update-index command
The Products class Implements Interface: |
@medovanx thank you for your detailed description. I checked for differences and I updated my elastic search image. I still cannot reproduce this issue. When does this error occur? Everytime you reindex your Products? Do you manually execute the command or is it scheduled? |
Yep everytime I try to index, I run it manually |
Hmm okay, maybe some of my colleagues have to try it, but for me currently it works everytime. Thanks for your detailed description though! |
This error suggests that the kernel service isn't being properly initialized or injected when running the index update @medovanx since we are not able to reproduce this error, could you maybe share with us how and from where are you running the command exactly? What project setup are you using? |
@lukmzig and also I'm running using |
@medovanx e.g. that you are using Also you are using your own trait, the indexable trait. What does it do? |
Pimcore version
11.3.1
Steps to reproduce
php bin/console ecommerce:indexservice:bootstrap --update-index
Actual Behavior
429 from opensearch
then "The 'kernel' service is synthetic, it needs to be set at boot time" error
Expected Behavior
products get saved in opensearch index
The text was updated successfully, but these errors were encountered: