From 77510b52d0c9b99b722ef9ac1c72e1b219baf7cb Mon Sep 17 00:00:00 2001 From: Elio Martinez Date: Fri, 8 Mar 2019 02:53:42 -0500 Subject: [PATCH] Manual Tests: Networking Internal DNS Resolution This patch includes the first DNS test. The objective for this test is to evaluate and demostrate how does the DNS service is going to affect our communication with VM's. Following the logic, we can not reach any VM through their name if the DNS services is not enabled. This first test is for AIO. Change-Id: I38c5c0e53f1e80ae4c6506d39fd21163ebde9e05 Signed-off-by: Abraham Arce --- .../Networking_Internal_DNS_resolution.rst | 68 ++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/doc/source/manual_tests/networking/Networking_Internal_DNS_resolution.rst b/doc/source/manual_tests/networking/Networking_Internal_DNS_resolution.rst index 84cb1a9..51250cb 100644 --- a/doc/source/manual_tests/networking/Networking_Internal_DNS_resolution.rst +++ b/doc/source/manual_tests/networking/Networking_Internal_DNS_resolution.rst @@ -2,8 +2,74 @@ Networking Internal DNS resolution ================================== - +Users of an OpenStack cloud would like to look up their instances by name in +an intuitive way using the Domain Name System. This subdomain show the way +that we are testing this feature. .. contents:: :local: :depth: 1 + +----------------- +NET_IN_DNS_RES_03 +----------------- + +:Test ID: NET_IN_DNS_RES_03 +:Test Title: Disable internal DNS on AIO simplex system +:Tags: DNS + +~~~~~~~~~~~~~~~~~~ +Testcase Objective +~~~~~~~~~~~~~~~~~~ + +This test case shows the way that DNS can be disabled and how is going to +affect the communication with the VM's. + +~~~~~~~~~~~~~~~~~~~ +Test Pre-Conditions +~~~~~~~~~~~~~~~~~~~ + +a)Install any AIO symplex system. + +~~~~~~~~~~ +Test Steps +~~~~~~~~~~ + +1. Enable DNS resolution (Ml2 network service parameter will be created with + value=dns), by issuing the following commands: + + :: + + $ system service-parameter-add network ml2 exentsion_drivers=dns + $ system service-parameter-add network default dns_domain= + + +2. Lock/Unlock controllers. + +3. Boot 2 VM's. + +4. Ping between VM's via their hostnames. The communication between VM's + should be successful. + +5. Perform VM actions: stop/pause/resume. VM's survives actions and internal + DNS resolution is not impacted. + +6. Disable DNS resolution by deleting system service parameter associated with + network/dns service. + + :: + + $ system service-parameter-delete + +7. Lock/Unlock the controller. + +8. Create 2 new VM's. + +9. Attempt to ping between new VM's via their hostnames. + +~~~~~~~~~~~~~~~~~ +Expected Behavior +~~~~~~~~~~~~~~~~~ + +After disabling/deleting internal dns resolution, VM's shouldn't be able to +resolve IP's via hostnames.