Comment 2 for bug 1729533

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mogan (master)

Reviewed: https://review.openstack.org/517235
Committed: https://git.openstack.org/cgit/openstack/mogan/commit/?id=c8f6ca2c8a8ebe930026be66651b66aa7c908ac3
Submitter: Zuul
Branch: master

commit c8f6ca2c8a8ebe930026be66651b66aa7c908ac3
Author: zhangjl <email address hidden>
Date: Thu Nov 2 17:35:17 2017 +0800

    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