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

Hi Chris,

Thanks for the heads up. Would you please file this as a bug in Red Hat Bugzilla so it can be fixed by the documentation team?

https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20OpenStack&component=documentation

Regards, Radek

Hi Radek,

Well ok but I would have appreciated someone from Red Hat doing this since I've bothered to provide all the info here.

But ok: https://bugzilla.redhat.com/show_bug.cgi?id=1439746

I believe it's better if the person who finds an issue gets the chance to file it in the designated issue tracker because then they're connected with the right people and receive updates (or are asked follow-up questions) as the issue is being worked on. I agree though that I could have filed the bug on your behalf and let you add yourself to the CC list if you wanted, or notified the RHOS documentation team (my ex-team actually) of this thread. You did provide all the information here, and I hope the bug filing process wasn't too difficult then.

Err... I meant to write the response using my account bug was just (temporarily) logged in as another/shared user. Sorry about the confusion.

No problem. I am always doing the same thing.

Ok, I'll just file a doc bug in future.

Thanks. Yeah -- as a rule of thumb: if you're sure about a problem, please file a bug. This forum is still good for discussions about difficulties, possible misconfigurations, best practices, and so on.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.