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.
Reviewed: https:/ /review. opendev. org/c/openstack /tacker/ +/844762 /opendev. org/openstack/ tacker/ commit/ 9d5a84c2fdd47cf 7324569275b9639 5ae367a1f4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 9d5a84c2fdd47cf 7324569275b9639 5ae367a1f4
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 _and_send_ install_ scripts function ecutor function to prevent the
_init_commander _and_send_ install_ scripts function. information_ start and modify_ information_ end to
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
instead of the RemoteCommandEx
VM from getting an error when the connection fails during
the startup phase.
3. Added the type of exceptions caught by the
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_
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 4dff0840bf90ca1 0ae2a677874
Change-Id: I94f011fd5061b0