Article - CS336539
Unable to mount Azure Blob storage for vaults with "Create mount for root folder "<rootfoldername>" failed" when using "Government Cloud" in Windchill PDMLink
Modified: 15-Nov-2022
Applies To
- Windchill PDMLink 12.0 to 12.1
Description
- Unable to mount Azure Blob storage for vaults with Create mount for root folder "<rootfoldername>" failed when using "Government Cloud"
- Method Server log:
ERROR [ajp-nio-127.0.0.1-8010-exec-7] wt.fv.StandardFvService wcadmin - Some of the mounts are not valid
com.microsoft.azure.storage.StorageException:
Nested exception is: com.microsoft.azure.storage.StorageException, for additional information search for following string in logs
8733a942-be61-4b3a-a760-f5cc3976650a
storageAccount/windchillblob/vaults - Invalid
ERROR [ajp-nio-127.0.0.1-8010-exec-7] com.ptc.windchill.vaulting.rest.MountResource wcadmin - (wt.fv.fvResource/54) wt.util.WTException: Create mount for root folder "<rootfoldername>" failed.
Nested exception is: wt.util.WTException: Some of the mounts are not valid
com.microsoft.azure.storage.StorageException:
Nested exception is: com.microsoft.azure.storage.StorageException, for additional information search for following string in logs
8733a942-be61-4b3a-a760-f5cc3976650a
storageAccount/windchillblob/vaults Mount File : SITE_117_105104_106529 ]
DEBUG [RMI TCP Connection(545)-10.21.30.164] wt.fv.FvMountValidator - Excuting on the right host hostname.domain.com
DEBUG [RMI TCP Connection(545)-10.21.30.164] wt.fv.FvMountValidator - Curr_Path storageAccount/windchillblob/vaults
ERROR [RMI TCP Connection(545)-10.21.30.164] wt.fv.FvMountValidator - 27
ERROR [RMI TCP Connection(545)-10.21.30.164] wt.fv.FvMountValidator - com.microsoft.azure.storage.StorageException:
Nested exception is: com.microsoft.azure.storage.StorageException, for additional information search for following string in logs
8733a942-be61-4b3a-a760-f5cc3976650a
com.ptc.windchill.objectstorage.azureblob.exception.BlobException: com.microsoft.azure.storage.StorageException:
Nested exception is: com.microsoft.azure.storage.StorageException:
at com.microsoft.azure.storage.StorageException.translateException(StorageException.java:87)
at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:220)
at com.microsoft.azure.storage.blob.CloudBlobContainer.getBlobReferenceFromServer(CloudBlobContainer.java:1024)
at com.microsoft.azure.storage.blob.CloudBlobContainer.getBlobReferenceFromServer(CloudBlobContainer.java:982)
at com.ptc.windchill.objectstorage.azureblob.BlobContentFile.getProperties(BlobContentFile.java:577)
at com.ptc.windchill.objectstorage.azureblob.BlobContentFile.loadAttributes(BlobContentFile.java:265)
at com.ptc.windchill.objectstorage.azureblob.BlobContentFile.exists(BlobContentFile.java:125)
at wt.fv.FvMountValidator.validateFvMountPath(FvMountValidator.java:891)
at wt.fv.FvMountValidator.validateMountOnThisMethodServer(FvMountValidator.java:807)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
at jdk.internal.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:260)
at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
at java.management/com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
at java.management/com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
at java.management/com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
at java.management/javax.management.StandardMBean.invoke(StandardMBean.java:405)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at wt.jmx.remote.forwarder.LoggingForwarder.invoke(LoggingForwarder.java:233)
at com.sun.proxy.$Proxy5.invoke(Unknown Source)
at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466)
at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)
at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1399)
at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:827)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.UnknownHostException: storageAccount.blob.core.windows.net
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:220)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
at java.base/java.net.Socket.connect(Socket.java:609)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:289)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334)
at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:115)
... 51 more
com.microsoft.azure.storage.StorageException:
Nested exception is: com.microsoft.azure.storage.StorageException, for additional information search for following string in logs
8733a942-be61-4b3a-a760-f5cc3976650a
storageAccount/windchillblob/vaults - Invalid
ERROR [ajp-nio-127.0.0.1-8010-exec-7] com.ptc.windchill.vaulting.rest.MountResource wcadmin - (wt.fv.fvResource/54) wt.util.WTException: Create mount for root folder "<rootfoldername>" failed.
Nested exception is: wt.util.WTException: Some of the mounts are not valid
com.microsoft.azure.storage.StorageException:
Nested exception is: com.microsoft.azure.storage.StorageException, for additional information search for following string in logs
8733a942-be61-4b3a-a760-f5cc3976650a
storageAccount/windchillblob/vaults Mount File : SITE_117_105104_106529 ]
DEBUG [RMI TCP Connection(545)-10.21.30.164] wt.fv.FvMountValidator - Excuting on the right host hostname.domain.com
DEBUG [RMI TCP Connection(545)-10.21.30.164] wt.fv.FvMountValidator - Curr_Path storageAccount/windchillblob/vaults
ERROR [RMI TCP Connection(545)-10.21.30.164] wt.fv.FvMountValidator - 27
ERROR [RMI TCP Connection(545)-10.21.30.164] wt.fv.FvMountValidator - com.microsoft.azure.storage.StorageException:
Nested exception is: com.microsoft.azure.storage.StorageException, for additional information search for following string in logs
8733a942-be61-4b3a-a760-f5cc3976650a
com.ptc.windchill.objectstorage.azureblob.exception.BlobException: com.microsoft.azure.storage.StorageException:
Nested exception is: com.microsoft.azure.storage.StorageException:
at com.microsoft.azure.storage.StorageException.translateException(StorageException.java:87)
at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:220)
at com.microsoft.azure.storage.blob.CloudBlobContainer.getBlobReferenceFromServer(CloudBlobContainer.java:1024)
at com.microsoft.azure.storage.blob.CloudBlobContainer.getBlobReferenceFromServer(CloudBlobContainer.java:982)
at com.ptc.windchill.objectstorage.azureblob.BlobContentFile.getProperties(BlobContentFile.java:577)
at com.ptc.windchill.objectstorage.azureblob.BlobContentFile.loadAttributes(BlobContentFile.java:265)
at com.ptc.windchill.objectstorage.azureblob.BlobContentFile.exists(BlobContentFile.java:125)
at wt.fv.FvMountValidator.validateFvMountPath(FvMountValidator.java:891)
at wt.fv.FvMountValidator.validateMountOnThisMethodServer(FvMountValidator.java:807)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
at jdk.internal.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:260)
at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
at java.management/com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
at java.management/com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
at java.management/com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
at java.management/com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
at java.management/javax.management.StandardMBean.invoke(StandardMBean.java:405)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at wt.jmx.remote.forwarder.LoggingForwarder.invoke(LoggingForwarder.java:233)
at com.sun.proxy.$Proxy5.invoke(Unknown Source)
at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466)
at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)
at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1399)
at java.management.rmi/javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:827)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.UnknownHostException: storageAccount.blob.core.windows.net
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:220)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
at java.base/java.net.Socket.connect(Socket.java:609)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:289)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334)
at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:115)
... 51 more
This is a printer-friendly version of Article 336539 and may be out of date. For the latest version click CS336539