Comment 2 for bug 1976440

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

Reviewed: https://review.opendev.org/c/openstack/tacker/+/844762
Committed: https://opendev.org/openstack/tacker/commit/9d5a84c2fdd47cf7324569275b96395ae367a1f4
Submitter: "Zuul (22348)"
Branch: master

commit 9d5a84c2fdd47cf7324569275b96395ae367a1f4
Author: Yi Feng <email address hidden>
Date: Mon Jun 6 12:25:14 2022 +0900

    Fixed some bugs for Mgmt Driver

    Tested the Mgmt Driver in the Yoga version and found some bugs.

    To fix these bugs, the following things have been done in this
    patch:

    1. When checking whether the node has k8s installed, since the
       value of result.get_stderr() is a list, an error will occur
       in the if branch, and the value needs to be modified.
    2. Use the _init_commander_and_send_install_scripts function
       instead of the RemoteCommandExecutor function to prevent the
       VM from getting an error when the connection fails during
       the startup phase.
    3. Added the type of exceptions caught by the
       _init_commander_and_send_install_scripts function.
    4. Change the scale_stack_id to scale_out_id_list uniformly to
       solve the parameter mismatch between the input values for
       mgmt_drvier in vnflcm_driver and mgmt_driver.
    5. Add modify_information_start and modify_information_end to
       Mgmt Driver.
    6. When using the Mgmt Driver to modify the content of the
       haproxy configuration file, use the exact match of grep to
       find the corresponding line number.

    Closes-Bug: #1976440
    Change-Id: I94f011fd5061b04dff0840bf90ca10ae2a677874