When Quantum auth_token configuration were moved to quantum.conf,
the temporary logic to disable auth_token in api-paste.ini was added
to avoid gating test failures of patches based on the version with
api-paste.ini auth_token configurations.
This temporary logic is no longer needed.
Change-Id: I539301a338d5ada01c83af5e9cf203849a67c6c1
| ... | ... |
@@ -581,10 +581,6 @@ function _configure_quantum_service() {
|
| 581 | 581 |
|
| 582 | 582 |
iniset $QUANTUM_CONF DEFAULT auth_strategy $Q_AUTH_STRATEGY |
| 583 | 583 |
_quantum_setup_keystone $QUANTUM_CONF keystone_authtoken |
| 584 |
- # Comment out keystone authtoken configuration in api-paste.ini |
|
| 585 |
- # It is required to avoid any breakage in Quantum where the sample |
|
| 586 |
- # api-paste.ini has authtoken configurations. |
|
| 587 |
- _quantum_commentout_keystone_authtoken $Q_API_PASTE_FILE filter:authtoken |
|
| 588 | 584 |
|
| 589 | 585 |
# Configure plugin |
| 590 | 586 |
quantum_plugin_configure_service |
| ... | ... |
@@ -655,21 +651,6 @@ function _quantum_setup_keystone() {
|
| 655 | 655 |
rm -f $QUANTUM_AUTH_CACHE_DIR/* |
| 656 | 656 |
} |
| 657 | 657 |
|
| 658 |
-function _quantum_commentout_keystone_authtoken() {
|
|
| 659 |
- local conf_file=$1 |
|
| 660 |
- local section=$2 |
|
| 661 |
- |
|
| 662 |
- inicomment $conf_file $section auth_host |
|
| 663 |
- inicomment $conf_file $section auth_port |
|
| 664 |
- inicomment $conf_file $section auth_protocol |
|
| 665 |
- inicomment $conf_file $section auth_url |
|
| 666 |
- |
|
| 667 |
- inicomment $conf_file $section admin_tenant_name |
|
| 668 |
- inicomment $conf_file $section admin_user |
|
| 669 |
- inicomment $conf_file $section admin_password |
|
| 670 |
- inicomment $conf_file $section signing_dir |
|
| 671 |
-} |
|
| 672 |
- |
|
| 673 | 658 |
function _quantum_setup_interface_driver() {
|
| 674 | 659 |
|
| 675 | 660 |
# ovs_use_veth needs to be set before the plugin configuration |