【问题标题】:Where could I find Rundeck SCM configuration?我在哪里可以找到 Rundeck SCM 配置?
【发布时间】:2021-08-13 15:00:28
【问题描述】:

我还没有完全配置 SCM 导出插件并保存了设置,我想一旦我将 ssh 密钥添加到 Rundeck 存储,我将继续配置。不幸的是,当转到JOBS 或SETUP SCM... 页面时,Rundeck 现在会超时。我尝试使用 API,但在尝试获取 SCM 插件详细信息时也会超时。

是否有一些包含 SCM 导出配置的文件或表可以手动删除并重新开始我的配置?

错误信息:

[2021-08-01T01:00:00,000] ERROR services.ScmService - Unable to initialize SCM for project myproject for integration export
com.dtolabs.rundeck.plugins.scm.ScmPluginException: Failed fetch from the repository: git@domain:path/rundeck.git: Connection timed out (Connection timed out); java.net.ConnectException: Connection timed out (Connection timed out)
        at jdk.internal.reflect.GeneratedConstructorAccessor319.newInstance(Unknown Source) ~[?:?]
...

【问题讨论】:

    标签: rundeck


    【解决方案1】:

    我能够在 Rundeck 数据库中找到配置。删除该行后,我可以再次访问 SCM 配置。

    mysql> select name from storage limit 10;
    +--------------------------+
    | name                     |
    +--------------------------+
    | workflowConfigFix973     |
    | project.properties       |
    | project.properties       |
    | user.aclpolicy.aclpolicy |
    | scm-export.properties    |
    +--------------------------+
    5 rows in set (0.00 sec)
    
    mysql> delete from storage where name = 'scm-export.properties';
    Query OK, 1 row affected (0.01 sec)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-09-19
      • 2011-02-10
      • 1970-01-01
      • 2023-01-30
      • 1970-01-01
      • 1970-01-01
      • 2014-07-16
      相关资源
      最近更新 更多