stork issueshttps://gitlab.isc.org/isc-projects/stork/-/issues2024-01-03T14:03:25Zhttps://gitlab.isc.org/isc-projects/stork/-/issues/1260Long IPv6 address overlaps the reservation status2024-01-03T14:03:25ZSlawek FigielLong IPv6 address overlaps the reservation statusThe long IPv6 address overlaps the reservation status on the host reservation page.
![image](/uploads/53dfcad412a5fa954c4d5a851069c506/image.png)The long IPv6 address overlaps the reservation status on the host reservation page.
![image](/uploads/53dfcad412a5fa954c4d5a851069c506/image.png)1.15Piotrek ZadrogaPiotrek Zadrogahttps://gitlab.isc.org/isc-projects/stork/-/issues/1258Apps State Puller Interval is not preserved2024-03-05T12:38:29ZSlawek FigielApps State Puller Interval is not preservedIt is impossible to set the `Apps State Puller Interval` setting on UI. It always reverts to 30 seconds.
The API return HTTP 200 OK status:
```
stork-server-1 | time="2023-12-08 17:36:14" level="info" msg="HTTP request...It is impossible to set the `Apps State Puller Interval` setting on UI. It always reverts to 30 seconds.
The API return HTTP 200 OK status:
```
stork-server-1 | time="2023-12-08 17:36:14" level="info" msg="HTTP request incoming" file=" middleware.go:79 " method="PUT" path="/api/settings" remote="172.24.0.5:34192"
stork-server-1 | time="2023-12-08 17:36:14" level="info" msg="HTTP request served" file=" middleware.go:93 " method="PUT" path="/api/settings" remote="172.24.0.5:34192" size="0" status="200" text_status="OK" took="4.958374ms"
stork-webui-1 | 172.24.0.1 - - [08/Dec/2023:17:36:14 +0000] "PUT /api/settings HTTP/1.1" 200 0 "http://127.0.0.1:8080/settings" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 OPR/105.0.0.0" "-"
```1.16Slawek FigielSlawek Figielhttps://gitlab.isc.org/isc-projects/stork/-/issues/1257Simulator is not working due to incompatible dependency2023-12-08T16:31:05ZSlawek FigielSimulator is not working due to incompatible dependencyThe `isc-kea-common` package is not explicitly set in the `simulator.Dockerfile`.
It causes the incompatible version of this package to be installed after the recent Kea update.
```
root@simulator:/app# perfdhcp
perfdhcp: error while l...The `isc-kea-common` package is not explicitly set in the `simulator.Dockerfile`.
It causes the incompatible version of this package to be installed after the recent Kea update.
```
root@simulator:/app# perfdhcp
perfdhcp: error while loading shared libraries: libkea-dhcp++.so.73: cannot open shared object file: No such file or directory
```Slawek FigielSlawek Figielhttps://gitlab.isc.org/isc-projects/stork/-/issues/1254Ubuntu 20.04 LTS compatibility for LDAP hook2024-01-08T16:48:23ZSlawek FigielUbuntu 20.04 LTS compatibility for LDAP hookThe issue was reported on our mailing list: [Link](https://lists.isc.org/pipermail/stork-users/2023-December/000238.html).
We restored the Ubuntu 20.04 LTS support for main Stork binaries in the 1.14 release, but we forgot about the LDA...The issue was reported on our mailing list: [Link](https://lists.isc.org/pipermail/stork-users/2023-December/000238.html).
We restored the Ubuntu 20.04 LTS support for main Stork binaries in the 1.14 release, but we forgot about the LDAP hook.1.15Slawek FigielSlawek Figielhttps://gitlab.isc.org/isc-projects/stork/-/issues/1251LDAP hook: Build fails on some Linux distributions2023-12-19T14:47:34ZSlawek FigielLDAP hook: Build fails on some Linux distributionsThe issue was found by @andrei during 1.14 sanity checks: https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421471
```
Another one I had forgotten. I understand that this one as well is not a task that you usually run on a ta...The issue was found by @andrei during 1.14 sanity checks: https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421471
```
Another one I had forgotten. I understand that this one as well is not a task that you usually run on a tarball.
rake hook:init MODULE=stork-server-ldap; rake hook:build results in error when run on a tarball. It seems like it is not picking up on DEFAULT_HOOK_DIRECTORY.
rm -f
Removing old compiled hooks...
cp go.mod go.sum /tmp/d20231205-1147463-kn7j49
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/tools/golang/go/bin/go mod edit -replace isc.org/stork=../../../../../Descărcări/sanity-checks/stork-1.14.0/backend
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/tools/golang/go/bin/go mod tidy
rake build
Building stork-server-ldap...
mkdir -p build
rm
rm: missing operand
Try 'rm --help' for more information.
rake aborted!
Command failed with status (1): [rm...]
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/hooks/stork-server-ldap/Rakefile:17:in `block in <top (required)>'
Tasks: TOP => build
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake build...]
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:150:in `block (4 levels) in <top (required)>'
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:141:in `block (3 levels) in <top (required)>'
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:66:in `block (3 levels) in forEachHook'
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:65:in `chdir'
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:65:in `block (2 levels) in forEachHook'
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:46:in `chdir'
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:46:in `block in forEachHook'
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:42:in `foreach'
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:42:in `forEachHook'
/home/andrei/Descărcări/sanity-checks/stork-1.14.0/rakelib/90_hooks.rake:139:in `block (2 levels) in <top (required)>'
Tasks: TOP => hook:build
(See full trace by running task with --trace)
```1.16https://gitlab.isc.org/isc-projects/stork/-/issues/1249Problem installing danger on operating system with non-US locale2023-12-19T14:42:10ZSlawek FigielProblem installing danger on operating system with non-US localeThe issue was found by @andrei during 1.14 sanity checks: https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421412
* I could not run system tests. I get this error on `rake systemtest`. Not sure what is wrong. Sounds like an ...The issue was found by @andrei during 1.14 sanity checks: https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421412
* I could not run system tests. I get this error on `rake systemtest`. Not sure what is wrong. Sounds like an encoding could be enforced somewhere.
```
143.7 Bundler version 2.3.26
143.7 /app/tools/ruby/bin/bundle install --gemfile /app/rakelib/init_deps/danger/Gemfile --path /app/tools/ruby --binstubs /app/tools/ruby/bin_bundle
143.7 Preparing: /app/tools/ruby/bin_bundle/danger...
143.7 mkdir -p /app/tools/ruby/bin_bundle
143.9 /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/yaml_serializer.rb:54:in `split': invalid byte sequence in US-ASCII (ArgumentError)
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/yaml_serializer.rb:54:in `load'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/settings.rb:459:in `block in load_config'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/shared_helpers.rb:103:in `filesystem_access'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/settings.rb:455:in `load_config'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/settings.rb:91:in `initialize'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler.rb:342:in `new'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler.rb:342:in `settings'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/env.rb:20:in `report'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/friendly_errors.rb:74:in `request_issue_report_for'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/friendly_errors.rb:53:in `log_error'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/friendly_errors.rb:126:in `rescue in with_friendly_errors'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/friendly_errors.rb:118:in `with_friendly_errors'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/exe/bundle:36:in `<top (required)>'
143.9 from /app/tools/ruby/bin/bundle:25:in `load'
143.9 from /app/tools/ruby/bin/bundle:25:in `<main>'
143.9 /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/yaml_serializer.rb:54:in `split': invalid byte sequence in US-ASCII (ArgumentError)
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/yaml_serializer.rb:54:in `load'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/settings.rb:459:in `block in load_config'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/shared_helpers.rb:103:in `filesystem_access'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/settings.rb:455:in `load_config'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/settings.rb:91:in `initialize'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler.rb:342:in `new'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler.rb:342:in `settings'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/cli.rb:66:in `initialize'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor.rb:388:in `new'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor.rb:388:in `dispatch'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/cli.rb:31:in `dispatch'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/cli.rb:25:in `start'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/exe/bundle:48:in `block in <top (required)>'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/lib/bundler/friendly_errors.rb:120:in `with_friendly_errors'
143.9 from /app/tools/ruby/gems/bundler-2.3.26/exe/bundle:36:in `<top (required)>'
143.9 from /app/tools/ruby/bin/bundle:25:in `load'
143.9 from /app/tools/ruby/bin/bundle:25:in `<main>'
143.9 rake aborted!
143.9 Command failed with status (1): [/app/tools/ruby/bin/bundle install --gemfi...]
143.9 /app/rakelib/00_init.rake:795:in `block in <top (required)>'
143.9 /app/rakelib/00_init.rake:133:in `block in find_and_prepare_deps'
143.9 /app/rakelib/00_init.rake:115:in `each'
143.9 /app/rakelib/00_init.rake:115:in `find_and_prepare_deps'
143.9 /app/rakelib/00_init.rake:1113:in `block in <top (required)>'
143.9 Tasks: TOP => /app/tools/ruby/bin_bundle/danger
143.9 (See full trace by running task with --trace)
```backloghttps://gitlab.isc.org/isc-projects/stork/-/issues/1248Home breadcrumb has an undefined anchor2023-12-21T14:59:47ZSlawek FigielHome breadcrumb has an undefined anchorThe issue was found by @piotrek during [1.14 sanity checks](https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421536).
I'm not sure if it is intended, but when breadcrumbs are displayed and you click on a Home breadcrumb, the...The issue was found by @piotrek during [1.14 sanity checks](https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421536).
I'm not sure if it is intended, but when breadcrumbs are displayed and you click on a Home breadcrumb, then main dashboard opens in a new tab. Anchor `target` is `undefined`:
```html
<a class="p-menuitem-link ng-star-inserted" href="/" target="undefined" tabindex="0">
```
Usually breadcrumbs anchors work with `target="_self"`.1.15Piotrek ZadrogaPiotrek Zadrogahttps://gitlab.isc.org/isc-projects/stork/-/issues/1247DB password prompt hangs out on Ctrl-C2023-12-19T14:40:48ZSlawek FigielDB password prompt hangs out on Ctrl-CThe issue was found by @piotrek during [1.14 sanity checks](https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421388).
Other thing observed is, interrupting `rake` task with `Ctrl+C` when it asks for some password, breaks the...The issue was found by @piotrek during [1.14 sanity checks](https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421388).
Other thing observed is, interrupting `rake` task with `Ctrl+C` when it asks for some password, breaks the terminal behavior afterwards. Terminal still waits for password and you can't type nor use the terminal in a normal way. This is not the case when you use e.g. `psql` and use `Ctrl+C` when it asks for password. You get back to normal operation of your terminal afterwards, which is expected.backloghttps://gitlab.isc.org/isc-projects/stork/-/issues/1246DB password prompt doesn't handle special characters properly2024-01-16T13:32:04ZSlawek FigielDB password prompt doesn't handle special characters properlyThe issue was found by @piotrek during [1.14 sanity checks](https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421388).
I'm using password with special characters both for my `postgres` user and db user. When calling:
```shel...The issue was found by @piotrek during [1.14 sanity checks](https://gitlab.isc.org/isc-projects/stork/-/issues/1240#note_421388).
I'm using password with special characters both for my `postgres` user and db user. When calling:
```shell
$ rake unittest:backend
```
password is given but it looks like `rake` task doesn't escape special characters correctly, and the task fails.
Exporting env var e.g. `$ export DB_MAINTENANCE_PASSWORD='***'` and then calling the task helps.
I'm using `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)` as a shell.1.16https://gitlab.isc.org/isc-projects/stork/-/issues/1243Unstable system test: test_agent_over_ipv62023-12-19T14:33:50ZSlawek FigielUnstable system test: test_agent_over_ipv6The `test_agent_over_ipv6` system test is unstable.
```
system test:
FAILED tests/test_agent.py::test_agent_over_ipv6[kea_service0] - Failed: Timeout >1200.0s
```The `test_agent_over_ipv6` system test is unstable.
```
system test:
FAILED tests/test_agent.py::test_agent_over_ipv6[kea_service0] - Failed: Timeout >1200.0s
```1.16https://gitlab.isc.org/isc-projects/stork/-/issues/1238Redundant asterisks in Changelog after merge2023-12-04T11:10:02ZSlawek FigielRedundant asterisks in Changelog after mergeThe entry header is incorrect. It contains an unnecessary asterisk.
![image](/uploads/d5ba0ef87fcad47256ed3318026cc7ff/image.png)The entry header is incorrect. It contains an unnecessary asterisk.
![image](/uploads/d5ba0ef87fcad47256ed3318026cc7ff/image.png)https://gitlab.isc.org/isc-projects/stork/-/issues/1231Can't install stork on Openbsd2023-12-12T02:16:15ZmikygeeCan't install stork on OpenbsdHello,
Last year I participated on this topic
https://gitlab.isc.org/isc-projects/stork/-/issues/193
I'm reinstalling my DNS server on Openbsd and can't build the stork agent
```
# rake32 build:agent --trace
ERROR: Unknown/unsupported ...Hello,
Last year I participated on this topic
https://gitlab.isc.org/isc-projects/stork/-/issues/193
I'm reinstalling my DNS server on Openbsd and can't build the stork agent
```
# rake32 build:agent --trace
ERROR: Unknown/unsupported architecture: amd64
rake aborted!
/home/mikael/stork/rakelib/00_init.rake:509:in `<top (required)>'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/rake_module.rb:29:in `load'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/rake_module.rb:29:in `load_rakefile'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/default_loader.rb:11:in `load'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/application.rb:788:in `load_imports'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/application.rb:718:in `raw_load_rakefile'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/application.rb:104:in `block in load_rakefile'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/application.rb:103:in `load_rakefile'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/application.rb:82:in `block in run'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/local/bin/rake32:25:in `load'
/usr/local/bin/rake32:25:in `<main>'
```
My system is like this
```
# uname -a
OpenBSD machinename.domain.org 7.4 GENERIC.MP#0 amd64
```
So I when to rakelib/00_init.rake line 501 and added a switch for "when "amd64"
```
uname_arch=`uname -m`
case uname_arch.rstrip
when "x86_64"
ARCH="amd64"
when "amd64"
ARCH="amd64"
when "aarch64_be", "aarch64", "armv8b", "armv8l"
ARCH="arm64"
else
puts "ERROR: Unknown/unsupported architecture: #{uname_arch}"
fail
end
```
Then it works
Also, why is it trying to download protoc or protobug although it's already installed on my system
```
# pkg_info | grep protobuf
protobuf-3.21.12p0 c++ protocol buffers
```
```
# rake32 build:agent
/usr/local/bin/go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31.0
/usr/local/bin/protoc-gen-go --version
protoc-gen-go v1.31.0
/usr/local/bin/go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
go: downloading google.golang.org/grpc v1.3.0
go: downloading google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
go: downloading google.golang.org/protobuf v1.28.1
/usr/local/bin/protoc-gen-go-grpc --version
protoc-gen-go-grpc 1.3.0
/usr/local/bin/protoc --proto_path=. --go_out=. --go-grpc_out=. agent.proto
/usr/local/bin/go build -ldflags=-X 'isc.org/stork.BuildDate=2023-11-26 14:25'
go: downloading github.com/urfave/cli/v2 v2.25.7
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2
go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/russross/blackfriday/v2 v2.1.0
Stork Code Gen build date: 2023-11-26 14:25 (timestamp: 231126142545)
backend/cmd/stork-code-gen/stork-code-gen std-option-defs --input codegen/std_dhcpv4_option_def.json --output backend/appcfg/kea/stdoptiondef4.go --template backend/appcfg/kea/stdoptiondef4.go.template
/usr/local/bin/go fmt ./appcfg/kea/...
go: downloading muzzammil.xyz/jsonc v1.0.0
go: downloading github.com/apparentlymart/go-cidr v1.1.0
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading golang.org/x/term v0.12.0
go: downloading golang.org/x/sys v0.12.0
appcfg/kea/stdoptiondef4.go
backend/cmd/stork-code-gen/stork-code-gen std-option-defs --input codegen/std_dhcpv6_option_def.json --output backend/appcfg/kea/stdoptiondef6.go --template backend/appcfg/kea/stdoptiondef6.go.template
/usr/local/bin/go fmt ./appcfg/kea/...
appcfg/kea/stdoptiondef6.go
/usr/local/bin/go build -ldflags=-X 'isc.org/stork.BuildDate=2023-11-26 14:25'
go: downloading github.com/Showmax/go-fqdn v1.0.0
go: downloading github.com/prometheus/client_golang v1.16.0
go: downloading github.com/prometheus/common v0.44.0
go: downloading github.com/shirou/gopsutil v3.21.11+incompatible
go: downloading google.golang.org/grpc v1.58.2
go: downloading google.golang.org/grpc/security/advancedtls v0.0.0-20230925230705-147bd8591213
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/prometheus/client_model v0.4.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading golang.org/x/net v0.15.0
go: downloading golang.org/x/crypto v0.13.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading github.com/tklauser/go-sysconf v0.3.12
go: downloading github.com/golang/protobuf v1.5.3
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13
go: downloading golang.org/x/text v0.13.0
touch -c backend/cmd/stork-agent/stork-agent
Stork Agent build date: 2023-11-26 14:25 (timestamp: 231126142545)
```
Thank you1.14Slawek FigielSlawek Figielhttps://gitlab.isc.org/isc-projects/stork/-/issues/1228Stork agent cannot load environment file2023-11-24T16:26:52ZSlawek FigielStork agent cannot load environment fileThe problem was reported [on our mailing list](https://lists.isc.org/pipermail/stork-dev/2023-November/000041.html).
Loading environment variables was removed from [urfave/cli](https://github.com/urfave/cli) in the 2.16.6 version in the...The problem was reported [on our mailing list](https://lists.isc.org/pipermail/stork-dev/2023-November/000041.html).
Loading environment variables was removed from [urfave/cli](https://github.com/urfave/cli) in the 2.16.6 version in the 3005438a1f3d1b67d2751da307463ddf4a5dd95b commit ([change](https://github.com/urfave/cli/blame/v2.25.7/context.go#L54)). It causes Stork not to load the environment file when the `--use-env-file` flag is set.
Currently, the flag name passed to the `context.Set` method must be a valid flag name.
Previously, any names were accepted. We used this behavior to set the raw environment variables from the environment file before parsing the flag values. The environment variables loaded this way were properly detected as standard environment variables.https://gitlab.isc.org/isc-projects/stork/-/issues/1219stork-agent --use-env-file flag does not work2023-11-30T14:50:48ZMarcin Siodelskistork-agent --use-env-file flag does not workAn attempt to run the `stork-agent` with the switch pointing to a custom env file location fails:
```
$ ./stork-agent --env-file=../../../etc/agent.env --use-env-file
FATA[2023-11-06 13:44:31] main.go:432 the '../../../etc...An attempt to run the `stork-agent` with the switch pointing to a custom env file location fails:
```
$ ./stork-agent --env-file=../../../etc/agent.env --use-env-file
FATA[2023-11-06 13:44:31] main.go:432 the '../../../etc/agent.env' environment file is invalid: cannot set 'STORK_AGENT_HOST=localhost' environment variable: no such flag -STORK_AGENT_HOST
```
I tested it both on Ubuntu and macOS. It works fine for the `stork-server` but we use a different CLI lib there. I am not sure it ever worked properly because we don't seem to have system tests for it.1.14Slawek FigielSlawek Figielhttps://gitlab.isc.org/isc-projects/stork/-/issues/1217BIND 9 in chroot mode - detection fail2023-11-21T14:42:33ZSlawek FigielBIND 9 in chroot mode - detection failThe issue was reported on [our mailing list](https://lists.isc.org/pipermail/stork-users/2023-October/000227.html).
The user runs BIND 9 in the chroot mode (using the `-t` flag). The configuration file is detected properly, but `named-c...The issue was reported on [our mailing list](https://lists.isc.org/pipermail/stork-users/2023-October/000227.html).
The user runs BIND 9 in the chroot mode (using the `-t` flag). The configuration file is detected properly, but `named-checkconf` returns a non-zero status. The problem occurs only for Stork Agent 1.12. Stork Agent 1.11 detects this BIND 9 instance properly.backloghttps://gitlab.isc.org/isc-projects/stork/-/issues/1214Shared network address utilization not consistent2024-02-27T10:03:39ZVictor PetrescuShared network address utilization not consistentHi everyone,
I've encounter an issue related to the values of the Shared Network Address Utilization. It seems that the values from the /metrics of the Stork Server frequently not showing same values as in the Stork Web Application.
Fo...Hi everyone,
I've encounter an issue related to the values of the Shared Network Address Utilization. It seems that the values from the /metrics of the Stork Server frequently not showing same values as in the Stork Web Application.
For example:
Information from Stork Web App:
![Screenshot_1205](/uploads/0d06970d5bdb83da790e7521dcde773e/Screenshot_1205.png)
Information from Stork Server /metrics:
storkserver_shared_network_address_utilization{name="1"} 0.005
storkserver_shared_network_address_utilization{name="2"} 0.154
storkserver_shared_network_address_utilization{name="3"} 0.004
storkserver_shared_network_address_utilization{name="4"} 0.003
storkserver_shared_network_address_utilization{name="5"} 0.003
storkserver_shared_network_address_utilization{name="6"} 0
As you can see the values don't match. Strange is that sometimes values do match.
Stork Web App is showing the correct values, the problem is with the ones from /metrics.
Thank you !1.16https://gitlab.isc.org/isc-projects/stork/-/issues/1210Stork metrics are not up-to-date2023-11-24T15:30:50ZVictor PetrescuStork metrics are not up-to-dateHi everyone,
Is there any refresh rate for the statistics exported under /metrics ?
I’m asking this because I’ve integrated Stork Server with Prometheus and Grafana. The issue is that in Stork Server the DHCP Lease usage adjusts accord...Hi everyone,
Is there any refresh rate for the statistics exported under /metrics ?
I’m asking this because I’ve integrated Stork Server with Prometheus and Grafana. The issue is that in Stork Server the DHCP Lease usage adjusts accordingly to the ISC KEA DHCP server, but when pulling the metrics the value is not the same, seems to be an old one.
The fix to get /metrics up-to-date is to restart isc-stork-server which I don't consider a permanent fix.
Thank you !1.14Marcin SiodelskiMarcin Siodelskihttps://gitlab.isc.org/isc-projects/stork/-/issues/1203Peer database authentication for SystemD service user.2023-10-17T14:04:12ZSlawek FigielPeer database authentication for SystemD service user.The issue was reported on [our mailing list](https://lists.isc.org/pipermail/stork-users/2023-October/000212.html).
When the Stork server is installed using the packages, it is configured as the SystemD service.
The `stork-server` user ...The issue was reported on [our mailing list](https://lists.isc.org/pipermail/stork-users/2023-October/000212.html).
When the Stork server is installed using the packages, it is configured as the SystemD service.
The `stork-server` user runs the server. But the default database user is `stork`. By default, the server connects to the database over the Unix socket. It causes the `peer` authentication method to be used (depending on distribution, it will be `trust` or `peer`).
Unfortunately, Postgres rejects the connection due to divergence between DB and the system user.
```
stork@stork LOG: provided user name (stork) and authenticated user name (stork-server) do not match
```backloghttps://gitlab.isc.org/isc-projects/stork/-/issues/1202The app parameter of the GetMachines RestAPI endpoint is not handled2023-10-17T13:59:46ZSlawek FigielThe app parameter of the GetMachines RestAPI endpoint is not handledWhen filtering machines, the `app` (app type) parameter is not considered.
```
- name: app
in: query
description: Limit returned list of machines to these which provide given app, possible values 'bind' or '...When filtering machines, the `app` (app type) parameter is not considered.
```
- name: app
in: query
description: Limit returned list of machines to these which provide given app, possible values 'bind' or 'kea'.
type: string
```
Additionally, the accepted value should be `bind9` for consistency with other endpoints.backloghttps://gitlab.isc.org/isc-projects/stork/-/issues/1201Stork 1.13.0 not working on Ubuntu 20.04.6. LTS2023-12-06T18:32:23ZThomas MaurerStork 1.13.0 not working on Ubuntu 20.04.6. LTS---
name: Stork 1.13.0 not working on Ubuntu 20.04.6. LTS
about: `isc-stork-server`
---
**Describe the bug**
Stork V1.13.0 requires GLIBC_2.32 or newer. But on Ubuntu 20.04.6 LTS (focal) only 2.31 is available. However in the Documenta...---
name: Stork 1.13.0 not working on Ubuntu 20.04.6. LTS
about: `isc-stork-server`
---
**Describe the bug**
Stork V1.13.0 requires GLIBC_2.32 or newer. But on Ubuntu 20.04.6 LTS (focal) only 2.31 is available. However in the Documentation (https://stork.readthedocs.io/en/v1.13.0/install.html#supported-systems) Ubuntu 18.04 and 20.04 are reportet to work.
**To Reproduce**
Steps to reproduce the behavior:
1. Update stork to V1.13.0
2. Stork does not Start
3. in var/log/syslog is see:
Oct 16 08:26:34 sbcc-dhcp-0101 stork-server[1557772]: /usr/bin/stork-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/bin/stork-server)
Oct 16 08:26:34 sbcc-dhcp-0101 stork-server[1557772]: /usr/bin/stork-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/bin/stork-server)
Oct
**Expected behavior**
Update the Documentation or update the dependencies for Stork to run on Ubuntu 20.04
**Environment:**
- Kea version: 2.0.3
tarball
linked with:
log4cplus 1.1.2
OpenSSL 1.1.1f 31 Mar 2020
database:
MySQL backend 12.0, library 8.0.34
PostgreSQL backend 6.2, library 120016
Memfile backend 2.1
- Stork: 1.13.0.231011103556
- OS: Ubuntu 20.04.6 LTS
**Contacting you**
Feel free to contact me via E-Mail1.14Slawek FigielSlawek Figiel