Skip to content
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

Error Reading Functions Worker ConfigMap #56

Closed
toneill818 opened this issue Aug 19, 2020 · 2 comments · Fixed by #462
Closed

Error Reading Functions Worker ConfigMap #56

toneill818 opened this issue Aug 19, 2020 · 2 comments · Fixed by #462

Comments

@toneill818
Copy link
Contributor

Describe the bug
When enabling functions, the broker throws the following error:

Error while trying to fetch configmap pulsar-functions-worker-config at namespace

To Reproduce
Steps to reproduce the behavior:

  1. Set Components.functions to True (true by default)
  2. View broker logs
  3. See error

Expected behavior
I think the role needs to be bound to the broker service account. It currently creates another service account named pulsar-functions-worker. Not sure if that SA is used by the functions, but the pulsar-broker-acct does not have access to the function worker config map.

What is the pulsar-functions-worker used for? Is it used by the functions? If so we can add read access to the pulsar-broker-acct role that is bound so it can read the ConfigMap.

@Syphixs
Copy link

Syphixs commented Dec 27, 2020

image

Sadly this error still persists even in 2.7
Still can't figure out the error, even created the clusterrole from stretch again like described in Function Docs

pgier pushed a commit to pgier/pulsar-helm-chart that referenced this issue Apr 22, 2022
rdhabalia pushed a commit to rdhabalia/pulsar-helm-chart that referenced this issue Feb 2, 2023
…lume config for bookie (apache#56)

* helm changes for ebs logs

* helm changes for ebs logs

* helm changes broker for ebs logs

* helm changes broker for ebs logs

* helm changes broker for ebs logs

* helm changes broker for ebs logs

* helm changes broker for ebs logs

* helm changes broker for ebs logs

* helm changes broker for ebs logs

* helm changes broker for ebs logs

* adding storage class for broker

* adding storage class for broker

* logs name change and storage class removal

* multi volume modification for book keeper

* multi volume modification for book keeper
@lhotari
Copy link
Member

lhotari commented Feb 21, 2024

the functions-worker-config map is a feature which doesn't work at all. it is explained at #392 (comment) .
I have another comment where the Functions Worker configuration is explained:
#382 (comment)

I'm going to fix this issue by removing the pulsar-function-worker-config map since it's just causing confusion and doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants