Bug 990006
Summary: | nfs: openssl compilation fails | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Saurabh <saujain> |
Component: | glusterd | Assignee: | santosh pradhan <spradhan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sudhir D <sdharane> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | mzywusko, rhs-bugs, rjoseph, saujain, spradhan, vagarwal, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-02 11:11:31 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
Saurabh
2013-07-30 09:05:12 UTC
Thanks Saurabh for sharing your setup. I could compile the openssl bundle in the NFS mount point successfully. Could you check it again? Also make sure that all the build dependencies are taken care in the test setup. You can verify this by just running openssl build on the local filesystem. Agree with Rajesh. The error is something with GCC compiler flags i.e. whenever the program does not have the "main"/_start routine, crt ll catch it unless the proper flag (nostart or so) is passed to gcc. If the compilation passes with native/local file system, we need to look into it. In rhsauto036, Inside /mnt/nfs-test/openssl-1.0.0d, I ran the make test and passes. So the NFS looks safe :-) This does not look like a NFS issue. What do you say? From the initial look it looks like during the untar operation on NFS mount some of the files created are empty (zero byte) with no file access attributes. Is it similar to the bug we opened for untar? When I ran the test with the script (time /opt/qa/tools/system_light/run.sh -w /mnt/glnfs/ -t openssl -l /home/openssl.log), I found some of the files are of 0 size which causes the compilation failure. But when I do it manually using following command, no FAILURE is seen. command for manual test: rm -rf /mnt/glnfs/openssl-1.0.1e*; umount -f /mnt/glnfs; mount -t nfs -o vers=3,tcp,noatime 10.70.43.16:/nfstest /mnt/glnfs; cd /mnt/glnfs; wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz; tar xvf openssl-1.0.1e.tar.gz; cd openssl-1.0.1e; ./config; make; make test Does not look like a NFS issue. May be the script or the open-ssl bundle being used is problematic? I am not sure. What do you say? Ran the openssl script as shown below: /opt/qa/tools/system_light/run.sh -w /mnt/nfs/openssl/ -t openssl -l /mnt/openssl.log The test passed without any error. Server version: glusterfs 3.4.0.17rhs I tried with glusterfs latest build i.e.3.4.0.30rhs-2 and RHEL 6.1 client. Test PASSED. [root@localhost ~]# /opt/qa/tools/system_light/run.sh -w /mnt/glnfs/ -t openssl -l /home/openssl.log /opt/qa/tools/system_light/scripts /opt/qa/tools/system_light Tests available: arequal bonnie compile_kernel dbench dd ffsb fileop fs_mark fsx glusterfs_build iozone locks ltp multiple_files openssl posix_compliance postmark read_large rpc syscallbench tiobench ===========================TESTS RUNNING=========================== Changing to the specified mountpoint /mnt/glnfs/run1136 executing openssl untarring the openssl tarball start:21:05:12 real 0m12.363s user 0m0.427s sys 0m0.948s executing ./config:21:05:25 real 0m5.680s user 0m3.056s sys 0m0.896s executing make:21:05:30 real 11m23.625s user 1m53.461s sys 0m43.078s executing make test:21:16:54 real 1m39.244s user 0m27.438s sys 0m13.188s removed openssl directories and files 1 Total 1 tests were successful Switching over to the previous working directory Removing /mnt/glnfs//run1136/ Saurabh, Could you have a look at this? Thanks, Santosh As this works with the latest build (The test combination: Gluster FS version 3.4.0.30rhs-2, RHEL 6.1 client and test ran through QA script i.e. /opt/qa/tools/system_light/run.sh -w /mnt/glnfs/ -t openssl -l /home/openssl.log). I am closing the defect with "Works with current release". |