Open ingarv opened 4 months ago
This is fixed in the current codebase.
(env) ➜ mreg-cli make-testsuite-work-again-202405 ✓$ pip3 install --quiet --upgrade --target=/tmp/mreg-cli/ . && PYTHONPATH=/tmp/mreg-cli/:$PYTHONPATH /tmp/mreg-cli/bin/mreg-cli --url https://mreg-dev -u super -v DEBUG --record /tmp/flappa.json --logfile /tmp/flappa.log
[notice] A new release of pip is available: 23.3.1 -> 24.1.1
[notice] To update, run: pip install --upgrade pip
Type -h for help.
[>'/tmp/flappa.json'] super@mreg-dev> policy atom_create mail_test12345 "Test opprettelse"
[>'/tmp/flappa.json'] super@mreg-dev> policy info mail_test12345
Name: mail_test12345
Created: Thu Jul 4 00:00:00 2024
Updated: Thu Jul 4 11:43:49 2024
Description: Test opprettelse
Roles where this atom is a member:
[>'/tmp/flappa.json'] super@mreg-dev>
Hi, when mreg-cli is running with the
--record
-option any change, for example to a policy or host result in an error.Printing information about hosts or roles/atoms works without any issue (and is logged in json-format as expected in the file specified at startup).