VMの設定ミスが原因でStorageGRIDの拡張が停止する
環境
StorageGRID 11.4-11.7
問題
Grid VMの導入時に、vAppの設定に誤った名前またはIP設定が入力されている。
GUIでノードを承認すると、間違いが修正されます。
ただし、拡張時にVMに設定されていた古い設定が引き続き使用されるため、検証が失敗して拡張が停止します。
ただし、拡張時にVMに設定されていた古い設定が引き続き使用されるため、検証が失敗して拡張が停止します。
Jul 27 07:27:24 adminnode01 NMS: |2021-07-27T07:27:24.455| ERROR Validation failed. Please check the values you entered for errors. expansionnode09: The Admin Network subnet 192.168.0.0/24 overlaps the 192.168.0.0/24 Grid Network subnet. expansionnode09: The Admin Network subnet 172.16.0.0/24 overlaps the 172.16.0.0/24 Grid Network subnet. (MgmtApi::LocalizedValidationError)
Jul 27 07:27:24 adminnode01 NMS: |2021-07-27T07:27:24.455| ERROR /usr/local/lib/site_ruby/mgmt-api/sql-client/resource.rb:107:in `validate!'
Jul 27 07:27:24 adminnode01 NMS: |2021-07-27T07:27:24.455| ERROR /usr/local/lib/site_ruby/mgmt-api/sql-client/resource.rb:87:in `save!'
Jul 27 07:27:24 adminnode01 NMS: |2021-07-27T07:27:24.455| ERROR /usr/local/lib/site_ruby/mgmt-api/sql-client/resource.rb:55:in `replace!'
Jul 27 07:27:24 adminnode01 NMS: |2021-07-27T07:27:24.456| ERROR {"errors":[{"text":"expansionnode09: The Admin Network subnet 192.168.0.0/24 overlaps the 192.168.0.0/24 Grid Network subnet.","key":"error.i18n.validation","context":"networks"},{"text":"expansionnode09: The Admin Network subnet 172.16.0.0/24 overlaps the 172.16.0.0/24 Grid Network subnet.","key":"error.i18n.validation","context":"networks"}],"message":{"text":"Validation failed. Please check the values you entered for errors.","key":"error.422"},"code":422,"status":"error","responseTime":"2021-07-27T07:27:24.455Z","apiVersion":"3.2","data":{"type":"MgmtApi::LocalizedValidationError","trace":["/usr/local/lib/site_ruby/mgmt-api/sql-client/resource.rb:107:in `validate!'","/usr/local/lib/site_ruby/mgmt-api/sql-client/resource.rb:87:in `save!'","/usr/local/lib/site_ruby/mgmt-api/sql-client/resource.rb:55:in `replace!'","/usr/local/lib/site_ruby/mgmt-api/maintenance/grid-model.rb:440:in `configure!'","/usr/local/mgmt-api/app/controllers/servers.rb:237:in `block in registered'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1635:in `call'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1635:in `block in compile!'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:992:in `block (3 levels) in route!'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1011:in `route_eval'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:992:in `block (2 levels) in route!'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1040:in `block in process_route'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1038:in `catch'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1038:in `process_route'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:990:in `block in route!'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:989:in `each'"]}}