Appliance Shell 経由で静的ルートを追加できない
search cancel

Appliance Shell 経由で静的ルートを追加できない

book

Article ID: 411112

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • アプライアンスシェル経由でスタティックルートを追加できません。
  • この問題が発生すると、次のエラーが発生します。
    Command> com.vmware.appliance.version1.networking.routes.add --destination ###.###.###.### --prefix 16 --gateway ###.###.###.### --interface nic0
    Error in method: Operation Failed. (code com.vmware.applmgmt.err_operation_failed)
  • 以下のログが/var/log/applmgmt.logに記録されます。
    YYYY-MM-DD HH:MM:SS AM UTC [517678]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.routes.add(Structure('Route', dict(destination='###.###.###.###', prefix=16, gateway='###.###.###.###', interface='nic0')))
    YYYY-MM-DD HH:MM:SS AM UTC [517678]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.routes. result = 2
    YYYY-MM-DD HH:MM:SS AM UTC [517678]ERROR:vmware.appliance.networking.impl:Add route operation failed.
    YYYY-MM-DD HH:MM:SS AM UTC [517678]DEBUG:vmware.vherd.transport.xmlrpc:Trapped an exception: pint.Error('com.vmware.applmgmt.err_operation_failed', 'Operation Failed.', **{})
    YYYY-MM-DD HH:MM:SS AM UTC [517678]DEBUG:vmware.vherd.transport.xmlrpc:Dictionary returned: {'code': 'com.vmware.applmgmt.err_operation_failed', 'message': 'Operation Failed.', 'attributes': {}, '__error__': True}

Environment

vCenter Server

Cause

vCenter Server で割り当てられた IP アドレスは、指定されたゲートウェイ IP アドレスとは異なるネットワークに属しています。

Resolution

vCenter Server の IP アドレスとゲートウェイの IP アドレスが同じネットワークに属していることを確認します。