* tempest init command calls oslo_config to generate sample tempest.conf
which expects a list of tuples (group, [group_options]) provided by
octavia plugin's get_opt_lists method. Due to comma at the end of
service_option, oslo_config excepts one more tuple which was not there
which causing failure to tempest init. Removing it fix the issue.
* use register_opt for service_available in config
Change-Id: I6af2c72dd83e5ef5fd3ae9a66ee774e3cbab8f67
Closes-bug: #1681405
(cherry picked from commit 3ac2b04f95d4781ae87a54e87f475db94a53e98a)
Reviewed: https:/ /review. openstack. org/455405 /git.openstack. org/cgit/ openstack/ octavia/ commit/ ?id=1576b5fd296 76b7f67f4ec709f 314afdcedfe623
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 1576b5fd29676b7 f67f4ec709f314a fdcedfe623
Author: Chandan Kumar <email address hidden>
Date: Mon Apr 10 11:12:13 2017 +0000
Fixed Octavia tempest plugin
* tempest init command calls oslo_config to generate sample tempest.conf option, oslo_config excepts one more tuple which was not there
which expects a list of tuples (group, [group_options]) provided by
octavia plugin's get_opt_lists method. Due to comma at the end of
service_
which causing failure to tempest init. Removing it fix the issue.
* use register_opt for service_available in config
Change-Id: I6af2c72dd83e5e f5fd3ae9a66ee77 4e3cbab8f67 ae87a54e87f475d b94a53e98a)
Closes-bug: #1681405
(cherry picked from commit 3ac2b04f95d4781