Tempest config option typo causes failure

Latest response

Hi,

[heat-admin@stack07 tempest]$ tools/config_tempest.py --debug --create identity.uri $OS_AUTH_URL identity.admin_username $OS_USERNAME identity.admin_password $OS_PASSWORD identity.admin_tenant_name $OS_TENANT_NAME                                    
2017-04-03 09:45:48.599 135788 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf
2017-04-03 09:45:48.907 135788 CRITICAL tempest [-] Exception: An odd number of override options was found. The overrides have to be in 'section.key value' format.
2017-04-03 09:45:48.907 135788 ERROR tempest Traceback (most recent call last):
2017-04-03 09:45:48.907 135788 ERROR tempest   File "tools/config_tempest.py", line 850, in <module>
2017-04-03 09:45:48.907 135788 ERROR tempest     main()
2017-04-03 09:45:48.907 135788 ERROR tempest   File "tools/config_tempest.py", line 115, in main
2017-04-03 09:45:48.907 135788 ERROR tempest     args = parse_arguments()
2017-04-03 09:45:48.907 135788 ERROR tempest   File "tools/config_tempest.py", line 236, in parse_arguments
2017-04-03 09:45:48.907 135788 ERROR tempest     args.overrides = parse_overrides(args.overrides)
2017-04-03 09:45:48.907 135788 ERROR tempest   File "tools/config_tempest.py", line 246, in parse_overrides
2017-04-03 09:45:48.907 135788 ERROR tempest     raise Exception("An odd number of override options was found. The"
2017-04-03 09:45:48.907 135788 ERROR tempest Exception: An odd number of override options was found. The overrides have to be in 'section.key value' format.
2017-04-03 09:45:48.907 135788 ERROR tempest

The problem is that the TENANT name is not recognised, it should be PROJECT:

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html-single/manual_installation_procedures/#sect-tempest-configure

Please can you change section 4 from:

# tools/config_tempest.py --debug --create identity.uri $OS_AUTH_URL identity.admin_username $OS_USERNAME identity.admin_password $OS_PASSWORD identity.admin_tenant_name $OS_TENANT_NAME object-storage.operator_role Member

to

# tools/config_tempest.py --debug --create identity.uri $OS_AUTH_URL identity.admin_username $OS_USERNAME identity.admin_password $OS_PASSWORD identity.admin_tenant_name $OS_PROJECT_NAME object-storage.operator_role Member

and also include parameter for project, for example changing:

# export OS_USERNAME=admin
# export OS_TENANT_NAME=admin
# export OS_PASSWORD=
# export OS_AUTH_URL=http://IP:35357/v2

to

# export OS_USERNAME=admin
# export OS_PROJECT_NAME=admin
# export OS_PASSWORD=
# export OS_AUTH_URL=http://IP:35357/v2

Thanks

Responses