[stork-users] Default admin account does not work on fresh installation

Kevin Olbrich ko at sv01.de
Sat Jul 18 23:42:44 UTC 2020


Hi!

I did a fresh install using the prebuilt images on debian buster.
After setting up PG and isc-stork-server and trying to login, this is
being logged:

Jul 19 01:33:23 dhcp02.intra.srvfarm.net systemd[1]: Started ISC Stork Server.
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]       connection.go:29    checking
connection to database
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]       connection.go:77    connected to
database 127.0.0.1:5432, schema version: 25
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]      eventcenter.go:49    Started
EventCenter
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]           puller.go:38    starting BIND 9
Stats Puller
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]           puller.go:71    started BIND 9
Stats Puller
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]           puller.go:38    starting Kea Stats
Puller
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]           puller.go:71    started Kea Stats
Puller
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]           puller.go:38    starting Kea Hosts
Puller
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]           puller.go:71    started Kea Hosts
Puller
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]           puller.go:38    starting Kea
Status Puller
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]           puller.go:71    started Kea Status
Puller
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]      eventcenter.go:109   event 'started
Stork server'
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]             main.go:25    Starting Stork
Server, version 0.9.0, build date 2020-07-01 08:23
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]       middleware.go:48    installed file
server middleware
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]       middleware.go:68    installed SSE
middleware
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]       middleware.go:19    installed logging
middleware
Jul 19 01:33:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:23]      restservice.go:240   started serving
Stork Server                  address="http://[::]:8080"
Jul 19 01:33:42 dhcp02.intra.srvfarm.net stork-server[13659]:
ERRO[2020-07-19 01:33:42]            users.go:71    error while
creating new session identifier: pq: password authentication failed
for user "stork"
Jul 19 01:33:42 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:42]       middleware.go:42    served request
                           method=POST
path="/api/sessions?useremail=admin&userpassword=admin" remote="1
Jul 19 01:33:43 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:43]       middleware.go:42    served request
                           method=GET path="/login?returnUrl=%2F"
remote="192.168.81.221:58602" took="95
Jul 19 01:33:44 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:44]       middleware.go:42    served request
                           method=GET path=/api/version
remote="192.168.81.221:58602" took="131.967µs"
Jul 19 01:33:44 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:44]       middleware.go:42    served request
                           method=GET path=/api/version
remote="192.168.81.221:58608" took="112.311µs"
Jul 19 01:33:44 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:44]       middleware.go:42    served request
                           method=GET path=/favicon.ico
remote="192.168.81.221:58608" took=2.53726ms
Jul 19 01:33:46 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:46]       middleware.go:42    served request
                           method=GET path=/api/version
remote="192.168.81.221:58608" took="66.381µs"
Jul 19 01:33:46 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:46]       middleware.go:42    served request
                           method=GET path=/api/version
remote="192.168.81.221:58608" took="39.518µs"
Jul 19 01:33:50 dhcp02.intra.srvfarm.net stork-server[13659]:
ERRO[2020-07-19 01:33:50]            users.go:71    error while
creating new session identifier: pq: password authentication failed
for user "stork"
Jul 19 01:33:50 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:50]       middleware.go:42    served request
                           method=POST
path="/api/sessions?useremail=admin&userpassword=admin" remote="1
Jul 19 01:33:53 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:33:53]           status.go:333   completed pulling
DHCP status from Kea apps: 0/0 succeeded
Jul 19 01:34:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:34:23]      statspuller.go:63    completed pulling
stats from BIND 9 apps: 0/0 succeeded
Jul 19 01:34:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:34:23]           status.go:333   completed pulling
DHCP status from Kea apps: 0/0 succeeded
Jul 19 01:34:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:34:23]      statspuller.go:101   completed pulling
lease stats from Kea apps: 0/0 succeeded
Jul 19 01:34:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:34:23]             host.go:100   completed pulling
hosts from Kea apps: 0/0 succeeded
Jul 19 01:34:53 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:34:53]           status.go:333   completed pulling
DHCP status from Kea apps: 0/0 succeeded
Jul 19 01:35:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:35:23]      statspuller.go:63    completed pulling
stats from BIND 9 apps: 0/0 succeeded
Jul 19 01:35:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:35:23]      statspuller.go:101   completed pulling
lease stats from Kea apps: 0/0 succeeded
Jul 19 01:35:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:35:23]           status.go:333   completed pulling
DHCP status from Kea apps: 0/0 succeeded
Jul 19 01:35:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:35:23]             host.go:100   completed pulling
hosts from Kea apps: 0/0 succeeded
Jul 19 01:35:42 dhcp02.intra.srvfarm.net stork-server[13659]:
ERRO[2020-07-19 01:35:42]            users.go:71    error while
creating new session identifier: pq: password authentication failed
for user "stork"
Jul 19 01:35:42 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:35:42]       middleware.go:42    served request
                           method=POST
path="/api/sessions?useremail=admin&userpassword=admin" remote="1
Jul 19 01:35:53 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:35:53]           status.go:333   completed pulling
DHCP status from Kea apps: 0/0 succeeded
Jul 19 01:36:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:36:23]      statspuller.go:63    completed pulling
stats from BIND 9 apps: 0/0 succeeded
Jul 19 01:36:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:36:23]      statspuller.go:101   completed pulling
lease stats from Kea apps: 0/0 succeeded
Jul 19 01:36:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:36:23]           status.go:333   completed pulling
DHCP status from Kea apps: 0/0 succeeded
Jul 19 01:36:23 dhcp02.intra.srvfarm.net stork-server[13659]:
INFO[2020-07-19 01:36:23]             host.go:100   completed pulling
hosts from Kea apps: 0/0 succeeded
...

As the schema has been loaded, db credentials should be fine. Where is
this authentication failed error coming from?

Kind regards
Kevin


More information about the Stork-users mailing list