Changeset 1b6cc95 for fedd/federation


Ignore:
Timestamp:
Jun 22, 2010 1:06:53 PM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
181aeb4
Parents:
2b6e64d1
Message:

A couple random bugs that didn't get spotted until we swapped something in for
real.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/protogeni_access.py

    r2b6e64d1 r1b6cc95  
    1212import random
    1313import traceback
     14import xml.parsers.expat
    1415
    1516from threading import Thread, Timer, Lock
     
    773774            elif self.node_startcommand:
    774775                # XXX: debug
    775                 print >>script, "sudo perl -I%s %simport_key.pl /users/%s/.ssh/authorized_keys /root/.ssh/authorized_keys" % (fed_lib_dir, fed_bin_dir, user)
     776                print >>script, "sudo perl -I%s %s/import_key.pl /users/%s/.ssh/authorized_keys /root/.ssh/authorized_keys" % (fed_lib_dir, fed_bin_dir, user)
    776777                # XXX: debug
    777778                if elem.get_attribute('startup'):
     
    10071008        try:
    10081009            param = { 'credential': slice_cred }
    1009             segment_commands.pg_call(self.cm_url, 'DeleteSliver',
     1010            segment_commands.pg_call(self.cm_url, 'DeleteSlice',
    10101011                    param, ctxt)
    10111012        except segment_commands.ProtoGENIError, e:
     
    12461247            embedding.append({
    12471248                'toponame': k,
    1248                 'physname': ["%s%s" %  (n, self.domain)],
     1249                'physname': [n ],
    12491250                })
    12501251        # Grab the log (this is some anal locking, but better safe than
Note: See TracChangeset for help on using the changeset viewer.