[jira] [Updated] (IGNITE-17032) Apache Ignite Docker container does not run correctly if image is run in read only file system mode

2022-05-25 Thread Petar Tonkovic (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-17032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Tonkovic updated IGNITE-17032:

Description: 
When following the Kubernetes deployment tutorials (online: 
https://ignite.apache.org/docs/latest/installation/kubernetes/azure-deployment, 
youtube: [https://youtu.be/38YgdAOs038]), trying to run the official docker 
image () with the --read-only flag is causing errors:
/opt/ignite/apache-ignite/bin/include/functions.sh: line 52: cannot create temp 
file for here-document: Read-only file system
/opt/ignite/apache-ignite/bin/include/functions.sh: line 85: [: -lt: unary 
operator expected2022-05-25T14:27:34.504369604+02:00
 
Since most managed company Kubernetes clusters enforce this read-only flag as a 
security requirement, it would be good to look into these errors.

 

Later on, we get the following error on starting up:

class org.apache.ignite.IgniteException: Failed to instantiate Spring XML 
application context (make sure all classes used in Spring configuration are 
present at CLASSPATH) [springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1135)
at org.apache.ignite.Ignition.start(Ignition.java:356)
at 
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:365)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to 
instantiate Spring XML application context (make sure all classes used in 
Spring configuration are present at CLASSPATH) 
[springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:364)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:102)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:96)
at 
org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:729)2022-05-25T14:27:34.916588365+02:00
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:930)
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:839)2022-05-25T14:27:34.916609431+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:709)2022-05-25T14:27:34.916622089+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:678)2022-05-25T14:27:34.916636146+02:00
at 
org.apache.ignite.Ignition.start(Ignition.java:353)2022-05-25T14:27:34.916650122+02:00
... 1 more2022-05-25T14:27:34.916671644+02:00
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'org.apache.ignite.configuration.IgniteConfiguration#0' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' of type 
[org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi] while setting bean 
property 'discoverySpi'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 of type 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 while setting bean property 'ipFinder'; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 for bean with name 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml];
 nested exception is java.lang.ClassNotFoundException: 
org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:389)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:127)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1702)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1447)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at 

[jira] [Updated] (IGNITE-17032) Apache Ignite Docker container does not run correctly if image is run in read only file system mode

2022-05-25 Thread Petar Tonkovic (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-17032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Tonkovic updated IGNITE-17032:

Description: 
When following the Kubernetes deployment tutorials (online: 
[https://ignite.apache.org/docs/latest/logging], youtube: 
[https://youtu.be/38YgdAOs038]), trying to run the official docker image () 
with the --read-only flag is causing errors:
/opt/ignite/apache-ignite/bin/include/functions.sh: line 52: cannot create temp 
file for here-document: Read-only file system
/opt/ignite/apache-ignite/bin/include/functions.sh: line 85: [: -lt: unary 
operator expected2022-05-25T14:27:34.504369604+02:00
 
Since most managed company Kubernetes clusters enforce this read-only flag as a 
security requirement, it would be good to look into these errors.

 

Later on, we get the following error on starting up:

class org.apache.ignite.IgniteException: Failed to instantiate Spring XML 
application context (make sure all classes used in Spring configuration are 
present at CLASSPATH) [springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1135)
at org.apache.ignite.Ignition.start(Ignition.java:356)
at 
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:365)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to 
instantiate Spring XML application context (make sure all classes used in 
Spring configuration are present at CLASSPATH) 
[springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:364)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:102)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:96)
at 
org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:729)2022-05-25T14:27:34.916588365+02:00
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:930)
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:839)2022-05-25T14:27:34.916609431+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:709)2022-05-25T14:27:34.916622089+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:678)2022-05-25T14:27:34.916636146+02:00
at 
org.apache.ignite.Ignition.start(Ignition.java:353)2022-05-25T14:27:34.916650122+02:00
... 1 more2022-05-25T14:27:34.916671644+02:00
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'org.apache.ignite.configuration.IgniteConfiguration#0' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' of type 
[org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi] while setting bean 
property 'discoverySpi'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 of type 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 while setting bean property 'ipFinder'; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 for bean with name 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml];
 nested exception is java.lang.ClassNotFoundException: 
org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:389)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:127)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1702)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1447)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at 

[jira] [Updated] (IGNITE-17032) Apache Ignite Docker container does not run correctly if image is run in read only file system mode

