ページの先頭行へ戻る
Enterprise Service Development Platform V1.2.0 トラブルシューティング集
FUJITSU Software

1.5.1 前提条件不足

■事象

APIの登録が以下のメッセージを出力して失敗します。

fatal: [127.0.0.1]: FAILED! => {
    "failed": true,
    "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'api_proxy' is undefined\n\nThe error appears to have been in '/data/playbook/roles/api_proxy_r3/api/tasks/task_present_apis.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Create or Update Services and Routes\n  ^ here\n"
}

■原因

FAILEDで出力されているメッセージ内に原因が記載されています。

上記の例では、設定ファイルに記載されるべき必須のキーが存在しない、または定義ファイルが参照できません。

■対処方法

設定ファイルの必須パラメーターが指定されているか、設定ファイル名および配置場所が誤っていないかを確認してください。