Acumos模型下载失败

时间:2019-03-11 12:20:41

标签: acumos

我使用AIO oneclick_deploy.sh docker 命令安装了Acumos。我已经成功地成功上载了一个示例tensorflow模型,并使其在Marketplace中可用。当我尝试从市场上下载(即点击“下载”按钮)模型时,我只会得到空文件。如果我尝试使用“部署到本地”选项进行下载,则会得到安装文件(因此该选项似乎可以使用)。有关如何解决“下载”问题的任何建议?尝试“下载”选项时,我在portel-be错误日志中收到以下错误:

org.acumos.portal.be.common.exception.AcumosServiceException:传输文件时出错:来自http://acutn:3的连接被拒绝(连接被拒绝)\ 0881 / repository / acumos_model_maven / com / artifact / 138c462f-8858-4c16-b53a-fa494d9af12e / model / 1 / model-1.proto         在org.acumos.portal.be.service.impl.MarketPlaceCatalogServiceImpl.getPayload(MarketPlaceCatalogServiceImpl.java:1404)         在org.acumos.portal.be.service.impl.MarketPlaceCatalogServiceImpl.getProtoUrl(MarketPlaceCatalogServiceImpl.java:1460)         在org.acumos.portal.be.controller.MarketPlaceCatalogServiceController.fetchProtoFile(MarketPlaceCatalogServiceController.java:1160)         在sun.reflect.GeneratedMethodAccessor394.invoke(未知来源)         在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)         在java.lang.reflect.Method.invoke(Method.java:498)         在org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)         在org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)         在org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:\ 97)         在org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.jav \ a:849)         在org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:760 \ )         在org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)         在org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)         在org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)         在org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)         在org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)         在javax.servlet.http.HttpServlet.service(HttpServlet.java:635)         在org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)         在javax.servlet.http.HttpServlet.service(HttpServlet.java:742)         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)         在org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)         在org.acumos.portal.be.security.AuthenticationTokenFilter.doFilter(AuthenticationTokenFilter.java:170)         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)         在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:317)         在org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)

1 个答案:

答案 0 :(得分:0)

我确实设法解决了这个问题。我注意到几个与Acumos相关的容器已停止。某些容器的错误原因表明与URL的连接错误仅包括主机名(剪切)。我在/ etc / network / interfaces中添加了以下内容:

dns-search tele.no

因为这将允许解析本地主机名以包含FQDN。然后,我重新启动已停止的容器。停止的容器现在可以正常运行了,我可以下载文件了。

我确实认为应该在AIO脚本中添加一些内容,以避免类似的问题,或者可以就如何命名服务器使用明确的警告/说明。