1

我正在尝试在本地安装 cosmos。

我按照指南的说明在从机上成功执行了 puppet 脚本。我在主机上执行 puppet 脚本时遇到问题。

脚本失败。这是 puppet.err 日志文件的内容:

[1;31mError: /Stage[main]/Cosmos::Setup/Exec[cosmos-setup]: Failed to call refresh: /opt/pdi-cosmos/cosmos-admin/cosmos-admin setup returned 255 instead of one of [0][0m
[1;31mError: /Stage[main]/Cosmos::Setup/Exec[cosmos-setup]: /opt/pdi-cosmos/cosmos-admin/cosmos-admin setup returned 255 instead of one of [0][0m    

编辑

这是手动运行的输出cosmos-admin setup

15:16:00,894 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
15:16:00,894 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
15:16:00,895 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/opt/pdi-cosmos/cosmos-admin/lib/play_2.10-2.2.2-RC2.jar!/logback.xml]
15:16:00,895 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
15:16:00,895 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/opt/pdi-cosmos/cosmos-admin/lib/play_2.10-2.2.2-RC2.jar!/logback.xml]
15:16:00,895 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/opt/pdi-cosmos/cosmos-api/lib/com.typesafe.play.play_2.10-2.2.2-RC2.jar!/logback.xml]
15:16:00,916 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@3621767f - URL [jar:file:/opt/pdi-cosmos/cosmos-admin/lib/play_2.10-2.2.2-RC2.jar!/logback.xml] is not of type file
15:16:01,071 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
15:16:01,076 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
15:16:01,086 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
15:16:01,119 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
15:16:01,182 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR
15:16:01,182 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
15:16:01,183 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
15:16:01,186 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@4eeaa79c - Registering current configuration as safe fallback point

[[37minfo[0m] play - database [default] connected at jdbc:mysql://localhost:3306/cosmos
[[37minfo[0m] play - Application started (Prod)
Persistent Storage Terminated. Not changing anything...
4

1 回答 1

0

这个版本的 Cosmos 被弃用,取而代之的是基于 Openstack 的 Sahara 的新版本。请在FIWARE 的目录中查看。

于 2015-09-24T14:13:46.507 回答