Bug 680225

Summary: network test should use HTTP for file transfer tests rather than NFS
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Guangze Bai <gbai>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2CC: czhang, gbai, rlandry, xiqin, ykun, yshao, yuchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An enhancement has been made in v7 1.3 that network test enables to use HTTP for file transfer tetss rahter than NFS.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-09 16:11:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
network test patch adding HTTP transfer subtest
none
http.py defining a HTTP utility class for use in testing
none
a CGI to support file transfers in the network test
none
Sample test log for the new subtest none

Description Greg Nichols 2011-02-24 18:16:24 UTC
Description of problem:

Currently the network test uses NFS for testing file transfers over TCP.  It would be better to use HTTP for transfer tests.

Comment 1 Greg Nichols 2011-02-24 18:21:01 UTC
Created attachment 480826 [details]
network test patch adding HTTP transfer subtest

This new subtest is intended to replace the NFS transfer test.  The new subtest uses HTTP POST of a mult-part enclosure to upload the test file to the v7 server.  The v7 server saves the file in the web-acessable v7 store directory.   The network test then downloads the file directly via HTTP GET.   The test verifies the contents of the file via MD5 hash comparisons of the sent file, vs. the received file.

Comment 2 Greg Nichols 2011-02-24 18:21:50 UTC
Created attachment 480827 [details]
http.py defining a HTTP utility class for use in testing

Comment 3 Greg Nichols 2011-02-24 18:23:01 UTC
Created attachment 480828 [details]
a CGI to support file transfers in the network test

Comment 4 Greg Nichols 2011-02-24 18:24:48 UTC
Created attachment 480829 [details]
Sample test log for the new subtest

Comment 8 Caspar Zhang 2011-05-01 09:51:53 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
An enhancement has been made in v7 1.3 that network test enables to use HTTP for file transfer tetss rahter than NFS.

Comment 9 errata-xmlrpc 2011-05-09 16:11:40 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0497.html