Bug 765093 (GLUSTER-3361) - object-strorage: shell-script should first find path of "swift" directory
Summary: object-strorage: shell-script should first find path of "swift" directory
Keywords:
Status: CLOSED NOTABUG
Alias: GLUSTER-3361
Product: GlusterFS
Classification: Community
Component: object-storage
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gaurav
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-08 12:28 UTC by Saurabh
Modified: 2011-08-12 05:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Saurabh 2011-08-08 12:28:27 UTC
the shell scripts we have for configuring object-storage should first try to find the path for swift directory's path, as for example if we use the absolute path to execute the centos-install.sh , then it won't be able to find the "swift" dir and necessary copy of config files will show the below error.


logs:-
[root@Centos1 ~]# vim /root/obj/gluster-object-storage-3.3beta1/centos_install.sh 
[root@Centos1 ~]# /root/obj/gluster-object-storage-3.3beta1/centos_install.sh 
/root/obj/gluster-object-storage-3.3beta1/centos_install.sh: line 8: cd: swift: No such file or directory
Enter external IP for Storage-Server: 10.1.12.25
Enter Super Admin key:sj
Enter Object server port (Press Enter for default 6010):
Enter Container server port (Press Enter for default 6011):
Enter Account server port (Press Enter for default 6012):
Enter '1' for https '2' for 'http' (Recommended is https):1
cp: cannot stat `config/proxy-server.conf': No such file or directory
cp: cannot stat `config/swift.conf': No such file or directory
cp: cannot stat `config/object-server.conf': No such file or directory
cp: cannot stat `config/container-server.conf': No such file or directory
cp: cannot stat `config/account-server.conf': No such file or directory

Comment 1 Gaurav 2011-08-12 02:59:51 UTC
Install scripts are always supposed to be executed from UFO path.


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