Bug 1290336

Summary: The DNS on the overcloud should be configured with all envs
Product: [Community] khaleesi Reporter: Ariel Opincaru <aopincar>
Component: rdo-managerAssignee: wes hayutin <whayutin>
Status: CLOSED WONTFIX QA Contact: Attila Darazs <adarazs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: mbultel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-16 16:30:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ariel Opincaru 2015-12-10 09:24:10 UTC
Description of problem:
When running with env_type other than 'ovb_host_cloud', the 'configure a nameserver for the overcloud' task on the khaleesi/playbooks/installer/rdo-manager/overcloud/run.yml is skipped and the DNS on the overcloud isn't configured properly.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. 
2.
3.

Actual results:
[heat-admin@overcloud-controller-0 ~]$ cat /etc/resolv.conf 
; generated by /usr/sbin/dhclient-script
nameserver 192.0.2.5
(different from the undercloud)

Expected results:
[heat-admin@overcloud-controller-0 ~]$ cat /etc/resolv.conf 
; generated by /usr/sbin/dhclient-script
nameserver 192.168.122.1
(same as the undercloud)

Additional info:

Comment 1 Ariel Opincaru 2015-12-10 09:28:28 UTC
tempest.api.image.v1.test_images.CreateRegisterImagesTest.test_register_http_image[id-6d0e13a7-515b-460c-b91f-9f4793f09816]
---------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/home/stack/tempest/tempest/api/image/v1/test_images.py", line 74, in test_register_http_image
        copy_from=CONF.image.http_image)
      File "/home/stack/tempest/tempest/api/image/base.py", line 74, in create_image
        disk_format, **kwargs)
      File "/home/stack/tempest/tempest/services/image/v1/json/image_client.py", line 169, in create_image
        resp, body = self.post('v1/images', None, headers)
      File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 252, in post
        return self.request('POST', url, extra_headers, headers, body)
      File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 629, in request
        resp, resp_body)
      File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 680, in _error_checker
        raise exceptions.BadRequest(resp_body)
    BadRequest: Bad request
    Details: 400 Bad Request
    
    The HTTP URL is invalid.
    
       
    Traceback (most recent call last):
    _StringException: Empty attachments:
      stderr
      stdout

Comment 2 mathieu bultel 2015-12-10 10:41:55 UTC
Hi,

This patch should fix the dns 
https://review.gerrithub.io/#/c/246496/

Comment 3 wes hayutin 2015-12-10 12:22:51 UTC
https://review.gerrithub.io/#/c/246496/ has merged.

Thanks Mathieu!