2020-05-08 09:34:07 UTC - Damien Roualen: Yes pulsar-admin-role is a superuser. “superUserRoles=pulsar-role-admin” ---- 2020-05-08 09:35:26 UTC - Damien Roualen: After a `./pulsar-admin topics list "public/default"`
I see in the log: `09:15:57.353 [pulsar-web-39-6] INFO org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [08/May/2020:09:15:57 +0000] "GET /admin/v2/persistent/public/default HTTP/1.1" 200 2 "-" "Pulsar-Java-v2.5.1" 1` But then: `09:15:57.448 [pulsar-web-39-1] INFO org.eclipse.jetty.server.RequestLog - 10.242.176.165 - - [08/May/2020:09:15:57 +0000] "GET /admin/v2/non-persistent/public/default/0x30000000_0x40000000 HTTP/1.1" 401 75 "-" "Pulsar-Java-v2.5.1" 2` ---- 2020-05-08 13:02:42 UTC - Anshul Dhyani: thank you @Alex Yaroslavsky: i was not able to use pulsar-admin in WSL, is there any link which describes how to do it. ---- 2020-05-08 15:16:02 UTC - Rattanjot Singh: Hi, getting this error ```[pulsar-external-listener-3-1] WARN org.apache.pulsar.client.impl.PulsarClientImpl - [topic: <persistent://public/default/t1>] Could not get connection while getPartitionedTopicMetadata -- Will try again in 100 ms 15:07:58.933 [pulsar-client-io-1-1] WARN org.apache.pulsar.client.impl.BinaryProtoLookupService - [<persistent://public/default/t1>] failed to get Partitioned metadata : Policies not found for public/default namespace``` Also this works for one broker and fails in another ```bin/pulsar-admin tenants list HTTP 500 Internal Server Error Reason: HTTP 500 Internal Server Error``` ---- 2020-05-08 15:19:16 UTC - David Kjerrumgaard: I am seeing those warnings as well in 2.5.1 release. Fortunately, they don't prevent pulsar from functioning :smiley: ---- 2020-05-08 15:28:45 UTC - Adam P.: What’s the best way to run functions using python3 instead of python 2? ---- 2020-05-08 17:52:36 UTC - Alex Yaroslavsky: We are having an issue lately where "functions" just disappear, "pulsar-admin functions get" says they do not exist. The only thing that seems relevant that was changed recently is setting defaultRetentionTimeInMinutes and ttlDurationDefaultInSeconds in broker.conf. We are running 2.5.0. Have anyone seen something like that before? Where is the functions configuration stored? ---- 2020-05-08 17:58:26 UTC - Alex Yaroslavsky: Another change is that I remove port 6750 from k8s pod services. My whole setup is configured to use TLS and I expect that port 6751 should be enough. ---- 2020-05-08 18:18:04 UTC - Alex Yaroslavsky: Yesterday they definitely disappeared, but not I can see that the function is working but the following command returns bin/pulsar-admin --admin-url <https://pulsar-function:6751> functions get --tenant bdd83902-3a85-3e51-9147-fa43564ed56e --namespace emsaas --name emsaas_in_raw_property_router ---- 2020-05-08 18:18:06 UTC - Alex Yaroslavsky: HTTP 404 Not Found Reason: Function emsaas_in_raw_property_router doesn't exist ---- 2020-05-08 18:25:43 UTC - Alex Yaroslavsky: I see this in the log ---- 2020-05-08 18:25:44 UTC - Alex Yaroslavsky: 18:22:20.327 [function-web-27-6] ERROR org.apache.pulsar.functions.worker.rest.api.ComponentImpl - Function does not exist @ /bdd83902-3a85-3e51-9147-fa43564ed56e/emsaas/emsaas_in_raw_property_router 18:22:20.329 [function-web-27-6] INFO org.eclipse.jetty.server.RequestLog - 10.128.23.199 - - [08/May/2020:18:22:20 +0000] "GET /admin/v3/functions/bdd83902-3a85-3e51-9147-fa43564ed56e/emsaas/emsaas_in_raw_property_router HTTP/1.1" 404 65 "-" "Pulsar-Java-v2.5.0" 3 ---- 2020-05-08 18:25:56 UTC - Alex Yaroslavsky: But the function itself is running and working ---- 2020-05-08 21:09:16 UTC - Sijie Guo: Can you create a github issue for it? ---- 2020-05-08 21:42:40 UTC - Kirill Merkushev: but how you make it available to pulsar? Attach it to pulsar’s cpath? ---- 2020-05-09 03:34:46 UTC - ckdarby: @ckdarby has joined the channel ----