2022-05-25 Thread Petar Tonkovic (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-17032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Tonkovic updated IGNITE-17032:

Description: 
When following the Kubernetes deployment tutorials (online: 
[https://ignite.apache.org/docs/latest/logging], youtube: 
[https://youtu.be/38YgdAOs038])

 

Trying to run the official docker image () with the --read-only flag is causing 
errors:
/opt/ignite/apache-ignite/bin/include/functions.sh: line 52: cannot create temp 
file for here-document: Read-only file system
/opt/ignite/apache-ignite/bin/include/functions.sh: line 85: [: -lt: unary 
operator expected2022-05-25T14:27:34.504369604+02:00
 
Since most managed company Kubernetes clusters enforce this read-only flag as a 
security requirement, it would be good to look into these errors.

 

Later on, we get the following error on starting up:

class org.apache.ignite.IgniteException: Failed to instantiate Spring XML 
application context (make sure all classes used in Spring configuration are 
present at CLASSPATH) [springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1135)
at org.apache.ignite.Ignition.start(Ignition.java:356)
at 
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:365)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to 
instantiate Spring XML application context (make sure all classes used in 
Spring configuration are present at CLASSPATH) 
[springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:364)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:102)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:96)
at 
org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:729)2022-05-25T14:27:34.916588365+02:00
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:930)
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:839)2022-05-25T14:27:34.916609431+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:709)2022-05-25T14:27:34.916622089+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:678)2022-05-25T14:27:34.916636146+02:00
at 
org.apache.ignite.Ignition.start(Ignition.java:353)2022-05-25T14:27:34.916650122+02:00
... 1 more2022-05-25T14:27:34.916671644+02:00
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'org.apache.ignite.configuration.IgniteConfiguration#0' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' of type 
[org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi] while setting bean 
property 'discoverySpi'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 of type 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 while setting bean property 'ipFinder'; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 for bean with name 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml];
 nested exception is java.lang.ClassNotFoundException: 
org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:389)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:127)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1702)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1447)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at 

[jira] [Updated] (IGNITE-17032) Apache Ignite Docker container does not run correctly if image is run in read only file system mode

2022-05-25 Thread Petar Tonkovic (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-17032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Tonkovic updated IGNITE-17032:

Description: 
When following the Kubernetes deployment tutorials 
(online:https://ignite.apache.org/docs/latest/logging, 
youtube:https://youtu.be/38YgdAOs038)

 

Trying to run the official docker image () with the --read-only flag is causing 
errors:
/opt/ignite/apache-ignite/bin/include/functions.sh: line 52: cannot create temp 
file for here-document: Read-only file system
/opt/ignite/apache-ignite/bin/include/functions.sh: line 85: [: -lt: unary 
operator expected2022-05-25T14:27:34.504369604+02:00
 
Since most managed company Kubernetes clusters enforce this read-only flag as a 
security requirement, it would be good to look into these errors.

 

Later on, we get the following error on starting up:

class org.apache.ignite.IgniteException: Failed to instantiate Spring XML 
application context (make sure all classes used in Spring configuration are 
present at CLASSPATH) [springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1135)
at org.apache.ignite.Ignition.start(Ignition.java:356)
at 
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:365)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to 
instantiate Spring XML application context (make sure all classes used in 
Spring configuration are present at CLASSPATH) 
[springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:364)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:102)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:96)
at 
org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:729)2022-05-25T14:27:34.916588365+02:00
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:930)
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:839)2022-05-25T14:27:34.916609431+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:709)2022-05-25T14:27:34.916622089+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:678)2022-05-25T14:27:34.916636146+02:00
at 
org.apache.ignite.Ignition.start(Ignition.java:353)2022-05-25T14:27:34.916650122+02:00
... 1 more2022-05-25T14:27:34.916671644+02:00
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'org.apache.ignite.configuration.IgniteConfiguration#0' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' of type 
[org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi] while setting bean 
property 'discoverySpi'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 of type 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 while setting bean property 'ipFinder'; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 for bean with name 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml];
 nested exception is java.lang.ClassNotFoundException: 
org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:389)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:127)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1702)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1447)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at 

[jira] [Updated] (IGNITE-17032) Apache Ignite Docker container does not run correctly if image is run in read only file system mode

