mogan/mogan/baremetal
zhangjl c8f6ca2c8a Ensure root_gb always in patch params to avoid ValidationError
Accoring [1], the root_gb is required when validating the
node properties. While, in latest mogan codes [2], root_gb
is optional. Then, the ValidationError would occured when
creating baremetal server with mogan.

To fix this problem, ensure root_gb always in patch params.

[1]: https://github.com/openstack/nova/blob/master/nova/virt/ironic/patcher.py#L61
[2]: https://github.com/openstack/mogan/blob/master/mogan/baremetal/ironic/driver.py#L159-L161

Change-Id: I99f7a0408c234649fc81482f82018c74781f7a26
Closes-Bug: #1729533
2017-11-02 17:35:17 +08:00
..
ironic Ensure root_gb always in patch params to avoid ValidationError 2017-11-02 17:35:17 +08:00
__init__.py Move baremetal dir out from engine 2017-08-11 12:55:05 +08:00
driver.py Merge "Return node name with server API object" 2017-09-12 04:26:23 +00:00