Skip Menu | Logged in as guest | Logout
 
Ticket metadata
Id: 3036
Status: resolved
Priority: 3/0
Queue: vdt-support

Fixed in: 1.8.1b
Fix scheduled: CUR

Owner: Tim Cartwright
Requestors: Annabelle.Leung@cern.ch
Cc:
AdminCc:

More about Annabelle.Leung@cern.ch
Comments about this user:
No comment entered about this user
This user's 10 highest priority tickets:
Groups this user belongs to:
  • Everyone
  • Unprivileged

New reminder:

Created: Tue Oct 16 03:57:55 2007
Starts: Not set
Started: Not set
Last Contact: Tue Oct 23 11:35:47 2007
Due: Not set
Closed: Wed Oct 24 13:59:28 2007
Updated: Wed Oct 24 13:59:40 2007 by cat



History Brief headersFull headers
Subject: trying to install VDT on afs
Date: Tue, 16 Oct 2007 10:50:22 +0200
To: vdt-support@OPENSCIENCEGRID.ORG
From: Annabelle Leung <annabelle.leung@cern.ch>
Download (untitled) / with headers
text/plain 1.1k
Hello

I made several attempts to install VDT-client or VDT on /afs but I
have been having the following problems:
> Downloading [condor-6.8.6.x86_rhas_3.tar.gz] from [http://
> vdt.cs.wisc.edu/software//condor-1/6.8.6] <http://vdt.cs.wisc.edu/
> software//condor-1/6.8.6%5D>...
> Package [/afs/hep.wisc.edu/atlas/vdt:http://vdt.cs.wisc.edu/
> vdt_181_cache:VDT-Client] <http://vdt.cs.wisc.edu/vdt_181_cache:VDT-
> Client%5D> not [installed]:
> Package [/afs/hep.wisc.edu/atlas/vdt:http://vdt.cs.wisc.edu/
> vdt_181_cache:Condor] <http://vdt.cs.wisc.edu/vdt_181_cache:Condor%
> 5D> not [installed]:
> None of the following alternatives succeeded:
> Environment variable [VDTSETUP_CONDOR_LOCATION] has not
> been set.
> Command failed:
> ./condor_configure --install --maybe-daemon-owner --make-
> personal-condor --install-log ../post-install/README
> Exited with value 9
> Pacman install failed

Am I doign something wrong?

Annabelle


Annabelle Leung
University of Wisconsin-Madison
Bat.32 R-A03
CERN
CH-1211
Geneva, Switzerland
+41 22 767 7373

Annabelle.Leung@cern.ch
Download (untitled) / with headers
text/plain 657b
> > Command failed:
> > ./condor_configure --install --maybe-daemon-owner --make-
> > personal-condor --install-log ../post-install/README
> > Exited with value 9
> > Pacman install failed
>
> Am I doign something wrong?

Can you please look in vdt-install.log and see if there is a good error
message? Near the bottom, when condor_configure was run, we probably got
a good error message that will help us figure out what the problem is.

What OS are you installing on? You mentioned AFS: do you know the
installation works when you install on a local disk, or is it just a
hunch that it's an AFS problem?

Thanks,
-alain
CC: Dan Bradley <dan@hep.wisc.edu>
Subject: Re: [vdt-support #3036] trying to install VDT on afs
Date: Tue, 16 Oct 2007 23:58:33 +0200
To: vdt-support@OPENSCIENCEGRID.ORG
From: Annabelle Leung <Annabelle.Leung@cern.ch>
Hi Alain,

I just tried installing it on a local disk and it works fine. The
last error messages I have been getting with my attempt to install on
afs is:

vdt-untar: vdt_globus_ws_essentials-VDT1.8.1-x86_rhas_4.tar
vdt-untar: logging files to /afs/hep.wisc.edu/atlas/vdt/vdt/etc/
package_data/Globus-Base-WS-Essentials.filelist
All of the packages in your GLOBUS_LOCATION are already set up.
### 2007-10-16 10:57:13 (import) loaded by vdt/setup/configure_globus_ws
### 2007-10-16 10:57:13 (import) @ARGV = [ ]
### 2007-10-16 10:57:13 (failsafe_system) mkdir -p /afs/hep.wisc.edu/
atlas/vdt/globus/var/log
### 2007-10-16 10:57:13 (pick_user) Globus web services will run as:
nengxu
### 2007-10-16 10:57:13 (failsafe_system) mkdir -p /afs/hep.wisc.edu/
atlas/vdt/vdt-app-data/globus/persisted
### 2007-10-16 10:57:13 (failsafe_system) chown -R nengxu: /afs/
hep.wisc.edu/atlas/vdt/vdt-app-data/globus/pers
isted
chown: changing ownership of `/afs/hep.wisc.edu/atlas/vdt/vdt-app-
data/globus/persisted': Operation not permitt
ed

I am not installing it as root on /afs but as a user.

Annabelle


On Oct 16, 2007, at 4:30 PM, Alain Roy via RT wrote:

>>> Command failed:
>>> ./condor_configure --install --maybe-daemon-owner --make-
>>> personal-condor --install-log ../post-install/README
>>> Exited with value 9
>>> Pacman install failed
>>
>> Am I doign something wrong?
>
> Can you please look in vdt-install.log and see if there is a good
> error
> message? Near the bottom, when condor_configure was run, we
> probably got
> a good error message that will help us figure out what the problem is.
>
> What OS are you installing on? You mentioned AFS: do you know the
> installation works when you install on a local disk, or is it just a
> hunch that it's an AFS problem?
>
> Thanks,
> -alain
>
>
> --
> View ticket at <http://vdt.cs.wisc.edu/rt/Ticket/Display.html?
> user=guest&pass=guest&id=3036>
> VDT Support, vdt-support@ivdgl.org

Annabelle Leung
University of Wisconsin-Madison
Bat.32 R-A03
CERN
CH-1211
Geneva, Switzerland
+41 22 767 7373

Annabelle.Leung@cern.ch
CC: vdt-support@OPENSCIENCEGRID.ORG
Subject: Re: [vdt-support #3036] trying to install VDT on afs
Date: Tue, 16 Oct 2007 17:13:12 -0500
To: Annabelle Leung <Annabelle.Leung@cern.ch>
From: Dan Bradley <dan@hep.wisc.edu>
Download (untitled) / with headers
text/plain 3.3k
I took at look at the directory that is failing chown:

ls -ld /afs/hep.wisc.edu/atlas/vdt/vdt-app-data/globus/persisted
drwxr-xr-x 2 nengxu 20435 2048 Oct 16 10:57
/afs/hep.wisc.edu/atlas/vdt/vdt-app-data/globus/persisted


Notice that the group ownership is numerical id 20435. I think it is the
group ownership that is related to the problem. If I try 'chown nengxu'
on that directory, the operation succeeds without any error (because the
directory is already owned by nengxu). If I try 'chown nengxu:' on that
directory, I get the same error reported in the VDT installation log. If
I just create a directory with my default group ownership and then try
the above chown operations, they both succeed.

The chown man page says this:

"If a colon or dot but no group name follows the user name, that user is
made the owner of the files and the group of the files is changed to
that user’s login group."

So on the machine where you are running the installation, I am guessing
that group 20435 does not match your login group.

--Dan

Annabelle Leung wrote:
> Hi Alain,
>
> I just tried installing it on a local disk and it works fine. The last
> error messages I have been getting with my attempt to install on afs is:
>
> vdt-untar: vdt_globus_ws_essentials-VDT1.8.1-x86_rhas_4.tar
> vdt-untar: logging files to
> /afs/hep.wisc.edu/atlas/vdt/vdt/etc/package_data/Globus-Base-WS-Essentials.filelist
> All of the packages in your GLOBUS_LOCATION are already set up.
> ### 2007-10-16 10:57:13 (import) loaded by vdt/setup/configure_globus_ws
> ### 2007-10-16 10:57:13 (import) @ARGV = [ ]
> ### 2007-10-16 10:57:13 (failsafe_system) mkdir -p
> /afs/hep.wisc.edu/atlas/vdt/globus/var/log
> ### 2007-10-16 10:57:13 (pick_user) Globus web services will run as:
> nengxu
> ### 2007-10-16 10:57:13 (failsafe_system) mkdir -p
> /afs/hep.wisc.edu/atlas/vdt/vdt-app-data/globus/persisted
> ### 2007-10-16 10:57:13 (failsafe_system) chown -R nengxu:
> /afs/hep.wisc.edu/atlas/vdt/vdt-app-data/globus/pers
> isted
> chown: changing ownership of
> `/afs/hep.wisc.edu/atlas/vdt/vdt-app-data/globus/persisted': Operation
> not permitt
> ed
>
> I am not installing it as root on /afs but as a user.
>
> Annabelle
>
>
> On Oct 16, 2007, at 4:30 PM, Alain Roy via RT wrote:
>
>>>> Command failed:
>>>> ./condor_configure --install --maybe-daemon-owner --make-
>>>> personal-condor --install-log ../post-install/README
>>>> Exited with value 9
>>>> Pacman install failed
>>>
>>> Am I doign something wrong?
>>
>> Can you please look in vdt-install.log and see if there is a good error
>> message? Near the bottom, when condor_configure was run, we probably got
>> a good error message that will help us figure out what the problem is.
>>
>> What OS are you installing on? You mentioned AFS: do you know the
>> installation works when you install on a local disk, or is it just a
>> hunch that it's an AFS problem?
>>
>> Thanks,
>> -alain
>>
>>
>> --
>> View ticket at
>> <http://vdt.cs.wisc.edu/rt/Ticket/Display.html?user=guest&pass=guest&id=3036
>> <http://vdt.cs.wisc.edu/rt/Ticket/Display.html?user=guest&pass=guest&id=3036>>
>> VDT Support, vdt-support@ivdgl.org <mailto:vdt-support@ivdgl.org>
>
> Annabelle Leung
> University of Wisconsin-Madison
> Bat.32 R-A03
> CERN
> CH-1211
> Geneva, Switzerland
> +41 22 767 7373
>
> Annabelle.Leung@cern.ch <mailto:Annabelle.Leung@cern.ch>
>
>
>
Subject: Re: [vdt-support #3036] trying to install VDT on afs
Date: Sun, 21 Oct 2007 21:23:10 -0500
To: vdt-support@OPENSCIENCEGRID.ORG
From: Alain Roy <roy@cs.wisc.edu>
Download (untitled) / with headers
text/plain 498b
Anabelle--

This looks like a bug in VDT 1.8.1 to me. I think we shouldn't be
doing a chown if we aren't root. (You said that you are not
installing as root, right?)

I'm going to change the name of this ticket--so don't be surprised if
future email doesn't have the same subject line. The ticket number
will stay the same and stay in the subject.

I suspect this is very easy to fix. We are planning an update to VDT
1.8.1 within a week or so, and I think we can fix it by then.

-alain
Subject: [vdt-support #3036] SVN commit, rev 6784
To: vdt-support@cs.wisc.edu
From: cat@cs.wisc.edu
Download (untitled) / with headers
text/plain 334b
Commit comment:
I checked all of the chown statements in the script, and only the one that was
giving Annabelle grief needed attention. Now all chowns are done only if root.


Changed files:
U vdt/branches/vdt-1.8.1/Configure-Globus-WS/vdt/setup/configure_globus_ws

To generate a diff:
svn diff -c 6784 file:///p/vdt/workspace/svn
Download (untitled) / with headers
text/plain 708b
Annabelle:

You wrote to vdt-support about this problem:

> I just tried installing it on a local disk and it works fine. The last error
> messages I have been getting with my attempt to install on afs is:
>
> [...]
> ### 2007-10-16 10:57:13 (failsafe_system) chown -R nengxu: /afs/hep.wisc.edu/atlas/vdt/vdt-app-data/
globus/persisted
> chown: changing ownership of `/afs/hep.wisc.edu/atlas/vdt/vdt-app-data/globus/persisted': Operation not
permitted
>
> I am not installing it as root on /afs but as a user.

It was indeed a bug -- the chown is not appropriate when installing as non-root.
I fixed the bug for the upcoming 1.8.1b release. As Alain said, we hope to
release in the next week or so.

-- Tim
Subject: Re: [vdt-support #3036] Don't chown when not root (configure_globus_ws)
Date: Tue, 23 Oct 2007 18:38:17 +0200
To: vdt-support@OPENSCIENCEGRID.ORG
From: Annabelle Leung <annabelle.leung@cern.ch>
Download (untitled) / with headers
text/plain 835b
great! thanks

Annabelle

Tim Cartwright via RT wrote:
> Annabelle:
>
> You wrote to vdt-support about this problem:
>
>
>> I just tried installing it on a local disk and it works fine. The last error
>> messages I have been getting with my attempt to install on afs is:
>>
>> [...]
>> ### 2007-10-16 10:57:13 (failsafe_system) chown -R nengxu: /afs/hep.wisc.edu/atlas/vdt/vdt-app-data/
>>
> globus/persisted
>
>> chown: changing ownership of `/afs/hep.wisc.edu/atlas/vdt/vdt-app-data/globus/persisted': Operation not
>>
> permitted
>
>> I am not installing it as root on /afs but as a user.
>>
>
> It was indeed a bug -- the chown is not appropriate when installing as non-root.
> I fixed the bug for the upcoming 1.8.1b release. As Alain said, we hope to
> release in the next week or so.
>
> -- Tim
>
>
Doesn’t appear to have caused new problems.