2022-05-25 Thread Petar Tonkovic (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-17032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Tonkovic updated IGNITE-17032:

Description: 
Trying to run the official docker image () with the --read-only flag is causing 
errors:
/opt/ignite/apache-ignite/bin/include/functions.sh: line 52: cannot create temp 
file for here-document: Read-only file system
/opt/ignite/apache-ignite/bin/include/functions.sh: line 85: [: -lt: unary 
operator expected2022-05-25T14:27:34.504369604+02:00
 
Since most managed company Kubernetes clusters enforce this read-only flag as a 
security requirement, it would be good to look into these errors.

 

Later on, we get the following error on starting up:
class org.apache.ignite.IgniteException: Failed to instantiate Spring XML 
application context (make sure all classes used in Spring configuration are 
present at CLASSPATH) [springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1135)
at org.apache.ignite.Ignition.start(Ignition.java:356)
at 
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:365)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to 
instantiate Spring XML application context (make sure all classes used in 
Spring configuration are present at CLASSPATH) 
[springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:364)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:102)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:96)
at 
org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:729)2022-05-25T14:27:34.916588365+02:00
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:930)
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:839)2022-05-25T14:27:34.916609431+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:709)2022-05-25T14:27:34.916622089+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:678)2022-05-25T14:27:34.916636146+02:00
at 
org.apache.ignite.Ignition.start(Ignition.java:353)2022-05-25T14:27:34.916650122+02:00
... 1 more2022-05-25T14:27:34.916671644+02:00
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'org.apache.ignite.configuration.IgniteConfiguration#0' 
defined in URL [file:/ignite/config/node-configuration.xml]: Cannot create 
inner bean 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' of 
type [org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi] while setting bean 
property 'discoverySpi'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' 
defined in URL [file:/ignite/config/node-configuration.xml]: Cannot create 
inner bean 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 of type 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 while setting bean property 'ipFinder'; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 for bean with name 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 defined in URL [file:/ignite/config/node-configuration.xml]; nested exception 
is java.lang.ClassNotFoundException: 
org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:389)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:127)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1702)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1447)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)2022-05-25T14:27:34.916861927+02:00
at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)2022-05-25T14:27:34.916874946+02:00
at 

[jira] [Updated] (IGNITE-17032) Apache Ignite Docker container does not run correctly if image is run in read only file system mode

2022-05-25 Thread Petar Tonkovic (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-17032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Tonkovic updated IGNITE-17032:

Description: 
Trying to run the official docker image () with the --read-only flag is causing 
errors:
/opt/ignite/apache-ignite/bin/include/functions.sh: line 52: cannot create temp 
file for here-document: Read-only file system
/opt/ignite/apache-ignite/bin/include/functions.sh: line 85: [: -lt: unary 
operator expected2022-05-25T14:27:34.504369604+02:00
 
Since most managed company Kubernetes clusters enforce this read-only flag as a 
security requirement, it would be good to look into these errors.

 

Later on, we get the following error on starting up:


class org.apache.ignite.IgniteException: Failed to instantiate Spring XML 
application context (make sure all classes used in Spring configuration are 
present at CLASSPATH) [springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1135)
at org.apache.ignite.Ignition.start(Ignition.java:356)
at 
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:365)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to 
instantiate Spring XML application context (make sure all classes used in 
Spring configuration are present at CLASSPATH) 
[springUrl=file:/ignite/config/node-configuration.xml]
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:364)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:102)
at 
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:96)
at 
org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:729)2022-05-25T14:27:34.916588365+02:00
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:930)
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:839)2022-05-25T14:27:34.916609431+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:709)2022-05-25T14:27:34.916622089+02:00
at 
org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:678)2022-05-25T14:27:34.916636146+02:00
at 
org.apache.ignite.Ignition.start(Ignition.java:353)2022-05-25T14:27:34.916650122+02:00
... 1 more2022-05-25T14:27:34.916671644+02:00
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'org.apache.ignite.configuration.IgniteConfiguration#0' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' of type 
[org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi] while setting bean 
property 'discoverySpi'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#56ef9176' 
defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml]:
 Cannot create inner bean 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 of type 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 while setting bean property 'ipFinder'; nested exception is 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class 
[org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
 for bean with name 
'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#13805618'
 defined in URL 
[file:/ignite/config/node-configuration.xml|file://ignite/config/node-configuration.xml];
 nested exception is java.lang.ClassNotFoundException: 
org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:389)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:127)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1702)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1447)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)2022-05-25T14:27:34.916861927+02:00
at