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/ Operation not permitted at sun.nio.fs.UnixException.translateToIOException( ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException( ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException( ~[?:?] at sun.nio.fs.UnixCopyFile.copyFile( ~[?:?] at sun.nio.fs.UnixCopyFile.copy( ~[?:?] at sun.nio.fs.UnixFileSystemProvider.copy( ~[?:?] at java.nio.file.Files.copy( ~[?:?] at ~[commons-io.jar:2.11.0] at ~[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( ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:?] at java.lang.reflect.Method.invoke( ~[?:?] at com.denodo.util.launcher.Launcher.invokeMain( ~[denodo-commons-launcher-util.jar:8.0.0] at com.denodo.util.launcher.Launcher.main( ~[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
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