Slackbot
06/27/2023, 7:01 AMAlexander Preuß
06/27/2023, 7:37 AMMoty
06/27/2023, 8:32 AMMoty
06/27/2023, 8:33 AMCSRF_TOKEN=$(curl <http://localhost:7750/pulsar-manager/csrf-token>)
curl \
-H 'X-XSRF-TOKEN: $CSRF_TOKEN' \
-H 'Cookie: XSRF-TOKEN=$CSRF_TOKEN;' \
-H "Content-Type: application/json" \
-X PUT <http://localhost:7750/pulsar-manager/users/superuser> \
-d '{"name": "admin", "password": "apachepulsar", "description": "test", "email": "<mailto:username@test.org|username@test.org>"}'
But since there’s no backend or it isn’t configured, this doesn’t work for meAlexander Preuß
06/27/2023, 8:40 AMlocalhost:9527Moty
06/27/2023, 8:41 AMAlexander Preuß
06/27/2023, 8:42 AMMoty
06/27/2023, 8:42 AMMoty
06/27/2023, 8:42 AMAlexander Preuß
06/27/2023, 8:42 AMMoty
06/27/2023, 8:43 AMMoty
06/27/2023, 8:43 AMMoty
06/27/2023, 8:43 AMMoty
06/27/2023, 8:43 AMAlexander Preuß
06/27/2023, 8:44 AMcurl <http://localhost:7750/pulsar-manager/csrf-token> a few timesMoty
06/27/2023, 8:45 AMAlexander Preuß
06/27/2023, 8:45 AMMoty
06/27/2023, 8:45 AMcurl: (7) Failed to connect to localhost port 7750: Connection refusedMoty
06/27/2023, 8:45 AMAlexander Preuß
06/27/2023, 8:47 AMMoty
06/27/2023, 8:47 AMAlexander Preuß
06/27/2023, 8:47 AMMoty
06/27/2023, 8:48 AMMoty
06/27/2023, 8:48 AMAlexander Preuß
06/27/2023, 8:49 AMMoty
06/27/2023, 8:49 AMMoty
06/27/2023, 8:50 AMMoty
06/27/2023, 8:50 AMMoty
06/27/2023, 8:50 AMMoty
06/27/2023, 8:51 AMMoty
06/27/2023, 8:51 AMAlexander Preuß
06/27/2023, 8:52 AM/pulsar-manager/) there should be a pulsar-manager.log showing the backend logsAlexander Preuß
06/27/2023, 8:53 AMMoty
06/27/2023, 8:54 AM2023-06-27 07:12:06,908 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2023-06-27 07:12:06,910 INFO supervisord started with pid 96
2023-06-27 07:12:07,913 INFO spawned: 'pulsar-manager-backend' with pid 97
2023-06-27 07:12:09,015 INFO success: pulsar-manager-backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-06-27 07:12:09,015 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:10,019 INFO spawned: 'pulsar-manager-backend' with pid 117
2023-06-27 07:12:10,150 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:11,153 INFO spawned: 'pulsar-manager-backend' with pid 137
2023-06-27 07:12:11,311 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:13,316 INFO spawned: 'pulsar-manager-backend' with pid 157
2023-06-27 07:12:13,464 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:16,471 INFO spawned: 'pulsar-manager-backend' with pid 177
2023-06-27 07:12:17,587 INFO success: pulsar-manager-backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-06-27 07:12:17,587 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:18,589 INFO spawned: 'pulsar-manager-backend' with pid 197
2023-06-27 07:12:19,775 INFO success: pulsar-manager-backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-06-27 07:12:19,775 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:20,778 INFO spawned: 'pulsar-manager-backend' with pid 217
2023-06-27 07:12:21,899 INFO success: pulsar-manager-backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-06-27 07:12:21,899 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:22,908 INFO spawned: 'pulsar-manager-backend' with pid 237
2023-06-27 07:12:23,045 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:24,048 INFO spawned: 'pulsar-manager-backend' with pid 257
2023-06-27 07:12:25,163 INFO success: pulsar-manager-backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-06-27 07:12:25,163 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:26,167 INFO spawned: 'pulsar-manager-backend' with pid 277
2023-06-27 07:12:26,300 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:27,302 INFO spawned: 'pulsar-manager-backend' with pid 297
2023-06-27 07:12:27,417 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:29,421 INFO spawned: 'pulsar-manager-backend' with pid 317
2023-06-27 07:12:29,524 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:32,529 INFO spawned: 'pulsar-manager-backend' with pid 337
2023-06-27 07:12:33,647 INFO success: pulsar-manager-backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-06-27 07:12:33,648 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:34,654 INFO spawned: 'pulsar-manager-backend' with pid 357
2023-06-27 07:12:34,771 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:35,774 INFO spawned: 'pulsar-manager-backend' with pid 377
2023-06-27 07:12:35,869 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:37,874 INFO spawned: 'pulsar-manager-backend' with pid 397
2023-06-27 07:12:37,977 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:40,982 INFO spawned: 'pulsar-manager-backend' with pid 417
2023-06-27 07:12:41,131 INFO exited: pulsar-manager-backend (exit status 1; not expected)
2023-06-27 07:12:42,132 INFO gave up: pulsar-manager-backend entered FATAL state, too many start retries too quicklyMoty
06/27/2023, 8:54 AMAlexander Preuß
06/27/2023, 8:56 AMMoty
06/27/2023, 8:58 AMMoty
06/27/2023, 8:58 AMMoty
06/27/2023, 8:59 AMMoty
06/27/2023, 9:08 AM