test_wait_condition is failed due to domain name in endpoint

Bug #1551342 reported by Svetlana Shturm
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Alexander Nagovitsyn
Alexander Nagovitsyn

Bug Description

OSTF test_wait_condition is using script inside created VM that should use Heat API.
In using domain name case in endpoints (enabled SSL) this test will fail.
All curl execution inside VM with using domain name will be failed with unknown hostname message.

Steps to reproduce:
1) create env with enabled SSL (public endpoint),
2) execute Wait/Condition test.

Stack will be failed due to Timeout Error.

Tags: area-qa
Changed in fuel:
milestone: none → 9.0
tags: added: are-qa
tags: added: area-qa
removed: are-qa
Changed in fuel:
status: New → Confirmed
Revision history for this message
Alexander Nagovitsyn (gluk12189) wrote :

i will add "insecure" tag in template file.
This should solve the problem

Changed in fuel:
assignee: nobody → Alexander Nagovitsyn (gluk12189)
Revision history for this message
Svetlana Shturm (sshturm) wrote :

Insecure flag is not enough. It will fail due to missing information about hostname.
In using SSL case keystone will return endpoint with domain name.
 Example: public.fuel.local.
Without records in /etc/hosts this name will be not resolved and your curl request will fail.
So insecure flag is only the part of needed changes. It will not fix problem with SSL at all.

Changed in fuel:
importance: Undecided → High
Changed in fuel:
milestone: 9.0 → 10.0
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

We need to detect cluster public endpoint, get IP of the host and modify Heat template in OSTF test "on the fly" and add insecure flag to solve the issue.

Revision history for this message
Alexander Nagovitsyn (gluk12189) wrote :

Now heat team commited fix for ssl.
Need edit test template

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.