Changeset 6843d14 for fedd/federation


Ignore:
Timestamp:
Aug 23, 2012 4:12:54 PM (12 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
be1742d
Parents:
b90c44d (diff), d4946da (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of tardis.deterlab.net:/var/local/git/fedd

Location:
fedd/federation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/emulab_access.py

    rd4946da r6843d14  
    10521052            raise service_error(service_error.internal,
    10531053                    "Can't find experiment name for %s" % aid)
     1054       
    10541055        stopper = self.stop_segment(keyfile=self.ssh_privkey_file,
    10551056                debug=self.create_debug, boss=self.boss, ops=self.ops,
     
    10581059        self.log.info("TerminateSegment succeeded for %s %s %s" % \
    10591060                (fid, proj, ename))
     1061        self.state_lock.acquire()
     1062        # Remove the started flag/info - the segment is no longer started
     1063        if aid in self.allocation:
     1064            del self.allocation[aid]['started']
     1065            self.write_state()
     1066        self.state_lock.release()
    10601067        return { 'allocID': req['allocID'], 'proof': proof.to_dict() }
    10611068
  • fedd/federation/emulab_segment.py

    • Property mode changed from 100644 to 100755
    rb90c44d r6843d14  
    4646
    4747        # Script the filesystem changes
     48       
     49        # Set umask to 007.  Since we are operating
     50        # within /proj, we want to permit all proj users
     51        # read and write.  This is especially necessary
     52        # since creating directory hierarchy (mkdir -p).
     53        print >>scriptfile, "umask 007"
    4854        print >>scriptfile, "/bin/rm -rf %s" % proj_dir
    4955        # Clear and create the software directory
Note: See TracChangeset for help on using the changeset viewer.