Changeset eac54fa for fedd/federation/experiment_control.py
- Timestamp:
- Aug 2, 2012 5:13:19 PM (12 years ago)
- Branches:
- compt_changes, master
- Children:
- 27fbf2f
- Parents:
- a352710
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
ra352710 reac54fa 1552 1552 """ 1553 1553 1554 # XXX: PNNL debug 1555 self.log.debug("calling wrangle software") 1554 1556 # Copy the rpms and tarfiles to a distribution directory from 1555 1557 # which the federants can retrieve them … … 1564 1566 pkgs.update([x.location for e in top.elements for x in e.software]) 1565 1567 try: 1568 # XXX: PNNL debug 1569 self.log.debug("wrangle software: makedirs") 1566 1570 os.makedirs(softdir) 1571 # XXX: PNNL debug 1572 self.log.debug("wrangle software: makedirs success") 1567 1573 except EnvironmentError, e: 1568 1574 raise service_error( … … 2229 2235 2230 2236 attrs = self.generate_keys_and_hosts(tmpdir, expid, hosts, tbparams) 2237 # XXX: PNNL debug 2238 self.log.debug("Back from generate keys") 2231 2239 2232 2240 part = experiment_partition(self.auth, self.store_url, tbmap, … … 2234 2242 part.add_portals(top, topo, eid, pmasters, tbparams, ip_allocator, 2235 2243 connInfo, expid) 2244 # XXX: PNNL debug 2245 self.log.debug("Back from add portals") 2236 2246 2237 2247 auth_attrs = set() 2238 2248 # Now get access to the dynamic testbeds (those added above) 2239 2249 for tb in [ t for t in topo if t not in allocated]: 2250 # XXX: PNNL debug 2251 self.log.debug("dynamic testbeds %s" %tb) 2240 2252 self.get_access(tb, tbparams, fid, masters, tbmap, 2241 2253 expid, expcert_file) … … 2248 2260 for sk in store_keys.split(" ")])) 2249 2261 2262 # XXX: PNNL debug 2263 self.log.debug("done with dynamic testbeds %s" % auth_attrs) 2250 2264 if auth_attrs: 2251 2265 self.append_experiment_authorization(expid, auth_attrs)
Note: See TracChangeset
for help on using the changeset viewer.