Opened 11 years ago
Closed 11 years ago
#1015 closed (fixed)
Log slice creator, email when creating ION slices
Reported by: | Aaron Helsinger | Owned by: | xyang@maxgigapop.net |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | I2AM | Version: | SPIRAL5 |
Keywords: | Cc: | tlehman@maxgigapop.net, ckotil@grnoc.iu.edu | |
Dependencies: |
Description
The ION AM should log more information locally when it creates circuits, to aid in local debugging and contacting people in case of problems:
- Circuit ID
- Slice URN
- Slice creator URN
- Slice creator email
- Creation time
This should be logged to a file or DB, for easy access by local admins.
Note that in the SFA code, you can do get_urn() and get_email() on the certificate of the user. Given the slice credential, you do cred.gidCaller.get_urn() and cred.gidCaller.get_email().
Attachments (2)
Change History (7)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Status: | new → assigned |
---|
In current version of SFA, GID has no get_email() method.
comment:3 Changed 11 years ago by
That was added to SFA in February, 2012: http://git.planet-lab.org/?p=sfa.git;a=commit;h=fc0adf576957e4c11f3609283bb772d5e96750a7
comment:4 Changed 11 years ago by
Patched SFA with new gid.py -- We are currently on sfa-2.0-9.
Now there will be new INFO line in sfa.log that looks like below.
2013-04-16 14:23:29,712 - INFO - NOCReport(CreateSliver): {CircuitID='ion.internet2.edu-13731',SliceURN='urn:publicid:IDN+emulab.net+slice+genistitching1',CreatorUrn='urn:publicid:IDN+emulab.net+user+xyang',CreatorEmail='xyang@emulab.net'}
Need to add sliceEmail. Need to support case that there are multiple circuits in single request.
Changed 11 years ago by
Attachment: | sfa-2.0-9-patch-4.diff added |
---|
Changed 11 years ago by
Attachment: | sfa-2.0-9-patch-4.2.diff added |
---|
comment:5 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
patch attached. (sfa-2.0-9-patch-4.2.diff)
Also include any email address for the slice from the slice certificate. From a slice credential, do cred.gidObject.get_email()