You can translate the question and the replies:

Kubernetes + migrate to external database requires temporary restart in admin mode

Not so much a question as a note that (if confirmed by others) could be incorporated into documentation? During restart of VDP services after migration to external metadatabase the container reported below error [20220815 version]. I think the issue is that the conf directory is persisted using PVC, and since these are mounted as root (possibly with Denodo as group using .securityContext.fsGroup:999) it fails. I resolved the issue by temporarily running the container in root mode (not recommended), by adding this to yaml spec.template.spec.securityContext.runAsUser:0 [VDP] 2038 [main] ERROR 2022-09-15T09:17:56.762 server.start [] - Error making a backup from current configuration file. Continuing without regenerating the configuration java.nio.file.FileSystemException: /opt/denodo/conf/vdp/VDBConfiguration.properties.back: Operation not permitted at sun.nio.fs.UnixException.translateToIOException(UnixException.java:100) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) ~[?:?] at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:288) ~[?:?] at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:603) ~[?:?] at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:258) ~[?:?] at java.nio.file.Files.copy(Files.java:1294) ~[?:?] at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:850) ~[commons-io.jar:2.11.0] at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:756) ~[commons-io.jar:2.11.0] at com.denodo.vdb.interpreter.execution.util.CatalogDatabaseUtil.checkForCatalogPropertiesChangesAtStartup(Unknown Source) ~[denodo-vdp-server.jar:8.0.6] at com.denodo.vdb.vdbinterface.server.VDBManagerImpl.<clinit>(Unknown Source) ~[denodo-vdp-server.jar:8.0.6] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at com.denodo.util.launcher.Launcher.invokeMain(Launcher.java:139) ~[denodo-commons-launcher-util.jar:8.0.0] at com.denodo.util.launcher.Launcher.main(Launcher.java:233) ~[denodo-commons-launcher-util.jar:8.0.0] [VDP] 6091 [main] INFO 2022-09-15T09:18:00.815 server.start [] - TLS is disabled on incoming connections
user
15-09-2022 07:44:06 -0400

1 Answer

Hello, I will review the Denodo documentation about that in case anything should be added!
Denodo Team
16-09-2022 12:26:20 -0400
You must sign in to add an answer. If you do not have an account, you can register here