Bug 1290336 - The DNS on the overcloud should be configured with all envs
The DNS on the overcloud should be configured with all envs
Status: NEW
Product: khaleesi
Classification: Community
Component: rdo-manager (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: wes hayutin
Attila Darazs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-10 04:24 EST by Ariel Opincaru
Modified: 2015-12-16 03:06 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ariel Opincaru 2015-12-10 04:24:10 EST
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 04:28:28 EST
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 05:41:55 EST
Hi,

This patch should fix the dns 
https://review.gerrithub.io/#/c/246496/
Comment 3 wes hayutin 2015-12-10 07:22:51 EST
https://review.gerrithub.io/#/c/246496/ has merged.

Thanks Mathieu!

Note You need to log in before you can comment on or make changes to this bug.