Mikhail Pochatkin created IGNITE-25821:
------------------------------------------
Summary: Improve error handling in case of update read-only config
Key: IGNITE-25821
URL: https://issues.apache.org/jira/browse/IGNITE-25821
Project: Ignite
Issue Type: Improvement
Components: cli ai3, configuration ai3, rest ai3
Reporter: Mikhail Pochatkin
Assignee: Mikhail Pochatkin
Nowadays, when trying to update node config in case of read-only storage file
we have non-information error
{code:java}
java.nio.file.FileSystemException: /opt/gridgain/etc/gridgain-config.conf.tmp
-> /opt/gridgain/etc/gridgain-config.conf: Device or resource busy
at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.UnixCopyFile.move(Unknown Source)
at java.base/sun.nio.fs.UnixFileSystemProvider.move(Unknown Source)
at java.base/java.nio.file.Files.move(Unknown Source)
at
org.apache.ignite.internal.configuration.storage.LocalFileConfigurationStorage.saveConfigFile(LocalFileConfigurationStorage.java:296)
at
org.apache.ignite.internal.configuration.storage.LocalFileConfigurationStorage.mergeAndSave(LocalFileConfigurationStorage.java:245)
{code}
So, we need to create better description and returns it with correct error code
in REST
--
This message was sent by Atlassian Jira
(v8.20.10#820010)